:root {
  --color1: rgb(239, 165, 0);
  --color2: rgb(5, 5, 4);
  --color3: rgba(183, 118, 0, 0.888);
  --color4: rgb(43, 88, 12);
  --color5: rgb(255, 214, 73);

  --fondo: #efefef;
  --titulos: 33px;
  --margenes: 60px;
  --espacios: 10px;
  --espacios-contenido: 45px;
}

@font-face{
  font-family:'Spartan' ;
  src: url(../fonts/Spartan-Regular.ttf);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body {

  font-family: 'Spartan', sans-serif;
  background: var(--fondo);

}

img {
  vertical-align: top;
}


.contenedor {
  margin: auto;
  padding: var(--margenes) 0;
  width: 90%;
  max-width: 1000px;
  text-align: center;
  overflow: hidden;
}


.after::after {
  content: '';
  display: block;
  margin: auto;
  margin-top: var(--espacios);
  width: 100px;
  height: 2px;
  background: var(--color4);
  margin-bottom: var(--espacios-contenido);
}


/*Header*/

nav {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  position: fixed;
  background: var(--color5);
  justify-content: space-around;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
  top: 0;
  transition: top 0.5s;
  z-index: +100;




}

.contenedor-nav {
  display: flex;
  margin: auto;
  width: 90%;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  height: inherit;
  background: transparent;

}

.enlaces ul {
  list-style: none;
  display: flex;



}

.enlaces .nav-list li {
  display: inline-block;
  position: relative;




}

.enlaces ul li>a:hover {
  background: rgb(239, 163, 0);
  transition: 0.4s ease;

}

.enlaces ul li a {
  color: #000;
  display: block;
  text-decoration: none;
  padding: 17px;
  font-weight: bold;





}



.enlaces ul li:hover .children {
  display: block;
  border-top: 4px solid var(--color4);



}


.enlaces ul li .children {
  display: none;
  background: var(--color5);
  position: absolute;
  width: 250%;
  overflow-y: scroll;

}

.enlaces ul li .children li {
  display: block;

}

.enlaces ul li .children li a {
  display: block;
  text-align: left;
  line-height: 12px;
}


nav .nav-list {
  display: inline-block;
  text-decoration: none;
  transition: 0.4s ease;

}


.logo, .logo img {
  height: 50px;
}

.icono {
  display: none;
  font-size: 24px;
  padding: 23.5px 20px;
}




/*footer*/

footer {
  width: 100%;
  height: 400px;
  background: url(../images/banners/footer.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-color: rgba(0, 0, 0, .6);


}
.footercontenedor{
  background-color: rgba(0, 0, 0, .6);
  height: 400px;
}
.info{
  width: 95%;
  margin: auto;
  padding: 40px 0;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;

}



.inf-footer{
display: block;
 width:200px;
height: 300px;
margin-top: 70px;
  /*width:50%;
  height: 300px;
  
  display:block;
  padding: 10px;
  margin:50px auto;*/
  

  
  
  

}
.info .inf-footer img{
  width: 3.5em;
  height: 3.5em;
  display: block;
  margin:0 auto;

  

}
  
  .inf-footer h1 {
    margin-top: 10px;
    font-size: 1.3em;
    text-align: center;
 
  
  }
  
  .inf-footer .pfooter {
    font-size: 1.1em;
    line-height: 1.2em;
    color: #efefef;
    margin-top: 15px;
    text-align: justify;
  
  
  
  }


  .inf-footer .mail{
    font-size: 1.1em;
    display: block;
    text-decoration: none;
    color: #efefef;
    text-align: center;
    margin-top: 40px;
    
  }
  .inf-footer .rs{
    
    margin:20px auto;
  }
  .inf-footer .rs img{
    display:inline-block;
    height:41px;
    height:41px;
    margin: auto 20px;
  }

.copyright-contenedor {
  width: 100%;
  height: 62px;
  background: var(--color5);
  display: flex;
  justify-content: space-between;
  margin: auto;
}

.copyright {
  height: 50px;
  display: flex;
  align-items: center;
  margin: auto;
  width: 300px;
}

.copyright a {
  text-decoration: none;
  font-size: 15px;
  color: var(--color4);
}

.copyright p {
  color: var(--color2);
  font-size: 12px;
}


@media screen and (max-width:760px) {
  :root {
    --margenes: 30px;
  }

  .icono {
    display: block;
    cursor: pointer;
  }

  .enlaces {
    position: absolute;
    top: 95%;
    background: var(--color5);
    left: -70%;
    height: 100vh;
    width: 50%;
    transition: all 0.4s ease;
    overflow: auto;


  }

  .enlaces::-webkit-scrollbar {
    width: 7px;
  }

  .enlaces.left {
    left: 0;

  }

  .enlaces ul {
    display: block;
  }

  .enlaces .nav-list li {

    width: 100%;
    height: 80px;
    padding: 15px;
    text-align: center;


  }

  .enlaces .nav-list li a {
    font-size: .9em;
  }


  .enlaces .nav-list li:hover .children {
    display: none;

  }

 


  .textos>h1 {
    font-size: 70px;
  }

  .textos>h2 {
    font-size: 25px;
  }

  footer{
    height:600px;
  }
  .footercontenedor{
    height:100%;
  }

  .info {
    max-width:300px;
    padding-top: 20px;

    

  }
  .inf-footer{
  
      margin-top: 10px;
      height: 100%;
  

  }

  .inf-footer h1 {
    margin-top: 15px;
    font-size:1em;
    text-align: center;
   


  }
  .inf-footer .mail{
    font-size: 1em;
    display: block;
    text-decoration: none;
    color: #efefef;
    text-align: center;
    margin-top:10px;
    
    
  }


  .inf-footer .pfooter {
    font-size: .9em;
    width: 100%;
  
  
  }
  .rs{
    padding-bottom: 20px;
  }


  .copyright {
    padding-left: 15px;
  }

}

@media screen and (max-width:580px) {
  .enlaces .nav-list li:hover .children {
    display: none;

  }
  footer{
    height:600px;
  }
  .footercontenedor{
    height:100%;
  }

  .info {
    max-width:300px;
    

  }

  .inf-footer {
    margin-top: 10px;
    height: 100%;

  }

  .inf-footer img {
    width:10px;
  }

  .inf-footer h1 {
    font-size: 1em;
   

  }

  .inf-footer .pfooter {
   font-size: .8em;
    text-align: left;
    padding-left: 20px;
    overflow: hidden;


  }

  .inf-footer .mail {
    padding-top:5px;
    font-size: .8em;
  }
  .rs{
    padding-bottom: 20px;
  }

  .copyright-contenedor {
  
    height:50px;
   
  }






}