﻿main{
    overflow: hidden;
}
.hero{
    width: 100%;
    max-width: 1200px;
    height: 1155px;
    margin: 0 auto;
    position: relative;
}
.hero::before{
    content: "";
    background: rgba(243,241,238,1);
    position: absolute;
    top: 115px;
    right: calc(50% + 50px);
    height: 700px;
    width: 100%;
    z-index: -3;
}
.hero::after{
    content: "";
    background: url(../images/hero.webp) no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: calc(50% - 250px);
    height: 570px;
    width: calc(50vw + 250px);
    z-index: -2;
}

.hero h2{
    font-size: 2.25rem;
    font-family: serif;
    display: grid;
    height: 570px;
    max-width: 550px;
    align-items: center;
    margin-left: 5%;
    text-shadow:
    2px 2px 2px rgba(255,255,255,1), -2px -2px 2px rgba(255,255,255,1),
    -2px 2px 2px rgba(255,255,255,1),  2px -2px 2px rgba(255,255,255,1),
    2px 0 2px rgba(255,255,255,1), -2px 0 2px rgba(255,255,255,1),
    0 2px 2px rgba(255,255,255,1),  0 -2px 2px rgba(255,255,255,1);
}
.hero > p{
    position: absolute;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: .85rem;
    top: 480px;
    left: 10%;
    transform: translate(-50%,-50%);
    font-family: 'Montserrat';
}
.hero > p::after{
    content: "";
    width: 1px;
    height: 45px;
    background: rgba(61,57,54,1);
    position: absolute;
    bottom: -55px;
    left: 50%;
}

.hero > div{
    height: 585px;
    display: flex;
}
.hero > div > div:first-of-type{
    margin-top: 245px;
    height: 340px;
    width: calc(50% - 50px);
    padding: 0 5%;
    display: grid;
    position: relative;
}
.hero > div > div:first-of-type::before{
    position: absolute;
    left: 5%;
    top: -8.5rem;
    content: "ABOUT";
    z-index: 1;
    font-size: 7.5rem;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    color: rgba(255,255,255,1);
    font-weight: bold;
    letter-spacing: .7rem;
}
.hero > div > div:first-of-type > div{
    align-self: center;
}
.hero > div > div:first-of-type > div h3{
    margin-bottom: 1rem;
}
.hero > div > div:first-of-type > div p{
    text-align: justify;
}
.hero > div > div:last-of-type{
    width: calc(50% + 50px);
    display: grid;
    grid-template-columns: repeat(12,1fr);
    grid-template-rows: repeat(13,45px);
}
.hero > div > div:last-of-type figure:first-of-type{
    grid-column: 1 / 6;
    grid-row: 8 / 14;
    overflow: hidden;
}
.hero > div > div:last-of-type figure:first-of-type img{
    object-fit: cover;
    object-position: top center;
    height: 290px;
}
.hero > div > div:last-of-type figure:last-of-type{
    grid-column: 7 / 12;
    grid-row: 2 / 13;
    overflow: hidden;
}
.hero > div > div:last-of-type figure:last-of-type img{
    object-fit: cover;
    height: 460px;
}
.hero h4{
    position: absolute;
    top: 510px;
    right: 30px;
    font-size: 1rem;
    font-weight: normal;
    border: 1px solid rgba(102,102,102,1);
    background: rgba(255,255,255,.5);
    padding: .5rem 1rem;
}
@media (max-width: 780px) {
    .hero{
        width: 90%;
        height: auto;
        margin: 0 auto;
    }
    .hero::before{
        top: 50px;
        height: 21rem;
        right: 40%;
    }
    .hero::after{
        left: 5%;
        height: 20rem;
        width: 100%;
    }
    .hero h2{
        font-size: 1.25rem;
        margin-left: 0;
        height: 20rem;
    }
    .hero > p{
        display: none;
    }
    .hero > div{
        height: auto;
        flex-direction: column;
        margin-top: 5rem;
    }
    .hero > div > div:first-of-type{
        margin-top:0;
        height: auto;
        width: 100%;
        padding: 0;
    }
    .hero > div > div:first-of-type::before{
        position: absolute;
        left: 0;
        top: -5.7rem;
        font-size: 4rem;
        letter-spacing: .25rem;
    }
    .hero > div > div:last-of-type{
        width: 100%;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: auto;
        gap: 1rem;
        margin-top: 2rem;
    }
    .hero > div > div:last-of-type figure:first-of-type{
        grid-column: 1;
        grid-row: 1;
    }
    .hero > div > div:last-of-type figure:first-of-type img{
        height: auto;
    }
    .hero > div > div:last-of-type figure:last-of-type{
        grid-column: 2;
        grid-row: 1;
        overflow: hidden;
    }
    .hero > div > div:last-of-type figure:last-of-type img{
        height: auto;
    }
    .hero h4{
        top: 16rem;
        right: 0;
        font-size: .8rem;
    }
}



