body{
  padding: 0;
  margin: 0;
  font-family: 'Poppins';
}

.contenedor{
  width: 90%;
  max-width: 1280px;
  margin: auto;
}

header{
  /*background-image: linear-gradient(237deg, #26af94 0%, #34cbae 100%);
  background-repeat: no-repeat;
  background-position: bottom center;
  height: 560px;*/
  background: url(../imagenes/fondo.jpg);
  /*height: 100vh;*/
  background-size: cover;
  height: 560px;
  background-repeat: no-repeat;
}

.menu{
  background: #fff;
  padding: 9px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  box-shadow: 1px 1px 8px #ccc;
  z-index: 1;
}

.menu .contenedor{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo{
  color: #000;
  font-size: 23px;
  font-weight: bold;
}

nav ul li{
  display: inline-block;
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  color: #000;
}

nav ul li a:hover {
    color: #87d5a5;
}

header .contenedor-inicio{
  display: flex;
  justify-content: center;
  margin: 9vh 0;
}

header .titular, header .imagen{
  width: 40%;
  margin-top: 120px;
}

header h1{
  font-family: 'Rubik';
  font-size: 52px;
  color: #fff;
  text-shadow: 1px 2px 50px #000;
}

header p{
  color: #fff;
  line-height: 30px;
}

header img{
  width: 100%;
  margin-left: 40px;
}

.boton{
  background: #87d5a5;
  color: #fff;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0px 20px 30px 0px rgba(0,0,0,0.2);
  margin-top: 20px;
  display: inline-block;
}

.boton:hover {
    background-color: #ccd1d1;
}

/*Servicios*/
#servicios{
  padding-top: 120px;
}

#servicios .contenedor{
  display: flex;
  justify-content: space-around;
}

#servicios .titular{
  width: 49%;
}

#servicios .servicio{
  width: 25%;
  background-color: #fff;
  box-shadow: 0px 90px 160px 0px rgba(0, 0, 0, 0.1);
  border-radius: 24px 24px 24px 24px;
  padding: 20px 30px;
}

#servicios h2, #sobremi h2, #testimonios h2, #contacto h2, #contactos h2{
  font-family: 'Rubik';
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  color: #ff8f00;
  letter-spacing: 1px;
}

#servicios h3, #sobremi h3, #testimonios h3, #contacto h3, #contacto h3{
  font-weight: 500;
  font-size: 38px;
}

#servicios .boton{
  background: #87d5a5;
  padding: 15px 38px;
  letter-spacing: 1px;
}

#servicios .boton:hover {
    background-color: #ccd1d1;
}

#servicios #uno{
  margin-left: 152px;
}

#servicios img {
  width: 100%;
}

.servicio h4{
  font-size: 23px;
  font-weight: normal;
  font-family: 'Rubik';
}

.servicio p{
  color: #787878;
  font-size: 15px;
  line-height: 32px;
}

.servicio a{
  color: #2970fa;
  text-decoration: none;
  font-family: 'Rubik';
  letter-spacing: 1px;
  font-size: 13px;
  text-transform: uppercase;
}

.contenedor-servicios-2{
  margin-top: 60px;
}

.contenedor-servicios-2 #dos{
  position: relative;
  top: -150px;
}

.servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Efecto de elevación */
}
/*SObre mi*/
#sobremi{
  padding-top: 90px;
}

#sobremi .contenedor{
  display: flex;
}

#sobremi .titular, #sobremi .imagen{
  width: 40%;
}

#sobremi .imagen img{
  width: 95%;
}

#sobremi .imagen{
  margin-right: 72px;
}

#sobremi h2, #sobremi h3{
  margin: 0;
}

#sobremi p{
  color: #666;
  line-height: 30px;
}

#sobremi p span{
  font-weight: bold;
}

#sobremi .boton{
  background: #87d5a5;
  padding: 15px 40px;
  letter-spacing: 1px;
  margin-top: 0;
}

#sobremi .boton:hover {
    background-color: #ccd1d1;
}

/*Testimonios*/
#testimonios{
  padding-top: 90px;
}

