/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: url('../img/fondo.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 20px 20px 20px; /* padding-top de 60px */
}

/* Título principal */
h1 {
  font-size: 3rem;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Contenedor de texto + imagen */
.content-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  width: 100%;
  /* margin-bottom: 5px; */
}

/* Sección de texto */
.text-section {
  flex: 1 1 300px;
  padding: 20px;
  text-align: left;
}

.text-section p {
  font-size: 1.2rem; /* Más grande */
  margin-bottom: 14px;
  line-height: 1.2;
}

/* Sección de imagen */
.image-section {
  flex: 1 1 300px;
  padding: 20px;
  text-align: center;
}

.image-section img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Botón */
.btn-telegram {
  background-color: #229ED9;
  border: none;
  color: white;
  padding: 10px 15px;
  font-size: 1.0rem;
  cursor: pointer;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: background-color 0.3s ease;
}

.btn-telegram:hover {
  background-color: #1a8cb7;
}

/* Nota final */
.note {
  font-size: 1rem;
  text-align: center;
  opacity: 0.9;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Cambia el 0.5 para más o menos oscuridad */
  z-index: 0;
}

body > *:not(.overlay) {
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .content-box {
    flex-direction: column;
    text-align: center;
  }

  .text-section {
    text-align: center;
  }
}