* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif, Helvetica, sans-serif;
}
/*** varriables ****/
:root {
  --azul: rgb(44, 62, 80);
  --azulTrans: rgba(16, 49, 107, 0.418);
  --naranja: rgb(235, 97, 43);
  --naranTrans: rgba(250, 104, 14, 0.599);
  --gris: rgb(138, 136, 136);
  --grisTrans: rgba(255, 252, 252, 0.6);
  --blanco: rgb(246, 246, 246);
  --trans: rgba(0, 0, 0, 0.5);
}

/**** header ******/

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  transform: 0.7s;
  padding: 0px 20px;
  height: 60px;
  z-index: 10;
}

.header > a > img {
  width: 250px;
  transition: 0.3s;
  transform: 0.3s;
}

nav {
  display: flex;
}

nav > a {
  position: relative;
  margin: 0 5px;
  color: var(--blanco);
  letter-spacing: 2px;
  font-weight: bold;
  transition: 0.7s;
  height: 120px;
  width: 130px;
  background-color: var(--azulTrans);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  transition: 500ms;
}

nav a:hover {
  background-color: var(--naranTrans);
  height: 140px;
}

.header.abajo {
  position: fixed;
  background: var(--grisTrans);
  backdrop-filter: blur(6px);
}
.header.abajo nav > a {
  background: none;
  height: fit-content;
  color: var(--azul);
}
.header.abajo nav > #inicio {
  border: 1px solid var(--azul);
  border-radius: 10px;
}

.header.abajo nav > a:hover,
.header.abajo nav > #inicio:hover {
  color: var(--naranja);
  transform: scale(1.2);
}
.titulo__cabecera {
  position: absolute;
  height: 80px;
  width: 56%;
  text-align: center;
  color: var(--blanco);
  background-color: var(--azulTrans);
  border-radius: 40px;
  top: 70%;
  right: 5%;
  font-size: 50px;
  padding: 5px 0;
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.64);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.64);
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.64);
  cursor: pointer;
}
.titulo__cabecera:hover {
  background-color: var(--naranTrans);
}

/******* slider *******/

.container-slider {
  position: relative;
  max-width: 100vw;
  margin: 0 auto;
  max-height: 720px;
  overflow: hidden;
}
.slider {
  display: flex;
  width: 400%;
  height: 600px;
  margin-left: -100%;
}

.slider-section {
  width: 100%;
}

.slider__img {
  width: 99.1vw;
  object-fit: cover;
  object-position: top;
}

.slider__btn {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--blanco);
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: bold;
  font-family: monospace;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  color: var(--azulTrans);
}
.slider__btn:hover {
  background-color: var(--azulTrans);
  color: var(--blanco);
}
.slider__btn__right {
  right: 10px;
}
.slider__btn__left {
  left: 10px;
}
.wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
}
/******* MAIN ********/

.contenedor {
  padding: 60px 0;
  width: 90%;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

.titulo,
#p1 {
  font-size: 20px;
  text-align: justify;
  margin-bottom: 60px;
}

.titulo {
  font-size: 25px;
  color: #10316b;
  text-align: center;
  margin-bottom: 10px;
  z-index: -10;
}

/* Nuestro Servicio*/

main.sobre-nosotros {
  padding: 10px 0 60px 0;
}

.contenedor-sobre-nosotros {
  display: flex;
  justify-content: space-evenly;
}

.contenedor-sobre-nosotros img {
  width: 60%;
}

.sobre-nosotros .contenido-textos {
  width: 48%;
}

.contenido-textos h2 {
  margin-bottom: 10px;
  color: var(--azul);
}

.contenido-textos span {
  background: var(--naranja);
  color: var(--blanco);
  font-size: 16px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  box-shadow: 4px 3px 10px -3px rgba(0, 0, 0, 0.74);
  margin-right: 10px;
}

.contenido-textos p {
  padding: 0px 0px 30px 15px;
  font-weight: 300;
  text-align: justify;
}

.contenido-textos ul {
  padding: 0px 0px 5px 50px;
  font-weight: 300;
  margin-bottom: 20px;
}

/* Servicios */

.servicios {
  background: var(--blanco);
}

.galeria-serv {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.imagen-serv {
  width: 24%;
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background-color: var(--azul);
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagen-serv > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.5s;
}

.imagen-serv > :hover {
  width: 80%;
  height: 80%;
}

/* Pídenos presupuesto */

.cards {
  display: flex;
  justify-content: space-evenly;
}

.cards .card {
  background: var(--azul);
  display: flex;
  width: 46%;
  height: 200px;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 5px;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.6);
}

