
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #f9f4cf;
}

#container {
    display: none;
    text-align: center;
}

/* #pwd-page {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: 100%;
    text-align: center;
    place-items: center;
}

#pwd-page-form {
    width: 100%;
    height: 100vh;
    place-items: center;
    background-image: url('/images/hero-img.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 0 auto;
    object-fit: contain;
}

#pwd-page-form h2 {
    margin-top: 3.5rem;
}

#validate {
    font-size: medium;
    padding: 5px;
    border-radius: 10px;
}

#pswd button {
    background-color: #2a5b61;
    color: #d8eeef;
    font-size: medium;
    padding: 5px;
    border-radius: 10px;
} */

a:link {
    color: #5e3c20;
    text-decoration: none;
    font-family: 'Raleway',sans-serif;
}

a:visited {
    color: #895229;
}

a:hover {
    color: #895229;
}

a:active {
    color: #d5d2c8;
}

/* section {
    margin-bottom: 3.5rem;
} */

.header {
    display: flex;
    flex-direction: column;
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 100%;
    height: 120vh;
    background: url('/images/hero-fil2.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    align-items: center;
}

#couple-name {
    width: 100%;
    height: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 3.5rem;
    padding-top: 8rem;
    
}

h1 {
    font-family: "Water Brush", cursive;
    font-size: 140px ;
    margin-bottom: 0;
    color: #edeae4;
    font-weight: 200;
    animation-name: slideUp;
    animation-duration: 1s; 
    animation-timing-function: ease-out; 
    animation-fill-mode: forwards;
}

#couple-name p {
    font-family: 'Raleway', sans-serif;
    font-size: 20px ;
    color: #edeae4;
}

.header-nav-list {
    display: flex;
    list-style: none;
    justify-content: right;
    text-align: right;
    margin-bottom: 10px;
}

.header-nav-list li {
    font-family: 'Raleway',sans-serif;
    padding: 10px;
    margin-right: 5px;
    font-size: 12px;
}

/* #countdown-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    font-family: sans-serif;
    background-color: #fcefe3;
    background-image: url('/images/bg-flower-01.webp');
    background-size: cover;
    background-repeat: no-repeat;
} */

.section-countdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.countdown-container {
    color: #edeae4;
    justify-content: center;
}

#countdown {
    display: flex;
    justify-content: center;
    width: 500px;
    padding-left: auto;
    padding-bottom: .5rem;
    padding-right: 1.5rem;
    margin-left: 1.5rem;
    margin-right: auto;
    margin-top: -3.5rem;
}

.time {
    padding: 50px;
    text-align: center;
    border-radius: 5px;
}

.time-divider {
    font-family: 'Raleway',sans-serif;
    display: block;
    margin-top: 50px;
    font-size: 80px;
    font-weight: 300;
    justify-content: center;
    text-align: center;
}

.time span {
    font-family: 'Raleway', sans-serif;
    display: block;
    font-size: 80px;
    font-weight: 300;
}

.time p {
    font-family: 'Raleway',sans-serif;
}

.story {
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

#ourstory {
    width: 100%;
    background: url('/images/bg-fil-01.webp');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0;
}

h2 {
    font-family: 'Water Brush', cursive;
    font-size: 60px;
    font-weight: 200;
    text-align: center;
    vertical-align: middle;
    padding: 50px 20px 20px 20px;
    color: #5e3c20;
    /* margin-top: -2rem; */
    /* animation: slideIn 2s ease-out forwards;
    animation-timeline: view(); */
    /* border: solid 3px green; */
}

.story-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;    
    padding: 20px;
    gap: 50px;
}

.story-card {
    font-family: 'Raleway',sans-serif;
    width: 50%;
    height: 100%;
    padding: 30px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

h3 {
    color: #5e3c20;
    padding-bottom: 10px;
}

#section-story {
    display: grid;
    grid-template-columns: 1fr;
    padding-bottom: 5rem;
    background-color: none;
}

#section-story-card {
    width:100%;
    text-align: center;
    color: #5e3c20;
}

