:root {
  --color1: rgb(219, 144, 0.5);
  --color2: rgba(23, 180, 83, 0.877);
  --color3: rgba(11, 194, 211, 0.623);
  --fondo: #f2f2f2;
  --titulos: 33px;
  --margenes: 60px;
  --espacios: 10px;
  --espacios-contenido: 45px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "open sans";

  background:
    linear-gradient(
      to bottom,
      rgba(114, 71, 7, 0.096),
      rgba(84, 148, 209, 0.137),
      rgba(2, 27, 37, 0.514)
    ),
    url(img/FONDO.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

img {
  vertical-align: top;
}

/* Preloader */
.hidden {
  overflow: hidden;
}

.centrado {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lds-facebook {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 6px;
  width: 13px;
  background: #cef;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
  left: 6px;
  animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
  left: 26px;
  animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
  left: 45px;
  animation-delay: 0;
}

@keyframes lds-facebook {
  0% {
    top: 6px;
    height: 51px;
  }

  50%,
  100% {
    top: 19px;
    height: 26px;
  }
}

/* Header */

header {
  width: 100%;
  height: 900px;
  background:
    linear-gradient(
      to bottom,
      rgba(114, 71, 7, 0.096),
      rgba(84, 148, 209, 0.137),
      rgba(2, 27, 37, 0.514)
    ),
    url(img/FONDO.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

nav {
  width: 100%;
  position: fixed;
  box-shadow: 0 0 10px 0 rgb(255, 255, 255);
}

.nav1 {
  background: transparent;
  height: 80px;
  color: #fffcfc69;
}

.nav2 {
  background-color: #5e5e5e9d;
  height: 100px;
  color: #ffffff;
}

.contenedor-nav {
  display: flex;
  margin: auto;
  width: 90%;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  height: inherit;
  overflow: hidden;
}

nav .enlaces a {
  display: inline-block;
  color: #fff;
  padding: 5px 0;
  margin-right: 17px;
  font-size: 20px;
  font-weight: 300;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

nav .enlaces a:hover {
  border-bottom: 3px solid #1498a4;
  transition: 0.6s;
}

.logo,
.logo img {
  height: 80px;
}

/* Estilo para el nuevo logo derecho */
.logo-derecho img {
  height: 80px; /* Mantén la misma altura para que se vean simétricos */
  display: block;
}
.icono {
  display: none;
  font-size: 24px;
  padding: 23.5px 20px;
}

.textos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #fff;
  text-align: center; /* Asegura que las líneas de texto se centren entre sí */

  /* Mantenemos tu ajuste para el menú */
  padding-top: 200px;
  padding-bottom: 50px; /* Un poco de espacio abajo para que no corte */
  box-sizing: border-box;
}

/* Estilo para el bloque de subtítulo */
.textos2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 30px; /* Espacio entre el título grande y los cursos */
}

/* Ajustamos los tamaños para que parezca subtítulo */
.textos2 h1 {
  font-size: 1.8rem; /* Más pequeño que el principal */
  letter-spacing: 4px;
  margin-bottom: 10px;
  color: #ffffff; /* Color resaltado para diferenciarlo */
}

.textos2 h2 {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0;
}

.textos > h1 {
  font-size: 80px;
}

.textos > h2 {
  font-size: 40px;
  font-weight: 300;
}
#cuenta {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
  flex-wrap: wrap; /* Permite acomodar elementos en diferentes líneas */
  gap: 20px; /* Espacio entre elementos */
}

.simply-section {
  background: transparent;
  width: 180px;
  height: 180px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.simply-amount {
  display: block;
  font-size: 50px;
  font-weight: 700;
}

.simply-word {
  font-weight: 300;
  font-size: 30px;
}
/* Main */

.contenedor {
  margin: auto;
  padding: var(--margenes) 0;
  width: 90%;
  max-width: 1000px;
  text-align: center;
  overflow: hidden;
}

.contenedor h3 {
  font-size: var(--titulos);
  color: var(--color1);
  margin-bottom: var(--espacios);
}

.contenedor p {
  font-size: var(--subtitulos);
  font-weight: 300;
  color: var(--color1);
}

.after::after {
  content: "";
  display: block;
  margin: auto;
  margin-top: var(--espacios);
  width: 100px;
  height: 2px;
  background: var(--color1);
  margin-bottom: var(--espacios-contenido);
}
/* Estilo general de la galería */
.body {
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 20px;
  margin-top: 80px; /* Asegura que la galería no se solape con el menú */
}

h1 {
  color: #f2f2f2;
  font-size: 2em;
  margin-bottom: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 500px;
  gap: 10px;
  padding: 20px;
  z-index: 1;
}

.image-item {
  border-radius: 500px;
  position: relative;
}

.gallery img {
  width: 200px;
  height: 200px;
  cursor: pointer;
  border-radius: 500px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.1);
}

.caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
}

.body_title {
  font-size: 40px;
  font-weight: 300;
}

/* Estilo de la ventana emergente */
.modal {
  display: none;
  position: fixed;
  z-index: 2;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
  padding-top: 60px;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 700px;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.bio {
  font-size: 16px;
}

/* Media Queries para diferentes tamaños de pantalla */

/* Para pantallas mayores a 900px */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr); /* Tres columnas */
  }
  .gallery img {
    width: 250px;
    height: 250px;
  }
  h1 {
    font-size: 1.8em;
  }
}

