/* Importar variables */
@import url('variables.css');

body {
    font-family: Arial, sans-serif;
    background-color: var(--fondo-claro);
}

.banner-principal {
    background: url('../img/banner.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    color: var(--light-color); /* Uso de la variable de color */
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.banner-principal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--sombreado-verde); /* Uso de la variable de color */
}

.banner-text {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

/* textos */

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    font-size: 1.2rem;
}

.heading-career {
    color: var(--amarillo) !important; /* Color específico para este h2 */
    font-weight: normal !important; /* Elimina la negrita */
}

.heading-action {
    color: var(--blanco); /* Color específico para este h2 */
    font-weight: bold !important;
}

/* Botones */

.btn-custom {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: var(--amarillo); /* Color del texto del botón */
    background-color: rgba(0, 0, 0, 0.3); /* Fondo translúcido del botón */
    border: 2px solid var(--amarillo); /* Borde del botón igual al color del texto del primer h2 */
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s; 
    font-size: 1.5rem;
}

.btn-custom:hover {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: var(--verde3); /* Color del texto del botón */
    background-color: rgba(0, 0, 0, 0.3); /* Fondo translúcido del botón */
    border: 2px solid var(--verde3); /* Borde del botón igual al color del texto del primer h2 */
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    font-size: 1.5rem;
}

/* Estilos para los logos */
.banner-logos {
    position: absolute;
    top: 3%; /* Espacio desde la parte superior del banner */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 3%;
    padding-right: 3%;
    box-sizing: border-box;
    z-index: 3; /* Asegura que los logos estén sobre el contenido */
}

.logo-left {
    width: 100%;
}

.logo-right {
    width: 7%; 
   
}

/* Sección de Video */
.video-section {
    margin-top: -15%;
    margin-left: 1%;
    margin-right: 1%;
    height: 60vh; /* Ocupa el 30% de la altura del banner */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 800px; /* Ajusta el ancho máximo del video */
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 5px solid white; /* Borde blanco grueso */
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Opcional: sombra alrededor del video */
}

/* seccion formulario registro */
.section-registro {
    margin-top: 5%;
    margin-bottom: 5%;
}

.tx_convocatoria{
    margin-top: 5% !important; 
    margin-bottom: 5% !important; 
    text-align: center;
    color: var(--verde3);
}


/* Media Query para pantallas pequeñas */
@media (max-width: 768px) {
    /* textos */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.8rem;
    }
    
    /* Botones */
    .btn-custom {
        font-size: 1rem;
    }
    
    /* Sección de Video */
    .video-section {
        margin-top: -20%;
        margin-left: 3%;
        margin-right: 3%;
        height: 40vh; /* Ocupa el 30% de la altura del banner */
    }
    
  
     /* Otros ajustes para pantallas pequeñas */
     .banner-text {
        text-align: center;
        padding: 20px; /* Añade un poco de relleno para mejorar la legibilidad */
    }

    .logo-left {
        width: 100%;
    }
    
    /* .logo-right {
        width: 25%; 
    } */
}


