@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);/*fuentes google fonts*/
@import 'https://fonts.googleapis.com/css?family=Open+Sans';

* {
  box-sizing: border-box;
}

body{
  font-family: 'Open Sans', sans-serif;
}

/*-------------------Estilos del header-------------------*/
.header {
  min-height: 60px;
  position: fixed;
  margin-top: 0px;
  min-width: 100%;
  z-index: 999999999999999999999;
  -webkit-transition: 1s linear;
  margin-left: 0px;
}

.header .contenedor {/*cabecera y contenedor*/
  display: flex;
  justify-content: center;;/*distancia extremo a extremo contenedor y logo*/
  width: 100%;
}

.logo, .icon-menu {/*afecta la ubicacion de los 2*/
  margin: 5px;
  color: #fff;
  z-index: 9999999999999999999999999;
}

.logo{
  min-width: 15%;
  min-height: 50px;
  display:  flex;
  align-items: center;
  position: absolute;
  left: 0;
  top: 80px;
}

.logo img{
  -webkit-transition: 1s linear;
}

.icon-menu {  /*colores del icono de menu y personalizacion*/
  display: block;
  width: 40px;
  height: 40px;
  font-size: 30px;
  background: #FBA919;
  text-align: center;
  line-height: 45px;
  border-radius: 5px; /*un poquito redondeado*/
  margin-left: auto; /*se ubica al extremo sin importar que navegador se use*/
  cursor: pointer;/*icono de la manito al pasar el mouse*/
}

/*------------------Estilos del menu------------------*/
.nav { /*Botonera de navegacion LINKS y posiciones*/
  position: absolute;
  top: 150px;/*distancia desde arriba*/
  left: -100%;/*para que no se vea se desplaza hacia la isquierda toda la lista*/
  width: 100%;
  transition: all 0.4s;/*para que la animacion sea mas agradable de ver*/
  z-index: 1;
  margin-top: -400px;
}
.menu {
  list-style: none;/*sin puntos*/
  padding: 0; /*espacio sobrante*/
  margin: 0;
}
.menu__link {   /*Colores del menu desplegable*/
  display: block;
  padding: 15px; /*distancia*/
  background: #FBA919;
  text-decoration: none;/*no esta subrayado*/
  color: #fff;
}
.menu__link:hover, .select {  /*evento para pasar el mouse sobre los links y cambien de color, SELECT deja la opcion marcada con otro color*/
  background: white;
  color: #FBA919;
  min-height: 52.5px;
  max-height: 52.5px;
}
.mostrar {
  left: 0;/*para que regrese a su posicion original la lista del menu*/
}




/*Sticky Header Style*/
/* ---------------------------------------- */
body.sticky-header {
  padding-top: 0px;
}
body.sticky-header header {
  min-height: 53px;
  background-color: rgba(52, 152, 219, 0.9);
  width: 100%;
  -webkit-transition: 1s linear;
}
body.sticky-header header .logo img {
 margin-left: 100px;
margin-top: -160px;
 width:25%;
-webkit-transition: 1s linear;

}

body.sticky-header header .container-bar {
 margin-left: 50px;
}

body.sticky-header header .carrito {
 margin-right: 50px;
  margin-top: 5px;
}

body.sticky-header .container-all-index{
  position: relative;
  //top: 490px;
}


@media(min-width:200px) {   
  .logo {
    width: 25%;
    height: 25%;
  }

  .logo img{
    width: 100%;
    max-height: 180px;
    object-fit: cover;
  }

  .menu{
    margin-top: 400px;
  }
}



/*----------------estilos responsive-----------------*/
@media(min-width:200px) { 
  

  .logo {
    width: 25%;
    height: 25%;
  }

  .banner__titulo {
    font-size: 20px;
  margin-top: 50px;
  background: rgba(0,0,0,0.7);
  }
  .banner__txt {
    display: none;
    font-size: 13px;
    margin: 7px 0;
  background: rgba(0,0,0,0.7);
  }


}

@media(max-width:1000px) {
  /*Sticky Header Style*/
/* ---------------------------------------- */

.logo img{
  margin-top: -125px;
  width: 120%;
}
  
body.sticky-header {
  padding-top: 0px;
}
body.sticky-header header {
  min-height: 53px;
  background-color: rgba(52, 152, 219, 0.9);
  width: 100%;
  -webkit-transition: 1s linear;
}
body.sticky-header header .logo img {
 margin-left: 0px;
 margin-top: -150px;
 width: 75%;
}

.icon-menu{
  height: 50px;
  width: 50px;
  margin-top: 10px;
  margin-right: 10px;
}
.fa-bars{
  position: relative;
  top: 4px;
  font-size: 40px;
}

.nav ul{ /*Botonera de navegacion LINKS y posiciones*/
  width: 100%;
  text-align: center;
  font-family: protest;
  font-size: 20px;
  margin-top: 70vh;
}


}


@media(min-width:768px) {  
  .banner__titulo {
    font-size: 30px;
  }
  .cursos__titulo {
    font-size: 40px;
  }
  .logo {
    width: 18%;
    height: 18%;
  }
  .banner__txt {
    display: block;
    font-size: 15px;
    margin: 7px 0;
  background: rgba(0,0,0,0.7);
  }


}


@media(min-width:1024px) {  
  .contenedor {
    width: 1000px;
  }
  .section__titulo {
    font-size: 50px;
    margin: 30px 0;
  }
  .nav {
    position: static;
    width: auto;
  }
  .menu {
    display: flex;
  }
  .icon-menu {
    display: none;
  }
  .menu__link {
    background: none;
    font-size: 17px;
  }
  .select {
    color: #fff;
    background: #FBA919;
  }
  .banner__titulo {
    font-size: 40px;
  margin-top: 20px;
   background: rgba(0,0,0,0.7);
  }
  .banner__txt {
    font-size: 20px;
  background: rgba(0,0,0,0.7);
  }



}



@media(min-width:1280px) {
  .contenedor {
    width: 1200px;
  }
  .logo {
    font-size: 60px;
  }
  
  .banner .contenedor {
    top: 55%;
  }


}