/* WEB */
@media (min-width : 1250px){
    main {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 80vh;
    }

    .container {
        position: relative;
        width: 80%;
        display: flex;
        justify-content: center;
        /* perspective: 500px; */
        /* margin: auto; */
    }


    .container .box {
        position: relative;
        width: 225px;
        height: 336px;
        background: #000;
        transition: 0.5s;
        transform-style: preserve-3d;
        overflow: hidden;
        margin-left: 25px;
        margin-right: 25px;
        /* margin-top: 45px; */
    }
    .container:hover .box {
        transform: scale(0.7);
    } 
    .container .box:hover ~ .box {
        transform: scale(0.7);
    } 
    .container .box:hover {
        transform: scale(1.25);
        z-index: 1;
        box-shadow: 0 25px 40px rgba(0,0,0,0.5);
    }
    .container .box .imgBx {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .container .box .imgBx:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0;
        transition: 0.5s;
        mix-blend-mode: multiply;
    }
    .container .box:hover .imgBx:before {
        opacity: 1;
    }
    .container .box .imgBx img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .container .box .content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        display: flex;
        padding: 20px;
        align-items: flex-end;
        box-sizing: border-box;
    }
    .container .box .content h2 {
        color: #fff;
        transition: 0.5s;
        text-transform: uppercase;
        margin-bottom: 0px;
        font-size: 20px;
        transform: translateY(200px);
        transition-delay: 0.1s;
        /* font-family: 'FiraeBold', serif; */
    }
    .container .box:hover .content h2 {
        transform: translateY(0px);
    }
    .container .box .content p {
        color: #fff;
        transition: 0.4s;
        font-size: 14px;
        transform: translateY(200px);
        transition-delay: 0.2s;
    }
    .container .box:hover .content p {
        transform: translateY(0px);
    }


    html, body {
        height: 100%;
        margin: 0;
        overflow: hidden;
        min-height: 1000vh;
        display: flex;
        flex-direction: column;
    }

}

/* MOBILE  */
@media (max-width : 1249px){
    .container {
        position: relative;
        width: 500px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        transform-style: preserve-3d;
        perspective: 500px;
        margin: auto;
    }

    .last-box {
        margin-bottom: 50px;
    }

    .container .box {
        position: relative;
        width: 60vw;
        height: 90vw;
        background: #000;
        transition: 0.5s;
        transform-style: preserve-3d;
        overflow: hidden;
        margin-right: 15px;
        margin-top: 45px;
    }

    .container .box .imgBx img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    } 
    .container .box .content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        display: flex;
        padding: 20px;
        align-items: flex-end;
        box-sizing: border-box;
    }
    .container .box .content h2 {
        color: #fff;
        transition: 0.5s;
        text-transform: uppercase;
        margin-bottom: 0px;
        font-size: 20px;
        font-family: 'FiraeBold', serif;
    }


}
