@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;
}

img {
  display: block;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #ddd;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Yanone Kaffeesatz', sans-serif;
  letter-spacing: 0.5px;/*espacio entre letras*/
}

/*-------------------Estilos del header-------------------*/
.header {
  height: 90px;
  background: #fff;
  position:fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 9999999999999999999;
}

.header .contenedor {/*cabecera y contenedor*/
  display: flex;
  justify-content: space-between;/*distancia extremo a extremo contenedor y logo*/
  margin: auto;
}

.logo, .icon-menu {/*afecta la ubicacion de los 2*/
  margin: 5px;
  color: #fff;
}

.logo{
  width: 25%;
  height: 25%;
}

.logo img{
  max-width: 25%;
}

.icon-menu {  /*colores del icono de menu y personalizacion*/
  display: block;
  width: 40px;
  height: 40px;
  font-size: 30px;
  background: #66D9D9FF;
  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*/
}

.icon-menu i{
  position: relative;
  top: -3px;
}

/*------------------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;
  
}
.menu {
  list-style: none;/*sin puntos*/
  padding: 0; /*espacio sobrante*/
  margin: 0;
  margin-top: 0px;
}
.menu__link {   /*Colores del menu desplegable*/
  display: block;
  padding: 15px; /*distancia*/
  background: #66D9D9FF;
  text-decoration: none;/*no esta subrayado*/
  color: black;
  font-size: 70px;
  text-align: center;
}
.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: #66D9D9FF;
  cursor: pointer;
}
.mostrar {
  left: 0;/*para que regrese a su posicion original la lista del menu*/
}

.menu__item{
  margin-top: 13px;
}
#otros{
  background: #66D9D9FF;
  border-radius: 10px;
}

#otros2:hover{
  background: #084d4d;
  color: #fff;
  border-radius: 10px;
}

@media(min-width:200px) {   
  .logo {
    width: 25%;
    height: 25%;
  }

  .logo img{
    width: 100%;
    max-height: 180px;
    object-fit: cover;
  }

  .menu{
    margin-top: 400px;
  }
}

@media(min-width:768px) {  
  .logo {
    width: 28%
  }

  .icon-menu{
    height: 90px;
    width: 90px;
    font-size: 70px;
  }

  .icon-menu i{
    top: 10px;
  }

  .menu{
    margin-top: 80px;
  }
}

@media(max-width:1000px) { 
    header{
    position: fixed;
    width: 100%;
    z-index: 9999;
    min-height: 130px;
  }

  .logo {
    min-width: 50%;
    min-height: 50%;
  }

  .icon-menu{
    margin-top: 20px;
    margin-right: 20px;
    background: #66D9D9FF;
  }

  .nav{
    margin-top: 200px;
  }

  .menu__link{
    background: #66D9D9FF;
    margin-top: -15px;
    padding: 30px;
    border-bottom: 2px solid #084d4d;
  }

  #otros2{
    background: #084d4d;
    color: #fff;
  }

  #otros2:hover{
    background: #fff;
    color: #66D9D9FF;
  }
}

@media(min-width:1024px) {  
  .contenedor {
    width: 1000px;
  }
  .section__titulo {
    font-size: 50px;
    margin: 30px 0;
  }
  .nav {
    position: static;
    width: auto;
    margin-top: 5px;
  }
  .menu {
    display: flex;
    margin-top: 0px;
  }
  .icon-menu {
    display: none;
  }
  .menu__link {
    background: none;
    font-size: 17px;
  }
  .select {
    color: #fff;
    background: #66D9D9FF;
  }
  }

@media(min-width:1024px) and (max-width:1270px){
  .menu__link{
    display: flex;
    align-items: center;
    margin-top: -10px;
  }

  #otros{
    margin-top: 0px;
    padding-top: 10px;
  }
}

  @media(min-width:1280px) {
  .contenedor {
    width: 1200px;
  }
  .logo {
    font-size: 60px;
  }
}

