@font-face {
    font-family: 'Amsterdam Four';
    src: url(font/Amsterdam\ Four_ttf\ 400.ttf) format('truetype');
}


body, div, h1, h2, h3, h4, h5, h6, p, ol, ul, blockquote, figure{
    margin:0;
    padding:0;
    font-weight: 100;
    font-size: unset;
}
body{
    position: relative;
    max-width: 1920px;
    margin:0 auto;
    font-family: 'Manrope', sans-serif;
    -webkit-text-size-adjust: 100%;
    background-color:#fff;
    color:#000;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
li{
    list-style-type: none;
}
html {
    scroll-behavior: smooth;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

/* Slide-up animation styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for child elements */
.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

.flex{
    display: flex;
}
.flex.column{
    flex-direction: column;
}
.flex.centered{
    align-items: center;
}
.flex.space{
    justify-content: space-between;
}
.main-header{
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 80dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-img video{
    height: 95dvh;
    object-fit: cover;
    filter: grayscale(1) contrast(1.2) brightness(1.2);
    border-radius: 20px;
    
}

.main-img img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.header-wrapper{
    position: absolute;
    top: 0;
    right: 50px;
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
}
.header-wrapper h4{
    font-size: 130px;
    font-family: 'Amsterdam Four',sans-serif;
    font-weight: 100;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typing 3s steps(18) 0.5s forwards;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.header-wrapper h4.typing-complete {
    animation: none;
    width: 100%;
}
.header-wrapper h1:first-of-type{
    /* No additional positioning needed */
}
.menu{
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 22px;
    text-align: right;
}
.menu li a{
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #000;
    transition: all 0.3s ease;
}
.menu li a:hover{
    background-color: #000;
    color: #fff;
}

/* Calendar Styles */
.date-calendar {
    position: relative;
    bottom: calc(-10vh - 10px);
    right: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.65);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 1);
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpOnLoad 0.8s ease-out 1s forwards;
}

@keyframes slideUpOnLoad {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar-month {
    font-family: 'Amsterdam Four', cursive;
    font-size: 40px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day-header {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 8px;
    color: #666;
}

.calendar-day {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    padding: 10px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.calendar-day.circled {
    font-weight: 700;
    color: #000;
}

.calendar-day.circled .circle-svg {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-95deg);
    pointer-events: none;
}

.calendar-day.circled .circle-svg circle {
    stroke-dasharray: 176;
    stroke-dashoffset: 176;
    animation: drawCircleStroke 1.2s ease-out 1.8s forwards;
}

@keyframes drawCircleStroke {
    to {
        stroke-dashoffset: 0;
    }
}

.date{
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    text-align: center;
    font-size: 160px;
    font-family: 'Amsterdam Four', cursive;
    display: none;
}
.invite-wrapper{
    text-align: center;
    font-size: 43px;
    position: relative;
    z-index: 1;
    padding: 100px 100px;
    height:100%;
    justify-content: space-between;
    margin-top: 50px;
}
.invite-wrapper::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('icons/tulip.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.3) grayscale(1);
    z-index: -1;
}
.people{
    justify-content: space-between;
    padding: 60px;
    color:#fff;
}
.us h4{
    font-family: 'Amsterdam Four', cursive;
    font-size: 60px;
    padding-top: 10px;
}
.koump h3, .parents h3{
    padding-bottom: 14px;
    font-size: 64px;
    font-family: 'Amsterdam Four', cursive;
}
.countdown-wrapper{
    text-align: center;
}
.cntdn-text h2{
    font-size:50px;
    padding-bottom: 30px;
    font-family: 'Manrope', sans-serif;
    font-weight: 100;
}
.cntdn{
    font-size:120px;
    position: relative;
    z-index: 1;
    font-family: 'Amsterdam Four', cursive;

}
#countdown{
    line-height: 150px;
    padding: 0 60px;
}
.countdown-wrapper{
    position: relative;
    padding-bottom: 100px;
    padding-top: 100px;
    margin-top: 100px;
}
.countdown-wrapper::before{
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}
.countdown-wrapper::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.date-down{
    padding: 50px 100px 0;
}
.date-down span{
    display: inline-block;
    font-size: 22px;
    padding: 10px 25px;
    border: 1px solid #000;
    transition: all 0.3s ease;
}
.date-down:hover span{
    background-color: #000;
    color: #fff;
}
.location-wrapper{
    text-align: center;
    padding: 50px 100px;
}
.location-wrapper h2{
    font-weight: 100;
    text-align: left;
    font-family: 'Amsterdam Four', cursive;
    color: #5b5b5b;
    font-size: 64px;
    line-height: 150px;
}
.dhms .days{
    padding-left:65px;
    padding-right:30px
}
.dhms .hours{
    padding:0 40px;
}
.dhms .min{
    padding: 0 40px;
}
.dhms .sec{
    padding: 0 20px;
}
.location-wrapper img{
    width:50px;
}
.church-text, .party-text, .church-map, .party-map{
    width:calc(100%/2);
    font-size:40px;
}
.church-map iframe, .party-map iframe{
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 2;
    filter: grayscale(100%);
}
.party-wrapper{
    flex-direction: row-reverse;
}
.church-text h3, .party-text h3{
    color: #5b5b5b;
}
.rsvp-wrapper{
    text-align: center;
    padding:50px 100px;
    height:100%;
}
.rsvp-wrapper h2{
    font-size: 90px;
    font-style: italic;
    line-height: 70px;
    font-weight: 100;
    font-family: 'Amsterdam Four', cursive;
    text-align: right;
    color: #5b5b5b;
    padding-right: 10px;
}
.rsvp-wrapper h3{
    font-size: 23px;
    text-align: left;
    padding-top: 15px;
}
.rsvp-form input, .rsvp-form select, .rsvp-form textarea{
    width:100%;
    outline: none;
    border: none;
    border-bottom:1px solid #000;
    font-size:20px;
    padding:10px;
    margin-bottom:20px;
    font-family: 'Manrope',sans-serif;
    background-color: transparent;
}
.rsvp-form select#adults , .rsvp-form select#kids{
    width:40%;
}
.rsvp-form{
    padding-top: 70px;
}
.send-btn{
    justify-content: center;
    margin:20px;
    align-items: center;
}
.send-btn span{
    margin-left:20px;
    font-size:16px;
    display: none;
}
.rsvp-form label{
    font-size:20px;
}
.rsvp-form .send-btn button{
    width:unset;
    background-color: transparent;
    border: 1px solid #000;
    outline: none;
    font-size:18px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #000;
    font-family: 'Manrope',sans-serif;
}
.rsvp-form .send-btn button:hover{
    background-color: #000;
    color: #fff;
}
.rsvp-form textarea{
    min-height: 100px;
    resize: none;
}
.rsvp-message {
    margin: 20px auto;
    padding: 15px 25px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    max-width: 600px;
    animation: slideDown 0.5s ease-out;
}
.rsvp-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}
.rsvp-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.download-invitation{
    font-size: 20px;
    padding:20px;
}
.download-invitation a{
    display:flex;
    justify-content: center;
    align-items: center;
}
.download-invitation img{
    width:30px;
    margin-left:20px;
}
.people h4{
    font-size: 28px;
}
.startgame-wrapper{
    text-align: center; 
    width: calc((100% - 25px) / 3);
    border:1px solid #000;
    border-radius: 10px;
    aspect-ratio: 2;
    transition: all 0.5s ease-in-out;
    justify-content: center;
}
.start{
    font-size: 35px;
}
.startgame-wrapper h3{
    font-size: 23px;
}
.buttons{
    justify-content: space-evenly;
    padding: 0 50px 100px;
    height:100%;
    position: relative;
    z-index:1;
}
.instagram-feed-wrapper{
    width: calc((100% - 50px) / 3);
    text-align: center;
    font-size: 23px;
    border:1px solid #000;
    border-radius: 10px;
    aspect-ratio: 2;
    transition: all 0.5s ease-in-out;
    justify-content: center;
}
.section-title{
    padding: 50px 100px;
    font-size: 60px;
    font-family: 'Advent Pro', sans-serif;
}
.section-title h2{
    font-weight:100;
}
.back{
    transform: rotate(-90deg);
    transform-origin: left;
    position: fixed;
    bottom: 50px;
    left: 50px;
    z-index:1;
}
.glitter-middle{
    position: absolute;
    top: -20%;
    right: 0;
    z-index: 0;
}
.startgame-wrapper:hover , .instagram-feed-wrapper:hover{
    background-color: #d5d5d5;
    transition: all 0.5s ease-in-out;
}

.dark{
    color:#000;
}

.soon{
    text-align: center;
    height: 74vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 30px;
    background: #d5d5d5;
}
.soon h2{
    font-size: 120px;
    font-family: 'Advent Pro',sans-serif;
}
.soon h3{
    font-size:25px;
}
.footer-wrapper{
    padding:20px 0;
    margin: 0 20px;
    border-top: 1px solid #000;
}

.container {
    width: 50%;
    justify-content: center;
    padding: 100px;
  }
  
.container h1 {
    font-size: 35px;
    padding-bottom: 50px;
}
  
.question {
    font-weight: bold;
    margin-bottom: 10px;
}
  
.options {
    margin-bottom: 20px;
}
  
.option {
    display: block;
    margin-bottom: 10px;
}
  
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #d5d5d5;
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-right: 10px;
    width: 200px;
    font-family: 'Manrope' , sans-serif;
}
  
