:root {
    --green: #5B7343;
    --light-green: #B1BF93;
    --yellow: #D6D989;
    --yellow-down:#fbfdba;
    --beige: #f6f2e9;
    --red: #A66565;
    --text: #5B7343;
    --shadow-color: 79deg 26% 66%;
    --shadow-1-elevation-low: 0px 0.2px 0.2px hsl(var(--shadow-color) / 0.34), 0px 0.4px 0.5px -1.2px hsl(var(--shadow-color) / 0.34), 0px 0.9px 1px -2.5px hsl(var(--shadow-color) / 0.34);
    --shadow-1-elevation-medium: 0px 0.2px 0.2px hsl(var(--shadow-color) / 0.36), 0px 0.7px 0.8px -0.8px hsl(var(--shadow-color) / 0.36), 0px 1.8px 2px -1.7px hsl(var(--shadow-color) / 0.36), 0.1px 4.5px 5.1px -2.5px hsl(var(--shadow-color) / 0.36);
    --shadow-1-elevation-high: 0px 0.2px 0.2px hsl(var(--shadow-color) / 0.34), 0px 1.3px 1.5px -0.4px hsl(var(--shadow-color) / 0.34), 0.1px 2.4px 2.7px -0.7px hsl(var(--shadow-color) / 0.34), 0.1px 4px 4.5px -1.1px hsl(var(--shadow-color) / 0.34), 0.1px 6.4px 7.2px -1.4px hsl(var(--shadow-color) / 0.34), 0.2px 10px 11.3px -1.8px hsl(var(--shadow-color) / 0.34), 0.3px 15.1px 17px -2.1px hsl(var(--shadow-color) / 0.34), 0.5px 22.3px 25.1px -2.5px hsl(var(--shadow-color) / 0.34);
    --shadow-color-2: 62deg 51% 69%;
    --shadow-2-elevation-low: 0px 0.2px 0.2px hsl(var(--shadow-color-2) / 0.34), 0px 0.4px 0.5px -1.2px hsl(var(--shadow-color-2) / 0.34), 0px 0.9px 1px -2.5px hsl(var(--shadow-color-2) / 0.34);
    --shadow-2-elevation-medium: 0px 0.2px 0.2px hsl(var(--shadow-color-2) / 0.36), 0px 0.7px 0.8px -0.8px hsl(var(--shadow-color-2) / 0.36), 0px 1.8px 2px -1.7px hsl(var(--shadow-color-2) / 0.36), 0.1px 4.5px 5.1px -2.5px hsl(var(--shadow-color-2) / 0.36);
    --shadow-2-elevation-high: 0px 0.2px 0.2px hsl(var(--shadow-color-2) / 0.34), 0px 1.3px 1.5px -0.4px hsl(var(--shadow-color-2) / 0.34), 0.1px 2.4px 2.7px -0.7px hsl(var(--shadow-color-2) / 0.34), 0.1px 4px 4.5px -1.1px hsl(var(--shadow-color-2) / 0.34), 0.1px 6.4px 7.2px -1.4px hsl(var(--shadow-color-2) / 0.34), 0.2px 10px 11.3px -1.8px hsl(var(--shadow-color-2) / 0.34), 0.3px 15.1px 17px -2.1px hsl(var(--shadow-color-2) / 0.34), 0.5px 22.3px 25.1px -2.5px hsl(var(--shadow-color-2) / 0.34);
}

@font-face {
    font-family: 'Amalfi-Coast';
    src: url('assets/fonts/Amalfi-Coast.ttf.woff') format('woff'),
        url('assets/fonts/Amalfi-Coast.ttf.svg#Amalfi-Coast') format('svg'),
        url('assets/fonts/Amalfi-Coast.ttf.eot'),
        url('assets/fonts/Amalfi-Coast.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}


html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0px;
}

/* Makes sure everything is centered. Always. */
section,
div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Sets minimum height for the sections, so they look better  */
section {
    overflow: hidden;
    min-height: 90vh;
}

/* Basic font settings  */
h1,
h2,
h3,
p {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text);
    font-weight: 400;
}

h1 a,
h1 a:visited {
    color: var(--text);
    display: inline-block;
    transition:all 0.75s ease-in-out;
}
h1 a:hover {
    color: var(--red);
}

/* Settings for the first row of every page */
section.hero {
    background-color: var(--beige);
    height: 100vh;
}

/* Non-hero sections */
section.standard {
    padding: 12rem;
    z-index: 2;
    background-color: white;
}

/* All images that need to stay on top of other elements  */
.img-over {
    display: block;
    position: absolute;
    pointer-events: none;
}

/* Images in the hero that need to stay below other rows when scrolling */
section.hero .img-over {
    /* position: fixed; */
    z-index: 1;
}

/* Stick images to specific positions */
.img-top {
    top: 0%;
}

.img-bottom {
    bottom: 0%
}

.img-right {
    right: 0%;
}

.img-left {
    left: 0%;
}

/***
HOME
***/

