/* Minimal section separator line */
section:not(:last-of-type) {
    position: relative;
    margin-bottom: 110px;
}

section {
    opacity: 1;
    transform: translateY(0);
}

section.reveal-ready {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
}

section.reveal-in {
    opacity: 1;
    transform: translateY(0);
}
/*section:not(:last-of-type)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 700px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #000000ad 50%, transparent 100%);
    transform: translateX(-50%);
}*/
@font-face {
    font-family: 'Miama';
    src: url(font/miama/Miama.ttf);
}
@font-face {
    font-family: 'Stix Two';
    src: url(font/STIX_Two_Text/STIXTwoText-VariableFont_wght.ttf) format('truetype');
}

body, div, h1, h2, h3, h4, h5, h6, p, ol, ul, blockquote, figure{
    margin:0;
    padding:0;
    font-weight: normal;
    font-size: unset;
}
body{
    position: relative;
    max-width: 1920px;
    margin:0 auto;
    font-family: 'Stix Two', sans-serif;
    -webkit-text-size-adjust: 100%;
    background-color:#F6EFE3;
    color:#4B3A00;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
li{
    list-style-type: none;
    padding:0 5px;
}
html {
    scroll-behavior: smooth;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}
.flex{
    display: flex;
}
.flex.column{
    flex-direction: column;
}
.flex.centered{
    align-items: center;
}
.flex.space{
    justify-content: space-between;
}
img{
    max-width:100%;
    object-fit: cover;
}
header{
    padding: 20px 30px;
}
.site-header{
    position: relative;
}
.burger-btn{
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 1;
}
.burger-btn span{
    display: block;
    width: 18px;
    height: 2px;
    background: #4B3A00;
}
.menu-overlay{
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #f6efe3d6;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu li{
    padding:5px 10px;
}
.lang-menu-item{
    margin-left: 10px;
    position: absolute;
    right: 20px;
    bottom: -16px;
}
.lang-switch{
    display: inline-flex;
    border: 1px solid #4B3A00;
    border-radius: 999px;
    overflow: hidden;
}
.lang-btn{
    border: none;
    background: transparent;
    color: #4B3A00;
    padding: 4px 10px;
    font-family: 'Stix Two', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.lang-btn.active{
    background: #4B3A00;
    color: #F6EFE3;
}
.overlay-lang-switch{
    margin-top: 10px;
}
.overlay-lang-switch .lang-btn{
    font-size: 17px;
    padding: 8px 16px;
}
.menu li:hover{
    border:1px solid #4B3A00;
    border-radius: 10px;
}
.menu li.lang-menu-item:hover{
    border: none;
}
.menu-overlay.open{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.overlay-close{
    position: absolute;
    top: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 6px;
    background: #F6EFE3;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.overlay-menu{
    text-align: center;
    font-size: 34px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.menu-overlay.open .overlay-menu{
    transform: translateY(0);
    opacity: 1;
}
body.menu-open{
    overflow: hidden;
}

.password-gate {
    position: fixed;
    inset: 0;
    z-index: 12000;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.password-card {
    width: 100%;
    max-width: 420px;
    background: #F6EFE3;
    border-radius: 12px;
    padding: 26px;
    text-align: center;
}

.password-card h2 {
    font-size: 34px;
    margin-bottom: 10px;
    font-family: 'Miama', Sans-Serif;
}

.password-card p {
    margin-bottom: 14px;
}

.password-card input {
    width: 100%;
    border: 1px solid #4B3A00;
    border-radius: 8px;
    padding: 10px;
    font-family: 'Bona Nova', sans-serif;
    margin-bottom: 12px;
}

.password-card button {
    border: 1px solid #4B3A00;
    background: transparent;
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    font-family: 'Bona Nova', sans-serif;
}

.password-error {
    color: #b00020;
    min-height: 22px;
    margin-top: 10px;
}
.main-header{
    position: relative;
    padding: 0 clamp(15px, 5vw, 80px);
    align-items: flex-end;
}
.rsvp li{
    padding:5px 20px;
    border:1px solid #000;
    width: fit-content;
    margin-left: auto;
    border-radius: 5px;
}
.left-img img{
    width:100%;
    height:100%;
    max-width: 650px;
    object-fit: cover;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
.header-wrapper{
    text-align: center;
}
.main-header .right-img img{
    max-width: 520px;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.2);
    border-radius: 10px;
    width: 100%;
}
.main-header .right-img{
    transform: translate(-30%, 10px);
    width: 42%;
}
.main-header .left-img{
    width: 58%;
}
.calendar-container{
    display: flex;
    align-items: center;
    gap: 0;
    --calendar-cell-size: clamp(30px, 2.6vw, 40px);
    --calendar-gap: clamp(8px, 0.7vw, 8px);
    position: relative;
}
.save-the-date{
    font-family: 'Miama', sans-serif;
    font-size: clamp(42px, 8vw, 130px);
    color: #ac8324;
    writing-mode: sideways-lr;
    text-orientation: mixed;
    line-height: 1;
    position: absolute;
    bottom: 0;
    left: -12%;
    height: 115%;
}
.wedding-calendar{
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    padding: clamp(10px, 2vw, 50px);
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.15);
    width: fit-content;
    margin: auto 20px;
}
.calendar-month{
    font-family: 'Miama', sans-serif;
    font-size: 60px;
    font-weight: 100;
    color: #ac8324;
    text-align: center;
}
.calendar-grid{
    display: grid;
    grid-template-columns: repeat(7, var(--calendar-cell-size));
    gap: var(--calendar-gap);
}
.calendar-day-header{
    font-weight: 700;
    text-align: center;
    font-size: clamp(16px, 1.3vw, 18px);
    color: #4B3A00;
    width: var(--calendar-cell-size);
}
.calendar-day{
    width: var(--calendar-cell-size);
    height: var(--calendar-cell-size);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(16px, 1.6vw, 22px);
    color: #4B3A00;
    border-radius: 4px;
}
.calendar-empty{
    width: var(--calendar-cell-size);
    height: var(--calendar-cell-size);
}
.wedding-date{
    border: 2px solid #ac8324;
    border-radius: 50%;
    font-weight: 700;
    background: rgba(172, 131, 36, 0.1);
}
.header-wrapper h1{
    color: #ac8324;
    font-size: clamp(42px, 7vw, 64px);
    font-family: 'Miama', sans-serif;
    font-weight: 100;
    line-height: 1.1;
}
.menu{
    color: #4B3A00;
    font-size:24px;
    text-align: right;
    width: calc(100% / 3);
    gap:10px;
}
.date{
    position: absolute;
    top: 20px;
    left: 10px;
    right: 10px;
    text-align: center;
    color: #000;
    font-size: clamp(40px, 12vw, 150px);
    font-family: 'Corinthia', cursive;
}
.invite-wrapper{
    text-align: center;
    font-size: clamp(18px, 2.8vw, 25px);
    position: relative;
    z-index: 1;
    padding: clamp(40px, 7vw, 100px) clamp(20px, 7vw, 100px) 0;
    height:100%;
    justify-content: space-between;
}
.people{
    justify-content: space-around;
    padding: clamp(20px, 5vw, 60px);
}
.us h4{
    font-family: 'Miama', sans-serif;
    font-size: clamp(36px, 6.5vw, 70px);
    padding-top: clamp(20px, 4vw, 60px);
    color: #ac8324;
}
.koump h3, .parents h3{
    padding-bottom: 14px;
    font-size: clamp(18px, 3vw, 25px);
}
.countdown-wrapper{
    text-align: center;
    padding: clamp(20px, 4vw, 50px) clamp(20px, 7vw, 100px);
    height:100%;
}
.countdown-wrapper h2{
    font-weight: 100;
    text-align: center;
    font-family: 'Miama', sans-serif;
    font-size: 100px;
    transform: rotate(-90deg);
    position: absolute;
    left: -35px;
    top: -18px;
    transform-origin: bottom;
    color: #ac8324;
}
.gallery-wrapper h2{
    font-weight: 100;
    text-align: center;
    font-family: 'Miama', sans-serif;
    font-size: 100px;
    color: #ac8324;
}
.gallery-wrapper h3{
    font-size: clamp(18px, 3vw, 22px);
    text-align: center;
}
.cntdn{
    font-size: clamp(80px, 10vw, 130px);
    position: relative;
    z-index: 1;
    font-family: 'Miama', sans-serif;
    padding-top: clamp(10px, 3vw, 30px);
}
#countdown{
    line-height: clamp(46px, 7.5vw, 169px);
}
.countdown-wrapper, .location-wrapper, .rsvp-wrapper, .gallery-wrapper{
    position: relative;
    padding-bottom: 40px;
    width: 88%;
    margin: 0 auto;
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
}
.gallery-wrapper{
    margin-bottom:50px;
}

.date-down{
    padding: clamp(20px, 4vw, 50px) clamp(20px, 7vw, 100px) 0;
    transition: all 0.5s ease-in-out;
    border: none;
}
.date-down:hover span{
    border-bottom:1px solid #000;
    transition: all 0.5s ease-in-out;
}
.date-down span{
    font-size: 22px;
}
.location-wrapper{
    text-align: center;
    padding: clamp(20px, 4vw, 50px) clamp(20px, 7vw, 100px);
}
.location-wrapper h2, .rsvp-wrapper h2{
    font-weight: 100;
    text-align: center;
    font-family: 'Miama', sans-serif;
    font-size: 100px;
    transform: rotate(-90deg);
    position: absolute;
    left: -20px;
    top: -25px;
    transform-origin: bottom;
    color: #ac8324;
}
.rsvp-wrapper h2{
    left: 37px;
    top:45px;
    transform-origin: left;
}
.dhms .days{
    padding-left: clamp(10px, 5vw, 65px);
    padding-right: clamp(8px, 3vw, 30px);
}
.dhms .hours{
    padding: 0 clamp(8px, 3vw, 40px);
}
.dhms .min{
    padding: 0 clamp(8px, 3vw, 40px);
}
.dhms .sec{
    padding: 0 clamp(4px, 2vw, 20px);
}
.location-wrapper img{
    width:50px;
}
.church-text, .party-text, .church-map, .party-map{
    width:calc(100%/2);
    font-size:25px;
}
.church-map iframe, .party-map iframe{
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 2;
}
.party-wrapper{
    flex-direction: row-reverse;
}
.church-text h3, .party-text h3{
    color: #4B3A00;
    padding:20px 0;
}
.church-text h4{
    font-size:20px;
    padding:10px 0 20px;
}
.rsvp-wrapper{
    text-align: center;
    padding: clamp(20px, 4vw, 50px) clamp(20px, 7vw, 100px);
    height:100%;
}
.rsvp-wrapper h3{
    font-size: 23px;
    text-align: center;
    padding-top: 15px;
}
.rsvp-form input, .rsvp-form select, .rsvp-form textarea{
    width:100%;
    outline: none;
    border: none;
    border-bottom:1px solid #4B3A00;
    font-size:18px;
    padding:10px;
    margin-bottom:20px;
    font-family: 'Stix Two',sans-serif;
    background-color: transparent;
    color:#4B3A00;
}
.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: none;
    border-bottom: 1px solid #4B3A00;
    outline: none;
    font-size:18px;
    padding:10px;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    color:#4B3A00;
}
.rsvp-form .send-btn button:hover{
    border: 1px solid #4B3A00;
    border-radius: 10px;
    transition: all 0.4s ease-in-out;
}
.rsvp-form textarea{
    min-height: 100px;
    resize: none;
}
.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: clamp(16px, 2.4vw, 25px);
}

.section-title{
    padding: clamp(20px, 4vw, 50px) clamp(20px, 7vw, 100px);
    font-size: clamp(22px, 3.5vw, 40px);
    font-family: 'Bona Nova', 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: clamp(40px, 10vw, 120px);
    font-family: 'Bona Nova',sans-serif;
}
.soon h3{
    font-size:25px;
}
.footer-wrapper{
    padding:20px 0;
    margin: 0 20px;
    border-top: 1px solid #4B3A00;
}

.container {
    width: 50%;
    justify-content: center;
    padding: 30px;
  }
  
.container h1 {
    font-size: 30px;
    padding-bottom: 30px;
}
.wed-list h3{
    font-size: 40px;
    font-family: 'Miama', sans-serif;
    color: #ac8324;
}
.wed-bank-row{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.copy-iban-btn{
    border: 1px solid #4B3A00;
    border-radius: 999px;
    background: transparent;
    color: #4B3A00;
    font-family: 'Stix Two', sans-serif;
    font-size: 14px;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.copy-iban-btn:hover{
    background: #4B3A00;
    color: #F6EFE3;
}
.copy-iban-btn.copied{
    background: #ac8324;
    border-color: #ac8324;
    color: #fff;
}
.gallery-wrapper h3 a{
    border-bottom: 1px solid #4B3A00;
    transition: all 0.3s ease-in-out;
}
    .upload-status {
        margin-top: 12px;
        font-size: 16px;
    }
    .uploaded-gallery-section {
        max-width: 1100px;
        margin: 20px auto 40px;
        padding: 0 20px;
        text-align: center;
    }
    .uploaded-gallery-section h2 {
        font-size: 50px;
        text-align: center;
        margin-bottom: 10px;
        font-family: 'Miama', sans-serif;
        color:#ac8324;
    }
    .uploaded-gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 14px;
    }
    .uploaded-gallery-grid img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 6px 14px rgba(0,0,0,0.12);
        cursor: pointer;
    }

    .uploaded-gallery-grid video {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 6px 14px rgba(0,0,0,0.12);
        cursor: pointer;
    }
    .gallery-empty {
        text-align: center;
        font-size: 18px;
    }

    .lightbox {
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: rgba(0, 0, 0, 0.88);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .lightbox.open {
        opacity: 1;
        visibility: visible;
    }

    .lightbox-image {
        width: min(90vw, 1100px);
        max-height: 84vh;
        object-fit: contain;
        border-radius: 10px;
    }

    .lightbox-video {
        width: min(90vw, 1100px);
        max-height: 84vh;
        display: none;
        border-radius: 10px;
    }

    .lightbox-close,
    .lightbox-nav {
        position: absolute;
        border: none;
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
        cursor: pointer;
        border-radius: 8px;
    }

    .lightbox-close {
        top: 24px;
        right: 24px;
        width: 44px;
        height: 44px;
        font-size: 30px;
        line-height: 1;
    }

    .lightbox-nav {
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 56px;
        font-size: 34px;
    }

    .lightbox-prev {
        left: 24px;
    }

    .lightbox-next {
        right: 24px;
    }
.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: 'Bona Nova' , sans-serif;
}
  
.button:hover {
    background-color: #000;
    color: #fff;
}
  
.result {
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

.result-score {
    text-align: center;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: #f8f8f8;
}

.result-player {
    margin-bottom: 6px;
}

.result-answers h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.result-answers ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-answers li,
.incorrect-item {
    border: 1px solid #000;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
}

.answer-question {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}

.answer-value {
    display: block;
}

.incorrect-item p + p {
    margin-top: 4px;
}
  
.hide{
    display: none;
}
.image-gallery{
    width: 50%;
    justify-content: center;
    gap:10px;
    max-height: 600px;
}
.image-gallery img{
    width: 40%;
    height: 70%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    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{
    min-height: 75vh;
}
.our-logo{
    font-size: 25px;
}
#quiz{
    font-size: 19px;
}
.check{
    background: #fff;
    height:100vh;
}
.checkpass{
    padding: 20px;
    width: 300px;
    height: 300px;
    position: absolute;
    top: 26%;
    left: 11%;
    right: 11%;
    text-align: left;
    margin: auto auto;
    border: 1px solid #000;
    justify-content: space-evenly;
    background: #d5d5d5;
}
.checkpass button{
    width: 100px;
    height: 35px;
}
.checkpass input{
    height: 45px;
    font-size: 18px;
}
.checkpass h1{
    font-size:25px;
}
.footer-wrapper .copyrights img{
    width:30px;
}
.footer-wrapper .copyrights span{
    gap:5px;
    font-size:12px;
    display: flex;
    align-items: center;
}
.oikosimo{
    max-width: 450px;
}
section.invite{
    text-align: center;
}

@media screen and (max-width:1200px){
    .location-wrapper, .rsvp-wrapper,.section-title{
        padding: 50px;
    }
    .invite-wrapper{
        padding: 100px 50px 50px;
    }
    .church-text h3, .party-text h3{
        font-size: 30px;
    }
    .location-wrapper h2, .countdown-wrapper h2{
        font-size:80px;
    }
    .rsvp-wrapper h2 {
        font-size: 100px;
    }
    .main-img{
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
        width: 100%;
    }
    .main-header{
        justify-content: space-between;
        align-items: flex-end!important;
        padding: 0 15px;
    }
    .main-img img{
        max-width: 400px;
    }
}

@media screen and (max-width:1100px){
    .site-header .menu{
        display: none;
    }
    .site-header{
        justify-content: flex-end!important;
    }
    .site-header .header-wrapper{
        width: 100%;
    }
    .site-header .burger-btn{
        display: flex;
    }
    .startgame-wrapper h3{
        font-size:18px;
    }
    .start{
        font-size:30px;
    }
    .header-wrapper h1:first-of-type{
        bottom:30%;
    }
    .image-gallery img{
        height:50%;
    }
    .menu{
        flex-direction: column;
        align-items: flex-start;
    }
    .lang-menu-item{
        display: none;
    }
    .calendar-month{
        font-size: 50px;
    }
}

@media screen and (max-width:900px){

    .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:20px;
        font-size: 69px;
    }
    .dhms{
        margin-top:-30px;
        width: 100%;
    }
    .cntdn{
        font-size:80px;
    }
    .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: 80px;
    }
    .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%;
    }
    .header-wrapper h1:first-of-type{
        width: 100%;
    }
    .date{
        font-size: 120px;
    }
    .invite-wrapper {
        font-size: 25px;
    }
    .people h4 {
        font-size: 20px;
    }
    .koump h3, .parents h3 {
        font-size: 23px;
    }
    .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;
    }
    .header-wrapper{
        width:100%;
    }
    .wedding-calendar{
        order: 4;
        width: 100%;
        margin: 20px auto;
    }

    .save-the-date{
        left: -20%;
        font-size: clamp(42px, 12vw, 90px);
    }
    .church-wrapper, .party-wrapper{
        flex-direction: column;
    }
    .church-text, .party-text, .church-map, .party-map{
        width: 100%;
        padding-bottom: 20px;
    }
    .church-map iframe, .party-map iframe{
        aspect-ratio: 16/9;
    }
    .main-header{
        flex-wrap: wrap;
        justify-content: center;
    }
    .oikosimo {
        max-width: 300px;
    }
    .countdown-wrapper, .location-wrapper, .rsvp-wrapper, .gallery-wrapper{
        width:90%;
    }
    section:not(:last-of-type){
        margin-bottom:80px;
    }
}
@media screen and (max-width:600px){
    .us h4{
        font-size:60px;
    }
    .parents{
        padding-bottom: 35px;
    }
    .people{
        flex-direction: column;
    }
    .left-img, .right-img{
        width: calc((100% / 2) - 10px);
    }
    .wedding-calendar{
        padding: 14px;
        margin: auto 10px;
    }
    .header-wrapper{
        text-align: left;
    }
    .site-header{
        padding-bottom: 0;
    }

}
@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;
    }
    .date {
        font-size: 75px;
        bottom: 155px;
    }
    .menu{
        top:20px;
        right:20px;
        font-size:18px;
    }
    .invite-wrapper {
        padding: 30px 20px;
    }
    .us h4 {
        font-size: 50px;
    }
    .church-wrapper, .party-wrapper{
        padding-top: 30px;
    }
    .party-wrapper{
        border-top: 1px solid #000;
    }
    .location-wrapper, .rsvp-wrapper, .section-title{
        padding:20px;
    }
    .rsvp-wrapper{
        padding-top:50px;
    }
    .rsvp-wrapper h2 {
        font-size: 70px;
    }
    .gallery-wrapper h2{
        font-size: 70px;
    }
    .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;
    }
    header {
        padding: 20px 12px;
    }
    .main-header{
        height: 100%;
        flex-wrap: wrap;
    }
    .location-wrapper h2, .section-title, .countdown-wrapper h2{
        font-size: 70px;
        transform: rotate(-29deg);
        left: 10px;
        top: -20px;
    }
    .main-img{
        order:1;
        position: relative;
        top:0;
        left:0;
        transform: unset;
    }
    .main-header .left-img{
        order:2;
        width: 100%;
    } 
    .main-header .right-img{
        order:3;
        transform: translateY(-50px);
        width: 70%;
    }
    .calendar-container{
        display: flex;
        order: 4;
        width: 90%;
        justify-content: center;
        transform: translateY(-50px);
    }
    .wedding-calendar{
        display: flex;
        margin: 10px auto 0;
        padding: 10px;
    }
    .save-the-date{
        font-size: 80px;
        text-align: right;
        height: 160%;
        left: -8%;
    }
    .countdown-wrapper{
        padding-top: 80px;
    }
    .oikosimo {
        max-width: 200px;
    }
    section:not(:last-of-type) {
        margin-bottom: 60px;
    }
    .rsvp-wrapper h2 {
        left: 8px;
        top: 0px;
        transform: rotate(-25deg);
    }
    .rsvp-wrapper h3{
        font-size:18px;
    }
    .wed-list h3{
        font-size:40px;
    }
}

