@font-face {
    font-family: caver;
    src: url("media/fonts/AntipastoPro-Thin_trial.ttf") format('truetype');
}

@font-face {
    font-family: adequate;
    src: url("media/fonts/Adequate-ExtraLight.ttf") format('truetype');
}

*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}




.sublist:hover > .nada {
    display:flex;
    flex-direction: column;
    background: #a69785;
    margin: -24px 5px;
    line-height: 10px;
}
.nada{
    display:none;
    position:absolute;
    
}

.nada li {
    line-height: 35px;
}

.nada li a{
    font-size: 15px;
}

.nada li a:hover{
    background: #9b6b43;
}




nav{
    position: fixed;
    top:-0;
    z-index: 1;

    background: #a69785;
    background-size: cover;
    background-position: center;
    height: 85px;
    width: 100%;
}
.logo{
    width: 250px;
}


nav ul{
    float: right;
    margin-right: 20px;
}

nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a{
    color:rgb(255, 255, 255);
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 3px;
    padding: 7px 13px;
}


.active{
    background: #9b6b43;
    padding: 7px 13px;
}


.deactivate:hover{
    background: #9b6b43;
    padding: 7px 13px;
    transition: .5s;
}

.checkbtn{
    font-size: 30px;
    color: black;
    float:right;
    line-height: 80px;
    margin-left: 40px;
    cursor: pointer;
    display: none;
}

#check{
    display: none;
}




.header{
    background-image: url("media/2.jpg");
    height: 950px;
    background-repeat: no-repeat;
    background-position: center top -111px;
}

.espacio1{
    background: #a69785;
    height: 100px;
    display: flex;
    
}
.espacio1 img{
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    
}

.espacio{
    background: #a69785;
    height: 80px;
}

.espacioTITULO{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #a69785;
    height: 200px;
}

.espacioTITULO h2{
    font-family: adequate;
    font-size: 50px;
    color: white;
}



#stars{
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.5s;

    width: 200px;
    height:auto;
}



#stars.show {
    opacity: 1;
    transform: translateY(0);
}


.nosotros{
    
    height: 210px;
    background: rgb(71,39,17);
    background: linear-gradient(90deg, rgba(71,39,17,1) 0%, rgba(96,53,24,1) 35%, rgba(71,39,17,1) 100%);

}

.nosotros img{
    width: 3%;
}

.nosotros h1{
    background:#a69785;
    padding-top: 20px;
    text-align: center;
    font-size: 45px;
    font-family: adequate;
    color: rgb(255, 255, 255);
    box-shadow: 1px 10px 1px rgba(0, 0, 0, 0.074);
}

.nosotros p{
    text-align: center;
    text-orientation: center center;
    padding-top: 80px;
    font-size: 20px;
    font-family:Tahoma;
    color: rgb(235, 235, 235);

}



.galerias {
    display: flex;
    width: 100%;
    padding: 2% 1%;
    box-sizing: border-box;
    height: 60vh;
    background: rgb(71,39,17);
    background: linear-gradient(90deg, rgba(71,39,17,1) 0%, rgba(96,53,24,1) 35%, rgba(71,39,17,1) 100%);
  }
  
  .box {
    flex: 1;
    overflow: hidden;
    transition: all .5s ease;
    margin: 0 2%;
    line-height: 0;
  }
  
  .box > img {
    width: 200%;
    height: calc(100% - 10vh);
    object-fit: cover; 
    transition: .5s;
  }
  
  
  .box:hover { flex: 1 1 10%; }
  .box:hover > img {
    width: 100%;
    height: 100%;
  }
   

.vermas{
    height: 150px;
    display: flex;
    
}
.ver{
    font-size: 28px;
    color: black;
    
    margin-right: auto;
    margin-left:auto;
    margin-top: auto;
    margin-bottom: auto;
}

.ver:hover{
    box-shadow: 0 0 0 1px;
}