/* Font settings for the main title */
.home h1 {
    font-family: 'Amalfi-Coast';
    text-align: center;
    line-height: 1.05em;
    font-size: 5rem;
    letter-spacing: .5px;
    color: var(--green);
}

/* Set height for images on the hero section */
.home .hero .img-top.img-left {
    height: 45vh;
}

.home .hero .img-top.img-right {
    height: 45vh;
}

.home .hero .img-bottom.img-left {
    height: 60vh;
}

.home .hero .img-bottom.img-right {
    height: 60vh;
}

/* Sets the wedding date below the h1 */
.home .date {
    color: var(--green);
    font-size: 2.2rem;
    margin-top: 2rem;
}

/***
RSVP Button
***/

/* Sticks button to the right side and makes sure it stays on top of everything else */
.rsvp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 4;
}

/* Defines size of the button and basic effects */
.rsvp a img {
    height: 80px;
    transition: all 0.8s ease-in-out;
    box-shadow: var(--shadow-2-elevation-medium);
    border-radius: 100px;
}

/* Button hover effect */
.rsvp a:hover img {
    transform: scale(1.1);
    box-shadow: var(--shadow-2-elevation-high);
}

/* section.standard,
div.box {
    z-index: 1;
} */

div.box {
    /* background-color: var(--beige); */
    padding: 6rem;
}

h1,
p.bigtext {
    font-size: 4rem;
    /* line-height: 1.2rem; */
    padding: 0px;
    margin: 0px;
}

p.hugetext {
    font-size: 5rem;
    padding: 0px;
    margin: 0px;
}

.daje {
    font-weight: bolder;
    font-style: italic;
}

div.divider {
    width: 25%;
    border-bottom: solid 1.5px var(--green);
}

div.divider.top {
    margin-bottom: 5rem;
    margin-top: 2rem;
}

div.divider.bottom {
    margin-bottom: 2rem;
    margin-top: 5rem;
}


p.subtext {
    font-size: 1.5rem;
    margin: 0px;
}

a:visited {
    color: var(--text);
}

p.details a,
p.details a:visited,
p.details a:any-link,
.column a,
.column a:visited,
.column a:any-link {
    font-size: 1rem;
    font-family: 'Work Sans', sans-serif;
    text-decoration: none;
    border-bottom: solid 1px var(--light-green);
    color: var(--light-green);
    transition: all 1s ease-in-out;
}

p.details a:hover,
.column a:hover {
    color: var(--red);
}

section.alt {
    background-color: var(--beige);
    padding: 12rem 10em;
}

.video iframe {
    margin-top: 3rem;
    width: 90%;
    box-shadow: var(--shadow-1-elevation-high);
    width: 1100px;
    height: 620px;
}


/* section.video p.bigtext {
    line-height: .95em;
} */

section.video {
    position: relative;
}

section.video img.img-top.img-left {
    height: 80vh;
}

section.video img.img-top.img-right {
    height: 100vh;
}

section.video img.img-bottom.img-left {
    height: 60vh;
}

section.video img.img-bottom.img-right {
    height: 40vh;
}

p.bigtext a,
p.hugetext a
 {
    font-weight: bolder;
    font-style: italic;
    display: inline-block;
    position: relative;
    color: var(--text);
    text-decoration: underline;
    /* padding: 0.2em 0.05em; */
    transition: all .5s ease-in-out;
}

p.subtext a {
    color: var(--text);
    font-weight: bolder;
    font-style: italic;
}

p.bigtext a:hover,
p.hugetext a:hover,
p.subtext a:hover {
    color: var(--red);
}

/* p.bigtext a:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 100%;
    bottom: 0;
    left: 0;
    background: var(--light-green);
    z-index: -1;
    transform: scaleY(.2);
    border-radius: 0;
    transition: all 0.3s ease-in-out;
  }
  
  p.bigtext a:hover:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--light-green);
    z-index: -1;
    border-radius: 8px;
  } */

img.img-remark {
    width: 40vw;
}

img.remark-top {
    margin-bottom: 5rem;
}

a.button {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    margin-top: 3rem;
    text-decoration: none;
    color: white;
    background: var(--green);
    padding: 20px 30px;
    border-radius: 500px;
    display: inline-block;
    /* border-bottom: solid 5px transparent; */
    box-shadow: var(--shadow-1-elevation-medium);
    transition: all 1s ease-in-out, box-shadow 0.5s ease-in-out;
}

a.button:hover {
    /* border-bottom:solid 5px var(--light-green); */
    box-shadow: var(--shadow-1-elevation-high);
    transform: scale(1.05);
}

/*** GIFT SECTION ***/

section.gift {
    height: 100vh;
    padding: 0rem 12rem;
    z-index: 3;
}

section.gift img {
    bottom: -5%;
}

section.gift img.img-bottom.img-left {
    height: 40vw;
}

section.gift img.img-bottom.img-right {
    height: 50%;
}

.midtext {
    font-size: 2.5rem;
}

/***
PAGE WHERE
***/

