@import url(servicios.css);
@import url(contacto.css);

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "selawik";
  src: url(../font/selawik/selawk.ttf);
}
@font-face {
  font-family: "selawikbold";
  src: url(../font/selawik/selawkb.ttf);
}
@font-face {
  font-family: "selawiksemibold";
  src: url(../font/selawik/selawksb.ttf);
}

#menu {
  width: 200px;
  height: 100%;
  position: fixed;
  z-index: 1000;
}

#menu ul {
  padding-top: 120%;
  margin-left: -30px;
  margin-right: 20px;
}

#menu ul a {
  font-family: "selawikbold";
  text-decoration: none;
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  display: flex;
  margin-bottom: 10px;
  padding: 10px 20px 10px 40px;
  border-radius: 15px;
  transition: background 0.6s, margin-right 0.6s, margin-left 0.6s,
    visibility 0.6s;
  -webkit-transition: background 0.6s, margin-right 0.6s, margin-left 0.6s;
  -moz-transition: background 0.6s, margin-right 0.6s, margin-left 0.6s;
  -o-transition: background 0.6s, margin-right 0.6s, margin-left 0.6s;
}

#menu ul a:hover {
  margin-right: -20px;
  margin-left: 20px;
  background: #00b8e7;
}

.iconos {
  width: 20%;
  vertical-align: middle;
  text-align: center;
  margin-left: 7px;
}

.img_fondo {
  width: 100%;
  height: 1240px;
  background-image: url(../img/fondo1.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
}

.logo_blanco {
  background-image: url(../img/logo_blanco.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 70%;
  height: 70%;
  margin: 0px auto;
}

#somos {
  color: #ffffff;
  font-family: "selawiksemibold";
  font-size: 1.5em;
  margin-top: 5px;
  margin-bottom: 5px;
}

#recuadro_gris {
  background-color: rgba(48, 48, 48, 0.6);
  color: #ffffff;
  width: 50%;
  font-family: "selawiksemibold";
  font-size: 1.5em;
  padding: 30px;
  border-radius: 10px;
}
/*monitor*/
@media (min-width: 1024px) {
  .img_fondo {
    height: 944px;
  }
}
/* portatil */
@media (max-height: 768px) {
  .img_fondo {
    width: 100%;
    height: 700px;
  }
}

/* tablet */
@media screen and (min-width: 481px) and (max-width: 1024px) {
  .logo_blanco {
    width: 35%;
    margin-bottom: 35%;
  }
  #menu {
    width: 30%;
  }
  #menu ul {
    padding-top: 80%;
  }
  #menu ul a {
    display: flex;
    height: 45px;
  }

  #recuadro_gris {
    width: 78%;
    font-size: 15px;
    padding: 27px;
    margin-left: 10%;
    margin-bottom: 0;
  }
}
/* tablet  acostada*/
@media (min-width: 780px) and (orientation: landscape) {
  #menu {
    width: 20%;
  }
  #menu ul {
    padding-top: 50%;
  }
  #menu ul a {
    display: flex;
    height: 55px;
  }
  #menu ul a:hover {
    margin-right: -5px;
    margin-left: 5px;
    border-radius: 15px;
  }
}
/*celular acostado*/
@media (min-width: 481px) and (max-width: 767px) {
  .logo_blanco {
    width: 35%;
    margin-bottom: 60%;
  }
  #menu {
    width: 18%;
  }
  #menu ul {
    padding-top: 30%;
  }
  #recuadro_gris {
    width: 78%;
    font-size: 15px;
    padding: 27px;
    margin-left: 10%;
    margin-bottom: 60%;
  }
}
/* celular vertical */

@media (max-width: 480px) {
  #menu a p {
    display: none;
  }

  #menu {
    width: 40%;
  }
  #menu ul {
    padding-top: 140%;
    margin-left: -20%;
    margin-right: 75px;
  }
  #menu ul a:hover {
    margin-right: -10px;
    margin-left: 10px;
    border-radius: 15px;
  }
  .iconos {
    width: 75%;
  }

  .logo_blanco {
    width: 45%;
    height: 60%;
    margin-left: 33%;
    margin-bottom: 30%;
  }
  #recuadro_gris {
    width: 78%;
    font-size: 15px;
    padding: 27px;
    margin-left: 10%;
    margin-bottom: 35%;
  }
}