.button:hover {
    background-color: #000;
    color: #fff;
}
  
.result {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}
  
.hide{
    display: none;
}
.image-gallery{
    width: 50%;
    justify-content: space-around;
}
.image-gallery img{
    width: 40%;
    height: 70%;
    object-fit: cover;
    border-radius: 150px 150px 0 0;
    filter: grayscale(1) contrast(1.1) brightness(1.1);
}
.image-gallery img:last-of-type{
    align-self: flex-end;
    margin-bottom: 40px;
}
.rest-header .menu{
    position: relative;
    top:0;
    right:0;
}
.rest-header{
    justify-content: space-between;
    padding: 30px;
}
.quiz-wrapper{
    height:calc(100vh - 211px);
}
.our-logo{
    font-size: 25px;
}
#quiz{
    font-size: 19px;
}
.check{
    background: #fff;
    height:100vh;
}
.password-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.password-overlay.hidden{
    display: none;
}
.main-content{
    display: none;
}
.main-content.visible{
    display: block;
}
.checkpass{
    padding: 40px;
    width: 400px;
    min-height: 300px;
    text-align: center;
    border: 1px solid #000;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.checkpass h1{
    font-size: 32px;
    margin-bottom: 30px;
    font-family: 'Caveat', cursive;
}
.checkpass input{
    width: 100%;
    height: 45px;
    font-size: 18px;
    padding: 10px;
    border: 1px solid #000;
    margin-bottom: 20px;
    outline: none;
}
.checkpass button{
    padding: 10px 25px;
    border: 1px solid #000;
    background-color: transparent;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    color:#000;
}
.checkpass button:hover{
    background-color: #000;
    color: #fff;
}
.error-message{
    color: #d00;
    font-size: 14px;
    margin-top: 15px;
    min-height: 20px;
}
.gifts{
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 20px;
}
.gifts img{
    max-width: 30px;
}
.copyrights span{
    display: flex;
    align-items: center;
}
.copyrights img{
    width:30px;
}
.copyrights a{
    margin-left: 5px;
    font-weight: bold;
}
@media screen and (max-width:1200px){
    .location-wrapper, .rsvp-wrapper,.section-title{
        padding: 50px;
    }
    .invite-wrapper{
        padding: 100px 50px;
    }
    .church-text h3, .party-text h3{
        font-size: 30px;
    }
    .rsvp-wrapper h2 {
        font-size: 75px;
    }
    .main-img video {
        height: 80dvh;
    }
    .date-calendar{
        bottom: calc(-20vh - 10px);
        right: 20px;
        padding: 10px;
    }
    .calendar-month{
        font-size: 30px;
        line-height: 50px;
    }
}