#testimonios h2, #testimonios h3{
  margin: 0;
  text-align: center;
}

.contenedor-testimonios{
  display: flex;
  justify-content: space-around;
  margin-top: 70px;
}

.testimonio{
  width: 24%;
  text-align: center;
  background-color: #fff;
  box-shadow: 0px 90px 160px 0px rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 0 32px;
  font-family: 'Open Sans';
}

.testimonio p{
  font-size: 14px;
  color: #666;
  line-height: 28px;
  font-weight: 100;
}

.testimonio .nombre{
  font-weight: bold;
}

/*Contacto*/
#contacto{
  padding-top: 90px;
}

#contacto h2, #contacto h3{
  margin: 0;
  text-align: center;
}

/* Formulario de Contacto */
.contacto-mapa{
  display: flex;
  justify-content: space-around;
  margin-top: 70px;
  align-items: center;
}

.contacto-mapa .formulario{
  width: 42%;
}

.contacto-mapa .mapa{
  width: 90%;
  position: relative;
  top: 40px;
}

.contacto-mapa img{
  width: 70%;
  margin-left: 120px;
}

.contacto-mapa p{
  font-size: 30px;
  color: #000;
  line-height: 28px;
  font-weight: 100;
  text-align: center;
}

form {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
}

form label {
    text-align: left;
    margin-bottom: 0.5rem;
    color: #333333;
}

form input, form textarea {
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    border: 1px solid #333333;
    border-radius: 5px;
}

form button {
    background-color: #87d5a5;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #87d5a5;
    /*padding: 15px 40px;*/
    letter-spacing: 1px;
    margin-top: 0;
}

form button:hover {
    background-color: #ccd1d1;
}

/* Contacto - Enlaces Sociales */
.contact-links{
  text-align: center;
  padding-bottom: 50px;
}

.contact-links a {
  color: #333333;
  margin: 0.5rem;
  text-decoration: none;
  text-align: center;
  margin-top: 20px;
  display: inline-block;
  justify-content: space-between;
}

.contact-links a:hover {
    color: #87d5a5;
}

/* Pie de Página */
footer {
  padding-top: 90px;
  background-image: linear-gradient(237deg, #26af94 0%, #34cbae 100%);
    /*background-color: var(--color-primario);
    color: var(--color-contraste);*/
  padding: 1.5rem 0;
  text-align: center;
}

footer nav a {
    color:  #333333;
    margin: 0 1rem;
    text-decoration: none;
}

footer nav a:hover {
    color: #87d5a5;
}

footer p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

footer a {
    color: #000;
    text-decoration: none;
}

footer a:hover {
    color:  #87d5a5;
}

.menu-icon{
  display: none;
  width: 25px;
}

.menu-icon-logo{
  width: 200px;
}

#whatsapp a {
  background: none;
  position: fixed;
  top: 75%;
  right: 1%;
}