.ejemplares{
    height: 650px;
    color: white;
    background: rgb(71,39,17);
    background: linear-gradient(90deg, rgba(71,39,17,1) 0%, rgba(96,53,24,1) 35%, rgba(71,39,17,1) 100%);
}

.ejemplares h1{
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.5s;

    box-shadow: 1px 10px 1px rgba(0, 0, 0, 0.074);
    background: #a69785;
    text-align: center;
    font-size: 40px;
    font-family: adequate;
    color: rgb(255,255,255);
    padding-top: 10px;
    padding-bottom: 10px;
    
}











.contacto{
    height: 300px;
    background: rgb(71,39,17);
    background: linear-gradient(90deg, rgba(71,39,17,1) 0%, rgba(96,53,24,1) 35%, rgba(71,39,17,1) 100%);

}

.contacto img{
    width: 3%;
}

.contacto h1{
    padding-top: 10px;
    text-align: center;
    font-size: 35px;
    font-family: adequate;
    color: rgb(255, 255, 255);
}

.contacto p{
    text-align: center;
    text-orientation: center center;
    padding-top: 10px;
    font-size: 20px;
    font-family:Tahoma;
    color: rgb(235, 235, 235);
}


.contacto_info{
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

.contacto_info img{
    width: 150px;
    margin: auto auto;
}

.contacto_info h1{
    font-size: 25px;
}


.XD{
    display: flex;
    margin-left: auto;
    margin-right: auto;
}


.correo{
    margin-left: auto;
    margin-right: auto;
    display: flex;
}
.correo img{
    width:38px;
    height:38px;
    margin-right: 10px;
}

.numero{
    margin-left: auto;
    margin-right: auto;
    display: flex;
}
.numero img{
    width:38px;
    height:38px;
    margin-right: 10px;
}
.ubi{
    margin-left: auto;
    margin-right: auto;
    display: flex;
}
.ubi img{
    width:38px;
    height:38px;
    margin-right: 10px;
}


.contacto_num{
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

.contacto_num p{
    text-align: center;
    padding-top: 10px;
    font-size: 20px;
    font-family:Tahoma;
    color: rgb(235, 235, 235);
    padding-bottom: 10px;
}

.contacto .copyright{
    color:white;
    text-align: center;
    font-size: 12px;
}


@media (max-width: 1150px) {
    

    .header{
        height: 250px;
        background-size:cover;
        height: 320px;
        background-position: top 30px center;
    }
    .nosotros{
        height: 250px;
    }
    
    .galerias{
        height: 1000px;
        display: flex;
        flex-direction: column;
    }

    .box img{
        height: 150px;
    }

    .box > img {
        width: 100%;
        height: calc(100% - 10vh);
        object-fit: cover; 
        transition: .5s;
      }
   
      .box:hover { flex: 1 1 5%; }
      .box:hover > img {
        width: 100%;
        height: 100%;
      }
    

    .XD{
        height: 400px;
        display: flex;
        flex-direction: column;
        margin-top: 30px;
    }

    .contacto{
        height: 520px;
        background-position:center;
    
    }
    /**EMPEZO LA MODIFICACION **/
    .contacto_num h1{
        font-size: 15px;
    }

    .contacto_num p{
        font-size: 15px;
    }

    .contacto_num img{
        width:18px;
        height:18px;
        margin-top: auto;
        margin-bottom: auto;
    }
    /**TERMINO LA MODIFICACION **/

    .checkbtn{
        display: block;
    }
    ul{
        position:fixed;
        width: 100%;
        height: 100vh;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
        background:rgba(166, 151, 133, 0.584);
        background-position: bottom;
    
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    

    #check:checked ~ ul{
        left: 0;
    }

    .tipos{

        display: flex;
        flex-direction: column;
        margin-top: 20px;
        height: 1200px;
    }





    .espacioTITULO{
        height: 130px;
        
    }
    
    .espacioTITULO h2{
        margin-top: 20px;
        text-align: center;
        font-size: 20px;
        color: white;
    }
    
    
    
    #stars{
        width: 120px;
        max-height:100px;
    }
}