/*  import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    color: inherit;
    border: 0 none;
    outline: 0 none;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
/*    font-family: "Poppins", sans-serif;*/
}



::selection{
/*    background-color: #ca487e;*/
    background-color: #F14E95;
    color: white;
}

::-webkit-scrollbar{
    width: 10.8px;
/*    background: #6d8F97;*/
    background: transparent;
}
::-webkit-scrollbar-thumb{
/*    background: #F14E95;*/
    background: linear-gradient(to top, #F14E95, violet);
    border-radius: 10px;
}




/**********************************************
                     
************************************************/
body{
    overflow-x: hidden;
/*    background-color: #8627FF;*/
    font-family: "Montserrat", sans-serif;
}
.bg{
    width: 100%;
    max-width: 1520px;
    margin: auto;
    overflow-x: hidden;
    box-shadow: 0px 0px 50px -20px #F14E9599;
}
section{
    width: 100%;
    padding: 100px 0;
    text-align: center;
}
.container{
    width: 100%;
    height: 100%;
    padding: 0 4%;
    gap: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
h2{
    font-size: 3rem;
    font-weight: 100;
    font-family: "Great Vibes", cursive;
}
p{
    line-height: 1.68;
}

img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta{
    color: #FFFFFF;
    color: #131313;
    cursor: pointer;
    width: max-content;
    display: inline-flex;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 500;
    font-family: "Work Sans", sans-serif;
    letter-spacing: 0.68px;
    text-transform: uppercase;
    border-radius: 50px;
    background-color: #305f63;
    background-color: #FFFFFF;
}
.cta-2{
    color: #FFFFFF;
    background-color: #F14E95;
    border: 1.8px solid ghostwhite;
}
.cta:hover{
    color: #FFFFFF;
    background-color: #F14E95;
}

@media screen and (max-width: 800px){
    section{
        padding: 68px 0;
    }    
}









/*********************************************
                NAVIGATION
*********************************************/
nav{
    width: 100%;
    height: 88px;
    background-color: #FFFFFF;
    position: relative;
}
nav .container{
    flex-direction: row;
    position: relative;
}
nav .container a.logo{
    color: rebeccapurple;
    font-size: 2.2rem;
    font-weight: 600;
    font-family: 'Great Vibes', cursive;
    letter-spacing: 1px;
    display: inline-flex;
    gap: 12px;
    z-index: 200;
    position: relative;
    background: url("../img/2.jpg");
    background-size: auto 200%;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 8s linear infinite;
}
@keyframes shine {
  from {
    background-position: center 0;
  }
  to {
    background-position: center 200%;
  }
}

nav .container ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}
nav .container ul:first-child li a:not(.logo){
    color: #999;
    font-weight: 300;
}
nav .container ul li a:not(.logo):hover{
    color: #131313;
}
nav .container .cta{
    color: #305F63;
    background-color: #FFFFFF;
}


nav .container .side-nav{
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 100;
    width: 100%;
    height: 100vh;
    background-color: rgba(180, 0, 220, 0.899);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.6s ease;
}


#menuBtn{
    display: none;
}
.menuBtn{
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 6px 5px;
    border: 1px solid rgba(180, 0, 220, 0.899);
    border-radius: 4.8px;
    z-index: 101;
}
.menuBtn span{
    width: 22px;
    height: 2px;
    background-color: rgba(180, 0, 220, 0.899);
    transition: all 0.6s ease;
}


#menuBtn:checked ~ .menuBtn{
    border-color: #FFFFFF;
    position: fixed;
    right: 4%;
}
#menuBtn:checked ~ .menuBtn span{
    background-color: #FFFFFF;
}
#menuBtn:checked ~ .menuBtn span:nth-child(2){
    opacity: 0;
    pointer-events: none;
    transition-delay: all 1s ease-in-out;
}
#menuBtn:checked ~ .menuBtn span:nth-child(1){
    transform: rotate(45deg) translate(6px, 5px);
} 
#menuBtn:checked ~ .menuBtn span:nth-child(3){
    transform: rotate(-45deg) translate(6px, -5.5px);
}



