/* SOLO CORRECCIONES PARA CAMPOS CLAROS - MANTIENE TODO LO DEMÁS IGUAL */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #EBECE8 inset !important;
    box-shadow: 0 0 0 1000px #EBECE8 inset !important;/* Color de contenedor  */
    -webkit-text-fill-color: #000000 !important;/* Color del texto del campo  */
    background-color: #EBECE8 !important;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="tel"],
select,
textarea {
    background-color: #EBECE8 !important;
    color: #000000 !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    background-color: #EBECE8 !important;
    color: #000000 !important;
}

select {
    background-color: #EBECE8 !important;
    color: #000000 !important;
}

option {
    background-color: #EBECE8 !important;
    color: #000000 !important;
}

.form-control {
    background-color: #EBECE8 !important;
    color: #000000 !important;
}

.form-control:focus {
    background-color: #EBECE8 !important;
    color: #000000 !important;
}

/* MANTENER TODO LO DEMÁS EXACTAMENTE COMO LO TENÍAS CON TUS COMENTARIOS */

input[type="text"],
select {
    background-color:#EBECE8 ;
    /* Color de fondo de los contenerodes  */
    color: #000000;
  
}

input[type="text"]:focus,
select:focus {
    background-color: #EBECE8 ;
    /* Asegúrate de que el color de fondo no cambie al enfocar */
    color: #bfff0000;
    
}

h1 {
    color: #59D2EC;/* titulo de el formulario */
    font-weight: 600;
    margin: 2rem 0 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-align: center;
}

h1:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #029E99;/* la raya  */
    margin: 0.5rem auto 0;
}

.container {
    background-color:#142448 ;/* fondo de la tarjeta */
    padding: 2.5rem;
    max-width: 1040px;
    margin: 2rem auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px#ef0000;/* contorno de la tarjeta  */
}

.form-control {
    border-radius: 6px !important;
   
    border-color: #029E99;/* contorno de los contenedores   */
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem #029E99;/* contorno de los contenedores   */
}

.form-control::placeholder {
    color: #000000;/* texto de los contenedores   */
    opacity: 1;
}

option {
    color: #000000;/* texto de los contenedores   */
   
    text-align: center;
   
}

select {
    color: #bfff0000;
}

body {
    background-color: #EBECE8;/*fondo del formulario     */
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
}

.container2 {
    background-color: #142448;/* segunda tarjeta    */
    padding-top: 30px;
    padding-bottom: 30px;
}

.center {
    padding-left: 250px;
}

.btn-wide {
    width: 200px;
}

.footer {
    background-color: #142448;/* color del footer     */
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    flex-shrink: 0;
    border-top: 1px solid #ff010100;
}

.intro-text {
    color: #EBECE8;/* texto   */
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    line-height: 1.7;
    text-align: left;
}

.form-check-label {
    color: #EBECE8 !important;/* texto de las opciones duales     */
    margin-left: 50px;
}

.form-check-input[type="radio"] {
    border-color:  #000000;/* color de las opciones duales     */
}

.form-check-input[type="radio"]:checked {
    background-color: #029E99;/* color de las opciones duales     */
}

.sections {
    color: #59D2EC;/* color de los subtituos      */
    ;
    text-align: center;
    margin-bottom: 2%;
}

.btn-wide {
    width: 200px;
    padding: 10px 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn-outline-primary {
    color: #029E99;/* color del boton enviar    */
    border-color: #029E99;/* contorno   */
}

.btn-outline-primary:hover {
    background-color: #029E99;/* fondo del boton enviar    */
    ;
    color: #EBECE8;/* texto del boton enviar al etar encima    */
}

input[type="text"],
select {
    color: #000000; /* Texto de los contenedores */
    
    text-align: center;
       
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.6s ease-out forwards;
}

input[type="text"]:focus,
select:focus {
    color: #000000; /* Texto del contenedor */
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {


    h1 {
        font-size: 1.6rem;
        text-align: center;

    }

    h2 {
        font-size: 1.5rem;
    }

    .intro-text {
        text-align: justify;
        text-justify: inter-word;
    }

    img {
        width: 100%;
        height: auto;

    }
    .texto-responsive {
        margin-top: 5px; 
        display: block;   
    }
}

/* Añade esto para pantallas aún más pequeñas si es necesario */
@media (max-width: 576px) {

    h1 {
        font-size: 1.6rem;
        text-align: center;
    }

    h2 {
        font-size: 1.8rem;
    }
}

/* ESTILOS DEL NAVBAR */
.navbar {
    background-color: #142448 !important;
    border-bottom: 2px solid #ff0000 !important;
}

.navbar-brand .brand-text {
    color: #EBECE8 !important;
}

.navbar-nav .nav-link {
    color: #EBECE8 !important;
}

.navbar-nav .nav-link:hover {
    color: #EBECE8 !important;
}

/* ESTILOS PARA EL DROPDOWN */
.navbar-nav .dropdown-menu {
    background-color: #142448 !important;
    border: 1px solid #59D2EC !important;
}

.navbar-nav .dropdown-item {
    color: #EBECE8!important;
    background-color: #142448 !important;
}

.navbar-nav .dropdown-item:hover {
    background-color: #029E99 !important;
    color: #EBECE8 !important;
}