.internal .hero .img-bottom.img-right {
    width: 50vw;
    z-index: 0;
    right: -10%;
    bottom: -10%;
}

.internal .rsvp {
    position: relative;
    bottom: auto;
    right: auto;
    margin-left: 1rem;
    border-radius: 100px;
}

.internal .rsvp img a {
    height: 70px;
    border-radius: 100px;
}

/* .internal {
    padding-bottom: 120px;
} */

div.navigation {
    position: fixed;
    display: flex;
    flex-direction: row;
    /* width: 80vw; */
    height: 70px;
    bottom: 5%;
    z-index: 4;
}

div.navigation a img {
    height: 70px;
    box-shadow: var(--shadow-1-elevation-medium);
    border-radius: 100px;
}

div.navigation a.logo {
    margin-right: 1rem;
    z-index: 4;
}

div.menu {
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    box-shadow: var(--shadow-1-elevation-medium);
    border-radius: 100px;
    height: 70px;
    width: 70vw;
}

div.navigation a,
div.navigation a:any-link,
div.navigation a:visited {
    color: var(--green);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4em;
    text-decoration: none;
    font-weight: 500;
    border-bottom: solid 1px transparent;
    transition: all 1s ease-in-out;
}

div.navigation .menu a:hover {
    border-bottom: solid 1px var(--green);
}

div.navigation a.logo:hover {
    border-bottom: solid 1px transparent;
}

div.navigation .test {
    opacity: 0;
    pointer-events: none;
    display: flex;
    background-color: white;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 5;
    border-radius: 100px;
    flex-direction: row;
    justify-content: left;
    box-shadow: var(--shadow-1-elevation-high);
    transition: all 0.8s ease-in-out;
}

div.navigation .test div {
    text-align: center;
    width: 100%;
}

div.navigation .test div p {
    color: var(--green);
}

div.navigation a.logo:hover .test {
    opacity: 100%;
}

.internal section.hero {
    padding: 0em 10em;
}

.internal h1 {
    z-index: 1;
}

/* Accomodations */

#accomodations .bigtext {
    margin-bottom: 3rem;
}

.columns {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.column {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 0 2.5em;
}

p.smalldetail {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 200;
}

.column h3 {
    font-size: 2.5rem;
}

p.description {
    font-size: 1.5rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: 200;
}

.column a {
    color: var(--green);
    text-decoration: none;
    margin-top: 2rem;
}

#location .description {
    width: 90%;
    line-height: 1.8rem;
}

#location .description a {
    font-size: 1.5rem;
    font-family: 'Work Sans', sans-serif;
    transition: all 0.5s ease-in-out;
    color: var(--green);
    border-bottom: solid 0px transparent;
    text-decoration: underline;
}

#location .description a:hover {
    color: var(--red);
}

#location .column img {
    width: 100%;
}

.icon {
    width: 25px;
}

/***
HONEYMOON
***/


.honeymoon hero {
    padding: 0em 13em;
}
.honeymoon div.navigation {
    width:80vw;
justify-content: space-between;
}
.honeymoon h1 {
    margin-bottom: 4rem
}

