/*=============== Ordenador de escritorio Medio: 1660px ===============*/

@media screen and (max-width: 1660px) {
  html {
    font-size: 9px;
  }
}

/*=============== Ordenador portátil medio: 1366px x 768px ===============*/

@media screen and (max-width: 1366px) {
  html {
    font-size: 8px;
  }

  .header {
    top: 9rem;
  }
}

/*=============== Ordenador portátil medio: 1138px x 768px ===============*/

@media screen and (max-width: 1138px) {
  html {
    font-size: 6px;
  }

  .nav {
    background-color: var(--primary-color);
    height: 15rem;
    min-width: 728px;
  }

  .nav__logo-img {
    width: 12rem;
  }

  .nav__logo-h3 {
    color: var(--second-color);
  }

  .nav__header-info {
    display: none;
  }

  .nav__toogle-icon {
    display: block;
    position: absolute;
    color: var(--second-color);
    top: 4rem;
    right: 6rem;
  }

  .nav__toogle-icon-menu {
    font-size: 8rem;
    transition: all 300ms ease-in-out;
    cursor: pointer;
  }

  .nav__toogle-icon:hover {
    color: var(--orange-color);
  }

  .cerrar__menu {
    display: block;
    position: absolute;
    color: var(--second-color);
    right: 7rem;
    top: 3rem;
    cursor: pointer;
    font-size: 8rem;
  }

  .nav__menu {
    /* display: none; */
    width: 100%;
    position: absolute;
    top: -50rem;
  }

  .abrir {
    top: 1rem;
  }

  .abrir__menu {
    top: 1rem;
  }

  .nav__links {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-direction: column;
  }

  .nav__links-item {
    font-size: 2.5rem;
  }

  /* === header === */
  .container__header {
    width: 100%;
    height: 100vh;
    min-width: 728px;
    flex-direction: column;
  }
  .header {
    min-width: 728px;
    top: 7rem;
    z-index: -5;
    filter: brightness(0.8);
  }

  .header__container {
    width: 80%;
    min-width: 728px;
    padding: 2rem;
    margin-top: 25rem;
  }

  .header__title-h1 {
    width: 100%;
    height: 50%;
  }

  .header__cv {
    position: absolute;
    right: 40%;
    bottom: 30%;
    width: 50%;
  }

  .header__cv-img {
    width: 15rem;
  }

  .icon_download {
    font-size: 10rem;
  }

  /* === Carrucel === */
  .carrucel {
    min-width: 728px;
  }

  /* === Servicios === */

  .servicios {
    min-width: 728px;
  }

  /* === Nosotros === */
  .nosotros {
    height: 100vh;
    min-width: 728px;
  }

  /* === Galeria === */

  .galeria {
    min-width: 728px;
  }

  /* === Contacto === */

  .contacto {
    min-width: 728px;
  }

  .contacto__formulario {
    padding: 2rem;
  }

  .contacto__comunication {
    flex: 1;
    max-width: 50%;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  /* === Footer === */

  .footer {
    padding-left: 4rem;
    padding-right: 2rem;
    height: 100vh;
    min-width: 728px;
  }

  .footer__title {
    font-size: 6rem;
  }

  .footer__redes-img {
    width: 16rem;
  }

  .footer__final-p {
    font-size: 1.3rem;
  }
}

/*=============== tablet: 727px ===============*/

@media screen and (max-width: 727px) {
  .nav {
    /* min-width: 600px; */
  }
  .nav__toogle-icon {
    position: fixed;
  }

  .container__header {
    /* min-width: 600px; */
  }

  .header {
    /* min-width: 600px; */
  }

  .header__cv {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    right: 25%;
    bottom: 45%;
    width: 50%;
    margin-top: 3rem;
  }

  /* === Carrucel === */
  .carrucel {
    margin-bottom: 10rem;
    /* min-width: 600px; */
  }

  /* === Servicios === */

  .servicios {
    height: 175vh;
    margin-bottom: 20rem;
    /* min-width: 600px; */
  }

  .servicios__servicio {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .servicio__card {
    padding: 3rem;
    align-items: center;
    justify-content: center;
  }

  .servicio__card-img {
    display: flex;
    width: 50rem;
  }

  .servicio__card-text {
    font-size: 2.5rem;
    text-align: center;
  }

  /* === Nosotros === */

  .nosotros__description {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nosotros__description-parrafos {
    width: 80%;
  }

  .shadow__description {
    margin-left: 0;
  }

  .nosotros__description-img {
    right: 6%;
    width: 100%;
  }

  .nosotros {
    height: 100vh;
    margin-bottom: 20rem;
    /* min-width: 600px; */
  }

  .galeria {
    /* min-width: 600px; */
    margin-bottom: 20rem;
  }

  .contacto {
    /* min-width: 600px; */
    margin-bottom: 10rem;
  }

  .footer {
    /* min-width: 600px; */
  }
}

/*=============== tablet: 640px ===============*/

@media screen and (max-width: 640px) {
}
