/* Reset general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fondo general */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
}

/* Cabecera superior */
.top-header {
    position: relative;
    height: 250px;
    width: 100%;
    background-image: url("img/banner-5congreso.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.top-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(160, 201, 203, 0.55); /*Aqua */
	/*background-color: rgba(185, 63, 35, 0.55);  Color ladrillo con transparencia */
}

.top-header1 {
    position: relative;
    height: 250px;
    width: 100%;
    background-image: url("img/banner-5congreso1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.top-header1::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(160, 201, 203, 0.55); /*Aqua */
	/*background-color: rgba(185, 63, 35, 0.55);  Color ladrillo con transparencia */
}


/* Ícono de menú hamburguesa */
.menu-icon {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: white;
    background-color: #B93F23;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.menu-icon:hover {
    transform: scale(1.1);
}

/* Menú lateral derecho */
.menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #B93F23;
    color: white;
    display: flex;
    transition: right 0.4s ease;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.menu.open {
    right: 0;
}

.menu ul {
    list-style: none;
    text-align: center;
}

.menu ul li {
    margin: 20px 0;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.menu ul li a:hover {
    letter-spacing: 1px;
    color: #FFDAB9;
}

/*listas*/
.menulista ul ol {
  margin-left: 7.5em;   /* sangra la lista un poco a la derecha */
  padding-left: 0.3em;  /* agrega espacio interno */
  list-style-position: outside; /* asegura que los puntos queden fuera del texto */
}

.menulista li  {
  margin-left: 3.5em;
  margin-bottom: 3px;   /* espacio vertical entre cada punto */
  line-height: 1.5;     /* mejora la legibilidad */
}



/* Contenido centrado */
.contenido {
    max-width: 900px;
    margin: -100px auto 60px auto; /* sube el contenido visualmente */
    background: #fff;
    padding: 40px 60px;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: justify;
}

/* Cinta decorativa para el título */
/* Cinta decorativa para el título */
.titulo-cinta {
    position: relative;
    display: block;
    width: 100%;
    background-color: #073A57;
    color: white;
    padding: 15px 25px;
    border-radius: 6px;
    margin-bottom: 30px;
    font-weight: bold;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Pico decorativo a la izquierda */
.titulo-cinta::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 37px solid transparent;
    border-bottom: 37px solid transparent;
    border-left: 20px solid #7A2C19;
    transform: translateX(-20px);
}

/* Texto dentro de la cinta */
.titulo-cinta h1 {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: left;
    margin: 0;
    white-space: normal;
    word-wrap: break-word;
}

/* Adaptación responsiva */
@media (max-width: 798px) {
    .titulo-cinta {
        padding: 12px 20px;
    }

    .titulo-cinta h1 {
        font-size: 1.6rem;
    }

    .titulo-cinta::before {
        border-top: 28px solid transparent;
        border-bottom: 28px solid transparent;
    }
}


/* Texto */
.texto p {
    line-height: 1.7;
    font-size: 18px;
    margin-bottom: 15px;
}

/* Footer */
footer {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #fff;
}

footer iframe {
    width: 100%;
    height: 250px;
    border: none;
}

/* Responsividad */
@media (max-width: 768px) {
    .contenido {
        margin: -60px 20px 40px 20px;
        padding: 30px;
    }

    .titulo-cinta h1 {
        font-size: 26px;
    }

    .menu ul li a {
        font-size: 18px;
    }
}



.contenedor-iframe {
  position: relative; /* Establece el contexto de posicionamiento para el iframe */
  overflow: hidden; /* Oculta cualquier contenido que se desborde */
  width: 100%; /* Asegura que el contenedor ocupe todo el ancho disponible */
  /* padding-top crea el espacio para mantener la relación de aspecto (16:9) */
  /* 56.25% se calcula como (altura / ancho) * 100 -> (9 / 16) * 100 */
  padding-top: 56.25%; 
  height: 100vh;
}

.contenedor-iframe iframe {
  position: absolute; /* Posiciona el iframe de forma absoluta dentro del contenedor */
  top: 0;
  left: 0;
  width: 100%; /* El iframe ocupa todo el ancho del contenedor */
  height: 100%; /* El iframe ocupa todo el alto del espacio definido por padding-top */
}


/*botones*/

.boton-registro {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(25deg, #073A57, #A0C9CB);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(7, 58, 8, 0.3);
  transition: all 0.3s ease;
  text-align: center;
  font-size: 1.1rem;
}

.boton-registro:hover {
  transform: translateY(-3px);
  background: linear-gradient(10deg, #B93F23, #A0C9CB);
  box-shadow: 0 6px 15px rgba(7, 58, 87, 0.5);
}

/* Responsivo */
@media (max-width: 480px) {
  .boton-registro {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 1rem;
  }
}





