.survey-container {
    width: 80%;
    max-width: 800px;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header-space {
    padding-top: 1px;
}
.header img {
    width: 220px;
}
h1, h2 {
    text-align: center;
}

h3 {
    font-size: 15px;
}
.question-container {
    background-color: #3f80bf;
    color: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}
#text-justify {
    text-align: justify;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #f2f8fc;
    color: #333;
}

hr {
    background-color: #3f80bf;
}
 tr:nth-child(odd) {
    background-color: #f2f2f2; /* Color de fondo para filas impares */
}

 tr:nth-child(even) {
    background-color: #ffffff; /* Color de fondo para filas pares */
}
.submit-container {
    text-align: center;
    margin-top: 20px;
}
.submit-container button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #3f80bf;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.submit-container button:hover {
    background-color: #336699;
}
.footer {
    padding: 20px 0;
    text-align: center;
    align-items: center;
}

.footer .container {
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.footer hr {
    border: none;
    border-top: 1px solid #3f80bf;
    margin: 20px 0;
}

.footer h4 {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

.footer .social-network {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer .social-network li {
    display: inline-block;
}

.footer .social-network a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #3f80bf;
    border-radius: 50%;
    transition: all 0.3s;
}

.footer .social-network a:hover {
    background-color: #555;
    color: #fff;
}

.footer .fb:hover {
    background-color: #3b5998;
    color: #fff;
}

.footer .twitter:hover {
    background-color: #1da1f2;
    color: #fff;
}

.footer .instagra:hover {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    color: #fff;
}

.footer .youtube:hover {
    background-color: #ff0000;
    color: #fff;
}

.footer .credits a {
    color: #000;
    font-size: 13px;
    margin-top: 15px;
    font-weight: bold;
    text-decoration: none;
}
/* Estilo base del botón */
.btn {
    display: inline-block;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

/* Tamaño grande del botón */
.btn-lg {
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 6px;
}

/* Botón de éxito */
.btn-success {
    background-color: #3f80bf;
    border-color: #3f80bf;
}

.btn-info {
    background-color: #389fae;
    border-color: #389fae;
}

.btn-success:hover {
    background-color: #218838; /* Un verde más oscuro al hacer hover */
    border-color: #1e7e34;
}

.btn-success:focus,
.btn-success:active {
    background-color: #1e7e34;
    border-color: #1c7430;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); /* Sombra verde */
}

/*.......................Mobiles........................*/
@media (max-width: 768px) {
    #header-space {
        padding-top: 30px;
    }
    .header img {
        width: 150px;
    }

    label {
        font-size: 12px;
    }
    #text-justify {
        font-size: 12px;
    }
    h1 {
        font-size: 13px;
    }
    .question-container {
        font-size: 12px;
    }
    table {
        width: 100%;
        border-collapse: collapse;
    }
    th, td {
        padding: 5px;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }
    th {
        background-color: #f2f8fc;
        color: #333;
    }
    
    hr {
        background-color: #3f80bf;
    }
    .submit-container {
        text-align: center;
        margin-top: 20px;
    }
    .submit-container button {
        padding: 10px 20px;
        font-size: 12px;
        background-color: #3f80bf;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    .submit-container button:hover {
        background-color: #336699;
    }
    h3 {
        font-size: 12px;
    }
    .btn {
        font-size: 12px;
    }
}

 /* Estilo general para la imagen */
 .responsive-logo img {
    max-width: 100%; /* Se adapta al tamaño del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
}

/* Estilos específicos para dispositivos móviles */
@media (max-width: 768px) {
    .responsive-logo img {
        width: 150px; /* Ajusta el tamaño para pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .responsive-logo img {
        width: 120px; /* Tamaño más pequeño para dispositivos muy pequeños */
    }
}

/* Encabezado fijo */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #207ba8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 2%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Para que se mantenga sobre el resto del contenido */
}

/* Logo responsivo */
.responsive-logo img {
    height: 50px; /* Ajusta según necesidad */
}

/* Botón de entrada */
.btn-entrar {
    color: #fff;
    background-color: #389fae;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: background 0.3s ease-in-out;
}

.btn-entrar:hover {
    background-color: #2a8c9a;
}

/* Agregar margen al contenido para evitar que quede oculto bajo el header fijo */
body {
    padding-top: 70px; /* Ajusta según la altura del header */
}

.fixed-div {
    position: fixed;
  }