html {
    background-color: #EAE4D4;
}

.rsvp_page_title {
    font-family: 'Baskerville', serif;
    font-size: 35px;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    cursor: default;
    margin: auto;
}

.rsvp_card_padding {
    padding: 1px 20px;
}

.rsvp_wrapper {
    height: 100%;
    align-items: center;
    position: relative;
}

input {
    transition: .2s;
}

.rsvp_card {
    width: 600px;
    margin: auto;
    position: relative;
    padding: 15px;
    background-color: #C4CEAB;
    opacity: 1;
    background-image: linear-gradient(0deg, #C4CEAB 50%, #C5D0AD 50%);
    background-size: 10px 10px;
    box-shadow: 0px 1px 10px 0px gray, inset 13px 0px 45px -30px gray;
}

.rsvp_logo {
    width: 104px;
    user-select: none;
    margin: auto;
    opacity: .8;
}

.please_rsvp {
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor: default;
    color: black;
    margin-top: 70px;
    font-size: 25px;
    letter-spacing: 8px;
    font-family: 'Baskerville', serif;
}

.secondary-text {
    font-family: 'Baskerville', serif;
    font-size: 18px;
    text-align: center;
    letter-spacing: 1px;
}

.checkbox {
    width: 20px;
    height: 20px;
}

.terciary-text {
    font-family: 'Baskerville', serif;
    font-size: 16px;
    text-align: center;
}

.rsvp_name {
    font-family: 'Baskerville', serif;
    font-size: 34px;
    margin: 30px auto auto;
}


.rsvp_pases_label {
    font-family: 'Baskerville', serif;
    font-size: 24px;
    color: var(--color-2);
    margin: 0px auto 15px;
}

.rsvp_dropdown {
    font-family: 'Baskerville', serif;
    font-size: 20px;
    width: 100%;
    height: 46px;
    margin-bottom: 1rem;
    padding: 10px;
    background-color: #1c321133;
    border: none;
    border-radius: 6px;
    box-sizing: border-box;
    position: relative;
    appearance: none;
}

.rsvp_form_textarea {
    font-family: 'Baskerville', serif;
    font-size: 18px;
    background-color: #1c321133;
    height: 90px;
    width: 100%;
    margin-bottom: 1rem;
    padding: 10px;
    border: none;
    box-sizing: border-box;
    border-radius: 6px;
    position: relative;
    resize: vertical;
    transition: .2s;
}

textarea:focus {
    background: rgba(255, 255, 255, 0.15);
}

.rsvp_done_h {
    font-family: 'Baskerville', serif;
    color: black;
    font-size: 45px;
    margin: 35px auto;
    opacity: .8;
}

.rsvp_done_t1 {
    font-family: 'Baskerville', serif;
    font-size: 28px;
    line-height: 30px;
    text-align: left;
}

.rsvp_done_t2 {
    font-family: 'Baskerville', serif;
    font-size: 20px;
    text-align: left;
    color: #464646;
}

.rsvp_done_back {
    font-family: 'Baskerville', serif;
    font-size: 22px;
    color: black;
    width: auto;
    margin: 60px auto;
    background: transparent;
    display: block;
    padding: 10px 25px 6px;
    text-decoration: none;
    align-items: end;
    border: 2px solid black;
    transition: .2s ease-in-out;
}

.rsvp_done_back:hover {
    background-color: black;
    color: white;
}

.rsvp_back_arrow {
    margin-right: 15px;
}

.rsvp_back_button_text {
    user-select: none;
    margin: auto;
    text-align: center;
}

.rsvp_field_label {
    font-family: 'Baskerville', serif;
    text-align: left;
    color: var(--main-color);
    font-size: 24px;
    margin: 12px auto;
    opacity: 0.8;
}

.rsvp_required_label {
    color: gray;
    font-size: 18px;
    margin: -15px auto 5px;
    font-style: italic;
    text-align: left;
}

.rsvp_form_input {
    font-family: 'Baskerville', serif;
    color: black;
    border: none;
    border-radius: 6px;
    background: #1c321133;
    box-sizing: border-box;
    height: 46px;
    padding: 10px;
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    font-size: 20px;
}

.rsvp_login_field {
    color: black;
    border: 2px solid black;
}

input:focus {
    background: rgba(255, 255, 255, 0.15);
}

.rsvp_field_container {
    display: flex;
    flex-wrap: wrap;
    margin: 6vh auto;
}


.rsvp_submit_form_button {
    font-family: 'Baskerville', serif;
    font-size: 22px;
    text-align: center;
    color: #F8F1D5;
    background: #1C3211;
    display: block;
    width: 100%;
    margin: 8vh auto auto;
    padding: 12px 60px 7px;
    border: solid black 2px;
    user-select: none;
    cursor: pointer;
    transition: .2s ease-in-out;
}

.rsvp_submit_form_button:hover {
    background-color: black;
    color: white;
}

.rsvp_submit_form_button_disabled {
    pointer-events: none;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    color: #ccc;
}

.rsvp_login_button {
    border: solid 2px black;
    color: black;
}

.rsvp_button_loader {
    width: 25px;
    height: 25px;
    background-color: crimson;
    border-radius: 100%;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
    margin: auto;
    user-select: none;
}

.rsvp_frame {
    height: auto;
    position: relative;
    box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.1), /* Debossed shadow */
inset -3px -3px 5px rgba(255, 255, 255, 0.2); /* Lighter shadow for the highlight */
    padding: 7px;
}
  
.rsvp_inner_frame {
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2),      /* Outer shadow for depth */
    -3px -3px 5px rgba(255, 255, 255, .2); /* Highlight for the embossed look */
    padding: 20px;
}

/* Button Loader */
@-webkit-keyframes sk-scaleout {
    0% { -webkit-transform: scale(0) }
    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout {
    0% { 
        -webkit-transform: scale(0);
        transform: scale(0);
    } 100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 0;
    }
}

@media (min-width: 550px) {
    .rsvp_field_container {
        flex-wrap: nowrap;
    }

    .rsvp_field_container div:first-of-type{
        margin-right: 20px;
    }
    
    .rsvp_card_padding {
        padding: 1px 60px;
    }
}