@media screen and (max-width:1100px){
    
    .startgame-wrapper h3{
        font-size:18px;
    }
    .start{
        font-size:30px;
    }
    .header-wrapper h1:first-of-type{
        bottom:30%;
    }
    .image-gallery img{
        height:50%;
    }
}

@media screen and (max-width:900px){
    .invite-wrapper{
        font-size:30px;
    }
    .people h4 {
        font-size: 24px;
    }
    .people{
        padding: 30px 0;
    }
    .rsvp-form select#adults, .rsvp-form select#kids{
        width:100%;
    }
    .instagram-feed-wrapper,
    .startgame-wrapper{
        aspect-ratio: 1;
        padding:15px;
        width:calc((100% - 50px) / 2);
    }
    .container{
        padding:50px;
    }
    .container h1 {
        font-size: 28px;
    }
    #quiz {
        font-size: 16px;
    }
}
@media screen and (max-width:768px){
    .cntdn-text h2{
        font-size:50px;
    }
    .us h4{
        padding-top:0;
        font-size: 35px;
    }
    .dhms{
        min-width: 500px;
        margin-top:-30px;
    }
    .cntdn{
        font-size:65px;
        padding: 0 20px 20px;
    }
    .calendar-month {
        font-size: 36px;
    }
    .calendar-grid {
        min-width: 320px;
        gap: 6px;
    }
    .calendar-day-header {
        font-size: 13px;
        padding: 5px;
    }
    .calendar-day {
        font-size: 16px;
        padding: 6px;
        min-width: 32px;
        min-height: 32px;
    }
    .calendar-day.circled {
        font-size: 22px;
    }
    .calendar-day.circled::before {
        width: 42px;
        height: 42px;
    }
    .menu li a{
        padding: 5px 15px;
    }
    .date{
        font-size: 110px;
    }
    .date-down{
        padding: 0px 15px 70px;
    }
    .dhms .hours , .dhms .min , .dhms .sec{
        padding: 0 20px;
    }
    .countdown-wrapper {
        padding-bottom: 50px;
    }
    .invite-wrapper{
        padding:50px 30px;
    }
    .location-wrapper, .rsvp-wrapper, .section-title{
        padding:30px;
    }
    .church-text h3, .party-text h3 {
        font-size: 23px;
    }
    .church-text, .party-text, .church-map, .party-map{
        font-size:30px;
    }
    .rsvp-wrapper h2 {
        font-size: 60px;
    }
    .location-wrapper h2 {
        font-size: 60px;
    }
    .rsvp-wrapper h3{
        font-size:20px;
    }
    .rsvp-form{
        padding-top:40px;
    }
    .section-title{
        font-size: 50px;
    }
    .instagram-feed-wrapper{
        font-size:20px;
    }
    .buttons{
        padding:0 30px 70px;
    }
    .header-wrapper h1{
        width: 100%;
        right: 0;
        text-align: center;
        font-size: 90px;
    }
    .header-wrapper h1:first-of-type{
        width: 100%;
        left: 0;
        text-align: center;
    }
    .header-wrapper{
        left: 30px;
        transform: none; 
        right:unset;
    }
    .invite-wrapper {
        font-size: 25px;
    }
    .people{
        justify-content: center;
    }
    .people h4 {
        font-size: 20px;
    }
    .koump h3, .parents h3 {
        font-size: 60px;
    }
    .church-map iframe, .party-map iframe{
        aspect-ratio: 1;
    }
    .quiz-wrapper{
        height:100%;
        flex-direction: column;
    }
    .image-gallery{
        width:100%;
    }
    .container{
        width:100%;
    }
    .image-gallery img{
        height: 400px;
    }
    .container{
        padding-top:30px;
    }
    .menu{
        right: 30px;
        left:unset;
        font-size: 20px;
    }
    .main-header{
        padding-top: 70px;
        height:100%;
    }
    .main-img{
        flex-direction: column;
        position: unset;
        transform: none;
        height: auto;
    }
    .date-calendar{
        top: -16px;
        width: 90%;
        right:0;
        bottom:0;
    }
    #countdown {
        line-height: 115px;
    }
}
@media screen and (max-width:600px){

    .parents{
        padding-bottom: 35px;
    }
    .people{
        flex-direction: column;
    }
}
@media screen and (max-width:500px){
    .buttons{
        flex-direction: column;
    }
    .instagram-feed-wrapper, .startgame-wrapper{
        width:100%;
        aspect-ratio: 2;
    }
    .startgame-wrapper{
        margin-bottom:20px;
    }
    .dhms .sec{
        padding:0;
    }
    .dhms .days{
        padding-right:0;
        padding-left: 0;
    }
    .dhms .hours, .dhms .min{
        padding:0;
    }
    .dhms{
        width:88%;
        min-width: unset;
    }
    .cntdn-text h2{
        padding-bottom: 20px;
    }
    .cntdn {
        font-size: 60px;
    }
    .cntdn-text h2 {
        font-size: 35px;
    }
    .calendar-month {
        font-size: 28px;
    }
    .calendar-grid {
        min-width: 280px;
        gap: 4px;
    }
    .calendar-day-header {
        font-size: 11px;
        padding: 4px;
    }
    .calendar-day {
        font-size: 14px;
        padding: 5px;
        min-width: 28px;
        min-height: 28px;
    }
    .calendar-day.circled {
        font-size: 18px;
    }
    .calendar-day.circled::before {
        width: 36px;
        height: 36px;
        border-width: 2px;
    }
    .date-calendar {
        padding: 12px 15px;
        bottom: 5px;
    }
    .header-wrapper h1:first-of-type {
        bottom: 40%;
    }
    .header-wrapper h1{
        font-size: 70px;
        bottom: 50%;
    }
    .menu{
        right:10px;
        font-size:16px;
        top:15px;
    }
    .invite-wrapper {
        padding: 30px 20px;
    }
    .church-wrapper , .party-wrapper{
        flex-direction: column;
    }
    .countdown-wrapper{
        padding-bottom:0;
    }
    .church-text, .party-text, .church-map, .party-map{
        width:100%;
        padding-bottom: 20px;
    }
    .party-wrapper{
        border-top: 1px solid #000;
    }
    .location-wrapper, .rsvp-wrapper, .section-title{
        padding:20px;
    }
    .rsvp-wrapper h2 {
        font-size: 60px;
    }
    .rsvp-form input, .rsvp-form select, .rsvp-form textarea{
        font-size:18px;
    }    
    .image-gallery img:first-of-type{
        border-radius: 150px 150px 0 300px;
    }
    .image-gallery img:last-of-type{
        border-radius: 150px 150px 300px 0;
        margin-bottom: 0;
    }
    .image-gallery{
        justify-content: center;
        padding: 30px 10px;
    }
    .image-gallery img{
        width:50%;
        height: unset;
    }
    .rest-header{
        padding:20px;
    }
    .container{
        padding: 30px 20px;
    }
    .soon{
        padding: 60px 30px;
    }
    .soon h2{
        font-size: 80px;
    }
    .soon h3 {
        font-size: 20px;
    }
    .checkpass{
        width: 90%;
        left: 0;
        right: 0;
    }
    .main-img video{
        width: 95%;
        height: 85dvh;
    }
    .header-wrapper {
        left: 10px;
    }
    .date {
        font-size: 75px;
        display: none;
    }
    #countdown{
        padding:0;
    }
    .us h4{
        font-size: 35;
    }
    .gifts{
        gap:0;
        flex-direction: column;
    }
}