* {
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

body {
    min-height: 100vh;

    background-color: #f9f6ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' width='80' height='40'%3E%3Cpath fill='%23c7badb' fill-opacity='0.4' d='M0 40a19.96 19.96 0 0 1 5.9-14.11 20.17 20.17 0 0 1 19.44-5.2A20 20 0 0 1 20.2 40H0zM65.32.75A20.02 20.02 0 0 1 40.8 25.26 20.02 20.02 0 0 1 65.32.76zM.07 0h20.1l-.08.07A20.02 20.02 0 0 1 .75 5.25 20.08 20.08 0 0 1 .07 0zm1.94 40h2.53l4.26-4.24v-9.78A17.96 17.96 0 0 0 2 40zm5.38 0h9.8a17.98 17.98 0 0 0 6.67-16.42L7.4 40zm3.43-15.42v9.17l11.62-11.59c-3.97-.5-8.08.3-11.62 2.42zm32.86-.78A18 18 0 0 0 63.85 3.63L43.68 23.8zm7.2-19.17v9.15L62.43 2.22c-3.96-.5-8.05.3-11.57 2.4zm-3.49 2.72c-4.1 4.1-5.81 9.69-5.13 15.03l6.61-6.6V6.02c-.51.41-1 .85-1.48 1.33zM17.18 0H7.42L3.64 3.78A18 18 0 0 0 17.18 0zM2.08 0c-.01.8.04 1.58.14 2.37L4.59 0H2.07z'%3E%3C/path%3E%3C/svg%3E");
    
    color: #000;
    font-family: "Montserrat", san-serif;
    font-weight: 500;

    /* just to center the box in the page */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/** Quote **/

.quote-container {
    width: 80rem;
    max-width: 90rem;
    padding: 2rem 3rem;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    box-shadow: 0 1rem 0.5rem 0.1rem rgba(0, 0, 0, 0.1);
}

.quote-page {
    width: 100%;
    display: inline-block;
}

.quote-text {
    font-size: 2.75rem;
}

.long-quote {
    font-size: 2rem;
}

.fa-quote-left {
    font-size: 4rem;
}

.quote-author {
    margin-top: 1.5rem;
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
}

.button-container {
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 50%;
    gap: 5px;
}

button {
    cursor: pointer;
    font-size: 2rem;
    height: 4rem;
    border: none;
    border-radius: 10px;
    color: #fff;
    background: #333;
    outline: none;
    padding: 0.5rem 1.8rem;
    box-shadow: 0 0.3rem rgba(121, 121,121, 0.65);

    transition: all 0.5s smooth;
}

button:hover {
    filter: brightness(130%);
}

button:active {
    transform: translateY(0.3rem);
    box-shadow: 0 0.1rem rgba(255, 255, 255, 0.65);
}

/** Submission page **/

.submit-new-btn {
    color: #333;
    font-size: 1.2rem;
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0);
    box-shadow: none;
}

.submit-new-btn:hover {
    color: #555;
}

.back-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background-color: #625d6b;
}

.bigger-text {
    font-size: 3.5rem;
}

.fa-solid {
    transform: translateY(1px);
}

.submission-form {
    display: none;
    height: 0;
    opacity: 0;
}

.submission-active .submission-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 30rem;
    opacity: 1;
}

.submission-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 2.4rem;
}

.submission-field textarea {
    width: 40rem;
    height: 10rem;
    padding: 0.5rem;
    display: block;
    font-size: 1.6rem;
    resize: none;
}

.disclaimer {
    width: 40rem;
    font-size: 1.2rem;
    color: #444;
}

.submit-btn {
    align-self: center;
    width: 40rem;
    transform: translateY(-0.5rem);
}

.submit-btn:active {
    transform: translateY(-0.2rem)
}

.nodisp {
    display: none;
}

/* Media Query */
@media screen and (max-width: 62.5em) {
    .quote-container {
        margin: auto 10px;
    }

    .quote-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 25em) {
    button {
        font-size: 1.6rem;
    }
}
