/* -------- FIRST SECTION -------- */

.first_section {
    display: grid;
    grid-template-columns: 48% 52%;
    background: var(--gray);
}

.first_section .text {
    padding: 5% 10% 20% 10%;
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.first_section .text .logo {
    display: flex;
    justify-content: center;
}

.first_section .text .logo img {
    width: 26%;
}

.first_section .text p {
    color: var(--dark_gray);
    font-size: 1.2vw;
    font-weight: inherit;
    line-height: 2vw;
}

.first_section .img {
    display: flex;
    align-items: center;
}

.first_section .img img {
    object-fit: cover;
    height: 100%;
    border-radius: 30vw 0 0 30vw;
    padding: 10% 0 10% 5%;
}


/* -------- SECOND SECTION -------- */

.second_section {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 4vw;
    padding: 10% 10% 5% 0;
}

.second_section .logo {
    position: relative;
    height: 35vw;
    background: var(--red);
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    border-radius: 0 30vw 30vw 0;
}

.second_section .logo img {
    position: absolute;
    bottom: -3vw;
    right: 2vw;
    width: 30vw;
    height: 30vw;
    object-fit: cover;
    display: flex;
    border-radius: 50%;
    border: 1vw solid white;
}

.second_section .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
}

.second_section .text span {
    color: var(--red);
    margin: 0;
    padding: 0;
    display: inline;
}

.second_section .text a {
    background: var(--red);
    border: .2vw solid var(--red);
    padding: 1vw 3vw;
    border-radius: 2vw;
}

.second_section .text i {
    color: white;
    font-size: 1.5vw;
}

.second_section .text a:hover {
    background: white;
}

.second_section .text a:hover i {
    color: var(--red);
}


/* -------- THIRD SECTION -------- */

.third_section {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 5% 10% 5% 10%;
    gap: 1vw;
}

.third_section .progress_bar{
    width: 100%;
    position: relative;
    border: .2vw solid var(--red);
    padding: 1vw 2vw;
    border-radius: 10vw;
    background: linear-gradient(to right, var(--red) 70%, white 70%);
}

.third_section .total_box{
    display: flex;
    justify-content: space-between;
}

.third_section .total_box h2:nth-child(1){
    color: white;
}

.third_section .guide_box{
    position: absolute;
    bottom: -1vw;
    left: 0;
    width: 100%;
}

.third_section .guide_box p {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    color: var(--red);
}
.third_section .guide_box p::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -119%);
    width: .2vw;
    height: 5.5vw;
    background: white;
}

.third_section .guide_box p:nth-child(1){
    left: 25%;
}

.third_section .guide_box p:nth-child(2){
    left: 50%;
}

.third_section .guide_box p:nth-child(3){
    left: 75%;
}

.third_section .guide_box p:nth-child(3)::before{
    background: var(--red);
}

.third_section .text_btn{
    margin-top: 5vw;
}

/* -------- FOURTH SECTION -------- */

.fourth_section {
    padding: 5% 10% 5% 10%;
}

.fourth_section .gallery_box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vw;
}

.fourth_section .gallery_box .gallery_item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
}

.fourth_section .gallery_item img {
    transition: .25s;
}

.fourth_section .gallery_item:hover img {
    transform: scale(1.1);
    background: black;
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-content {
    max-width: 65vw;
    max-height: 65vw;
    display: block;
}

/* -------- FIVETH SECTION -------- */

.fiveth_section {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 4vw;
    padding: 5% 0 5% 10%;
}

.fiveth_section .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
}

.fiveth_section .text span {
    color: var(--red);
}

.fiveth_section .logo {
    position: relative;
    height: 35vw;
    background: var(--red);
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    border-radius: 30vw 0 0 30vw;
}

.fiveth_section .logo img {
    position: absolute;
    bottom: -3vw;
    right: 15vw;
    width: 30vw;
    height: 30vw;
    object-fit: cover;
    display: flex;
    border-radius: 50%;
    border: 1vw solid white;
}


/* -------- SIXTH SECTION -------- */

.sixth_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1vw;
    padding: 5% 0 5% 0;
}

.sixth_section ul li {
    line-height: 1.5vw;
}

/* -------- SEVENTH SECTION -------- */

.seventh_section{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5% 10% 5% 10%;
}

.seventh_section h2{
    width: 50%;
    text-align: center;
}

/* -------- EIGHTH SECTION -------- */
.eighth_section {
    padding: 5% 10% 5% 10%;
}

.eighth_section .gallery_box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vw;
}

.eighth_section .gallery_box .kids_gallery_item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
}

.eighth_section .kids_gallery_item img {
    transition: .25s;
}

.eighth_section .kids_gallery_item:hover img {
    transform: scale(1.1);
    background: black;
}

.kids-lightbox {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.kids-lightbox-content {
    max-width: 65vw;
    max-height: 65vw;
    display: block;
}

@media (max-width: 996px) {
    .first_section,
    .second_section,
    .third_section,
    .fourth_section,
    .fiveth_section,
    .sixth_section,
    .eighth_section{
        grid-template-columns: 100%;
    }
    /* -------- FIRST SECTION -------- */
    .first_section .text {
        padding: 5% 10% 0 10%;
        gap: 4vw;
    }
    .first_section .text .logo img {
        width: 55%;
    }
    .first_section .text p {
        font-size: 4vw;
        line-height: 5vw;
    }
    .first_section .img img {
        border-radius: 60vw 0 0 60vw;
    }
    /* -------- SECOND SECTION -------- */
    .second_section{
        gap: 15vw;
    }
    .second_section .logo{
        height: 70vw;
    }
    .second_section .logo img {
        width: 65vw;
        height: 65vw;
        bottom: -2vw;
        right: -5vw;
    }
    .second_section .text {
        padding: 5% 0% 0 12%;
        gap: 5vw;
    }
    .second_section .text a {
        padding: 2vw 6vw;
        margin: auto;
    }
    .second_section .text i {
        font-size: 4vw;
    }
    /* -------- THIRD SECTION -------- */
    .third_section{
        gap: 5vw;
    }

    .third_section .progress_bar{
        padding: 1vw 1vw;

    }
    
    .third_section .total_box h2{
        font-size: 3vw;
    }

    .third_section .guide_box p {
        font-size: 3vw;
    }
    /* -------- FOURTH SECTION -------- */
    .fourth_section .gallery_box{
        grid-template-columns: repeat(1, 1fr);
        gap: 5vw;
    }

    .lightbox-content {
        max-width: 90vw;
        max-height: 90vw;
        display: block;
        justify-content: center;
    }
    /* -------- FIVETH SECTION -------- */
   
    .fiveth_section .text{
        padding: 5% 12% 0 0;
        gap: 5vw;
    }
    .fiveth_section .logo{
        height: 70vw;
    }
    .fiveth_section .logo img {
        width: 65vw;
        height: 65vw;
        bottom: -2vw;
        right: 30vw;
    }
    /* -------- SIXTH SECTION -------- */
    .sixth_section{
        gap: 5vw;
        padding: 12vw 10vw 10vw 10vw;
    }

    .sixth_section ul li{
        line-height: 5vw;
    }
    /* -------- SEVENTH SECTION -------- */
    .seventh_section h2{
        width: 75%;
        text-align: center;
    }
    /* -------- EIGHTH SECTION -------- */
    .eighth_section .gallery_box{
        grid-template-columns: repeat(1, 1fr);
        gap: 5vw;
    }

    .kids-lightbox-content {
        max-width: 90vw;
        max-height: 90vw;
        display: block;
    }
}