/* <===================TYPOGRAPHY & FONTS===================> */

@import url('https://fonts.googleapis.com/css2?family=Cinzel&family=Quicksand&family=Noto+Serif+SC:wght@400;500;700&family=Noto+Sans+SC:wght@300;400;500&display=swap');

/* <===================CSS VARIABLES===================> */

:root{
    --h1-size: 7rem;
    --h2-size: 2.1rem;
    --h3-size: 1.7rem;
    --text-size: 1.3rem;
    --horizontal-margin-spacing:6rem;
    --grey-color-light: rgba(30,30,30,.8);
    --grey-color: rgba(25,25,25,1);
    --bg-color: #000000;
    --text-color: #f0f0f0;
    --text-color-muted: #b0b0b0;
    --border-color: rgba(255,255,255,0.3);
}

/* <===================UNIVERSAL CSS===================> */

*{
    box-sizing: border-box;
    margin: 0;
    font-family: 'Noto Serif SC', 'Cinzel', serif;
    color: var(--text-color);
}
html{
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}
body{
    background-color: var(--bg-color);
}
.hz-margin{
    padding: 0 var(--horizontal-margin-spacing);
}
h1{
    font-size: var(--h1-size);
    font-weight: 500;
    line-height: var(--h1-size);
}
h2{
    font-size: var(--h2-size);
    font-weight: bold;
}
h3{
    font-size: var(--h3-size);
    font-weight: 500;
}
.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
  }
  
  .reveal.active{
    transform: translateY(0);
    opacity: 1;
  }
.text{
    font-family: 'Noto Sans SC', 'Quicksand', sans-serif;
    font-size: var(--text-size);
    line-height: 1.3rem;
    color: var(--text-color-muted);
}
.huge-btn{
    display: block;
    font-size: 1rem;
    font-family: 'Noto Sans SC', sans-serif;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 25px 50px;
    border-radius: 50px;
    width: fit-content;
    margin: 30px 0;
    cursor: pointer;
}
.huge-btn:hover{
    color: #ffffff;
    border-color: #ffffff;
}
.v-reposition-container{
    position: absolute;
    left: 0;
    width: 100vw;
}
.h-reposition-container{
    width: 100vw;
    position: relative;
    top: 100vh;
}
/* <===================NAVBAR===================> */

nav{
    height: 3vh;
    width: 100%;
    margin-bottom: 20vh;
}
label.logo{
    font-size: 35px;
    line-height: 80px;
    padding: 0 0 0 30px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    color: var(--text-color);
}
nav ul{
    float: right;
    margin-right: 20px;
    list-style: none;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a{
    font-family: 'Noto Sans SC', 'Quicksand', sans-serif;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-color-muted);
}
a:hover{
    color: #d4af37;
    transition: .5s;
}
.checkbtn{
    font-size: 30px;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}
@media (max-width:1000px){
    label.logo{
        font-size: 20px;
    }
    nav ul li a{
        font-size: 10px;
    }
    html{
        font-size: 10px;
    }
}
@media (max-width:570px){
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        backdrop-filter: blur(10px);
        background-color: rgba(0,0,0,0.85);
        top: 80px;
        font-weight: bold;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav li ul a{
        font-size: 20px;
    }
    a:hover, a.active{
        background: none;
        color: #d4af37;
    }
    #check:checked ~ ul{
        left: 0;
    }
}

/* <===================HOME===================> */

.container-out{
    margin-top: 10vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.home-img{
    background-image: url(images/1.jpg);
    background-size: cover;
    background-position: center;
}
.home-img-sm{
    display: none;
    width: 100%;
    margin: 20px 0 0 0;
    height: 50vh;
}
#home-img-lg{
    display: block;
    height: 110vh;
    width: 50vw;
    background-position-x: -100px;
}
@media (max-width:1000px){
    .container-out{
        flex-direction: column;
    }
    .home-img-sm{
        display: block;
    }
    #home-img-lg{
        display: none;
    }
}

/* <===================TIMELINE===================> */

