@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=B612&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

*{
    /* Configuraciones iniciales para todos los elementos */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Espacio principal */
.cuerpo{
    /* Contenedor principal */
    background-color: #F1EBDB;
    width: 100vw;
    height: 100vh;
}

a {
text-decoration: none;
}

.nombre-botones{
    /* Alto y ancho */
    width: 90vw;
    height: 17vh;
    margin: auto;

    /* Organizar el contenido */
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
}

/* Botones */
.volver{
    width: 15vw;
}

.ingresar{
    width: 15vw;
}

.btn {
    display: block;
    padding: 0.7em 1em;
    background: transparent;
    outline: none;
    border: 0;
    color: black;
    letter-spacing: 0.1em;
    font-family: 'B612', sans-serif;
    font-size: 1.3vw;
    font-weight: bold;
    z-index: 1;
   }
   
   .cube {
    position: relative;
    transition: all 0.5s;
   }
   
   .cube .bg-top {
    position: absolute;
    height: 10px;
    background: #0D05F2;
    bottom: 100%;
    left: 5px;
    right: -5px;
    transform: skew(-45deg, 0);
    margin: 0;
    transition: all 0.4s;
   }
   
   .cube .bg-top .bg-inner {
    bottom: 0;
   }
   
   .cube .bg {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    background: #0D05F2;
    transition: all 0.4s;
   }
   
   .cube .bg-right {
    position: absolute;
    background: #0D05F2;
    top: -5px;
    z-index: 0;
    bottom: 5px;
    width: 10px;
    left: 100%;
    transform: skew(0, -45deg);
    transition: all 0.4s;
   }
   
   .cube .bg-right .bg-inner {
    left: 0;
   }
   
   .cube .bg-inner {
    background: #F1EBDB;
    position: absolute;
    left: 2px;
    right: 2px;
    top: 2px;
    bottom: 2px;
   }
   
   .cube .text {
    position: relative;
    transition: all 0.4s;
   }
   
   .cube:hover .bg-inner {
    background: #8B88F2;
    transition: all 0.4s;
   }
   
   .cube:hover .text {
    color: #28282d;
    transition: all 0.4s;
   }
   
   .cube:hover .bg-right,
   .cube:hover .bg,
   .cube:hover .bg-top {
    background: #28282d;
   }
   
   .cube:active {
    z-index: 9999;
    animation: bounce .1s linear;
   }
   
   @keyframes bounce {
    50% {
     transform: scale(0.9);
    }
   }
   
/* Título */
.nombre{
    /* Alto y ancho */
    width: 50vw;

    /* Propiedades del texto */
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 12vh;
    font-size: 7vw;
    text-align: center;
    color: #0D05F2;
}
.apellido{
    /* Alto y ancho */
    width: 40vw;
    height: 6vh;
    margin: auto;

    /* Organizar el contenido */
    display: flex;
    justify-content: center;
    align-items: flex-start;

    /* Propiedades del texto */
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 3vw;
    word-spacing: 2em;
    text-align: center;
    color: #0D05F2;   
}

/* Espacio para información personal */
.sobremi{
    /* Alto y ancho */
    width: 31.6vw;
    height: 6vh;

    /* Organizar el contenido */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5vw;
    margin-top: 3%;

    /* Propiedades del texto */
    font-family: 'Press Start 2P', cursive;
    background-color: #0D05F2;
    color: #F1EBDB;
    font-size: 1.5vw;
}
.info{
    /* Alto y ancho */
    width: 90vw;
    height: 60vh;
    margin: auto;

    /* Organizar el contenido */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Texto */
.espacio1 {
    /* Alto y ancho */
    width: 35vw;
    height: 100%;

    /* Organizar el contenido */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.texto {
    width: 100%;
    height: 60%;
    border-bottom: #0D05F2 solid;
    border-top: #0D05F2 solid;
    border-left: #0D05F2 solid;
    color: #0A04BF;
    font-weight: bold;
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    font-size: 1.5vw;
    padding-top: 1.5vw;
    padding-left: 1vw;
    padding-right: 1vw;
}

.espacio1b {
    width: 100%;
    height: 40%;

    display: flex;
}

/* Ventana Windows ojo */
.espacio1ba {
    width: 50%;
    height: 100%;
    border-bottom: #0D05F2 solid;
    border-left: #0D05F2 solid;
    border-right: #0D05F2 solid;

    background-image: url("../img/ojo.jpg");
    background-size: 100% 100%;
}

/* Yinyang */
.espacio1bb {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yin-yang {
    width: 50px;
    box-sizing: content-box;
    height: 25px;
    background: #F1EBDB;
    border-color: #0D05F2;
    border-style: solid;
    border-width: 2px 2px 26px 2px;
    border-radius: 100%;
    position: relative;
  }
  .yin-yang:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    background: #F1EBDB;
    border: 9.4px solid #0D05F2;
    border-radius: 100%;
    width: 6.25px;
    height: 6.25px;
    box-sizing: content-box;
  }
  .yin-yang:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #0D05F2;
    border: 9.4px solid #F1EBDB;
    border-radius: 100%;
    width: 6.25px;
    height: 6.25px;
    box-sizing: content-box;
  }

  /* Foto perfil */
.foto{
    width: 30vw;
    height: 100%;
    border: #0D05F2 solid;
    background-image: url(../img/foto.jpg);
    background-size: cover;
}

.espacio2 {
    width: 35vw;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Fecha de nacimiento */
.espacio2a {
    width: 7%;
    height: 100%;
    writing-mode: vertical-rl; 
    font-size: 2vw;
    font-family: 'B612', sans-serif;
    background-color: #0D05F2;
    color: #F1EBDB;
    text-align: center;
}

.espacio2b {
    width: 90%;
    height: 100%;
    padding-left: 2vw;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Cartel psicodélico */
.espacio2ba {
    width: 100%;
    height: 35%;
    
    --s: 7vw; /* control the size */
    --c: #F1EBDB; /* first color */
    
    --_g: #0000 52%,var(--c) 54% 57%,#0000 59%;
    background: 
     radial-gradient(farthest-side at -33.33% 50%,var(--_g)) 0 calc(var(--s)/2),
     radial-gradient(farthest-side at 50% 133.33%,var(--_g)) calc(var(--s)/2) 0,
     radial-gradient(farthest-side at 133.33% 50%,var(--_g)),
     radial-gradient(farthest-side at 50% -33.33%,var(--_g)),
     #0D05F2; /* second color */
    background-size: calc(var(--s)/4.667) var(--s),var(--s) calc(var(--s)/4.667);
  }
  
/* Frase */
.espacio2bb {
    width: 100%;
    height: 50%;
    padding-top: 2vw;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5vw;
    color: #0D05F2;
}

/* Cambiar la disposición en las pantallas de teléfonos */
@media only screen and (max-width: 600px) {
    .nombre-botones {
        display: flex;
        justify-content: space-between;
    }
    .volver{
        width: 14%;
    }

    .ingresar {
        width: 20%;
    }

    .btn {
        font-size: 1.8vw;
    }
    .nombre {
        width: 60%;
        font-size: 12vw;
    }

    .apellido {
        font-size: 4.7vw;
    }

    .sobremi {
        width: 90vw;
        height: 5vh;
        font-size: 2vw;
    }

    .info {
        display: flex;
        flex-direction: column;
        height: max-content;
    }

    .espacio1 {
        width: 100%;
        height: 20vh;
    }

    .texto {
        padding-top: 5vh;
        font-size: 2.5vw;
        height: 100%;
        border-bottom: #0000;
        border-right: #0D05F2 solid;
    }

    .espacio1b {
        display: none;
    }

    .foto {
        width: 100%;
        height: 100vh;
    }
    
    .espacio2 {
        width: 100%;
        height: 30vh;
        display: flex;
        flex-direction: column;
    }

    .espacio2a {
        width: 100%;
        height: 3vh;
        writing-mode: horizontal-tb;
        letter-spacing: 1.5em;
    }

    .espacio2b {
        width: 100%;
        height: 80%;
        padding: 0%;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .espacio2bb {
        width: 65%;
        text-align: center;
        font-size: 3vw;
    }

    .espacio2ba {
        width: 35%;
        height: 70%;
        padding-top: 3vh;
    }
  }

  