@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background-image: url("./quotes-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 8vh;
    background-color: #060910;
}

.wrapper {
    background-color: #0000009c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 55vh;
    color: #e0e0e0;
    padding: 2.5%;
    border-radius: 4px;
    width: 55%;
}

#new-quote {
    padding: 14px;
    border-radius: 4px;
    background-color: #fdd835;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    transition: background-color 0.6s;
    margin-top: 20px;
}

#new-quote:hover {
    background-color: #ddb502;
}

#quote {
    font-size: 1.2rem;
}

#author {
    font-size: 1.1rem;
    font-weight: 600;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-size: 1.5rem;
    text-align: center;
    color: #fff;
}

#quote-form input {
    padding: 10px;
    border: 1px solid #fdd835;
    border-radius: 4px;

}

#quote-form button {
    padding: 10px;
    background-color: #dfb601;
    transition: background-color 0.6s;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

#quote-form button:hover {
    background-color: #fdd835;
}

#form-status-message {
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
}

@media (max-width: 1005px) {
    .wrapper {
        height: 64.5vh;
    }
}

@media (max-width: 768px) {
    .wrapper {
        height: 53.5vh;
    }

    form#quote-form {
        display: flex;
        flex-direction: column;
    }

    #quote-form input {
        margin-bottom: 5px;
    }
}

@media (max-width: 500px) {
    .wrapper {
        width: 80%;
        padding: 5%;
    }

    h1 {
        font-size: 1.3rem;
    }

    #quote {
        font-size: 1.1rem;
    }

    #new-quote {
        font-size: 0.9rem;
    }
}