@media screen and (max-width: 480px){
  header{
    height: 560px;
  }

  nav{
    position: absolute;
    top: 100%;
    left: 0;
    background: #232220;
    width: 100%;
    display: none;
  }

  nav ul li{
    display: block;
    margin: 23px 20px;
  }

  nav ul li a{
    color: #fff;
  }

  .menu-icon{
    display: block;
    position: absolute;
    right: 65px;
    width: 15px;
  }

  .menu-icon-logo{
    width: 150px;
    margin-left: 0;
  }
  header .contenedor-inicio{
    display: flex;
    justify-content: center;
    margin: 14vh 0;
    flex-direction: column;
  }

  header .titular, header .imagen{
    width: 100%;
    margin-top: 0;
  }

  header .logo{
    margin-left: -15px;
  }

  header h1{
    font-size: 38px;
  }

  .contenedor-inicio .imagen img{
    width: 100%;
    margin-top: 50px;
    margin-left: 0;
  }

  #sobremi{
    padding-top: 100px;
  }

  #sobremi .contenedor{
    flex-direction: column;
  }

  #sobremi p{
    font-size: 14px;
    /*line-height: 30px;*/
  }

  #sobremi .titular, #sobremi .imagen{
    width: 100%;
  }

  #servicios{
    padding-top: 50px;
  }

  #servicios .contenedor{
    /*display: flex;*/
    /*justify-content: space-around;*/
    flex-direction: column;
  }

  #servicios .titular {
    width: 100%;
}

  #servicios h3, #sobremi h3, #testimonios h3, #contacto h3, #contacto h3{
    /*font-weight: 500;*/
    font-size: 20px;
  }

  #servicios #uno{
    margin-left: 0;
    margin-top: 40px;
  }

  #servicios .servicio{
    width: 81%;
    /*background-color: #fff;
    box-shadow: 0px 90px 160px 0px rgba(0, 0, 0, 0.1);
    border-radius: 24px 24px 24px 24px;
    padding: 20px 30px;*/
  }

  .contenedor-servicios-2 #dos{
    position: relative;
    top: 57px;
  }

  #servicios #tres{
    margin-top: 104px;
  }

  .contenedor-testimonios{
    flex-direction: column;
  }

  .testimonio{
    width: 82%;
    margin-bottom: 40px;
  }

  #contacto .contenedor{
    flex-direction: column;
  }

  .contacto-mapa{
    flex-direction: column;
  }

  .contacto-mapa .formulario{
    width: 100%;
  }

  .contacto-mapa .mapa{
    width: 100%;
  }

  .contacto-mapa img{
    width: 100%;
    margin-left: 0;
  }

  .contacto-mapa .mapa{
    width: 100%;
  }
}

@media screen and (max-width: 768px){
  header{
    height: 720px;
  }

  nav{
    position: absolute;
    top: 100%;
    left: 0;
    background: #232220;
    width: 100%;
    display: none;
  }

  nav ul li{
    display: block;
    margin: 23px 20px;
  }

  nav ul li a{
    color: #fff;
  }


  .menu-icon{
    display: block;
    position: absolute;
    right: 65px;
    width: 35px;
  }

  header .contenedor-inicio{
    display: flex;
    justify-content: center;
    margin: 14vh 0;
    flex-direction: column;
  }

  header .titular, header .imagen{
    width: 100%;
    margin-top: 0;
  }

  header .logo{
    margin-left: -15px;
  }

  header h1{
    font-size: 38px;
  }

  .contenedor-inicio .imagen img{
    width: 75%;
    margin-top: 50px;
    margin-left: 50px;
  }

  #sobremi{
    padding-top: 100px;
  }

  #sobremi .contenedor{
    flex-direction: column;
  }

  #sobremi p{
    font-size: 14px;
    /*line-height: 30px;*/
  }

  #sobremi .titular, #sobremi .imagen{
    width: 100%;
  }

  #servicios{
    padding-top: 50px;
  }

  #servicios .contenedor{
    /*display: flex;*/
    /*justify-content: space-around;*/
    flex-direction: column;
  }

  #servicios .titular {
    width: 100%;
}

  #servicios h3, #sobremi h3, #testimonios h3, #contacto h3, #contacto h3{
    /*font-weight: 500;*/
    font-size: 20px;
  }

  #servicios #uno{
    margin-left: 0;
    margin-top: 40px;
  }

  #servicios .servicio{
    width: 81%;
    /*background-color: #fff;
    box-shadow: 0px 90px 160px 0px rgba(0, 0, 0, 0.1);
    border-radius: 24px 24px 24px 24px;
    padding: 20px 30px;*/
  }

  .contenedor-servicios-2 #dos{
    position: relative;
    top: 57px;
  }

  #servicios #tres{
    margin-top: 104px;
  }

  .contenedor-testimonios{
    flex-direction: column;
  }

  .testimonio{
    width: 82%;
    margin-bottom: 40px;
  }

  #contacto .contenedor{
    flex-direction: column;
  }

  .contacto-mapa{
    flex-direction: column;
  }

  .contacto-mapa .formulario{
    width: 100%;
  }

  .contacto-mapa .mapa{
    width: 100%;
  }

  .contacto-mapa img{
    width: 100%;
    margin-left: 0;
  }

  .contacto-mapa .mapa{
    width: 100%;
  }
}
