/* ---MAIN STYLES--- */

.main_section {
    padding: 2.5vw 10vw;
    border-bottom: .05vw solid var(--whitesmoke);
}

.main_section .main_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
}

.main_section .media_box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_section .media_box img {
    border-radius: 50vw 50vw 0 0;
}

.main_section .info_box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2vw;
}

.main_section .info_box {
    position: relative;
}

@media (max-width: 996px) {
    .main_section {
        padding: 5vw;
        border-bottom: .1vw solid var(--whitesmoke);
    }
    .main_section .main_box {
        grid-template-columns: 1fr;
        gap: 5vw;
    }
    .main_section .info_box {
        gap: 5vw;
    }
    .main_section .info_box h1 {
        width: 70%;
    }
    .main_section .info_box p {
        width: 95%;
    }
}


/* ---TEAM STYLES--- */

.team_section {
    border-bottom: .05vw solid var(--whitesmoke);
}

.team_section .team_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.team_section .info_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    border-right: .05vw solid var(--whitesmoke);
}

.team_section .info_box h2 {
    width: 85%;
    text-align: center;
}

.team_section .info_box img {
    width: 35%;
    border-radius: 20vw 20vw 0 0;
}

.team_section .info_box p {
    width: 70%;
    text-align: center;
}

.team_section .media_box {
    height: 55vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 995px) {
    .team_section {
        border-bottom: .1vw solid var(--whitesmoke);
    }
    .team_section .team_box {
        grid-template-columns: 1fr;
    }
    .team_section .info_box {
        order: 2;
        gap: 5vw;
        padding: 5vw;
        border-right: 0;
        border-top: .1vw solid var(--whitesmoke);
    }
    .team_section .info_box img {
        width: 60%;
        border-radius: 50vw 50vw 0 0;
    }
    .team_section .info_box h2 {
        width: 90%;
    }
    .team_section .info_box p {
        width: 90%;
    }
    .team_section .media_box {
        height: 100vw;
    }
}


/* ---GALLERY STYLES--- */

.gallery_section {
    padding: 5vw 0;
}

.gallery_section .gallery_box {
    display: flex;
    flex-direction: column;
}

.gallery_section .info_box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vw;
}

.gallery_section .info_box h2 {
    width: 31%;
    text-align: center;
}

.gallery_section .info_box p {
    width: 40%;
    text-align: center;
}

.gallery_section .media_box {
    position: relative;
}

.gallery_section .media_box>img:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-2%);
    width: 100%;
    z-index: 1;
}

.gallery_section .media_box>img:nth-child(2) {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(2%);
    width: 100%;
    z-index: 1;
}

.gallery_section .gallery_item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--olive);
    overflow: hidden;
    cursor: pointer;
    margin: 0 .25vw;
}

.gallery_section .gallery_item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    font-family: "Caviar Dreams Bold";
    color: white;
    text-align: center;
    padding: 1vw 2vw;
    border: .1vw solid white;
    opacity: 0;
    transition: .25s;
    z-index: 1;
}

.gallery_section .gallery_item:hover p {
    opacity: 1;
}

.gallery_section .gallery_item p:hover {
    color: var(--olive);
    background: white;
}

.gallery_section .gallery_item img {
    transition: .25s;
}

.gallery_section .gallery_item:hover img {
    transform: scale(1.05);
    filter: blur(.15vw);
    -webkit-filter: blur(.15vw);
    opacity: .5
}

.gallery_section .nav_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
}

.gallery_section .arrow_item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3.5vw;
    height: 3.5vw;
    border-radius: 50%;
    background: var(--pink);
    cursor: pointer;
    transition: .25s;
    z-index: 1;
}

.gallery_section .arrow_item:hover {
    background: var(--olive);
}

.gallery_section .arrow_item img {
    width: .7vw;
}

.gallery_section .arrow_item:nth-child(1) img {
    transform: scaleX(-1) translateX(15%);
}

.gallery_section .arrow_item:nth-child(2) img {
    transform: translateX(15%);
}

@media (max-width: 996px) {
    .gallery_section {
        padding: 5vw 0;
    }
    .gallery_section .gallery_box {
        gap: 5vw;
    }
    .gallery_section .info_box {
        gap: 5vw;
    }
    .gallery_section .info_box h2 {
        width: 65%;
    }
    .gallery_section .info_box p {
        width: 90%;
    }
    .gallery_section .info_box img {
        top: -30%;
        left: 5%;
        width: 12%;
    }
    .gallery_section .media_box>img:nth-child(1) {
        transform: translateY(-5%);
    }
    .gallery_section .media_box>img:nth-child(2) {
        transform: translateY(5%);
    }
    .gallery_section .gallery_item {
        margin: 0 .5vw;
    }
    .gallery_section .gallery_item p {
        width: 70%;
        padding: 3vw;
        border: .25vw solid white;
    }
    .gallery_section .nav_box {
        gap: 5vw;
    }
    .gallery_section .arrow_item {
        width: 10vw;
        height: 10vw;
    }
    .gallery_section .arrow_item img {
        width: 2vw;
    }
}