*,
*::before,
*::after
{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

header{
    width: 100%;
    height: 10vh;
    display: flex;
    background-color: snow;
    align-items: center;
    z-index: 1;
    position: relative;
  
    

}

nav{
    height: 100px;
    width: 100%;
    display:flex;
    justify-content: space-between;
    align-items: center;

}

h1{
    font-family: 'LetsTrace', sans-serif;
    color: black;
    letter-spacing: 8px;
    font-size: 25PX;
    text-decoration: none;
    margin-left: 20px;
    white-space:nowrap;
}

h1 a{
    color: black;
}

h1 a:hover{
    color: hotpink;
    
}

.bar-btn{
    font-family: 'Roboto', sans-serif; 
    color: black;
    font-size: 20px;
    margin-right: 20px;
    cursor: pointer;

}

.nav-menu{
    font-family: 'Roboto', sans-serif; 
    color: black;
    font-size: 15px;
    position:fixed;
    width: 100%;
    height: 0vh;
    top: 65px;
    background: snow;
    text-align: center;
    transition: all 0.5s;
}

.nav-menu li{
    display: none;
    line-height: 30px;
    margin: 50px 0;
    transition: all 0.5s;


}

.nav-menu li a{
    color: black;
    font-size: 15px;
    font-weight: 100; 
    position: relative;
    text-decoration: none;
    padding: 0 10px;


}


/* el estilo del cambio al pasar el mouse*/

 .nav-menu li a:after{
    content: "";
    position: absolute;
    background-color: hotpink;
    height: 2px;
    width: 0;
    left: 0;
    bottom: -5px;
    transition: .3s;


}

.nav-menu li :active, .nav-menu li a:hover:after {
    width: 100%;

}

#check {
    display: none;
}

#check:checked ~ .nav-menu {
    height: 100vh;

}

#check:checked ~ .nav-menu li{
    display: block;

}

/*Responsive desktop*/

@media screen and (min-width: 900px){
    h1 {
        margin-left: 50px;

    }

    nav{
        height: 100px;

    }

    .bar-btn{
        display:none;

    }

    .nav-menu{
        position:relative;
        height: 100px;
        top: 0;
        background: none;
        transition: none;
        text-align: right;
        margin-right: 50px;
    }

    .nav-menu li{
        display: inline-block;
        line-height: 100px;
        margin: 0 20px;
        transition: none;
    }

    .nav-menu li a{
        font-size: 15px;

    }
    
}

/*Contenido particular pág*/


.texto {
    font-family: 'Roboto', sans-serif; 
    position: relative;
    margin: auto;
    padding-top: 60px;
    padding-bottom: 20px;
    width: 90%;
    
    
  
  }
  
  @media  (min-width:900px) {
  
    .texto {
      position: absolute;
      top: 60px;
      left: 70px;
      padding-bottom: 20px;
      width: 45%;
      
    
    }
    
  }
  
  
  .texto h2 {
      font-family: 'LetsTrace', sans-serif;
      color: black;
      font-size: 1.5rem;
      letter-spacing: 5px;
      text-decoration: none;
      margin-bottom: 35px;
  }
  
 
  
  .texto p {
      text-align:justify;
      margin-top: 15px;
      font-size: .9rem;
  }
  
  .ingles p {
    font-family: 'Roboto', sans-serif; 
      color: grey;
  }
  



.texto2 {
    font-family: 'Roboto', sans-serif; 
    position: relative;
    margin: auto;
    padding-top: 60px;
    padding-bottom: 20px;
    width: 90%;
    
  
  }
  
  @media  (min-width:900px) {
  
    .texto2 {
      position: absolute;
      top: 60px;
      left: 54%;
      padding-bottom: 20px;
      width: 45%;
    
    }
}


      
  .texto2 h2 {
    font-family: 'LetsTrace', sans-serif;
    color: black;
    font-size: 1.5rem;
    letter-spacing: 5px;
    text-decoration: none;
    margin-bottom: 35px;
}



.texto2 p {
    text-align:justify;
    margin-top: 4px;
    font-size: .9rem;
}

.texto2 p a{
    color: black;
}

.texto2 p a:hover{
    color: hotpink;
}

.ingles p {
    color: grey;
}



/*botón arriba*/

.btn-up {
    position: relative;
}
.lnr-chevron-up {
    display: none;
    padding: 10px;
    background: rgba(0, 0, 0, .35);
    color: white;
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;

  }
  
 