.cards .card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 2px solid var(--blanco);
  border-radius: 10%;
  display: block;
}

.cards .card > .contenido-texto-card {
  width: 60%;
  color: var(--blanco);
}

.cards .card > .contenido-texto-card p {
  font-weight: 400;
  padding-top: 5px;
}

/*  Contáctanos */
.seccRedes {
  background: var(--azul);
  height: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: auto;
}

.redes {
  width: 300px;
  height: 400px;
  margin: 20px;
  overflow: scroll;
}

.seccRedes > h2 {
  color: var(--gris);
  margin-top: 20px;
}

.twitter-follow-button {
  margin-bottom: 20px;
}

/* footer */

footer {
  background: var(--azul);
  padding: 5px 0 30px 0;
  margin: auto;
  overflow: hidden;
}

.titulo-final {
  text-align: center;
  font-size: 24px;
  margin: 20px 0 0 0;
  color: var(--gris);
}
@media screen and (max-width: 1600px) {
  .titulo__cabecera {
    font-size: 45px;
  }
  .container-slider {
    height: 600px;
  }
}
.slider__img {
  width: 99.1vw;
}
@media screen and (max-width: 1500px) {
  .titulo__cabecera {
    font-size: 42px;
    padding: 7px 0;
  }
  .slider__img {
    width: 98.8vw;
  }
}
@media screen and (max-width: 1400px) {
  .titulo__cabecera {
    font-size: 39px;
    padding: 9px 0;
  }
  .container-slider {
    height: 500px;
  }
}

  @media screen and (max-width: 1300px) {
    .titulo__cabecera {
      font-size: 36px;
      padding: 12px 0;
    }
    .header nav > a {
      background: none;
      height: fit-content;
      color: var(--azul);
    }
    .header nav > #inicio {
      border: 1px solid var(--azul);
      border-radius: 10px;
    }

    .header nav > a:hover,
    .header nav > #inicio:hover {
      color: var(--naranja);
      transform: scale(1.2);
    }
  }
  @media screen and (max-width: 1230px) {

}



@media screen and (max-width: 900px) {
  header {
    /* background-position: center; */
    padding: 0px 0px;
    justify-content: space-evenly;
    height: 30px;
  }

  header > a {
    font-size: medium;
  }
  .hamburguesa {
    width: 20px;
    height: 20px;
    top: 0;
  }
  .activelinea1__ham {
    transform: rotate(40deg) translate(1.5px, 2px);
  }

  .activelinea2__ham {
    opacity: 0;
    margin-left: -30px;
  }

  .activelinea3__ham {
    transform: rotate(-40deg) translate(1.5px, 2px);
  }

  .contenedor-sobre-nosotros {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .sobre-nosotros .contenido-textos {
    width: 90%;
  }

  .imagen-about-us {
    width: 90%;
  }

  /* Galeria */

  .imagen-serv {
    width: 44%;
  }

  /* Clientes */

  .cards {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .cards .card {
    width: 90%;
  }

  .cards .card:first-child {
    margin-bottom: 30px;
  }

  /* servicios */

  .servicio-cont {
    justify-content: center;
    flex-direction: column;
  }

  .servicio-ind {
    width: 100%;
    text-align: center;
  }

  .servicio-ind:nth-child(1),
  .servicio-ind:nth-child(2) {
    margin-bottom: 60px;
  }

  .servicio-ind img {
    width: 90%;
  }
}

@media screen and (max-width: 500px) {
  nav {
    text-align: center;
    padding: 30px 0 0 0;
  }

  nav > a {
    margin-right: 5px;
  }

  /* nosotros */

  .imagen-about-us {
    margin-bottom: 60px;
    width: 99%;
  }

  .sobre-nosotros .contenido-textos {
    width: 95%;
  }

  /* Galeria */

  .imagen-serv {
    width: 95%;
  }

  /* Clients */

  .cards .card {
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cards .card img {
    width: 90px;
    height: 90px;
  }

  .cards .card > .contenido-texto-card p {
    font-size: 13px;
  }

  /* Footer */

  .contenedor-footer {
    flex-direction: column;
    border: none;
  }

  .content-foo {
    margin-bottom: 20px;
    text-align: center;
  }

  .content-foo h4 {
    border: none;
  }

  .content-foo p {
    color: var(--gris);
    border-bottom: 1px solid var(--blanco);
    padding-bottom: 10px;
  }

  .titulo-final {
    font-size: 12px;
  }
}
