*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a{
  text-decoration: none;
  color: inherit;
}

h1{
   text-align: center;
    font-style: 10vw;
}

p{
    font-size: 5vw;
}


body{
    background-color: dimgrey;
    margin: 0;
}

header{
    display: flex;
    justify-content: center;
    flex-direction: row;
    position: sticky;
    top: 0;
    left: 0;
    height: 100px;
    background-color: crimson;
    color: #fff;
    min-width: 100px;
    max-width: 
    z-index: 500;
}

footer{
    background-color: crimson;
}

.gallery{
    width:900px;
    display: flex;
    overflow-x: scroll;
}
.gallery div{
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 20px;
    padding: 10px;
    flex: none;
}

.gallery div img {
    width: 100%;
    filter: grayscale(100%);
    transition: transform 0.5s;
    opacity: .7;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.gallery-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10% auto;
}

#backBtn, #nextBtn {
    width: 50px;
    cursor: pointer;
    margin: 40px;
}

.gallery div img:hover{
   filter: grayscale(0);
   cursor: pointer;
   transform: scale(1.1);
   opacity: 1;
}

.limpiador{
    clear: both;
}

.footer{
    display: flex;
    justify-content: space-between;
}

.seccion{
    padding: 20px;
    flex-direction: column;
}

.logo{
    position: absolute;
    left: 10px
}

.menuhead {
    top: 50%;
    left: 50%;
    font-size: 25px;
    padding: 20px;
    color: black;
    text-decoration: none;
}

.divhead{
    padding-top: 40px;
}

.menuprincipal{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.opcionmenu{
    width: 300px;
    height: 200px;
    text-align: center;
    
}

.decoracion{
  position: relative;
  margin: 100px auto;
  text-align: center;
  width: 600px;
}

.decoracion:before{
    content:" ";
  display: block;
  height: 2px;
  width: 130px;
 position: absolute;
  top: 50%;
  left: 0;
  background: red;
}

.decoracion:after{
  content:" ";
  height: 2px;
  width: 130px;
  background: red;
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
}

@media screen and (max-width: 859px) {
        
    a.menuhead {
    display: none;
      }
    
    div.logo{
       left: 30%; 
    }
    
    h2{
        font-size: 2vw;
    }
    
    div.seccion{
        padding: 5px
    }
}

@media screen and (max-width: 750px) {
    
    div.decoracion{
        width: 200px;
    }
    
    div.footer{
        flex-direction: column;
        justify-content: center;
    }
    
    div.decoracion{
        display: none;
    }
    
    div.gallery-wrap{
        display: none;
    }
    
    img.imagen-principal{
        height: 50%;
    }
} 

@media screen and (max-width: 930px) {
    div.menuprincipal{
     flex-direction: column;
         gap: 50px;
    }
    div.opcionmenu{
        margin-top: 10px;
    }
} 

