html {
    width: 100%;
    height: 100%;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1em;
}

body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ==================== Layout ======================================== */

.grid-container1 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.grid {
    height: 100%;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.grid-item {
    width: 100%;
    height: 100%;
    background-color: transparent;
    margin: auto;
    text-align: center;
    position: relative;
}



/* ==================== Properties =============================== */


.sello {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 15;
    margin: -100px 0 0 -150px;
}

#sello_1 {
    width: 18%;
    position: fixed;
    top: 45%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.door {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    position: relative;
    top: 0;
    left: 0;
    filter: drop-shadow(-12px 0px 12px #4d4d4d);
}

.left,
.right {
    height: 100%;
    width: 58%;
    display: inline-block;
    position: absolute;
    transition: all 0.5s ease-in-out, border 0.1s ease;
}

.left {
    top: 0;
    left: 0;
    background: #EBE9DD;
    border: 2px solid #797979;
}

.right {
    top: 0;
    right: 0;
    background: #EBE9DD;
    border: 2px solid #797979;
}


/* ==================== DOORS ==================== */

#door1 .left {
    clip-path: polygon(100% 0%, 90% 48%, 100% 100%, 0 100%, 0 0);
}

#door1 .right {
    clip-path: polygon(100% 0%, 100% 100%, 25% 100%, 0% 50%, 25% 0%);
}

#door1.active .left {
    transform: translateX(-100%);
}

#door1.active .right {
    transform: translateX(100%);
}

/* ==================== MEDIA SCREEN ==================== */

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

    #sello_1 {
        width: 50%;
        position: fixed;
        top: 45%;
        left: 50%;
        /* bring your own prefixes */
        transform: translate(-50%, -50%);
    }

}

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

    #sello_1 {
        width: 50%;
        position: fixed;
        top: 45%;
        left: 50%;
        /* bring your own prefixes */
        transform: translate(-50%, -50%);
    }

}
