@import url('https://fonts.googleapis.com/css2?family=Domine&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Candal&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Secular+One&display=swap');

* {
  font-family: 'Secular One', sans-serif;
}

body{
background-color:rgb(22, 54, 43);
margin: 0;
padding: 0;
overflow-x: hidden;
padding-top: 3vmax; /* Relleno superior igual a la altura de la cabecera*/
}

.titulo{
  width: 100vw;
  padding: 1vmax;
  height: 4vmax;
  position: fixed;
  font-size: 2vmax;
  text-align: center;
  color: #ffffff;
  background-color: rgb(18, 109, 74);
}

  
nav {
  position: fixed;
  width: 100vw;
  height: auto;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: rgb(0, 78, 48);
  }

nav button{
  /* extraído de uiverse.io by @meermubashar */
    width: 20vmax;
    height: 3vmax;
    font-size: 1.4vmax;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
    color: rgb(189, 255, 224) ;
    font-weight: 700;
    position: relative;
    transition: all 0.5s;
    z-index: 1;
   }
   
   button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1vmax;
    height: 100%;
    background-color:#ffffff;
    z-index: -1;
    transition: all 0.5s;
   }
   
   button:hover::before {
    width: 100%;
   }
   
   button:hover {
    color: rgb(0, 0, 0);
   }
   
   button:active:before {
    background: #b9b9b9;
}

.presentacion {
  display: flex;
  flex-wrap: nowrap;
  width: 100vw;
  height: auto;
  padding: 6.5vmax;
  align-items: flex-start;
  justify-content: space-around;
  background-color: rgb(96, 167, 143);
}

  .texto {
 
  height: auto;
  font-size: 1.4vmax;
  font-family: 'domine', sans-serif;
  text-align: justify;
  padding-right: 10vmax;
  padding-top: 2vmax;
  }

  .fotopersonal{
    width: 60%;
    height: auto;
    margin: 0.5vmax;
    padding: 2vmax;
  }

  .fotopersonal img{
    width: 100%;
    height: auto;
    border: #84ffe4;
    border-style: groove;
  }

  footer {
    
    display: flex;
    width: 100%;
    background-color: rgb(42, 122, 102);;
    justify-content: center; 

}