.honeymoon span.iban {
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.honeymoon span.iban_details {
    display: block;
font-size: 1.5rem;
}


/***
TEXT HIGHLIGHT
***/

::-moz-selection {
    /* Code for Firefox */
    background: var(--yellow-down);
}

::selection {
    background: var(--yellow-down);
}

/***
ANIMATIONS
***/

.arrow-bounce {
    position: absolute;
    color: var(--light-green);
    bottom: 2rem;
}

.arrow-bounce i {
    opacity: 30%;
}


.focus-in {
    -webkit-animation: focus-in 1.5s cubic-bezier(0.550, 0.085, 0.680, 0.530);
    animation: focus-in 1.5s cubic-bezier(0.550, 0.085, 0.680, 0.530);
}

@-webkit-keyframes focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

@keyframes focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

.slide-in-blurred-top {
    -webkit-animation: slide-in-blurred-top 2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    animation: slide-in-blurred-top 2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2021-12-21 12:16:23
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-blurred-top
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-blurred-top {
    0% {
        -webkit-transform: translateY(-1000px) scaleY(1) scaleX(1);
        transform: translateY(-1000px) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 0%;
        transform-origin: 50% 0%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
        transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-in-blurred-top {
    0% {
        -webkit-transform: translateY(-1000px) scaleY(1) scaleX(1);
        transform: translateY(-1000px) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 0%;
        transform-origin: 50% 0%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
        transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}


.slide-in-blurred-bottom {
    -webkit-animation: slide-in-blurred-bottom 2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    animation: slide-in-blurred-bottom 2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

@-webkit-keyframes slide-in-blurred-bottom {
    0% {
        -webkit-transform: translateY(1000px) scaleY(1) scaleX(1);
        transform: translateY(1000px) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
        transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-in-blurred-bottom {
    0% {
        -webkit-transform: translateY(1000px) scaleY(1) scaleX(1);
        transform: translateY(1000px) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0) scaleY(1) scaleX(1);
        transform: translateY(0) scaleY(1) scaleX(1);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

.slide-in-blurred-tr {
    -webkit-animation: slide-in-blurred-tr 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    animation: slide-in-blurred-tr 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

@-webkit-keyframes slide-in-blurred-tr {
    0% {
        -webkit-transform: translate(1000px, -1000px) skew(0deg, 0deg);
        transform: translate(1000px, -1000px) skew(0deg, 0deg);
        -webkit-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translate(0, 0) skew(0deg, 0deg);
        transform: translate(0, 0) skew(0deg, 0deg);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-in-blurred-tr {
    0% {
        -webkit-transform: translate(1000px, -1000px) skew(0deg, 0deg);
        transform: translate(1000px, -1000px) skew(0deg, 0deg);
        -webkit-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translate(0, 0) skew(0deg, 0deg);
        transform: translate(0, 0) skew(0deg, 0deg);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

.slide-in-blurred-br {
    -webkit-animation: slide-in-blurred-br 2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    animation: slide-in-blurred-br 2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2021-12-21 12:21:55
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-blurred-br
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-blurred-br {
    0% {
        -webkit-transform: translate(1000px, 1000px) skew(0deg, 0deg);
        transform: translate(1000px, 1000px) skew(0deg, 0deg);
        -webkit-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translate(0, 0) skew(0deg, 0deg);
        transform: translate(0, 0) skew(0deg, 0deg);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-in-blurred-br {
    0% {
        -webkit-transform: translate(1000px, 1000px) skew(0deg, 0deg);
        transform: translate(1000px, 1000px) skew(0deg, 0deg);
        -webkit-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translate(0, 0) skew(0deg, 0deg);
        transform: translate(0, 0) skew(0deg, 0deg);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

.slide-in-blurred-bl {
    -webkit-animation: slide-in-blurred-bl 2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    animation: slide-in-blurred-bl 2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

@-webkit-keyframes slide-in-blurred-bl {
    0% {
        -webkit-transform: translate(-1000px, 1000px) skew(0deg, 0deg);
        transform: translate(-1000px, 1000px) skew(0deg, 0deg);
        -webkit-transform-origin: 100% 100%;
        transform-origin: 100% 100%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translate(0, 0) skew(0deg, 0deg);
        transform: translate(0, 0) skew(0deg, 0deg);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-in-blurred-bl {
    0% {
        -webkit-transform: translate(-1000px, 1000px) skew(0deg, 0deg);
        transform: translate(-1000px, 1000px) skew(0deg, 0deg);
        -webkit-transform-origin: 100% 100%;
        transform-origin: 100% 100%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translate(0, 0) skew(0deg, 0deg);
        transform: translate(0, 0) skew(0deg, 0deg);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

.slide-in-blurred-tl {
    -webkit-animation: slide-in-blurred-tl 2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
    animation: slide-in-blurred-tl 2s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

@-webkit-keyframes slide-in-blurred-tl {
    0% {
        -webkit-transform: translate(-1000px, -1000px) skew(0deg, 0deg);
        ;
        transform: translate(-1000px, -1000px) skew(0deg, 0deg);
        ;
        -webkit-transform-origin: 100% 0%;
        transform-origin: 100% 0%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translate(0, 0) skew(0deg, 0deg);
        transform: translate(0, 0) skew(0deg, 0deg);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes slide-in-blurred-tl {
    0% {
        -webkit-transform: translate(-1000px, -1000px) skew(0deg, 0deg);
        ;
        transform: translate(-1000px, -1000px) skew(0deg, 0deg);
        ;
        -webkit-transform-origin: 100% 0%;
        transform-origin: 100% 0%;
        -webkit-filter: blur(40px);
        filter: blur(40px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translate(0, 0) skew(0deg, 0deg);
        transform: translate(0, 0) skew(0deg, 0deg);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-filter: blur(0);
        filter: blur(0);
        opacity: 1;
    }
}




/** Delay **/

.del-0 {
    animation-delay: 0s;
}

.del-025 {
    animation-delay: 0.25s;
}

.del-050 {
    animation-delay: 0.50s;
}

.del-075 {
    animation-delay: 0.75s;
}

.del-1 {
    animation-delay: 1s;
}

.del-125 {
    animation-delay: 1.25s;
}

.del-150 {
    animation-delay: 1.50s;
}

.del-175 {
    animation-delay: 1.75s;
}

.del-2 {
    animation-delay: 2s;
}

.del-225 {
    animation-delay: 2.25s;
}

.del-250 {
    animation-delay: 2.50s;
}

.del-275 {
    animation-delay: 2.75s;
}

.del-3 {
    animation-delay: 3s;
}

.del-325 {
    animation-delay: 3.25s;
}

.del-350 {
    animation-delay: 3.50s;
}

.del-375 {
    animation-delay: 3.75s;
}

.del-4 {
    animation-delay: 4s;
}

/** Duration **/

.dur-0 {
    animation-duration: 0s;
}

.dur-025 {
    animation-duration: 0.25s;
}

.dur-050 {
    animation-duration: 0.50s;
}

.dur-075 {
    animation-duration: 0.75s;
}

.dur-1 {
    animation-duration: 1s;
}

.dur-125 {
    animation-duration: 1.25s;
}

.dur-150 {
    animation-duration: 1.50s;
}

.dur-175 {
    animation-duration: 1.75s;
}

.dur-2 {
    animation-duration: 2s;
}

.dur-225 {
    animation-duration: 2.25s;
}

.dur-250 {
    animation-duration: 2.50s;
}

.dur-275 {
    animation-duration: 2.75s;
}

.dur-3 {
    animation-duration: 3s;
}

.dur-325 {
    animation-duration: 3.25s;
}

.dur-350 {
    animation-duration: 3.50s;
}

.dur-375 {
    animation-duration: 3.75s;
}

.dur-4 {
    animation-duration: 4s;
}

/***
RESPONSIVENESS
***/
@media (max-width: 1200px) {
    .home h1 {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .home h1 {
        font-size: 2.5rem;
    }

    .home .hero .img-top.img-left {
        height: 40vh;
    }

    .home .hero .img-top.img-right {
        height: 40vh;
    }

    .home .hero .img-bottom.img-left {
        height: 50vh;
    }

    .home .hero .img-bottom.img-right {
        height: 50vh;
    }

    h1,
    p.bigtext {
        font-size: 3rem;
    }

    .video iframe {
        width: 900px;
        height: 506px;
    }

    section.standard {
        padding: 8rem;
    }
}

@media (max-width: 768px) {

    h1,
    p.bigtext,
    p.hugetext {
        font-size: 2rem;
    }

    .internal section.hero {
        padding: 0 5rem;
    }

    .internal .hero .img-bottom.img-right {
        height: 65vw;
        width: auto;
    }

    section.standard {
        padding: 5rem 1.5rem; /* Adjusted for fuller width on mobile */
    }

    section.video img.img-top.img-left {
        height: 40vw;
    }

    section.video img.img-top.img-right {
        height: 60vw;
    }

    section.video img.img-bottom.img-left {
        height: 50vw;
    }

    section.video img.img-bottom.img-right {
        height: 25vw;
    }

    .video iframe {
        width: 600px;
        height: 338px;
    }

    .columns {
        flex-direction: column;
    }

    .columns .column:first-child {
        margin-bottom: 8rem;
    }

    .column {
        padding: 0rem;
        width: 100%;
    }
    .logo div.test {
        display: none;
    }

    .honeymoon span.iban {
        font-size: 1.5rem;
    }
    .honeymoon span.iban_details {
        font-size: 1.2rem;
    }

    .schedule-container {
        width: 100%; /* Make container full width within parent's padding */
    }

    .schedule-day h3 {
        font-size: 2rem;
    }

    #our-story .story-content,
    .schedule-container,
    .travel-content-container,
    #q-and-a .qa-list {
        width: 100%; /* Make content containers full width within new section padding */
    }
}

@media (max-width: 576px) {
    .home section.hero .img-top.img-left {
        height: 35vw;
    }

    .home section.hero .img-top.img-right {
        height: 40vw;
    }

    .home section.hero .img-bottom.img-left {
        height: 0vw;
    }

    .home section.hero .img-bottom.img-right {
        height: 75vw;
    }

    .home h1 {
        font-size: 2rem;
    }

    .home .bounce {
        display: none;
    }

    .home div.rsvp {
        right: 1rem;
        bottom: 1rem;
        z-index: 4;
    }

    .internal .navigation {
        position: fixed;
    }

    .internal .logo {
        position: fixed;
        top: 1rem;
        left: 1rem;
    }

    .internal .rsvp {
        position: fixed;
        top: 1rem;
        right: 1rem;
    }

    .internal .menu {
        width: 90vw;
        font-size: 0.9rem;
        height: 50px;
    }

    .video iframe {
        width: 500px;
        height: 280px;
    }

    .home section.gift .img-bottom.img-left {
        height: 0vw;
    }
    .home section.gift .img-bottom.img-right {
        height: 70vw;
    }
}

a[href^="tel"]{
    color:inherit;
    text-decoration:none;
}

/* Navbar Styles */
.navbar {
    /* Base styles for desktop and mobile before media query override */
    position: fixed;
    top: 0;
    left: 0; /* Ensure it starts from the left edge for the slide-in */
    width: 100%;
    background-color: rgba(246, 242, 233, 0.9); /* Slightly more opaque background */
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-1-elevation-low);
    display: flex; /* Added for consistency */
    justify-content: center; /* Added for consistency */
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.navbar li {
    display: inline;
}

.navbar a {
    font-family: 'Work Sans', sans-serif;
    color: var(--green);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--red);
}

/* Add some padding to the new sections */
#our-story,
#travel,
#things-to-do,
#schedule,
#q-and-a,
#gallery {
    padding-top: 80px; /* Adjust based on navbar height */
    min-height: 60vh; /* Make sections shorter than the welcome section */
}

#our-story h2,
#travel h2,
#things-to-do h2,
#schedule h2,
#q-and-a h2,
#gallery h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--green);
    margin-bottom: 2rem;
}

/* --- Mobile Menu Styles --- */
.menu-toggle {
    display: none; /* Hidden by default on larger screens */
    position: fixed; /* Keep it visible while scrolling */
    top: 20px;
    right: 20px;
    z-index: 1001; /* Ensure it's above other content */
    background: #f6f2e9;
    border: 1px solid #ccc;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 1.5em;
    color: #333;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show the button on smaller screens */
    }

    .navbar {
        /* Override base styles for mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Full height */
        background-color: rgba(246, 242, 233, 0.98); /* More opaque for readability */
        padding: 0; /* Remove padding for full screen */
        display: flex; /* Ensure flex properties apply */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%); /* Start off-screen */
        opacity: 0; /* Start hidden */
        visibility: hidden; /* Start hidden */
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        z-index: 1000;
    }

    .navbar.is-open {
        transform: translateX(0); /* Slide in when open */
        opacity: 1;
        visibility: visible;
    }

    .navbar ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .navbar li {
        margin: 15px 0;
    }

    .navbar a {
        font-size: 1.5em; /* Larger text for easier tapping */
    }

    /* Adjust padding for sections when mobile menu might be open/relevant */
    #our-story,
    #travel,
    #things-to-do,
    #schedule,
    #gallery {
        padding-top: 60px; /* Adjust as needed, maybe less than before */
    }
}


/* --- Hero Styles --- */

/* --- Timeline Styles --- */
.timeline {
    position: relative;
    width: 90%; /* Wider for better spacing */
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background-color: var(--light-green);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    /* display: flex; no longer needed */
    /* justify-content: flex-start; no longer needed */
}

/* Circle marker on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 15px; /* Adjust vertical position of the circle */
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--green);
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    position: absolute;
    top: 10px; /* Align with the circle */
    left: 0; /* Align to the left half */
    width: calc(50% - 40px); /* Position date relative to center line */
    text-align: right;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    color: var(--green);
    padding-right: 20px; /* Space between date and center line */
}

.timeline-content {
    width: calc(50% - 40px); /* Content takes half the width minus spacing */
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: var(--shadow-1-elevation-low);
    margin-left: calc(50% + 40px); /* Position content on the right */
    position: relative; /* For pseudo-elements */
    text-align: left; /* Align text inside content block */
}

/* Arrow pointing to the timeline (always points left) */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -20px; /* Position arrow correctly to point from left edge */
    border-width: 10px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
    right: auto; /* Ensure it does not point right */
}

.timeline-content p {
    margin: 0 0 1rem 0;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.timeline-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px; /* Move line slightly more left */
        transform: translateX(0);
    }

    .timeline-item {
        /* Keep left padding */
        padding-left: 50px; /* Adjust space for line/circle/date */
        margin-bottom: 30px;
        width: auto; /* Allow item to shrink if needed */
    }

    .timeline-item::after {
        left: 20px; /* Align circle with the line */
        transform: translateX(-50%);
    }

    .timeline-date {
        position: relative; /* Reset positioning */
        width: auto;
        left: 0;
        right: auto;
        top: -10px; /* Position above content */
        text-align: left;
        padding-right: 0;
        padding-left: 0; /* No padding needed */
        margin-bottom: 10px;
        font-weight: 600;
        font-size: 0.9em;
    }

    .timeline-content {
        width: 100%; /* Full width content relative to padded item */
        margin-left: 0;
        margin-right: 0;
    }

    /* Adjust arrow position for mobile (always points left) */
    .timeline-content::before {
        right: auto; /* Ensure it points left */
        left: -20px; /* Point left towards the line */
        border-color: transparent #fff transparent transparent;
    }
}

/* --- Hero Styles --- */

/* --- Schedule Section --- */
.schedule-container {
    width: 90%;
    max-width: 900px;
    margin: 2rem auto;
    text-align: left;
}

.schedule-day {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--beige); /* Using existing beige for a soft background */
    border-radius: 8px;
    box-shadow: var(--shadow-1-elevation-low);
}

.schedule-day + .schedule-day {
    margin-top: 3rem; /* Creates space above the separating line */
    border-top: 2px solid var(--green); /* The line itself */
    padding-top: 3rem; /* Space between the line and the content of the new day, overrides base padding-top */
}

.schedule-day h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem; /* Prominent date heading */
    color: var(--green);
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-green); /* Subtle separator */
}

.event-item {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--green); /* Accent line for each event */
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-time {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: var(--red); /* Using red for a touch of elegance/highlight */
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.event-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.event-description {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
}

.event-location,
.event-attire {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    margin-top: 0.5rem; /* Add some space above these new elements */
}

.event-location i,
.event-attire i {
    margin-right: 0.5em; /* Space between icon and text */
    color: var(--green); /* Match other icon colors */
}

/* Responsive adjustments for Schedule */
@media (max-width: 768px) {
    .schedule-container {
        width: 100%; /* Make container full width within parent's padding */
    }

    .schedule-day h3 {
        font-size: 2rem;
    }

    .event-title {
        font-size: 1.5rem;
    }

    .schedule-day {
        padding: 1.5rem;
    }
}
/* --- Timeline Styles --- */
.timeline {
    position: relative;
    width: 90%; /* Wider for better spacing */
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background-color: var(--light-green);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    /* display: flex; no longer needed */
    /* justify-content: flex-start; no longer needed */
}

/* Circle marker on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 15px; /* Adjust vertical position of the circle */
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--green);
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    position: absolute;
    top: 10px; /* Align with the circle */
    left: 0; /* Align to the left half */
    width: calc(50% - 40px); /* Position date relative to center line */
    text-align: right;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    color: var(--green);
    padding-right: 20px; /* Space between date and center line */
}

.timeline-content {
    width: calc(50% - 40px); /* Content takes half the width minus spacing */
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: var(--shadow-1-elevation-low);
    margin-left: calc(50% + 40px); /* Position content on the right */
    position: relative; /* For pseudo-elements */
    text-align: left; /* Align text inside content block */
}

/* Arrow pointing to the timeline (always points left) */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -20px; /* Position arrow correctly to point from left edge */
    border-width: 10px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
    right: auto; /* Ensure it does not point right */
}

.timeline-content p {
    margin: 0 0 1rem 0;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.timeline-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px; /* Move line slightly more left */
        transform: translateX(0);
    }

    .timeline-item {
        /* Keep left padding */
        padding-left: 50px; /* Adjust space for line/circle/date */
        margin-bottom: 30px;
        width: auto; /* Allow item to shrink if needed */
    }

    .timeline-item::after {
        left: 20px; /* Align circle with the line */
        transform: translateX(-50%);
    }

    .timeline-date {
        position: relative; /* Reset positioning */
        width: auto;
        left: 0;
        right: auto;
        top: -10px; /* Position above content */
        text-align: left;
        padding-right: 0;
        padding-left: 0; /* No padding needed */
        margin-bottom: 10px;
        font-weight: 600;
        font-size: 0.9em;
    }

    .timeline-content {
        width: 100%; /* Full width content relative to padded item */
        margin-left: 0;
        margin-right: 0;
    }

    /* Adjust arrow position for mobile (always points left) */
    .timeline-content::before {
        right: auto; /* Ensure it points left */
        left: -20px; /* Point left towards the line */
        border-color: transparent #fff transparent transparent;
    }
}

/* Sub-event styling */
.sub-events-container {
    margin-top: 1rem; /* Space between main event description and sub-events */
    padding-left: 1.5rem; /* Indent sub-events slightly */
    border-left: 2px dotted var(--light-green); /* Visual cue for sub-events */
}

.sub-event-item {
    margin-bottom: 1rem;
}

.sub-event-item:last-child {
    margin-bottom: 0;
}

.sub-event-time {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem; /* Slightly smaller than main event time */
    color: var(--red);
    font-weight: 500; /* Slightly less bold */
    margin-bottom: 0.15rem;
}

.sub-event-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; /* Smaller than main event title */
    color: var(--text);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.sub-event-description {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem; /* Slightly smaller */
    color: var(--text);
    line-height: 1.5;
}

.sub-event-header {
    display: flex;
    align-items: baseline; /* Aligns title and time nicely if font sizes differ */
    margin-bottom: 0.25rem; /* Space between header and description */
}

.sub-event-title {
    margin-bottom: 0; /* Remove default bottom margin */
    /* margin-right: 0.5em; /* Space between title and time */
}

.sub-event-time {
    margin-bottom: 0; /* Remove default bottom margin */
    font-size: 0.9em; /* Adjust if needed, ensures it doesn't overpower title */
    margin-right: 0.5em; /* Space after the time, before the title */
}

/* --- Travel & Accommodations Section --- */
.travel-content-container {
    width: 90%;
    max-width: 900px;
    margin: 2rem auto;
    text-align: left;
}

.travel-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--beige); /* Using existing beige for a soft background */
    border-radius: 8px;
    box-shadow: var(--shadow-1-elevation-low);
}

.travel-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--green);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-green);
    display: flex; /* To align icon and text */
    align-items: center; /* Vertical alignment for icon and text */
}

.travel-section h3 i {
    margin-right: 1rem; /* Space between icon and heading text */
    font-size: 1.8rem; /* Adjust icon size if needed */
}

.travel-section p,
.travel-section ul {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.travel-section .address {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.booking-info p {
    margin-bottom: 1.5rem;
}

.travel-button {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 15px 25px; /* Slightly smaller padding than default button */
    font-size: 1rem; /* Slightly smaller font size */
}

ul.drive-times {
    list-style: none; /* Remove default bullet points */
    padding-left: 0; /* Remove default padding */
}

ul.drive-times li {
    position: relative;
    padding-left: 1.5em; /* Space for custom bullet/icon */
    margin-bottom: 0.5rem;
}

ul.drive-times li::before {
    content: "\f111"; /* Font Awesome dot circle icon unicode */
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* Required for solid icons */
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--light-green);
    font-size: 0.7em;
}

/* --- Q&A Section --- */
#q-and-a .qa-list {
    width: 90%;
    max-width: 900px;
    margin: 2rem auto;
    text-align: left;
}

#q-and-a dt {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; /* Slightly larger for questions */
    color: var(--green);
    font-weight: 600; /* Bolder questions */
    margin-top: 2rem; /* Space above each question */
    margin-bottom: 0.5rem;
}

#q-and-a dd {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    margin-left: 0; /* Remove default indent */
    margin-bottom: 1rem; /* Space below each answer */
    padding-left: 1.5rem; /* Indent answers */
    border-left: 3px solid var(--light-green); /* Accent line for answers */
}

#q-and-a dd ul {
    list-style: disc;
    padding-left: 20px; /* Indent list items */
    margin-top: 0.5rem;
}

#q-and-a dd ul li {
    margin-bottom: 0.25rem;
}

/* --- Our Story Section --- */
#our-story .story-content {
    width: 90%;
    max-width: 800px; /* Slightly narrower for comfortable reading */
    margin: 2rem auto;
    text-align: left;
}

#our-story .story-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; /* Prominent subheadings */
    color: var(--green);
    margin-top: 2.5rem; /* Space above each subheading */
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--light-green); /* Subtle separator for headings */
}

