
*,
*::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*/
.galeria {
    font-family: 'Roboto', sans-serif; 
    padding-top: 50px; 
    width: 95%;
    margin: auto;
}

.contenedor-imagenes{
    display: grid;
    margin: auto;
    justify-content: space-around;
    grid-template-columns: repeat(1, 1fr );
    grid-template-rows:auto;
    padding: 20px;
    grid-gap: 10px;  
    flex-wrap: wrap;
    border-radius: 3px;
    
}

.contenedor-imagenes .imagen{
    position: relative;

}

.imagen  img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay h2 {
    font-family: 'Roboto', sans-serif; 
    font-size: 17px;
    position:absolute;
    font-weight: 100;
    top: 50%;
    left: 50%;
    text-align: center;
    transform:translate(-50%, -50%);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0 ;
    background: rgba(255, 255, 255, .75);
    width: 100%;
    height: 0;
    transition: .5 ease;
    overflow: hidden;
}

.imagen:hover .overlay{
    height: 100%;
    color: black;
    
} 


/* columnas responsive */

@media screen and (min-width: 768px){
    .contenedor-imagenes{
        grid-template-columns: repeat(3, 1fr );

    }


}

/*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;

  }


  /*FOOTER*/
.site-footer
{
  padding:0px 0 0px;
  height: 10vh; 
  position: relative; 
}

.container hr {
    background: rgba(0, 0, 0, .15);
    border: 0;
    height: 1px;
}

.row{
    width: 12%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
   
}
.redes{
 
    display: grid;
    place-content: center;
    grid-template-columns:repeat(3,1fr);
    grid-gap: 5px;

}


.redes img {
    width: 35px;
    height: 35spx;
    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);
 }












      

  


  
