@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Roboto Slab", serif;
}

.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1440px;
  /* Límite máximo */
  min-width: 320px;
  /* Para pantallas extremadamente pequeñas */
  padding: 0 2rem;
  /* Más espaciado en los lados */
  box-sizing: border-box;
  /* Asegura que padding se incluya en el cálculo del ancho */
}

.portada {
  width: 100%;
  height: auto;
  min-height: 85vh;
  background: linear-gradient(to right top, rgba(0, 0, 0, 0.6), rgba(6, 6, 6, 0.7)), url("../img/bgportada.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.portada header {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  color: #fff;
  padding: 1rem 0;
}
.portada header h1 {
  font-size: 1.5rem;
}
.portada header nav {
  display: flex;
  align-items: center;
}
.portada header nav a {
  font-size: 1.1rem;
  margin: 0 1rem;
  text-decoration: none;
  color: #fff;
}
.portada header nav a i {
  margin-right: 0.5rem;
}
.portada .texto {
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.portada .texto h2 {
  text-align: center;
  font-size: 3rem;
}
.portada .texto p {
  text-align: center;
  font-size: 1.3rem;
  margin-top: 2rem;
}
.portada .texto a {
  font-size: 1.2rem;
  width: fit-content;
  padding: 0.7rem 1.5rem;
  background-color: #fff;
  color: #666;
  text-decoration: none;
  margin-top: 4rem;
}
.portada .texto a i {
  margin-right: 0.5rem;
}

.services {
  width: 100%;
  padding: 6rem 0;
}
.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 4rem;
}
.services .services_list {
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.services .services_list .item_list {
  width: 100%;
  max-width: 30%;
  box-sizing: border-box;
  margin-bottom: 2rem;
  padding: 2rem 0;
  border-radius: 20px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.services .services_list .item_list h3 {
  text-align: center;
  color: #333;
  margin-bottom: 0.5rem;
}
.services .services_list .item_list p {
  font-size: 1rem;
  text-align: center;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  color: #666;
}
.services .contant_btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.services .contant_btn a {
  font-size: 1.2rem;
  width: fit-content;
  padding: 0.7rem 1.5rem;
  background-color: #666;
  color: #fff;
  text-decoration: none;
  margin-top: 2rem;
}
.services .contant_btn a i {
  margin-right: 0.5rem;
}

#arbol {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 400px;
  z-index: -1;
  opacity: 0.1;
}

#arbol2 {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: -1;
  opacity: 0.1;
}

.about {
  width: 100%;
  padding-bottom: 6rem;
}
.about h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.about p {
  font-size: 1rem;
  width: 100%;
  max-width: 70%;
  margin: 0 auto;
  line-height: 2rem;
}
.about .galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}
.about .galeria video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 90%;
  margin: 0 auto;
  padding: 4rem 0;
}
footer p {
  font-size: 1.1rem;
  color: #333;
}

@media (max-width: 800px) {
  .portada header nav {
    flex-wrap: wrap;
  }
  .portada header nav a {
    margin-bottom: 0.5rem;
  }
  .portada header {
    flex-wrap: wrap;
  }
  .portada header h1 {
    margin-bottom: 1rem;
  }
}
@media (max-width: 600px) {
  .portada header {
    justify-content: center;
    align-items: center;
  }
  .portada header nav {
    justify-content: center;
    align-items: center;
  }
  .portada header nav a {
    font-size: 1rem;
  }
  .portada header h1 {
    font-size: 2rem;
    text-align: center;
  }
  .portada .texto h2 {
    font-size: 2.3rem;
  }
  .portada .texto p {
    font-size: 1rem;
  }
  .services .services_list .item_list {
    width: 47%;
    max-width: 47%;
  }
  .services .services_list .item_list h3 {
    font-size: 1rem;
  }
  .services .services_list .item_list p {
    font-size: 0.8rem;
  }
  .about p {
    max-width: 95%;
  }
  .about .galeria {
    padding: 0 0;
  }
  footer {
    flex-wrap: wrap;
  }
  footer p {
    width: 100%;
    text-align: center;
  }
}

/*# sourceMappingURL=style.css.map */