@media screen and (max-width: 800px){
    nav{
        height: 60px;
    }
    nav .container{
        justify-content: space-between;
    }
    nav .container a.logo{
        font-size: 1.68rem;
        margin-top: 8px;
    }
    nav .container ul{
        display: inline-block;
    }
    nav .container ul:first-child li a:not(.logo){
        display: none;
    }
    
    .menuBtn{
        display: flex;
    }
    #menuBtn:checked ~ .side-nav{
        left: 0;
    }
}








/*********************************************
                HEADER SECTION
*********************************************/
header{
    overflow: hidden;
    color: #FFFFFF;
    width: 100%;
    height: 680px;
    position: relative;
    z-index: 12;
}
 
header .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slider 26s infinite;
}
 
header .slide:nth-child(1) {
    background-image: linear-gradient(to bottom, rgba(100, 0, 100, 0.18), indigo 99%), url("../img/img-1.jpg");
   animation-delay: 0s;
}

header .slide:nth-child(2) {
    background-image: linear-gradient(to bottom, rgba(100, 0, 100, 0.18), indigo 99%), url("../img/img-2.jpg");
   animation-delay: -5.2s;
}

header .slide:nth-child(3) {
    background-image: linear-gradient(to bottom, rgba(100, 0, 100, 0.18), indigo 99%), url("../img/img-3.jpg");
   animation-delay: -10.4s;
}

header .slide:nth-child(4) {
    background-image: linear-gradient(to bottom, rgba(100, 0, 100, 0.18), indigo 99%), url("../img/img-1.jpg");
   animation-delay: -15.6s;
}

header .slide:nth-child(5) {
    background-image: linear-gradient(to bottom, rgba(100, 0, 100, 0.18), indigo 99%), url("../img/img-2.jpg");
   animation-delay: -20.8s;
}



@keyframes slider {
  0%, 15%, 100% {
    opacity: 1;
    animation-timing-function: ease;
    z-index: 0;
  }
  20% {
    opacity: 0;
    animation-timing-function: step-end;
    z-index: 0;
  }
  95% {
    opacity: 1;
    animation-timing-function: step-end;
    z-index: -1;
  }
}


header .container{
    gap: 18px;
    position: absolute;
    height: 100%;
    z-index: 2;
}
header .container h1{
    font-size: 5rem;
    font-weight: 300;
    font-family: "Great Vibes", cursive;
}
header .container h3{
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: 400;
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    padding: 10px 20px;
}
header .container h4{
    font-weight: 300;
    margin-top: 10px;
}

header .container .scroll-down{
    position: absolute;
    bottom: 30px;
    opacity: 0.5;
}


@media screen and (max-width: 800px){
    header{
        height: 660px;
    }
    header .container{
        gap: 12px;
    }
    header .container h1{
        font-size: 3rem;
    }
    header .container h3{
        font-size: 1.2rem;
    }
}