.story-img-container {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    width: 100%;
    height: 100%;
    gap: 10px;
    object-fit: cover;
}


#full-photo {
    width: 100%;
    height: 100%;
    display: flex;
    grid-column: span 2;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 5;
    animation-name: slideUp;
    animation-duration: 1s; 
    animation-timing-function: ease-out; 
    animation-fill-mode: forwards;
    animation-timeline: view();
    animation-range: entry;
    border-radius: 15px;
    object-fit: cover;
}

#couple-img-1 {
    width: 100%;
    height: 100%;
    display: flex;
    grid-column: span 2;
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 3;
    animation-name: slideIn;
    animation-duration: 1s; 
    animation-timing-function: ease-out; 
    animation-fill-mode: forwards;
    animation-timeline: view();
    animation-range: entry;
    border-radius: 15px;
}

#couple-img-2 {
    width: 100%;
    height: 100%;
    display: flex;
    grid-column: span 2;
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 3;
    grid-row-end: 5;
    border-radius: 15px;
}

.story-img-container img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.wedding-details-section {
    padding-bottom: 5rem;
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    justify-content: center;
    /* background-image: url('/images/bg-flower-pink.webp');
    background-size: contain;
    background-repeat: repeat; */
    background-color: transparent;
}

.details {
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    justify-content: center;
    /* animation-name: slideUp;
    animation-duration: 1s; 
    animation-timing-function: ease-in-out; 
    animation-fill-mode: forwards;
    animation-timeline: view();
    animation-range: entry;
    background-color: transparent; */
}

.wedding-details-img-container {
    width:100%;
    height: 100%;
    display: block;
}

.wedding-details-img-container img {
    width: 100%;
    height: 100%;
}

/* #story-card-dresscode {
    background-color: white;
} */

#section-dresscode {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    justify-content: center;
    background: url('/images/bg-fil-01.webp');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0;
    /* background-color: transparent; */
}

.details-icons {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 20px;
}

.details-icons img {
    width: 50px;
    height: 50px;
}

.details-icons p {
    text-align: left;
    align-content: center;
}

#map {
    margin-top: 2rem;
}

.playlist {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 3rem;
    justify-content: center;
    /* background-image: url('/images/bg-flower-pink.webp');
    background-size: cover;
    background-repeat: repeat; */
    background-color: transparent;
}

iframe {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    text-align: center;
}

#dresscode {
    padding-top: 3rem;
}

.ideas {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 0 0 3rem 0;
}

.ideas img {
    width: 70%;
}

#story-card-dresscode {
    margin-top: -2rem;
    margin-bottom: 5rem;
    border-radius: 15px;
    background-color: #f9f4cf;
}

#section-faq {
    padding-bottom: 5rem;
    background-repeat: repeat;
}

#faq-cards {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.faq-card {
    font-family: 'Raleway',sans-serif;
    width: 80%;
    height: 100%;
    padding: 30px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.faq-card:hover {
    transform: translateY(-4px);
}

.photo-divider {
    display: flex;
    width: 100%;
    height: 30%;
    justify-content: center;
}

.photo-divider img{
    display: flex;
    width: 100%;
    height: 100%;
    padding-bottom: 5rem;
}

#section-rsvp {
    padding-bottom: 5rem;
    /* background-image: url('/images/bg-flower-pink.webp');
    background-size: cover;
    background-repeat: repeat; */
}

#rsvp-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;    
    padding: 20px;
    text-align: center;
}

#rsvp-card {
    font-family: 'Raleway',sans-serif;
    width: 80%;
    height: 100%;
    padding: 30px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.rsvp-now {
    font-family: 'Raleway',sans-serif;
    width: 30%;
    height: 100%;
    padding: 15px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    margin-bottom: 5rem;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: solid 2px #5e3c20;
}

.rsvp-now:hover {
    background-color: #5e3c20;
}

.rsvp-now a:hover {
    color: #f9f4cf;
}