.feature{
    width: 90%;
    max-width: 1200px;
    margin: 5.75rem auto;
    position: relative;
    padding: 11rem 0 5.75rem 0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: 13rem repeat(2,auto);
    gap: 5.75rem;
}
.feature::after{
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 400px);
    background: rgba(243,241,238,1);
    width: calc(50vw + 400px);
    height: 100%;
    z-index: -2;
}
.feature::before{
    content: "FEATURE";
    font-size: 7.5rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    letter-spacing: .7rem;
    font-style: italic;
    z-index: -1;
    position: absolute;
    top: -4rem;
    left: 50%;
    color: rgba(255,255,255,1);
}

.feature > div:first-of-type{
    grid-column: 1;
    grid-row: 1 / 3;
}
.feature > div:nth-of-type(2){
    grid-column: 2;
    grid-row: 2 / 4;
}
.feature > div h3{
    font-size: 1.5rem;
    margin: 1.5rem auto;
}
.feature > div p{
    text-align: justify;
}
.feature > div > div:first-of-type{
    position: relative;
}
.feature > div:first-of-type > div::after{
    content: "01";
    font-size: 7.5rem;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    text-shadow: 0 0 1rem rgba(255,255,255,1);
    position: absolute;
    top: -25%;
    right: 0;
}
.feature > div:nth-of-type(2) > div::after{
    content: "02";
    font-size: 7.5rem;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    text-shadow: 0 0 1rem rgba(255,255,255,1);
    position: absolute;
    top: -25%;
    right: 0;
}
.feature > div > div:first-of-type video{
    width: 100%;
}
.feature > div p + p,
.feature > div > div + p{
    width: 18.75rem;
    margin: 2rem auto 0;
    text-align: center;
}
.feature > div p + p a,
.feature > div > div + p a{
    background: rgba(255,255,255,1);
    color: rgba(61,57,54,1);
    padding: .5rem 0;
    position: relative;
}
.feature > div p + p a::after,
.feature > div > div + p a::after{
    content: "";
    position: absolute;
    top: -.5rem;
    left: -.5rem;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(61,57,54,1);
    transition: .5s;
}
.feature > div p + p a:hover::after,
.feature > div > div + p a:hover::after{
    top: 0;
    left: 0;
}
.feature > div > div dd{
    margin-bottom: 1.5rem;
}

@media (max-width: 780px) {
    .feature{
        margin: 3rem auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 5rem;
        padding: 6rem 0 3rem 0;
    }
    .feature::before{
        font-size: 4rem;
        letter-spacing: .25rem;
        top:-2rem;
        left: 50%;
        transform: translateX(-50%);
    }
    .feature > div:first-of-type{
        grid-column: 1;
        grid-row: 1;
    }
    .feature > div:nth-of-type(2){
        grid-column: 1;
        grid-row: 2;
    }
}



#childcare{
    width: 90%;
    max-width: 1200px;
    margin: 5.75rem auto;
    display: grid;
    grid-template-columns: 1fr 2fr repeat(2,3fr) 2fr 1fr;
    grid-template-rows: 5rem 32rem repeat(2,5rem);
}
#childcare::before{
    content: "";
    background: rgba(243,241,238,1);
    grid-column: 2 / 5;
    grid-row: 2 / 3;
    transform: translateY(5rem);
    z-index: 0;
}
#childcare::after{
    content: "Support";
    font-size: 8rem;
    text-align: right;
    grid-column: 4 / 7;
    grid-row: 3 / 5;
    z-index: 5;
    color: rgba(234,175,149,1);
    font-family: 'OhWonderUpright';
    align-self: flex-start;
    margin-top: -2rem;
}
#childcare h3{
    grid-column: 1 / 5;
    grid-row: 1 / 3;
    z-index: 3;
    font-size: 2.8rem;
    font-family: serif;
    font-weight: normal;
    line-height: 1.5;
    margin-top: .5rem;
    color: rgba(175,203,205,1);
    text-shadow:
    2px 2px 2px rgba(255,255,255,1), -2px -2px 2px rgba(255,255,255,1),
    -2px 2px 2px rgba(255,255,255,1),  2px -2px 2px rgba(255,255,255,1),
    2px 0 2px rgba(255,255,255,1), -2px 0 2px rgba(255,255,255,1),
    0 2px 2px rgba(255,255,255,1),  0 -2px 2px rgba(255,255,255,1);
}
#childcare figure{
    grid-column: 3 / 6;
    grid-row: 2 / 3;
    z-index: 1;
}
#childcare figure img{
    height: 32rem;
    object-fit: cover;
    object-position: center;
}
#childcare p{
    grid-column: 1 / -1;
    grid-row: 4 / 5;
    text-align: center;
    align-self: center;
}
#childcare p span{
    font-weight: bold;
    font-size: 1.25rem;
}
@media (max-width: 960px) {
    #childcare{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        margin: 3rem auto 0;
    }
    #childcare h3{
        grid-column: 1 / -1;
        grid-row: 1;
        font-size: 1.5rem;
    }
    #childcare h3 br{
        display: none;
    } 
    #childcare::before{
        display: none;
    }
    #childcare::after{
        grid-column: 1 / -1;
        grid-row: 4;
        font-size: 6rem;
    }
    #childcare figure{
        grid-column: 1 / -1;
        grid-row: 2;
    }
    #childcare figure img{
        height: 100%;
    }
    #childcare p{
        grid-column: 1 / -1;
        grid-row: 3;
        text-align: left;
        align-self: flex-start;
    }
}