/*********************************************
                BACK TO TOP
*********************************************/
.back-to-top{
    background-color: rgba(0,0,0,0.8);
    background: linear-gradient(to bottom, #F14E95, violet);
    color: #FFFFFF;
    position: fixed;
    z-index: 8;
    right: 5%;
    bottom: 20px;
    padding: 12px 16px;
    border-radius: 4px;
}
.back-to-top i{
    font-size: 16.8px;    
}








/*********************************************
                ABOUT SECTION
*********************************************/
.about{
    background-color: ghostwhite;
}
p.marker{
    position: relative;
    color: #F14E95;
    margin-top: 12px;
}
p.marker::after{
    content: "";
    position: absolute;
    top: 50%;
    width: 80px;
    height: 1.8px;
    background-color: #F14E9599;
    right: 30px;
}
p.marker::before{
    content: "";
    position: absolute;
    top: 50%;
    width: 80px;
    height: 1.8px;
    background-color: #F14E9599;
    left: 30px;
}
.about .row{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 42px;
    max-width: 1200px;
}
.about .row .heart{
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F14E95;
    text-align: center;
    font-size: 20px;
}
.about .row .col img{
    min-height: 180px;
    max-height: 180px;
    min-width: 180px;
    max-width: 180px;
    border-radius: 50%;
    object-position: right;
}
.about .row .col{
    display: flex;
    align-items: center;
    text-align: right;
    gap: 25px;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    width: 50%;
}
.about .row .col .desc{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.about .row .col .desc h3{
    font-size: 28px;
    font-weight: 100;
    font-family: "Great Vibes", cursive;
    color: #F14E95;
}


.about .row .col.bride{
    flex-direction: row;
}
.about .row .col.bride .desc{
    text-align: left;
}

@media screen and (max-width: 800px){
    .about .row{
        flex-direction: column;
        gap: 24px;
        margin-top: 28px;
    }
    .about .row .heart{
        display: none;
    }
    .about .row .col{
        width: 100%;
    }
    .about .row .col .desc h3{
        font-size: 30px;
    }
}

@media screen and (max-width: 500px){
    .about .row .col{
        flex-direction: column;
        text-align: center;
    }
    .about .row .col.bride{
        flex-direction: column;
    }
    .about .row .col.bride .desc{
        text-align: center;
    }
}





/*********************************************
                STORY SECTION
*********************************************/
.story{
    text-align-last: left;
}
.story p{
    text-align: left;
    font-size: 14.8px;
}

.timeline{
    margin: 40px auto 0;
    position: relative;
    width: 100%;
    max-width: 48em;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.timeline:before{
    background-color: rgba(0,0,0,0.2);
    background-color: #F14E9599;
    content: '';
    margin-left: -10px;
    position: absolute;
    top: 0;
    left: 2em;
    width: 2px;
    height: 96.8%;
}
.timeline-event{
    position: relative;
}
.timeline-event:hover .timeline-event-icon{
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background-color: #a83279;
    background-color: #F14E95;
}
.timeline-event:hover .timeline-event-thumbnail{
    -moz-box-shadow: inset 40em 0 0 0 #F14E95;
    -webkit-box-shadow: inset 40em 0 0 0 #F14E95;
    box-shadow: inset 40em 0 0 0 #F14E95;
}
.timeline-event-copy{
    padding: 1.8em 2em;
    padding-bottom: 10px;
    position: relative;
    top: -1.875em;
    left: 1.38em;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-bottom: 1.8px solid rgba(0,0,0,0.2);
    border-bottom: 1.8px solid #F14E9599;
}
.timeline-event-copy.no-border{
    border: none;
}
.timeline-event-copy h3{
    font-size: 1.75em;
}
.timeline-event-copy h4{
    font-size: 1.2em;
    margin-bottom: 1.2em;
}
.timeline-event-copy strong{
    font-weight: 700;
}
.timeline-event-copy p:not(.timeline-event-thumbnail){
    padding-bottom: 1.2em;
}
.timeline-event-icon{
    -moz-transition: -moz-transform 0.2s ease-in;
    -o-transition: -o-transform 0.2s ease-in;
    -webkit-transition: -webkit-transform 0.2s ease-in;
    transition: transform 0.2s ease-in;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: black;
    outline: 10px solid white;
    display: block;
    margin: 0.5em 0.5em 0.5em -0.5em;
    position: absolute;
    top: 0;
    left: 1.44em;
    width: 1em;
    height: 1em;
}
.timeline-event-thumbnail{
    -moz-transition: box-shadow 0.5s ease-in 0.1s;
    -o-transition: box-shadow 0.5s ease-in 0.1s;
    -webkit-transition: box-shadow 0.5s ease-in;
    -webkit-transition-delay: 0.1s;
    transition: box-shadow 0.5s ease-in 0.1s;
    color: white;
    font-size: 0.7em;
    background-color: black;
    -moz-box-shadow: inset 0 0 0 0em #ef795a;
    -webkit-box-shadow: inset 0 0 0 0em #ef795a;
    box-shadow: inset 0 0 0 0em #ef795a;
    display: inline-block;
    margin-bottom: 1.2em;
    padding: 0.5em 1em;
    width: max-content;
}

@media screen and (max-width: 800px){
    .story p{
        text-align: justify;
    }
    .timeline:before{
        left: 1em;
        height: 98%;
    }
    .timeline-event-icon{
        left: 0.44em;
    }
    .timeline-event-copy{
        border: none;
        padding: 1.8em 1.55em 0 0.5em;
    }
}






/*********************************************
                GALLERY SECTION
*********************************************/
.gallery{
    background-color: ghostwhite;
    padding-bottom: 80px;
}
.gallery .container .grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    margin-top: 18px;
}
.gallery .container .grid img{
    cursor: pointer;
}

@media screen and (max-width: 800px){
    .gallery .container .grid{
        grid-template-columns: 1fr 1fr;
    }
}






/*********************************************
                EVENT SECTION
*********************************************/
.event{
    padding: 0 !important;
    background-image: url(../img/img-1.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
}
.event .container{
    padding: 68px 4%;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    -o-backdrop-filter: blur(10px);
}

.event .container .row{
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 18px;
}
.event .container .row .col{
    width: 1005;
    max-width: 500px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border: 1px solid lightgray;
    border-radius: 6.8px;
    text-align: center;
    line-height: 1.8;
    font-weight: 300;
}
.event .container .row .col:hover{
    background-color: rgba(0,0,0,0.128);    
}
.event .container .row .col h3{
    width: 100%;
    padding: 0 0 20px 0;
    letter-spacing: 1px;
    border-bottom: 0.8px solid lightgray;
}
@media screen and (max-width: 800px){
    .event .container .row{
        flex-direction: column;
    }
}






/*********************************************
                FAMILY SECTION
*********************************************/
.family{
    background-color: white;
}
.family .container .grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px 25px;
    margin-top: 20px;
}
.family .container .grid .col{
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;    
    padding: 12.8px 12.8px 18px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 5px;
    background-color: ghostwhite;
    box-shadow: 1px 1px 20px -3px rgba(0,0,0,0.1);
/*    background-color: #818491;*/
}
.family .container .grid .col img{
    height: 310px;
    border-radius: 5px;
}
.family .container .grid .col p{
}

@media screen and (max-width: 800px){
    .family .container .grid{
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }
    .family .container .grid .col img{
        max-height: 250px;
    }
}




/*********************************************
                RSVP SECTION
*********************************************/
.rsvp{
    background-image: url(../img/img-2.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0;
    color: #FFFFFF;
}
.rsvp .container{
    padding: 120px 4%;
    gap: 20px;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    -moz-backdrop-filter: blur(30px);
    -o-backdrop-filter: blur(30px);
}
.rsvp .container p{
    text-align: center;
    line-height: 1.68;
    font-weight: 300;
}
.rsvp form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.rsvp form .form-group{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.rsvp form .form-group input{
    background-color: rgba(0,0,0,0.5);
    padding: 6px 16px;
    min-height: 50px;
    min-width: 350px;
    border-radius: 5px;
    font-size: 16.68px;
    letter-spacing: 0.68px;
    font-family: "Montserrat", sans-serif;
    color: #FFFFFF;
}
.rsvp form .form-group input::placeholder{
    color: #FFFFFF;
}




@media screen and (max-width: 800px){
    .rsvp .container{
        background: rgba(0,0,0,0.28);
    }
    .rsvp form .form-group{
        flex-direction: column;
        padding: 0;
    }
    .rsvp form .form-group input{
        width: 100%;
    }
    .rsvp form .cta{
        width: 100%;
        justify-content: center;
        padding: 15px;
    }
}




/*********************************************
                FOOTER SECTION
*********************************************/
footer{
    padding: 80px 0 0;
    background-color: #313131;
    color: #999;
    text-align: center;
}
footer .container h1{
    font-family: "Montserrat", sans-serif;
    text-align: center;
    color: white;
    background: url("../img/6.jpg");
    background-size: auto 200%;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 8s linear infinite;
}
footer p.copyright{
    margin-top: 60px;
    padding: 30px 0 28px;
    background-color: #000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 5px;
}
@keyframes shine {
  from {
    background-position: center 0;
  }
  to {
    background-position: center 200%;
  }
}


@media screen and (max-width: 800px){
    footer .container p a:last-child{
        display: none;
    }
    footer .container p span{
        display: none;
    }
}