#section-footer {
    width: 100%;
    height: 100vh;
    font-family: 'Raleway',sans-serif;
    /* background-color: #787b7f; */
    background-image: url('/images/footer-photo.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0;
    padding-top: 5rem;
    padding-bottom: 4rem;
    color: #edeae4;
}

#h2-countdown {
    color:#edeae4;
    padding-top: 8rem;
    padding-bottom: 0;
}

#section-footer p {
    margin-bottom: 2rem;
}

#section-quiz {
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 100%; */
    min-height: 100vh;
    background: url('/images/bg-fil-01.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
}

.quiz-container {
    /* background-color: #fff; */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    text-align: center;
}

#h3-quiz {
    margin-bottom: 1rem;
}

#question-text {
    margin-bottom: 1rem;
}

#question-container {
    margin-bottom: 20px;
}

#options-container label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

#options-container input[type="radio"] {
    margin-right: 5px;
}

button {
    background-color: #5e3c20;
    color: #edeae4;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

#submit-btn,
#restart-btn {
    display: block;
    min-width: 160px;   
    margin: 1rem auto;  
    text-align: center; 
    padding: 0.5rem 1rem;
}

button:hover {
    background-color: #895229;
}

#result-container {
    margin-top: 20px;
}


@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%); /* Start 100% down from its original position */
    opacity: 0; /* Start invisible */
  }
  to {
    transform: translateY(0); /* End at its original position */
    opacity: 1; /* End fully visible */
  }
}

@keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(100%); 
        }
        to {
            opacity: .5;
            transform: translateX(50%); 
        }
        to {
            opacity: 1;
            transform: translateX(0%); 
        }
    }

    /* /////////////////////////////// */

    @media only screen and (max-width: 500px) {


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            margin: 0;
        }

        #couple-name {
            width: 100%;
            display: grid;
            grid-template-columns: 1fr;
            justify-content:center;
            align-items: center;
            text-align: center;
            margin-top: 2.5rem;
            padding-top: 2rem;
            padding-bottom: 2.5rem;
            padding-left: auto;
            padding-right: auto;
        }

        #couple-name h1 {
            display: block;
            font-family: 'Water Brush', cursive !important;
            font-size: 85px;
        }

        #couple-name p {
            display: block;
            font-family: 'Raleway', sans-serif !important;
            font-size: 20px;
            padding-bottom: 2.5rem;
            padding-top: 0;
        }

        .header {
            padding-top: 2rem;
            width: 100%;
            background-size: cover;
            background-position: center;
            align-items: center;
        }

        .header-nav {
            display: grid;
            grid-template-columns: 1fr;
            width: 100%;
            text-align: center;
            justify-content: center;
            align-items: center;
        }

        .header-nav-list {
            display: grid;
            grid-template-columns: 1fr;
            width: 100%;
            text-align: center;
        }

        .header-nav-list li {
            align-items: center;
            text-align: center;
            margin-bottom: -.5rem;
        }

        #h2-countdown,
        #h2-story,
        #wedding-details,
        #dresscode,
        #h2-faq,
        #h2-rsvp {
            font-family: 'Water Brush', cursive !important;
            font-size: 45px;
            width: 100%;
        }

        #h2-story {
            margin-top: 2rem;
            width: 100%;
        }

        #section-story-card {
            width:100%;
            text-align: center;
            background-color: #f9f4cf;
        }

        #ourstory  {
            width: 100%;
            background: url('/images/bg-fil-01.webp');
            background-size: contain;
            background-repeat: no-repeat; 
            background-position: bottom center;
            margin: 0;
        }

        .story-cards {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
        }

        #section-story, #wedding-details-section, #story-card-details, #story-card-dresscode{
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
        }

        .details {
            display: flex;
            width: 100%;
        }

        #story-card-dresscode {
            margin-top: 1rem;
        }

        .story-img-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
            width: 100%;
        }

        .story-img-container img{
            display: block;
            width: 100%;
        }

        .ideas img {
            width: 85%;
            margin-left: auto;
            margin-right: 1rem;
        }

        #story-card-details {
            width: 100%;
        }

        #section-dresscode {
            width: 100%;
            background: url('/images/bg-fil-01.webp');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: bottom center;
            margin: 0;
        }
        
        #story-card-dresscode {
            margin-top: -2rem;
            margin-bottom: 1.5rem;
        }

        iframe {
            display: flex;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        #section-quiz {
            width: 100%;
            background: url('/images/bg-fil-01.webp');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: bottom center;
            margin: 0;
        }

        .quiz-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .quiz-container button {
            display: inline-block;
            max-width: 100%;
        }

        #rsvp-card {
            width: 100%;
            height: 100%;
        }

        .rsvp-now {
            display: block;
            width: 100%;
        }

        .countdown-container {
            display: flex;
            flex-direction: column;
            width: 80%;
            height: 80%;
            padding-top: 5rem;
            padding-left: 1.5rem;
            color: #edeae4;
            justify-content: center;
            text-align: center;
        }

        #countdown {
            flex: 1;
            display: flex;
            width: 100%;
            height: 100%;
            justify-content: center;
            align-items: center;
            text-align: center;
            margin: auto;
        }

        .time {
            padding: 5px;
        }

        .time-divider {
            color: #edeae4;
            margin-top: -1rem;
        }

        .time span {
            font-family: 'Raleway', sans-serif;
            font-size: 2em;
        }

        #section-footer {
            width: 100%;
            min-height: 100%;
            display: flex;
            flex-direction: column;
            text-align: center;
            padding-top: 1rem;
            margin-top: 1rem;
            padding-bottom: 0;
            margin-bottom: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        #section-footer-p {
            top: 1.5rem;
            left: 0;
            width: 100%;
            margin: 0;
            text-align: center; 
        }
    }

    /* /////////////////////////////// */

    @media only screen and (min-width: 650px) and (max-width: 899px) {

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .body {
            padding-left: 1rem;
        }

        .header {
            width: 100%;
        }

        .header-nav-list li {
            padding: 10px;
            margin-top: 1rem;
            margin-right: 5px;
            font-size: 13px;
        }

        #couple-name {
            margin-top: 3rem;
        }

        h1 {
            font-family: 'Water Brush', cursive !important;
            font-size: 95px;
            padding-bottom: 1rem;
        }

         .story-cards {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
        }

        #h2-countdown,
        #h2-story,
        #wedding-details,
        #dresscode,
        #h2-faq,
        #h2-rsvp {
            font-family: 'Water Brush', cursive !important;
            font-size: 50px;
            width: 100%;
        }

        #h2-story {
            margin-top: 2rem;
            width: 100%;
        }

        #section-story, #wedding-details-section, #story-card-details, #story-card-dresscode-container,#story-card-dresscode,
        .story-img-container
        #section-faq {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
        }

        #story-card-dresscode-container {
            width: 100%;
            padding-bottom: 1.5rem;
        }

        #story-card-dresscode {
            margin-bottom: 0;
        }

        
        #section-faq {
            width: 100%;
            padding-left: 1.5rem;
            padding-right: auto;
        }

        #faq-cards{
            width: 100%;
        }

        
        .faq-card {
            width: 90%;
            margin-left: 1rem;
            margin-right: auto;
        }

        #rsvp-card {
            width: 90%;
        }

        h2 {
            font-family: 'Water Brush', cursive!important;
            font-size: 45px;
            width: 90%;
        }

        iframe {
            display: flex;
            width: 100%;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .ideas img {
            width: 95%;
            margin-left: auto;
            margin-right: 1rem;
        }

        #section-footer {
            width: 100%;
            height: 90%;
            justify-content: space-between;
        }

        #section-footer-p {
            margin-top: 2rem;
        }

        .countdown-container {
            color: #edeae4;
            justify-content: center;
            width: 80%;
            height: 70%;
        }

        #countdown {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .time span {
            display: block;
            font-size: 50px;
            font-weight: 300;
        }
    }