/*-------------------------- WORK --------------------------*/
#work {
    background: var(--color60);
    position: relative;
}

#work_contener_img {
    padding: 100px;
    height: 100%;
    width: 100%;
    --g:1rem;
    --s:auto;
    --f:.5;
    display: -ms-grid;
    display: grid;
    gap: var(--g);
    aspect-ratio: 2;
    grid-template-columns: repeat(auto-fit,minmax(200px, auto));
    -webkit-transition: 1.5s ease;
    -o-transition: 1.5s ease;
    transition: 1.5s ease;
}

#work_contener_img p {
    position: absolute;
    color: var(--color60);
    bottom: 0;
    left: 0;
    background: rgba(218, 236, 243, 0.6);
    -webkit-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 2px 10px;
    width: 100%;
    text-transform: capitalize;
    font-size: 1rem;
}

.work_img {
    position: relative;
    width: 0;
    height: 0;
    min-height: 100%;
    min-width: 100%;
    opacity: .6;
}

.work_img:hover {
    width: calc(var(--s)*var(--f));
    height: calc(var(--s)*var(--f));
    opacity: 1;
}

img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

#title_work {
    position: absolute;
    bottom: 90px;
    right: 100px;
}



/*-------------------------- RESPONSIVE --------------------------*/
@media screen and (max-width: 992px) {
    #title_work {font-size: 5rem;}
    #work_contener_img {padding: 70px 50px;}
}

@media screen and (max-width: 768px) {
    #work_contener_img {padding: 70px 50px 200px 50px;}
}

@media screen and (max-width: 600px) {
    #work {height: inherit;}
    .work_img:hover {
        width: inherit;
        height: inherit;
    }
    .work_img {
        opacity: 1;
        height: 150px;
    }
    #work_contener_img {
        padding: 200px 30px 70px 30px;
        position: relative;
        z-index: 70;
}
    #title_work {
        top: 70px;
        left: 50%;
        right: inherit;
        transform: translateX(-50%);
        font-size: 3rem;
    }
}









