
body {
    background-color: #202020;
}

.grid {
    display: grid;
    /* margin-top: 1.042vw; */
    /* grid-auto-rows: minmax(190px, 1fr); */
	/* grid-auto-rows: minmax(290px, 1fr); */
}

.celula {
    display: flex;
    justify-content: center; /* Align horizontal */
    align-items: center; /* Align vertical */
    /* display: inline-block; */
    text-align: center;
    align-items: center;
    /* vertical-align: text-bottom; */
    /* margin: 0px 0px 2px 2px; */
	/* display: grid; */
    border-style: solid;
    border-width: 0 3px 3px 0;
    border-color: #202020;
}
@media screen and ( 1500px <= width < 1650px ) {
    .celula p {
        margin-left: calc(32vw - 440px) !important;
    }
}
@media screen and ( 1300px <= width < 1500px) {
    .celula p {
        margin-left: 35px !important;
        font-size: 30px !important;
    }
}
@media screen and ( 900px <= width < 1300px) {
    .celula p {
        margin-left: calc(10vw - 50px) !important;
        font-size: 30px !important;
    }
}
@media screen and ( 600px <= width < 900px) {
    .celula p {
        margin-left: calc(10vw - 30px) !important;
        font-size: 26px !important;
    }
}
@media screen and ( width < 600px) {
    .grid {
        overflow-y: auto;
        height: 100%;
    }
    .celula p {
        font-size: 30px !important;
    }
    .celula {
        min-height: 400px;
    }
}
.celula p {
	display: inline-block;
    text-align: left;
    margin-left: 90px;
    color: white;
    text-transform: uppercase;
    /* font-weight: bold; */
    font-size: 40px;
    line-height: normal;
}
.celula a, .celula div {
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
    align-items: center; /* Align vertical */
    text-align: center;
    align-items: center;
}

img.logo {
    max-width: 80vw;
}
@media screen and (1300px <= width) {
    .grid {
        height: calc(100% - 54px);
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    html {
        height: 100%;
    }
    body {
        height: 100%;
        overflow: hidden;
    }
    img.logo {
        max-width: 30vw;
    }
}

@media screen and (600px <= width < 1300px) {
    .grid {
        height: calc(100% - 54px);
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    img.logo {
        max-width: 40vw;
    }
}

div.slide-in {
    position: relative;
    overflow: hidden;
    display: inline-flex;
}

div.slide-in:hover img {
    transition: 1s;
    right: 0;
    will-change: right;
}

div.slide-in img {
    display: inline;
    position: absolute;
    z-index: 1;
    right: 200%;
    object-fit: cover;
    object-position: right;
    width: 100%;
    height: 100%;
    transition: 1s;
}

.bg_1 a {
    justify-content: center;
}

img {
    display: inline;
}