#our-story .story-content p {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem; /* Slightly larger for readability */
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem; /* Space between paragraphs */
}

#our-story .story-content p:last-of-type {
    margin-bottom: 0; /* No bottom margin for the very last paragraph */
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: var(--shadow-1-elevation-low);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-1-elevation-medium);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    max-width: 95%;
    max-height: 80vh;
    object-fit: contain;
    margin: auto;
    display: block;
    box-shadow: var(--shadow-1-elevation-high);
}

.modal-close {
    position: fixed;
    top: 45px; /* Moved lower to avoid overlap */
    right: 15px; /* Adjusted for better visibility */
    color: #f1f1f1;
    font-size: 30px; /* Slightly smaller for small screens */
    font-weight: bold;
    cursor: pointer;
    z-index: 1101;
}

.modal-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 1101;
}

.modal-prev,
.modal-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
        padding: 0.5rem;
    }

    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .modal-close {
        top: 75px; /* Moved lower to avoid overlap */
        right: 25px; /* Adjusted for better visibility */
        font-size: 30px; /* Slightly smaller for small screens */
        color: #fff; /* Ensure high contrast */
    }

    .modal-nav {
        bottom: 10px;
    }

    .modal-prev,
    .modal-next {
        padding: 8px 16px;
        font-size: 16px;
    }
}