#menu{
    width: 90%;
    max-width: 1200px;
    padding: 5.75rem 0;
    margin: 5.75rem auto;
    position: relative;
}
#menu::after{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: url(../images/menu_bg.webp) no-repeat center;
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    background-color: rgba(61,57,54,.5);
    z-index: -1;
}
#menu h3{
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    color: rgba(255,255,255,1);
    text-align: center;
    font-weight: normal;
    letter-spacing: .25rem;
}
#menu ul{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 5.75rem;
    margin: 3rem auto;
}
#menu ul li{
    border: 1px solid rgba(255,255,255,1);
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
}
#menu ul li a{
    padding: 2.5rem 0;
    background-color: rgba(255,255,255,.2);
    color: rgba(255,255,255,1);
    display: flex;
    flex-direction: column;
}
#menu ul li a::before{
    content: "";
    width: 100px;
    height: 100px;
    background-size: cover;
    margin: 0 auto 1rem;
}
#menu ul li:first-of-type a::before{
    background-image: url(../images/menu01.webp);
}
#menu ul li:nth-of-type(2) a::before{
    background-image: url(../images/menu02.webp);
}
#menu ul li:last-of-type a::before{
    background-image: url(../images/menu03.webp);
}
#menu ul li a:hover{
    background-color: rgba(255,255,255,.5);
    color: rgba(61,57,54,1);
}
#menu p{
    width: 18.75rem;
    margin: 0 auto;
    text-align: center;
}
#menu p a{
    background: rgba(255,255,255,1);
    color: rgba(61,57,54,1);
    padding: .5rem 0;
    position: relative;
}
#menu p a::after{
    content: "";
    position: absolute;
    top: -.5rem;
    left: -.5rem;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(61,57,54,1);
    transition: .5s;
}
#menu p a:hover::after{
    top: 0;
    left: 0;
}
@media (max-width: 960px) {
    #menu ul{
        gap: 3rem;
    }
}
@media (max-width: 680px) {
    #menu ul{
        grid-template-columns: 1fr;
    }
}

#campaign{
    width: 90%;
    max-width: 900px;
    margin: 5.75rem auto;
}
#campaign .modal-content h3{
    text-align: center;
    font-size: 3rem;
    color: rgba(234,175,149,1);
    font-family: 'Times New Roman', Times, serif;
}
#campaign .modal-content h3 + p{
    font-size: 1.3rem;
    border: 1px solid rgba(234,175,149,1);
    padding: .5rem 1rem;
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
#campaign .modal-content h3 + p span{
    font-size: 2rem;
    color: rgba(234,175,149,1);
    font-weight: bold;
}
#campaign .modal-content ul{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
}
#campaign .modal-content ul li{
    font-size: 1.3rem;
    border: 1px solid rgba(234,175,149,1);
    padding: .5rem 1rem;
    text-align: center;
}
#campaign .modal-content ul li span{
    font-size: 2rem;
    color: rgba(234,175,149,1);
    font-weight: bold;
    display: block;
    margin-top: -.5rem;
}
@media (max-width: 780px) {
    #campaign .modal-content ul{
        grid-template-columns: 1fr;
    }
    #campaign .modal-content h3{
        font-size: 1.5rem;
    }
    #campaign .modal-content h3 + p{
        font-size: 1rem;
        margin-bottom: 1.5rem;
        display: block;
    }
    #campaign .modal-content ul li{
        font-size: 1rem;
    }
    #campaign .modal-content ul li span{
        font-size: 1.5rem;
    }
}





div.modal{
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
div.modal-bg{
    background: rgba(0,0,0,.7);
    width: 100vw;
    height: 100vh;
    position: absolute;
}
div.modal > div.modal-content{
    background: #fff;
    left: 50%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 80vw;
    max-width: 1100px;
}
div.modal > div.modal-content a{
    background: rgba(102,102,102,1);
    color: rgba(255,255,255,1);
    padding: 10px;
    display: inline-block;
    margin-top: 1rem;
}
@media (max-width: 780px) {
    div.modal > div.modal-content{
        width: 90vw;
        height: 90vh;
        padding: 0 20px;
        overflow-y: scroll;
    }
    div.modal > div.modal-content a{
        margin-top: 0rem;
    }
    .feature div.modal > div.modal-content h3{
        font-size: 1.1rem;
    }
}