.gallery-main {
    padding: 40px 20px;
}

section.gallery-upload-section {
    max-width: 520px;
    margin: 0 auto 30px;
    text-align: center;
}

.gallery-upload-section h2 {
    font-size: clamp(20px, 5vw, 25px);
    margin-bottom: 20px;
    padding-top: 30px;
}

.upload-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.upload-icon-btn {
    width: 78px;
    height: 78px;
    border: 1px solid #4B3A00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.upload-icon-btn svg {
    width: 36px;
    height: 36px;
    fill: #000;
}

.file-name {
    font-size: 16px;
}

.upload-form button {
    border: 1px solid #4B3A00;
    background: transparent;
    padding: 10px 18px;
    font-family: 'Bona Nova', sans-serif;
    cursor: pointer;
    border-radius: 5px;
    color:#4B3A00;
}

.download-all-btn {
    display: inline-block;
    border: 1px solid #4B3A00;
    padding: 10px 18px;
    border-radius: 5px;
    transition: all 0.25s ease;
    margin-bottom:20px;
    color:#4B3A00;
}

.download-all-btn:hover {
    background: #4B3A00;
    color: #fff;
}
.main-img-gallery{
    width: 100%;
    text-align: center;
}
.main-img-gallery img{
    width: 100%;
    max-width: 200px;
}

.upload-loading {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.upload-loading.open {
    opacity: 1;
    visibility: visible;
}

.upload-loading-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    text-align: center;
}

.upload-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #4B3A00;
    border-top-color: #000;
    border-radius: 50%;
    margin: 0 auto 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}