* {
  padding: 0;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}


body {
  background-size: cover;
  background-color: rgb(255, 255, 255);

}

main {
  padding: 50px;
}

img {
  width: 35%;
  display: block;
  margin: auto;
  margin-top: 5%;
}


h1 {
  color: rgb(141, 1, 48);
  font-weight: 600;
  position: fixed;
  z-index: 101;
  top: 10px;
  padding: .5rem 1rem;
  background-color: white;
  font-size: 2rem !important;
}

h3 {
  color: rgb(134, 134, 134);
  margin-top: 3%;

}

/*NAV MENU*/

nav {
  text-align: end;
  width: 100%;
  position: fixed;
  /*hacemos que el footer quede siempre abajo*/
  left: 0px;
  width: 100%;
  z-index: 100;
  top: 0;
  height: 80px;
  background-color: white;
}

.nav-menu li a.active,
.nav-menu li a:hover {
  color: slategrey;
  transition: .3s;
}

ul.nav-menu {
  display: inline-flex;
  list-style: none;
  margin-top: 2%;


}

a:link {
  text-decoration: none;
}

li {
  margin-right: 20px;
}

a.nav-enlace {
  color: rgb(141, 1, 48) !important;
  font-size: 25px;
  font-weight: bold;
}

/* Layout principal para la sección */
.features-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  gap: 20px;
  background-color: white;
  /* Fondo blanco */
  margin-top: 6%;
}

.features-left,
.features-right {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-image {
  flex: 3;
  /* Imagen más grande */
  text-align: center;
  max-width: 100%;
  /* Asegura que la imagen ocupe toda la amplitud disponible */
}

.features-image img {
  width: 70%;
  /* Imagen más grande (ajustamos el tamaño) */
  max-width: 800px;
  /* Limitar el tamaño máximo en pantallas grandes */
  height: auto;
  border-radius: 10px;
  margin: 20px auto;
  /* Centrado y separación */
}

/* Ajustar tamaño de los textos en los lados */
.feature {
  background: none;
  /* Sin fondo */
  padding: 10px;
  /* Menos espacio interno */
  text-align: center;
}

.feature i {
  font-size: 28px;
  /* Íconos más pequeños */
  color: rgb(141, 1, 48);
  /* Color más suave */
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 20px;
  margin: 5px 0;
}

.feature p {
  font-size: 14px;
  color: #555;
}


/*PIE DE PAGINA*/

h6 {
  margin-bottom: -15px;
}

footer {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 15px;
  /*background-color: rgb(1, 129, 184);*/
  background: linear-gradient(to right, rgb(141, 1, 48), rgb(63, 63, 63));
  position: fixed;
  /*hacemos que el footer quede siempre abajo*/
  left: 0px;
  bottom: -4px;
  width: 100%;


}

footer .principal {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;
  width: 100%;
  max-width: 1900px;
  font-size: 18px;
  text-align: center;
  color: white;

}


footer .text {
  display: flex;
  flex-direction: column;
  justify-content: c;
  align-items: center;
}

footer .principal div {
  margin: 10px;
  padding: 5px;
}

footer .principal .text img {
  width: 250px;
}

footer .social-media-menu ul {
  padding: 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

footer .social-media-menu ul li {
  font-size: 50px;
  padding: 15px;
  list-style: none;
  /*sacamos las viñetas de la lista*/
}


footer .links h3 {
  text-align: center;
}

footer .links ul {
  padding: 0px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer .links ul li {
  font-size: 1.1em;
  padding: 15px;
  list-style: none;
  /*sacamos las viñetas de la lista*/
}

footer .links ul li a :hover {
  background-color: #1d1d1d;
  cursor: pointer;
}

footer ul li a {
  color: white;
  text-decoration: none;
}


.contact {
  position: fixed;
  bottom: -4%;
  right: 5px;
  z-index: 10;
  display: flex;
}

.contact .fixed-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 100%;
  margin: 10px;
}

.fa-envelope:hover {
  color: slategrey;
}

.contact .fixed-wp {
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 100%;
  margin: 10px;
  text-align: center;
}

.fa-whatsapp:hover {
  color: slategrey;
}

.contact a i {
  font-size: 50px;
  color: white;
}


/*CONTACTO*/

form.formulario {
  width: 600px;
  height: 500px;
  background-color: rgb(109 4 39);
  padding: 30px;
  margin: auto;
  margin-top: 60px;
  border-radius: 4px;
  color: white;
  box-shadow: 7px 13px 37px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;

}

form.formulario h4 {
  font-size: 22px;
  margin-bottom: 20px;
  font-family: 'Montserrat';
  font-weight: lighter;
  
}


.controls {
  width: 100%;
  background: rgb(216, 218, 219);
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  border: 1px solid rgb(90, 127, 163);
  font-size: 18px;
  color: white;
}

form.formulario p {
  height: 40px;
  text-align: center;
  font-size: 18px;
  line-height: 40px;
}

input {
  width: 100%;
  background: rgb(216, 218, 219);
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  border: 1px solid rgb(90, 127, 163);
  font-size: 18px;
  color: rgb(82, 82, 82);
}

form.formulario a {
  color: white;
  text-decoration: none;
}

form.formulario textarea {
  width: 100%;
  height: 150px;
}

#text {
  text-align: center;
}


/*SERVICIOS*/
h3 {
  font-weight: bold;
  color:rgb(134, 134, 134);

}

div.servicios {
  margin-top: 5%;
}


/*SOMOS*/

h3 {
  font-weight: bold;
  color: rgb(134, 134, 134) !important;

}

h2 {
  font-size: 17px;
  font-weight: bold;
  color: black !important;

}

.img-fluid {
  width: 500px !important;
}

.bg-white {
  background-color: white !important;
  z-index: 1;
}

.cta {
  background: rgb(187, 188, 189) !important;
  color: white;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

input {
  background-color: rgb(134, 134, 134) !important;
}

.controls {
  background-color: white !important;
}

.navbar {
  position: fixed;
}

.container-nosotros {
  margin-top: 50px !important;
  margin-bottom: 70px !important;
}

button {
  background-color:rgb(110, 3, 38); /* Verde */
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}
button:hover {
  background-color: #45a049; /* Color más oscuro al pasar el mouse */
}



/*RESPONSIVE*/

@media screen and (max-width: 600px) {
  body {
    padding: 0px;
  }

  h1 {
    font-size: 1.5em !important;
    padding: .5rem 1rem;
  }

  main {
    padding: 0px;
    margin-bottom: 70px;
    margin-top: 70px;
  }
  
  .features-layout {
    margin: 0px !important;
    padding: 0 20px !important;
  }

  .img-fluid {
    width: 250px !important;
  }

  .footer-text {
    padding-bottom: 1.5rem !important;
  }

  .navbar-container {
    background-color: rgb(255, 255, 255);
  }

  .navbar {
    position: fixed;
  }

  a.nav-enlace {
    font-size: 15px;

  }

  form.formulario {
    width: 100% !important;
    height: 100% !important;
    margin-top: 100px !important;
    box-shadow: 2px 4px 11px rgba(0, 0, 0, 0.5);
  }

  input {
    background-color: white !important;
  }

  .controls {
    background-color: white !important;
  }

  .cta {
    background: #007bff;
  }

  .container-servicios {
    margin-top: 90px !important;
    margin-bottom: 90px !important;
  }
}