main {
    min-height: 100vh;
    background: linear-gradient(to right top, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    width: auto;
    background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    border-radius: 3rem;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
img { 
    max-width: 6%;
    height: auto;
}
h1 {
    padding: 1rem;
    opacity: 0.7;
    font-size: 50px;
}

h2 {
    opacity: 0.7;
    font-size: 18px;
}

.glass {
    background: white;
    min-height: 40vh;
    width: 70%;
    background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.3));
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
input[type=text] {
    padding: 12px;
    width: 80%;
    background: linear-gradient(to right bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    border-radius: 1rem;
    border-style: solid;
    border-color: rgb(42,115,188);
    border-width: 3px;
    font-size: 25px;
    color: rgba(0,0,0,0.7);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    text-align: center;
    transition: 0.3s;
}
input[type=text]:focus {
    outline: none;
    border-color: rgb(38, 105, 172);
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

input[type=submit] {
    padding: 12px;
    width: 30%;
    border-width: 0px;
    background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border: 0%;
    font-size: 25px;
    color: rgba(0,0,0,0.7);
    border-radius: 2rem;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    transition: 0.4s;
    cursor: pointer;
}
input[type=submit]:hover {
    background: rgb(57, 129, 201);
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
input[type=submit]:focus {
    background: rgba(0, 204, 255, 0.651);
}

form {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

#input-area {
    height: 100%;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
}
#paste-btn {
    padding: 12px;
    width: 15%;
    background: linear-gradient(to right bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    border-radius: 1rem;
    border-style: solid;
    border-color: rgb(42,115,188);
    border-width: 3px;
    font-size: 25px;
    color: rgba(0,0,0,0.7);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    text-align: center;
    transition: 0.3s;
}
#paste-btn:hover {
    outline: none;
    border-color: rgb(38, 105, 172);
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.shortlink {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 90%;
    gap: 20px;
}

button:hover {
    cursor: pointer;
}

h1 a {
    text-decoration: none;
    color: inherit;
}

/* Smaller laptop screens */
@media only screen and (max-width: 1300px) {
    .glass {
        min-height: 50vh;
    }

    h1 {
        font-size: 40px;
    }
}

@media only screen and (max-width: 420px) {
    .title {
        width: auto;
        border-radius: 0;
    }
    h1 {
        font-size: 40px;
    }
    img { 
        max-width: 10%;
        height: auto;
    }

    h2 {
        font-size: 16px;
    }
    

    .glass {
        min-height: 80vh;
        width: 100%;
        border-radius: 0;
        gap: 5%;
    }

    input[type=submit] {
        width: 90%;
    }

    input[type=text] {
        width: 100%;
    }

    #paste-btn {
        width: 35%;
    }
}
