*,
*::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 pag*/

.texto {
    width: 200px;
    height: 300px;
    font-family: 'Roboto', sans-serif; 
    margin: 0 auto;
    padding-top: 390px;
    align-items: center;  
    text-align: center;  
  

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

  .texto p {
    margin-top: 6px;
    font-size: .9rem;
}
  
  
  
 .redes {
    display: grid;
    grid-template-columns: repeat(3, 1fr );
    grid-template-rows:auto;
    grid-gap: 5px;  
    margin-top: 10px;

   }

   img {
       width: 50px;
       height: 50px;
       opacity: 0.5;
   }

   .redes img:hover {
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    -o-transform:scale(1.1);
    transform:scale(1.1);
    }




  
 