/* --- Countdown Timer Styles --- */
#countdown-timer {
    display: flex;
    -webkit-justify-content: center; /* Safari, Chrome */
    justify-content: center;
    -webkit-align-items: center; /* Safari, Chrome */
    align-items: center;
    margin-top: 3rem;
    gap: 1rem; /* Adjusted default gap */
    flex-wrap: nowrap; /* Ensure items stay in a single line */
    overflow-x: auto; /* Allow horizontal scrolling if content overflows */
    padding-bottom: 10px; /* Space for scrollbar if it appears */
}

#countdown-timer > div {
    background-color: var(--beige); /* Soft background for each unit */
    padding: 0.75rem 1rem; /* Simplified padding */
    -webkit-border-radius: 5px; /* Simplified border-radius */
    -moz-border-radius: 5px;
    border-radius: 5px;
    /* Removed box-shadow for simplicity */
    text-align: center;
    min-width: 65px; /* Adjusted base min-width */
}

#countdown-timer span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    color: var(--green);
}

#countdown-timer span[id] { /* Style for numbers */
    font-size: 2rem; /* Simplified base font size */
    font-weight: 600;
    line-height: 1.1;
}

#countdown-timer .countdown-label {
    font-size: 0.8rem; /* Simplified base font size */
    font-family: 'Work Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Simplified letter-spacing */
    color: var(--text);
    margin-top: 0.2rem;
}

/* Responsive adjustments for countdown timer */
@media (max-width: 768px) {
    #countdown-timer {
        gap: 0.75rem;
    }

    #countdown-timer > div {
        padding: 0.5rem 0.75rem;
        min-width: 60px;
    }

    #countdown-timer span[id] {
        font-size: 1.8rem;
    }

    #countdown-timer .countdown-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    #countdown-timer {
        gap: 0.5rem;
    }
    #countdown-timer > div {
        padding: 0.4rem 0.5rem;
        min-width: 50px; /* Further reduce size for very small screens */
    }
    #countdown-timer span[id] {
        font-size: 1.3rem;
    }
    #countdown-timer .countdown-label {
        font-size: 0.6rem;
        letter-spacing: 0px;
    }
}
