/* formato para pagina principal */
/* fuentes para utilizar */

@import url('https://fonts.googleapis.com/css2?family=Praise&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');

*{
    /* configuraciones iniciales para todos los elementos */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* espacio principal */
body{
    /* contenedor principal */
    background-color: cyan;
    width: 100vw;
    height: 100vh;
}

/* zona de navegacion, botones */
.botonera{
    /* diseño */
    width: 90vw;
    height: 10vh;
    font-family: 'Rock Salt', cursive;
    /* organizar contenido */
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
}

/* formato de botones */
button {
    font-size: 18px;
    color: red;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
  }
  
  button:focus,
  button:hover {
    color: #fff;
  }
  
  button:focus:after,
  button:hover:after {
    width: 100%;
    left: 0%;
  }
  
  button:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
  }

/* titulo principal */
.titulo{
    /* alto y ancho */
    width: 70%;
    height: 20%;
    /* organizar el contenido */
    margin: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* propiedades del texto */
    background-color: white;
    font-size: 2rem;
    color: red;
    text-align: center;
    font-family: 'Praise', cursive;
    letter-spacing: 0.5em;
}

/* espacio con informacion personal */
.info{
    /* alto y ancho */
    width: 85vw;
    margin: auto;
    /* organizar el contenido*/
    margin-top: 5%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.texto{
    width: 75vw;
    padding-right: 2%;
    /* proporciones del texto */
    font-size: 1.5rem;
    font-family: 'Lobster', cursive;
    color: red;
    text-align: justify;
}

.foto{
    /* ancho */
    width: 30%;
}

.foto img{
    width: 100%;
    /* borde para la foto */
    border-radius: 15%;
    border: 10px solid red;
}