/* --- CREATIVE STYLES--- */

.creative_section {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    padding: 10vw 6vw 7vw 12vw;
}

.creative_section .title_box {
    align-items: center;
}

.creative_section .title_box * {
    text-align: center;
}

.creative_section .creative_box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vw;
}

.creative_section .creative_item {
    display: flex;
    flex-direction: column;
    gap: .5vw;
    cursor: pointer;
}

.creative_section .media_box {
    position: relative;
    height: 26vw;
    overflow: hidden;
    transition: .25s;
}

.creative_section .creative_item:hover .media_box {
    opacity: .8;
}

.creative_section .media_box img {
    transition: .25s;
}

.creative_section .media_box:hover img {
    transform: scale(1.05);
}

.creative_section .creative_item p {
    color: white;
}

@media (max-width: 996px) {
    .creative_section {
        padding: 30vw 10vw 15vw 10vw;
        gap: 5vw;
    }

    .creative_section .creative_box {
        grid-template-columns: repeat(2, 1fr);
        gap: 5vw;
    }

    .creative_section .creative_item {
        gap: 2vw;
    }

    .creative_section .media_box {
        height: 36vw;
    }
}



/* ---POPUP STYLES--- */

.popup_section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.25);
    transition: .25s;
}

.popup_section.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: inherit;
}

.popup_section .popup_box {
    position: relative;
    width: 80vw;
    height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: 1;
    background: var(--dark);
}

.popup_section .media_box {
    position: relative;
    padding: 2vw 1vw 2vw 2vw;
}

.popup_section .info_box {
    justify-content: flex-start;
    gap: 1vw;
    height: 100%;
    padding: 2vw 2vw 2vw 1vw;
    overflow-y: auto;
    min-height: 0;
}

.popup_section .info_box h2 {
    font-size: 1.5vw;
}

.popup_section i {
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    font-size: 3vw;
    transform: translateY(-130%);
    cursor: pointer;
    transition: .25s;
}

.popup_section i:hover {
    opacity: .7;
}

.popup_section .backdrop_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000c0;
    backdrop-filter: blur(.5vw);
    transition: .25s;
}

@media (max-width: 996px) {
    .popup_section .popup_box {
        height: 150vw;
        display: flex;
        flex-direction: column;
    }

    .popup_section .media_box {
        height: 80vw;
        padding: 5vw 5vw 2.5vw 5vw;
    }

    .popup_section .info_box {
        gap: 3vw;
        padding: 2.5vw 5vw 5vw 5vw;
    }

    .popup_section .info_box h2 {
        font-size: 5vw;
    }

    .popup_section i {
        font-size: 8vw;
    }
}