.timeline{
    display: block;
    background-color: var(--grey-color-light);
    float: left;
    position: relative;
    top: -30vh;
    width: 100%;
    backdrop-filter: blur(4px);
    padding: 8vh var(--horizontal-margin-spacing);
}
.timeline-container{
    display: flex;
    flex-direction: row;
    margin: 8vh 0;
}
.timeline-img{
    background-image: url(images/2.jpg);
    height: 70vh;
    width: 30vw;
    background-position: center;
    background-size: cover;
}
.timings{
    margin: 30px;
}
.timeline-container .text{
    padding: 1rem 0 1rem 4rem;
}
@media (max-width:1000px){
    .timeline{
        background-color: var(--grey-color);
        float: none;
        position: relative;
        top: 0;
        width: 100%;
        backdrop-filter: blur(0);
        height: fit-content;
    }
    .timeline-container{
        flex-direction: column;
    }
    .timeline-img{
        height: 50vh;
        width: 100%;
    }
}

/* <===================STORY===================> */

#story{
    padding-top: 10vh;
    display: flex;
    flex-direction: row;
    margin: 10vh 0;
}
#story h3{
    width: 40vw;
}
#story p{
    width: 40vw;
    text-align: left;
    font-size: var(--h3-size);
    line-height: 2.4rem;
}
@media (max-width:1000px){
    .h-reposition-container{
        position: relative;
        top: 0;
    }
    #story{
        flex-direction: column;
    }
    #story h3{
        width: 100%;
        margin: 5px 0;
        font-size: var(--h3-size);
    }
    #story p{
        width: 100%;
        margin: 5px 0;
        font-size: var(--text-size);
        line-height: 2rem;
    }
}

/* <===================GALLERY===================> */

.gallery{
    display: flex;
    padding: 20vh 0;
    justify-content: center;
    align-items: center;
}
.gallery-img{
    width: 30vw;
    height: 50vw;
    margin: 10px;
    background-size: cover;
    background-position: center;
}
.gallery-img:nth-child(1){
    background-image: url(images/3.jpg);
    background-position-x: right;
}
.gallery-img:nth-child(3){
    background-image: url(images/5.jpg);
}
.gallery-img:nth-child(2){
    background-position-y: top;
    background-image: url(images/4.jpg);
}
@media (max-width:1000px){
    .gallery{
        flex-direction: column;
        padding: 0;
    }
    .gallery-img{
        width: 100vw;
        height: 130vw;
        margin: 2px 0;
    }
    .gallery-img:nth-child(2){
        position: relative;
        left: -(var(--horizontal-margin-spacing));
    }
}

/* <===================QUOTE===================> */
.quote{
    margin: 10vh 0;
}
.quote h1{
    width: 55vw;
    font-size: 3rem;
    text-align: center;
    margin: auto;
    line-height: 4.5rem;
}
.author{
    text-align: center;
    margin: 20px 0 10vh 0;
    color: var(--text-color-muted);
}
@media (max-width:1570px){
    .quote h1{
        font-size: 2rem;
        line-height: 3rem;
    }
}

/* <===================HANDS===================> */

.hands{
    height: 120vh;
    width: 100%;
    background-image: url(images/6.jpg);
    background-size: cover;
    background-position-y: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* <===================REGISTRY===================> */

#registry{
    padding: 20vh var(--horizontal-margin-spacing) 0 var(--horizontal-margin-spacing); 
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.registry-container{
    display: block;
    width: 30vw;
}
.registry-container .text{
    text-align: justify;
    margin: 20px 0;
    line-height: 2rem;
}
.registry-img{
    display: block;
    height: 140vh;
    width: 40vw;
    background-image: url(images/7.jpg);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}
.registry-img-sm{
    display: none;
}
.registry-img-lg{
    display: block;
}
@media (max-width:1000px){
    #registry{
        flex-direction: column;
    }
    .registry-img{
        width: 100%;
        height: 80vh;
    }
    .registry-img-sm{
        margin-top: 10vh;
        display: block;
    }
    .registry-img-lg{
        display: none;
    }
    .registry-container{
        width: 100%;
    }
    #registry button{
        margin-inline: auto;
    }
}


/* <===================PARTING MESSAGE===================> */
.parting-message h1{
    margin-top: 10vh;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(3.5rem, 15vw, var(--h1-size));
}
.parting-message button{
    margin:  10vh auto;
}
.date-reminder{
    font-size: 1.5rem;
    letter-spacing: 0.3rem;
    color: var(--text-color-muted);
}

/* <===================FOOTER===================> */

footer{
    margin-top: 20vh;
    height: fit-content;
    width: 100%;
    background-color: var(--grey-color);
    padding: 10vh 30px;
    text-align: center;
}
footer h2{
    font-size: 2rem;
    font-weight: normal;
    color: var(--text-color);
}
footer .text{
    color: var(--text-color-muted);
}
