@font-face {
    font-family: 'Playfair Display';
    src: url('../font/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Gill Sans';
    src: url('../font/GillSans-Light.ttf') format('truetype');
    font-weight: 300;
}
@font-face {
    font-family: 'Gill Sans';
    src: url('../font/GillSans.ttf') format('truetype');
}
@font-face {
    font-family: 'Gill Sans';
    src: url('../font/GillSans-Medium.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'Gill Sans';
    src: url('../font/GillSans-Heavy.ttf') format('truetype');
    font-weight: 600;
}
@font-face {
    font-family: 'Gill Sans';
    src: url('../font/GillSans-Bold.ttf') format('truetype');
    font-weight: 700;
}

:root{
    --primary-color: #610011;
    --primary-color-light: #610011;
    --secondary-color: #fd8719;
    --secondary-color-light: #fd8719;
    --light-color: #ffffff;
    --dark-color: #000000;

    --header-font: 'Playfair Display', serif;
    --subtext-font: 'Gill Sans', sans-serif;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
}

.main{
    width: 100%;
    height: fit-content;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_inner{
    width: 100%;
    height: fit-content;
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero{
    width: 100%;
    height: 100vh;
    background-image: url(../img/home_background.jpg);
    background-position: top left;
    background-size: cover;
}

.hero_inner{
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero_inner > .nav{
    width: 100%;
    height: 14vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero_inner > .nav > .nav_inner{
    width: 90vw;
    height: 10vh;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero_inner > .nav > .nav_inner > .logo{
    height: 100%;
    width: fit-content;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero_inner > .nav > .nav_inner > .logo > img{
    height: 100%;
    width: fit-content;
}

.hero_inner > .nav > .nav_inner > .links{
    height: 100%;
    width: 40%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.hero_inner > .nav > .nav_inner > .links > a{
    text-decoration: none;
}

.hero_inner > .nav > .nav_inner > .links > a > .link{
    color: white;
    font-family: var(--subtext-font);
    font-size: 1.2rem;
    padding: 8px 16px;
    cursor: pointer;

    transition: 0.2s ease-out;
}

.hero_inner > .nav > .nav_inner > .links > a > .cta{
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 100px;
    cursor: pointer;
}

.hero_inner > .nav > .nav_inner > .links > a > .link:hover{
    transform: translateY(-10%);
}


.hero_inner > .content{
    width: 100%;
    height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;

}

.hero_inner > .content > .content_inner{
    width: 80%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero_inner > .content > .content_inner > .left{
    width: 50%;
    height: fit-content;
}

.hero_inner > .content > .content_inner > .left > .labels{
    width: fit-content;
    height: fit-content;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero_inner > .content > .content_inner > .left > .labels > p{
    font-family: var(--subtext-font);
    font-size: 1vw;
    color: var(--secondary-color);
    margin-right: 20px;
}

.hero_inner > .content > .content_inner > .left > .heading{
    width: fit-content;
    font-family: var(--header-font);
    font-size: 4.5vw;
    color: var(--light-color);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    padding-bottom: 1rem;

    border-bottom: 4px solid var(--secondary-color);
}

.hero_inner > .content > .content_inner > .left > .subtext{
    color: white;
    font-family: var(--subtext-font);
    margin-top: 50px;
    font-size: 1.4vw;
}

.hero_inner > .content > .content_inner > .left > .cta{
    cursor: pointer;
    color: var(--dark-color);
    font-family: var(--subtext-font);
    padding: 16px 24px;
    margin-top: 50px;
    background-color: var(--secondary-color);
    width: fit-content;
    border-radius: 100px;
    border: 2px solid var(--light-color);
    font-size: 1.2vw;
}

.hero_inner > .content > .content_inner > .right{
    width: 50%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero_inner > .content > .content_inner > .right > .img{
    height: 80%;
    aspect-ratio: 531/664;
    background-image: url(../img/kid1.png);
    background-position: center;
    background-size: cover;
}

.future{
    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.future_inner{
    width: 80%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.future_inner > .left{
    width: 50%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}   

.future_inner > .left > .heading{
    width: fit-content;
    font-family: var(--header-font);
    font-size: 4.5vw;
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    padding-bottom: 1rem;

    border-bottom: 4px solid var(--secondary-color);
}

.future_inner > .left > .subtext{
    color: var(--dark-color);
    font-family: var(--subtext-font);
    margin-top: 50px;
    font-size: 1.2vw;
}

.future_inner > .left > .features > .feature{
    width: fit-content;
    height: fit-content;
    margin-top: 5px;

    display: flex;
    justify-content: start;
    align-items: center;
}

.future_inner > .left > .features > .feature > .icon{
    width: 30px;
    height: 30px;
    mask-image: url(../img/check.png);
    mask-position: center;
    mask-size: cover;

    background-color: var(--primary-color);
    border-radius: 100%;
}

.future_inner > .left > .features > .feature > p{
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--dark-color);
    margin-left: 20px;
}


.future_inner > .right{
    width: 50%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.future_inner > .right > .img{
    height: 70%;
    aspect-ratio: 558/621;
    background-image: url(../img/kid2.png);
    background-position: center;
    background-size: cover;
} 

.principle{
    width: 100%;
    height: fit-content;

    display: flex;
    justify-content: center;
    align-items: center;
}

.principle_inner{
    width: 100%;
    height: fit-content;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.principle_inner > .top{
    width: 100%;
    height: fit-content;

    margin-top: 10vh;


    display: flex;
    justify-content: end;
    align-items: center;
}

.principle_inner > .top > .right{
    height: fit-content;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

.principle_inner > .top > .right > p{
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--dark-color);

    margin: 0;
    padding: 0;
}

.principle_inner > .top > .right > p{
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--primary-color);

    margin: 0;
    padding: 0;
}

.principle_inner > .top > .right > h1{
    font-family: var(--subtext-font);
    font-size: 3vw;
    color: var(--secondary-color);

    margin: 0;
    padding: 0;
}

.principle_inner > .bottom{
    width: 100%;
    height: 30vh;

    background-color: var(--primary-color);

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.principle_inner > .bottom > .left{
    width: 50%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    
}

.principle_inner > .bottom > .left > .img{
    height: 100%;
    aspect-ratio: 900/1024;
    background-image: url(../img/principle.png);
    background-position: center;
    background-size: cover;

    transform-origin: left bottom;
    transform: scale(1.8);

}

.principle_inner > .bottom > .right{
    width: 50%;
    height: fit-content;

    display: flex;
    justify-content: center;
    align-items: center;
}

.principle_inner > .bottom > .right > p{
    color: white;
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    margin-right: 20vw;

    z-index: 5;
}

.moments{
    width: 100%;
    height: fit-content;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10vh 0;
}

.moments_inner{
    width: 80%;
    height: fit-content;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.moments_inner > h1{
    width: fit-content;
    font-family: var(--header-font);
    font-size: 3vw;
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.moments_inner > .bento_box {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4-unit grid */
    gap: 1vw;
    width: 100%;
    margin-top: 10vh;
}

.bento_box > .bento_head {
    grid-column: span 4;
    aspect-ratio: 4/1;
    background-image: url(../img/Moments/img3.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 2vw;
}

.bento_box > .bento {
    aspect-ratio: 1 / 1;
    grid-column: span 1;
    background-position: center;
    background-size: cover;
    border-radius: 2vw;
}

.bento_box > .bento1{
    background-image: url(../img/Moments/img1.jpg);
}
.bento_box > .bento2{
    background-image: url(../img/Moments/img2.jpg);
}
.bento_box > .bento3{
    background-image: url(../img/Moments/img4.jpg);
}
.bento_box > .bento4{
    background-image: url(../img/Moments/img5.jpg);
}

.contact{
    width: 100%;
    height: 50vh;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10vh 0;

    background-color: var(--primary-color);
}

.contact_inner{
    width: 80%;
    height: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact_inner > .left{
    width: 48%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

}

.contact_inner > .left > .map{
    width: 100%;
    height: 100%;

    overflow: hidden;
    border-radius: 2vw;
}

.contact_inner > .right{
    width: 48%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

.contact_inner > .right > h1{
    font-family: var(--header-font);
    font-size: 3vw;
    color: var(--light-color);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    padding-bottom: 1rem;
    border-bottom: 4px solid var(--secondary-color);
}

.contact_inner > .right > p{
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--light-color);
    margin-top: 30px;
}

.contact_inner > .right > .labels{
    width: fit-content;
    height: fit-content;

    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-direction: column;
}

.contact_inner > .right > .labels > .label{
    width: fit-content;
    height: fit-content;
    margin-bottom: 0px;

    display: flex;
    justify-content: start;
    align-items: center;
}

.contact_inner > .right > .labels > .label > .icon{
    width: 30px;
    height: 30px;

    background-color: var(--light-color);
    border-radius: 100%;
}

.contact_inner > .right > .labels > .label > p{
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--light-color);
    margin-left: 20px;
    flex: 1;
}

.contact_inner > .right > img{
    margin-top: 30px;
    height: 40px;
    border-radius: 5px;
}

.footer{

    margin-top: -10vh;

    width: 90vw;
    height: fit-content;
    display: flex;
    justify-content: end;
    align-items: center;

    padding: 2vh 4vw;
}

.footer > p{
    color: white;
    font-family: var(--subtext-font);

    font-size: 1rem;
}

.cms_window{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
}

.cms_window > .cms_window_inner{
    width: 80%;
    height: 80%;
    position: absolute;
    top: 10%;
    left: 10%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--light-color);
    border-radius: 20px;
}

.cms{
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cms > .cms_inner{
    width: 90%;
    height: 90%;

    overflow-y: auto;

}

.cms > .cms_inner > h1{
    font-family: var(--header-font);
    font-size: 2.5vw;
    color: var(--primary-color);
    margin: 0;
    padding: 0;
}

.cms > .cms_inner > p{
    font-family: var(--subtext-font);
    font-size: 1.2vw;
    color: var(--dark-color);
    margin-top: 20px;
}

.cms > .cms_inner > .line{
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    margin-top: 20px;
}

.cms > .cms_inner > .photo_cards{
    width: 100%;
    height: fit-content;

    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 1vw;
    align-items: center;
    margin-top: 20px;
}

.cms > .cms_inner > .photo_cards > .photo{
    width: 13vw;
    aspect-ratio: 1/1;
    border-radius: 10px;
    position: relative;
}

.cms > .cms_inner > .photo_cards > .photo > .delete{
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin: 12px;
    border-radius: 100%;

    mask-image: url(../img/delete.png);
    mask-position: center;
    mask-size: cover;
    background-color: red;
    box-shadow: 0 0 0 2px white, 0 0 8px 2px rgba(0,0,0,0.15);
}

.cms > .cms_inner > .photo_cards > .photo_add{
    border: 1px dashed black;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.cms > .cms_inner > .photo_cards > .photo_add > p{
    font-family: var(--subtext-font);
    font-size: 2vw;
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    border-radius: 100%;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--dark-color);
}

.cms > .cms_inner > .photo_cards > .photo_edit{
    background-color: rgba(0, 0, 0, 0.1);
    background-position: center;
    background-size: cover;

    display: flex;
    justify-content: end;
    align-items: end;
}



@media (min-width: 1920px) {

    .hero_inner > .nav > .nav_inner > .links > a > .link{
        font-size: 1.4rem;
        padding: 10px 20px;
    }

}

@media (max-width: 1366px) {

    .hero_inner > .nav > .nav_inner > .links > a > .link{
        font-size: 1rem;
        padding: 10px 20px;
    }

    .hero_inner > .nav > .nav_inner > .links{
        width: 50%;
    }

    
    .hero_inner > .content > .content_inner > .left > .labels > p{
        font-size: 1rem;
    }

    .hero_inner > .content > .content_inner > .left > .cta{
        font-size: 1rem;
    }

    .principle_inner > .bottom > .left > .img{
        transform: scale(1.6);
    }
}

@media (max-width: 900px) {


    .cms > .cms_inner > .photo_cards > .photo{
        width: 17vw;
    }

    .cms > .cms_inner > h1{
        font-size: 5vw;
    }

    .cms > .cms_inner > p{
        font-size: 2vw;
    }


    .contact_inner > .right > h1{
        font-size: 6vw;
    }

    .contact_inner > .right > p{
        font-size: 3vw;
        margin-top: 30px;
    }

    .contact_inner > .right > .labels > .label > .icon{
        width: 20px;
        height: 20px;
    }

    .contact_inner > .right > .labels > .label > p{
        font-size: 3vw;
        margin-left: 10px;
    }

    .contact_inner > .left > .map{
        height: 75%;
    }

    .contact_inner > .right > img{
        margin-top: 30px;
        height: 40px;
        border-radius: 5px;
    }

    .moments_inner > h1{
        font-size: 4vw;
    }

    .moments_inner > .bento_box {
        margin-top: 5vh;
    }

    .bento_box > .bento_head {
        grid-column: span 4;
        aspect-ratio: 4/2;
    }

    .bento_box > .bento {
        grid-column: span 2;
    }

    .principle_inner > .top > .right > p{
        font-size: 2vw;
    }

    .principle_inner > .top > .right > h1{
        font-size: 3.5vw;
    }

    .principle_inner > .bottom{
        height: 20vh;
    }

    .principle_inner > .bottom > .left > .img{
        transform: scale(1.5);
    }

    .principle_inner > .bottom > .right > p{
        font-size: 2vw;
        margin-right: 10vw;
    }
    
    .hero_inner > .nav > .nav_inner > .links{
        width: 80%;
    }

    .hero_inner > .content > .content_inner{
        flex-direction: column-reverse;
    }

    .hero_inner > .content > .content_inner > .left{
        width: 100%;
        height: 55%;


        display: flex;
        justify-content: start;
        align-items: center;
        flex-direction: column;
        
    }

    .hero_inner > .content > .content_inner > .left > .labels > p{
        font-size: 2vw;
    }

    .hero_inner > .content > .content_inner > .left > .heading{
        font-size: 7vw;
        text-align: center;

    }

    .hero_inner > .content > .content_inner > .left > .subtext{
        margin-top: 30px;
        font-size: 2.4vw;
    }
    
    .hero_inner > .content > .content_inner > .left > .cta{
        margin-top: 30px;
        font-size: 2.4vw;
    }

    .hero_inner > .content > .content_inner > .right{
        width: 100%;
        height: 45%;
    }

    .hero_inner > .content > .content_inner > .right > .img{
        height: 100%;
        aspect-ratio: 531/664;
        background-position: center;
        background-size: cover;
    }

    .future{
        height: fit-content;
    }

    .future_inner{
        flex-direction: column-reverse;
        height: fit-content;
    }

    .future_inner > .right{
        width: 70%;
        height: 40vh;
    }

    .future_inner > .right > .img{
        height: 80%;
        aspect-ratio: 558/621;
        background-position: center;
        background-size: cover;
    }    

    .future_inner > .left{
        width: 70%;
        height: fit-content;
    }

    .future_inner > .left > .heading{
        font-size: 5vw;
    }

    .future_inner > .left > .subtext{
        font-size: 2.4vw;
    }

    .future_inner > .left > .features > .feature > p{
        font-size: 2.4vw;
    }

    .future_inner > .left > .features{
        margin-bottom: 7vh;
    }

}

@media (max-width: 480px) {



    .cms > .cms_inner > .photo_cards > .photo{
        width: 23vw;
    }

    .cms > .cms_inner > h1{
        font-size: 7vw;
    }

    .cms > .cms_inner > p{
        font-size: 2.5vw;
    }

    .moments_inner > h1{
        font-size: 5vw;
    }
    
    .principle_inner > .top{
        margin-top: 0px;
    }

    .principle_inner > .top > .right > p{
        font-size: 3vw;
    }

    .principle_inner > .top > .right > h1{
        font-size: 5vw;
    }

    .principle_inner > .bottom > .right > p{
        font-size: 3vw;
    }

    
    .hero_inner > .nav > .nav_inner > .links{
        width: calc(100% - 10vh - 3vh);
    }

    .hero_inner > .nav > .nav_inner > .links > a > .link{
        font-size: 0.8rem;
        padding: 5px 5px;
        font-weight: 500;
    }

    

    .hero_inner > .content > .content_inner > .left > .labels > p{
        font-size: 2.5vw;
    }

    .hero_inner > .content > .content_inner > .left > .heading{
        font-size: 8vw;
        text-align: center;

    }

    .hero_inner > .content > .content_inner > .left > .subtext{
        margin-top: 30px;
        font-size: 3vw;
    }
    
    .hero_inner > .content > .content_inner > .left > .cta{
        margin-top: 30px;
        font-size: 3vw;
    }

    .future_inner > .left > .heading{
        font-size: 6.5vw;
    }

    .future_inner > .left > .subtext{
        margin-top: 20px;
        font-size: 3vw;
    }

    .future_inner > .left > .features > .feature > .icon{
        width: 20px;
        height: 20px;
    }

    .future_inner > .left > .features > .feature > p{
        font-size: 3vw;
        margin-left: 10px;
    }
}