*{
    text-decoration: none;
    color: rgb(189, 178, 124);
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body{
    background-color: rgb(245, 246, 236);
    margin: 0;
    background-image: url("flowers.png");
    background-size: 10vw;
    background-repeat: repeat;
}

#rsvp-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#rsvp-form input, button{
    background-color: rgba(252, 238, 234);
    border: thin solid lightgray;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.2);
    border-radius: 3px;
}
button[type="submit"] {
    width: auto;
    padding: 0 16px;
    margin-top: 30px;
    margin-bottom: 100px;
    font-size: 1.5rem;
    background-color: rgb(189, 178, 124);
    color: rgb(252, 238, 234);
    border: none;
}

img{
    display: block;
    margin: 0 auto;
    width: 100vw;
    user-select: none;
    pointer-events: none;
}

#attending-btn{
    background: #a0c8a0;
    color:white;
    width: auto;
}

#rsvp-form input::placeholder {
    color: rgb(189, 178, 124);
    opacity: 1;
}

#rsvp-form input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px rgb(252, 238, 234) inset;
    -webkit-text-fill-color: rgb(189, 178, 124);
}

p, h1, h2, h3, h4, h5, h6{
    background-color: rgb(245, 246, 236);
}

@media (max-aspect-ratio: 1/1) {
    /* phone styles */
    body{
        background-size: 20vw;
        background-image: url("flowers.png");
        font-size: 2.5rem;
    }
    img{
        width: 100vw;
        margin-top:  1vh;
    }
    #rsvp-form {
        max-width: 80vw;
    }
    #rsvp-form input, button{
        width: 100%;
        font-size: 2.5rem;
        border: thin solid lightgray;
        box-shadow: 0 4px 5px 0 rgba(0,0,0,0.2);
        border-radius: 3px;
        /*padding: 12px;*/
    }

    button[type="submit"] {
        font-size: 4rem;
        padding: 0.75vw;
        width: 40vw;
    }

    #attending-btn{
        padding: 0.75vw;
        font-size: 3rem;
        width: 40vw;
    }
}