body {
    /* background-color: #F5F5F5; */
    background-color: #FFFFFF;
    margin: 0;
    font-family: 'EB Garamond';
}

#head {
    position: relative;
}

#head-img-cont {
    position: relative;
}

#head-img {
    /* position: relative;
    display: block; */
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

#head-gradient {
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(238, 237, 230, 0), 70%, rgba(255, 255, 255, 1))
}

#head-text {
    position: absolute;
    text-align: center;
    height: 100px;
    width: 100%;
    bottom: 0;
    color: #5E6654;
}

#us {
    font-size: 38px;
}

#date {
    font-size: 22px;
}

#greeting {
    color: #5E6654;
    width: 100%; 
    margin: auto; 
    text-align: center;
    position: relative;
    margin-top: 200px;
    margin-bottom: 220px;
}

/* #greeting-text {
    position: absolute;
    top: 170px;
} */

#greeting-title {
    font-size: 24px;
    margin: auto;
}

.greeting-p {
    font-size: 18px;
    width: 90%;
    margin: auto;
    padding-top: 16px;
}

#greeting-top-img {
    position: absolute;
    top: -200px;
    right: 0;
    width: 80%;
    z-index: -5;
}

#greeting-bottom-img {
    position: absolute;
    bottom: -220px;
    left: 0;
    width: 80%;
    z-index: -5;
}

#program {
    margin: auto;
    width: 90%;
    position: relative;
}

#program-img {
    width: 100%;
    object-fit: contain;
}

/* #program-title {
    position: absolute;
    top: 50px;
    font-size: 32px;

    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    width: 160px;
    
    margin: auto;
    color: #F5F5F5;
} */

#until {
    position: relative;
    width: 10   0%; 
    margin: auto; 
    text-align: center;
}

#until-img {
    display: block;
    width: 100%;  
}

#until-block {
    position: absolute;
    /* top: 230px; */
    top: calc(50% - 110px);
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#until-head {
    /* position: absolute;
    top: 230px; 
    left: 0;
    right: 0; */
    margin-left: auto;
    margin-right: auto;
 
    text-align: center;

    font-size: 28px;
    width: 260px;
    color: #5E6654;
}

#timer {
    /* position: absolute;
    top: 330px;
    left: 0; 
    right: 0;  */
    margin-inline: auto; 
    width: fit-content;
}

.timer-part {
    text-align: center;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    border: solid #5E6654 2px;
    display: inline-block;
}

.timer-sep {
    display: inline-block;
    color: #5E6654;
}

.timer-digit {
    font-size: 24px;
    color: #5E6654;
    margin: 0;
    margin-top: 6px;
}

.timer-label {
    font-size: 12px;
    color :#5E6654;
    margin: 0;
    position: relative;
    top: -5px;
}

.timer-sep {
    position: relative;
    font-size: 24px;
    top: -15px;
}

#dresscode {
    color: #5E6654;
    width: 90%; 
    margin: auto; 
    text-align: center;
}

#dresscode-title {
    font-size: 32px;
    margin-bottom: 20px;
}

#dresscode-text {
    font-size: 18px;
}

#dresscode-pallete {
    display: flex;
    width: 100%;
}

#dresscode-pallete > div {
    flex-grow: 1;
    margin: 10px;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
}

#pallete1 {
    background-color: #EAE3D0;
}

#pallete2 {
    background-color: #BCB09C;
}

#pallete3 {
    background-color: #48372B;
}

#pallete4 {
    background-color: #97997E;
}

#dresscode-images {
    display: grid;
    column-gap: 10px;
    row-gap: 10px;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

#dress1 {
    width: 100%;
}

#dress2 {
    width: 100%;
}

#dress3 {
    width: 100%;
}

#dress4 {
    width: 100%;
}

#location {
    color: #5E6654;
    width: 90%; 
    margin: auto; 
    text-align: center;
    margin-bottom: 20px;
}

#location-title {
    font-size: 32px;
    margin-bottom: 20px;
}

#location-desc {
    font-size: 18px;
}

#loc-desc-row1 {
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 60fr 40fr;
}

#loc-desc-row2 {
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 40fr 60fr;
}

#loc-text {
    font-size: 14px;
    padding-left: 10px;
    text-align: left;
}

#loc-text > p {
    margin-top: 6px;
}

#loc1 {
    width: 100%;
    object-fit: contain;
}

#loc2 {
    width: 100%;
    object-fit: contain;
}

#map-frame {
    width: 100%;
}

#details {
    color: #5E6654;
    width: 100%; 
    margin: auto; 
    margin-top: 80px;
    position: relative;
}

#details-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

#details-text {
    width: 87%;
    margin: auto;
    font-size: 18px;
}

#details-img {
    position: absolute;
    top: -80px;
    right: 0;
    width: 70%;
    z-index:-5;
}

#attend {
    color: #5E6654;
    width: 100%; 
    margin: auto; 
    position: relative;
    margin-bottom: 100px;
}

#attend-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

#attend-text {
    width: 90%;
    margin: auto;
    font-size: 18px;
}

#attend-img {
    position: absolute;
    bottom: -120px;
    left: 0;
    width: 70%;
    z-index:-5;
}

#footer {
    width: 100%;   
}

#footer-text {
    color: #5E6654;
    text-align: center;
    font-size: 25px;
    width: 90%;
    margin: auto;
}

#footer-image-container {
    position: relative;
}

#footer-image {
    width: 100%;
    object-fit: contain;
}

#footer-gradient {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 1), 30%, rgba(245, 245, 245, 0))
}

a {
    color: #2681EA;
    text-decoration: none;
}

#faq {
    color: #5E6654;
    width: 87%; 
    margin: auto; 
    position: relative;
}

#faq-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.faq-summary {
    font-size: 18px;
    /* text-decoration: underline; */
}

.faq-p {
    font-size: 18px;
    padding-left: 16px;
    margin-top: 9px;
}


@media only screen and (min-width: 480px) {
    body {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #container {
        width: 400px;
        margin: auto;
        border-radius: 20px;
        box-shadow: 0 0 4px 4px #5E6654;
    }

    #head-img {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    #footer-image {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
}

@media only screen and (max-width: 350px) {
    .hide-on-small {
       display: none;
    }
}

@media only screen and (max-width: 480px) {
    #container {
        min-width: 320px;
    }

    #head {
        position: relative;
        height: 100%;
    }

    #head-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #head-img-cont {
        position: relative;
        height: 100%;
    }

    #us {
        font-size: 11vw;
    }
    
    #date {
        font-size: 7.5vw;
    }
}


