.sec-experiencia ::selection {
    background-color: var(--bg-lightblue-1);
    color: var(--bg-white);
}

.ep_box__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.ep_box .content_list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

/*------- Categorías ------*/

.ep_box .content_list .categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.ep_box .content_list .categories a {
    text-decoration: none;
    color: inherit;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.15) 1px 1px 6px 0px;
    display: flex;
    align-items: center;
}

.ep_box .content_list .categories a.active {
    background-color: var(--bg-lightblue-1);
    color: white;
}

/*--------- GRID ----------*/

.ep_box .content_list .list {
    position: relative;
    opacity: 0;
    transition: opacity 0.5s linear 1s;
    width: 100%;
}

.ep_box .content_list .list.loaded-images {
    opacity: 1;
}

.ep_box .content_list .list .item {
    position: absolute;
    display: block;
    margin: 10px;
    padding: 0;
    width: calc(33.33% - 20px);
    font-size: 1vw;
}

.ep_box .content_list .list .item-content {
    position: relative;
}

.ep_box .content_list .list .item .item-image {
    border: 1px solid rgba(155, 155, 155, 0.15);
    border-radius: 10px;
    cursor: pointer;
    vertical-align: top;
    width: 100%;
}

/*--------- HOVER IMAGE ------------*/

.ep_box .item-data {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: grid;
    align-content: center;
    background: rgba(32, 36, 45, .9);
    color: #FEF5DF;
    opacity: 0;
    transition: all 0.5s;
    border-radius: 10px;
}

.ep_box .item-content:hover .item-data {
    opacity: 1;
}

.ep_box .item-content:hover .item-data .title {
    transform: translateY(0px);
}

.ep_box .item-content:hover .item-data hr {
    width: 75px;
    transition-delay: 0.4s;
}

.ep_box .item-content:hover .item-data .content {
    transform: translateY(0px);
    transition-delay: 0.3s;
    opacity: 1;
}

.ep_box .item-content:hover .item-data .buttons {
    transform: translateY(0px);
    transition-delay: 0.6s;
    opacity: 1;
}

/* ------------ ITEM DATA ------------ */

.ep_box .title {
    text-align: center;
    margin: 0 1rem;
    transform: translateY(40px);
    transition: all 0.7s;
}

.ep_box .title p {
    margin-bottom: .2rem;
}

.ep_box .title hr {
    display: block;
    width: 0;
    border: none;
    border-bottom: solid 2px #FEF5DF;
    transition: all 0.5s;
}

.ep_box .content {
    text-align: center;
    line-height: .5rem;
    margin: 0 1rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s;
    color: white;
}

.ep_box .content p {
    margin-top: 0.4rem;
}

.ep_box .content span {
    opacity: .5;
}

.ep_box .content_icons {
    display: flex;
    gap: 0.5rem;
    margin-top: .5em;
    justify-content: center;
}

.ep_box .content_icons img {
    width: 25px;
}

.ep_box .buttons {
    opacity: 0;
    letter-spacing: 1px;
    font-family: "Lato", sans-serif;
    transform: translateY(40px);
    transition: all 0.7s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: .8rem 0;
    user-select: none;
}

.ep_box .buttons a {
    font-weight: 500;
    padding: .3rem .5rem;
    text-decoration: none;
    border: 1px solid white;
    cursor: pointer;
}

.ep_box .buttons a {
    font-weight: 500;
    padding: .3rem .5rem;
    text-decoration: none;
    border: 1px solid white;
    border-radius: .3rem;
    cursor: pointer;
    color: white;
    transition: .5s;
}

.ep_box .buttons a:hover {
    background: white;
    color: var(--bg-dark-1);
}

.ep_box .buttons .expand-image i {
    margin-left: .2rem;
}


/*--------- OVERLAY -----------*/

.ep_box .content_list .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .9);
    width: 100%;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 5;
}

.ep_box .content_list .overlay.active {
    display: flex;
}

.ep_box .content_list .overlay img {
    max-height: 100vh;
    max-width: 75%;
    margin: 0 auto;
}

.ep_box .content_list .overlay .description {
    display: block;
    background: #FFF;
    border-radius: 10px;
    margin-top: 5px;
    padding: 20px;
    text-align: center;
    max-width: 50%
}

.ep_box .content_list .container-img {
    position: relative;
    display: flex;
    align-items: center;
}

.ep_box .content_list .overlay #btn-close-popup {
    border: none;
    background: var(--bg-lightblue-1);
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 1.3rem;
}

/* ------------------------------------------
                [RESPONSIVE]
------------------------------------------- */
@media only screen and (max-width: 960px) {

    .ep_box .content_list .list .item {
        width: calc(50% - 20px);
        font-size: 1.3vw;
    }

}

@media only screen and (max-width: 768px) {

    .ep_box .content_list .list .item {
        padding-bottom: 1rem;
        margin: 0;
        width: 100%;
        font-size: .9rem;
    }

    .ep_box .item-data .content {
        line-height: .5rem;
    }

    .ep_box .content_icons {
        margin-top: 1rem;
    }

    .ep_box .content p {
        margin-bottom: 0.5rem;
        margin-top: 0;
    }

}