/* Para pantallas de hasta 700px */
@media (max-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr); /* Dos columnas */
  }
  .gallery img {
    width: 200px;
    height: 200px;
  }
  h1 {
    font-size: 1.6em;
  }
}

/* Para pantallas de hasta 500px */
@media (max-width: 500px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr); /* Una columna */
  }
  .gallery img {
    width: 150px;
    height: 150px;
  }
  h1 {
    font-size: 1.4em;
  }
}

/* Para pantallas de hasta 300px */
@media (max-width: 300px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr); /* Una columna */
  }
  .gallery img {
    width: 120px;
    height: 120px;
  }
  h1 {
    font-size: 1.2em;
  }
}

/* Para pantallas de hasta 200px */
@media (max-width: 200px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr); /* Una columna */
  }
  .gallery img {
    width: 100px;
    height: 100px;
  }
  h1 {
    font-size: 1em;
  }
}

* Footer */

/* Estilos base del footer */
.footer {
  background-color: #000; /* Negro transparente */
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer__container {
  background: rgba(0, 0, 0, 0.8); /* Negro transparente */
  max-width: 100%;
  margin: auto;
  padding: 20px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__texts {
  margin-bottom: 20px;
}

.title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer__location img {
  width: 24px;
  margin: 10px;
}
.description {
  font-size: 16px;
  color: #ffffff;
}

.footer__social {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.footer__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.3s;
}

.footer__link:hover {
  background: rgba(255, 255, 255, 0.3);
}

.footer__icon {
  width: 30px;
  height: 30px;
}

.footer__picture img {
  width: 100px;
  margin-top: 20px;
}

.footer__copyright {
  font-size: 14px;
  margin-top: 20px;
}

/* Media Queries */

@media (max-width: 900px) {
  .footer__container {
    padding: 15px;
  }

  .title {
    font-size: 18px;
  }

  .footer__social {
    gap: 10px;
  }

  .footer__link {
    width: 45px;
    height: 45px;
  }

  .footer__picture img {
    width: 90px;
  }
}

@media (max-width: 500px) {
  .footer__container {
    padding: 10px;
  }

  .title {
    font-size: 16px;
  }

  .footer__social {
    gap: 8px;
  }

  .footer__link {
    width: 40px;
    height: 40px;
  }

  .footer__picture img {
    width: 80px;
  }

  .description {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .footer__container {
    padding: 10px;
  }

  .title {
    font-size: 14px;
  }

  .footer__social {
    gap: 5px;
  }

  .footer__link {
    width: 35px;
    height: 35px;
  }

  .footer__picture img {
    width: 70px;
  }

  .description {
    font-size: 12px;
  }
}

@media (max-width: 300px) {
  .footer__container {
    padding: 8px;
  }

  .title {
    font-size: 12px;
  }

  .footer__social {
    gap: 4px;
  }

  .footer__link {
    width: 30px;
    height: 30px;
  }

  .footer__picture img {
    width: 60px;
  }

  .description {
    font-size: 10px;
  }
}

@media (max-width: 200px) {
  .footer__container {
    padding: 5px;
  }

  .title {
    font-size: 10px;
  }

  .footer__social {
    gap: 3px;
  }

  .footer__link {
    width: 25px;
    height: 25px;
  }

  .footer__picture img {
    width: 50px;
  }

  .description {
    font-size: 8px;
  }
}

@media screen and (max-width: 700px) {
  .nav2 {
    color: #00000088;
  }

  .icono {
    display: block;
    cursor: pointer;
  }

  .enlaces {
    position: fixed;
    top: 80px;
    background: #00000071;
    left: 0;
    height: 100%;
    transition: 1s;
    width: 0;
    overflow: hidden;
  }

  .enlaces a {
    display: block;
    width: 100%;
    height: 50px;
    padding: 20px;
    text-align: center;
    background: #00000071;
    color: #ffffff;
  }
  .textos > h1 {
    font-size: 70px;
  }
  .textos > h2 {
    font-size: 35px;
  }

  .content-card {
    width: 48%;
    margin-bottom: var(--margenes);
  }

  :root {
    --margenes: 30px;
  }
}

/* 🌟 RESPONSIVE DESIGN 🌟 */

/* 900px */
@media (max-width: 900px) {
  .card {
    justify-content: space-evenly;
  }
  .content-card {
    width: 250px;
    height: 250px;
  }
  .people {
    width: 250px;
    height: 250px;
  }
}

/* 700px */
@media (max-width: 700px) {
  .card {
    flex-direction: column;
    align-items: center;
  }
  .content-card {
    width: 220px;
    height: 220px;
  }
  .people {
    width: 220px;
    height: 220px;
  }

  .texto-team {
    font-size: 0.9rem;
  }
}

/* 500px */
@media (max-width: 500px) {
  .content-card {
    width: 180px;
    height: 180px;
  }
  .people {
    width: 180px;
    height: 180px;
  }
  .people2 {
    width: 180px;
    height: 180px;
  }
  .texto-team {
    font-size: 0.85rem;
  }
}

/* 300px */
@media (max-width: 300px) {
  .content-card {
    width: 150px;
    height: 150px;
  }
  .people {
    width: 150px;
    height: 150px;
  }
  .texto-team {
    font-size: 0.8rem;
  }
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .bio-container {
    flex-direction: column;
    text-align: center;
  }

  .bio-left,
  .bio-right {
    padding: 10px;
  }

  h2 {
    font-size: 20px;
  }

  .testimony__review {
    font-size: 14px;
  }

  .profile-image {
    max-width: 80%;
    margin: 0 auto;
  }
}
/* 🌟 RESPONSIVE DESIGN 🌟 */

/* 900px */
@media (max-width: 900px) {
  .textos > h1 {
    font-size: 65px;
  }

  .textos > h2 {
    font-size: 25px;
  }

  .simply-section {
    width: 160px;
    height: 160px;
  }

  .simply-amount {
    font-size: 45px;
  }

  .simply-word {
    font-size: 25px;
  }
}

/* 700px */
@media (max-width: 700px) {
  .textos > h1 {
    font-size: 55px;
  }

  .textos > h2 {
    font-size: 22px;
  }

  .simply-section {
    width: 140px;
    height: 140px;
  }

  .simply-amount {
    font-size: 40px;
  }

  .simply-word {
    font-size: 22px;
  }
}

/* 500px */
@media (max-width: 500px) {
  .textos > h1 {
    font-size: 45px;
  }

  .textos > h2 {
    font-size: 20px;
  }

  #cuenta {
    flex-direction: column; /* Apila los elementos */
    align-items: center;
  }

  .simply-section {
    width: 120px;
    height: 120px;
    margin: 10px 0;
  }

  .simply-amount {
    font-size: 35px;
  }

  .simply-word {
    font-size: 20px;
  }
}

/* 300px */
@media (max-width: 300px) {
  .textos > h1 {
    font-size: 35px;
  }

  .textos > h2 {
    font-size: 18px;
  }

  .simply-section {
    width: 100px;
    height: 100px;
  }

  .simply-amount {
    font-size: 30px;
  }

  .simply-word {
    font-size: 18px;
  }
}

/* MEDIA QUERIES RESPONSIVOS */

/* Pantallas de 900px y menores */
@media (max-width: 900px) {
  .price__table {
    height: auto; /* Permite que la altura se ajuste al contenido */
    padding-top: 40px;
    gap: 2em;
  }
  .price__element {
    width: 300px;
    padding: 35px;
  }
  .price__element--best {
    width: 320px;
    padding: 50px 35px;
  }
  .price__price {
    font-size: 2.2rem;
  }
}

/* Pantallas de 700px y menores */
@media (max-width: 700px) {
  .price__table {
    flex-direction: column;
    gap: 1.5em;
  }
  .price__element,
  .price__element--best {
    width: 90%;
    max-width: 350px;
    padding: 30px;
  }
  .price__element--best {
    padding: 40px;
  }
  .price__price {
    font-size: 2rem;
  }
}

/* Pantallas de 400px y menores */
@media (max-width: 400px) {
  .price__table {
    padding-top: 20px;
    gap: 1em;
  }
  .price__element,
  .price__element--best {
    width: 100%;
    max-width: 300px;
    padding: 20px;
  }
  .price__price {
    font-size: 1.8rem;
  }
}

/* Pantallas de 300px y menores */
@media (max-width: 300px) {
  .price__table {
    padding-top: 10px;
    gap: 0.5em;
  }
  .price__element,
  .price__element--best {
    width: 100%;
    max-width: 250px;
    padding: 15px;
  }
  .price__price {
    font-size: 1.5rem;
  }
}
