/* Resetear estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Aplicar la fuente "Poppins" a todo el cuerpo del texto */
body {
    font-family: 'Poppins', sans-serif;
}

/* También puedes aplicarlo solo a los encabezados para que sean más llamativos */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}


/* Estilo general */
body {
    line-height: 1.6;
    background-image: url('imagenes/fondo2.jpeg'); /* Ruta a la imagen */
    background-size: cover;  /* Ajustar la imagen al tamaño completo de la pantalla */
    background-position: right; /* Centrar la imagen */
    background-repeat: no-repeat; /* No repetir la imagen */
    color: #333;
    font-size: 1rem;
}

header {
    background-color: #2c3e50; /* Azul con transparencia para mejorar la visibilidad del texto */
    color: white;
    text-align: center;
    padding: 3rem 0;
    border-bottom: 5px solid #2c3e50;
}

header h1 {
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
    color: white;

    /* Borde negro alrededor del texto */
    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}

/* Estilo para cada sección */
.project-info, .rules-info, .upload-section, .thanks-info {
    margin: 3rem auto;
    padding: 2rem;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 1000px;
}

/* Títulos de las secciones */
h2 {
    color: #000; /* Azul suave */
    font-size: 2.5rem;
    margin-bottom: 1rem;
	

	
	
}

h3 {
    color: #000; /* Verde claro */
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Estilos para los párrafos y listas */
p, ul {
    font-size: 1rem;
    margin-bottom: 1rem;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Formulario para subir el boceto */
.upload-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.upload-form input {
    padding: 10px;
    border: 2px solid #2c7edb;
    border-radius: 6px;
    font-family: inherit;
}

.upload-form input:focus {
    outline: none;
    border-color: #0a2c6d;
    box-shadow: 0 0 5px rgba(10, 44, 109, 0.4);
}

.upload-form button {
    margin-top: 10px;
    padding: 12px;
    background-color: #2c7edb;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.upload-form button:hover {
    background-color: #0a2c6d;
}

/* Enlaces de descarga */
a {
    color: #0a2c6d; /* Verde claro */
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Estilo para el pie de página */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem;
}

footer a {
    color: #1abc9c;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* Estilos para los agradecimientos */
.thanks-info p {
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Añadir un poco de espaciado entre las secciones */
section {
    margin-bottom: 2rem;
}

/* =========================
   Responsive (Tablet + Móvil)
   ========================= */

/* Tablet */
@media (max-width: 900px) {
  header {
    padding: 2.5rem 1rem;
  }

  header h1 {
    font-size: 2.2rem;
    line-height: 1.15;
    padding: 0 0.5rem;
  }

  .project-info, .rules-info, .upload-section, .thanks-info {
    max-width: 100%;
    margin: 1.5rem 1rem;
    padding: 1.5rem;
  }

  h2 { font-size: 2rem; }
  h3 { font-size: 1.4rem; }
}

/* Móvil */
@media (max-width: 600px) {
    body {
        background-image: url("fondo3.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 600px) {
  header {
    padding: 2rem 1rem;
    border-bottom-width: 3px;
  }

  header h1 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .project-info, .rules-info, .upload-section, .thanks-info {
    margin: 1rem 0.75rem;
    padding: 1.1rem;
    border-radius: 14px;
  }

  p, ul, li {
    font-size: 1rem;
  }

  ul {
    padding-left: 18px;
  }

  /* Formulario */
  .upload-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .upload-form label {
    font-size: 0.98rem;
  }

  .upload-form input {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
  }

  .upload-form input[type="file"] {
    padding: 10px;
  }

  .upload-form button {
    width: 100%;
    font-size: 1.05rem;
    padding: 12px;
  }

  /* Checkbox condiciones */
  .privacy-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.3;
  }

  footer {
    padding: 1.2rem 1rem;
    font-size: 0.95rem;
  }
}

.contact-section {
    margin: 3rem auto;
    padding: 2rem;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 1000px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-info a {
    color: #1f5fa8;
    font-weight: 600;
    text-decoration: none;
}

.contact-info a:hover {
    color: #000;
    text-decoration: underline;
}
