* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('/img/GI_head_background4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* =======================
   CARRUSEL
======================= */
.box {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: animate 20s linear infinite;
}

@keyframes animate {
    from {
        transform: perspective(1000px) rotateY(0deg);
    }

    to {
        transform: perspective(1000px) rotateY(360deg);
    }
}

.box span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 36deg)) translateZ(400px);
    -webkit-box-reflect: below 0
        linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.25));
}

.box span img {
    position: absolute;
    top: 10px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 10px);
    object-fit: contain;
}

/* =======================
   NOMBRE DE USUARIO
======================= */
.nombre-usuario {
    color: rgb(3, 3, 82);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    top: -25px;
    text-align: center;
}

/* =======================
   CONTENEDOR TARJETA
======================= */
.contenedor-tarjeta {
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.contenedor-tarjeta h1 {
    margin-bottom: 10px;
}

/* =======================
   LOGO CENTRAL
======================= */
.box span.contenedor-logo {
    width: 500px;
    left: -150px;
}

.box span.contenedor-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =======================
   TABLETS
======================= */
@media (max-width: 1024px) {

    .box {
        width: 180px;
        height: 180px;
    }

    .box span {
        transform: rotateY(calc(var(--i) * 36deg)) translateZ(340px);
    }

    .box span.contenedor-logo {
        width: 420px;
        left: -120px;
    }

    .nombre-usuario {
        font-size: 24px;
    }
}

/* =======================
   CELULARES
======================= */
@media (max-width: 768px) {

    .box {
        width: 150px;
        height: 150px;
    }

    .box span {
        transform: rotateY(calc(var(--i) * 36deg)) translateZ(270px);
    }

    .box span.contenedor-logo {
        width: 320px;
        left: -85px;
    }

    .nombre-usuario {
        font-size: 20px;
        top: -15px;
    }
}

/*=========================
    FLECHAS
=========================*/

.flecha{
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: #055199;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,.25);
    transition: all .3s ease;
    z-index: 1000;
}

.flecha:hover{
    background: #055199;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.flecha:active{
    transform: translateY(-50%) scale(.95);
}

.izquierda{
    left: 40px;
}

.derecha{
    right: 40px;
}

/* Tablets */
@media (max-width:1024px){

    .izquierda{
        left:20px;
    }

    .derecha{
        right:20px;
    }

    .flecha{
        width:55px;
        height:55px;
        font-size:26px;
    }

}

/* Celulares */
@media (max-width:768px){

    .izquierda{
        left:10px;
    }

    .derecha{
        right:10px;
    }

    .flecha{
        width:45px;
        height:45px;
        font-size:22px;
    }

}