body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #000;
    color: #fff;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 3rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header h2 {
    font-size: 1.5rem;
    margin: 10px 0 40px;
    font-weight: 300;
}

nav {
    margin-bottom: 20px;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.menu li {
    display: inline;
}

.menu a {
    text-decoration: none;
    color: #fff;
    background-color: #333;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.menu a:hover {
    background-color: #000;
    border-color: #fff;
}

main {
    text-align: center;
    padding: 20px;
    max-width: 800px;
}

main p {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #000;
    color: #fff;
    width: 100%;
    font-size: 0.9rem;
}

/* Estilo para las secciones */
.hidden {
    display: none;
}

#informacion-section, #profesionales-section {
    margin-top: 20px;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    text-align: left;
    animation: fadeIn 0.5s ease-in-out;
}

.info-container h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #222;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.info-container p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.video-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.video-links li {
    margin-bottom: 10px;
}

.video-links a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.video-links a:hover {
    text-decoration: underline;
}

/* Imagen con logo */
.image-container {
    position: relative;
    margin-top: 20px;
    text-align: center;
}

.image-container img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.logo-overlay {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -10%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo-overlay p {
    font-size: 1rem;
    margin-top: 5px;
    font-weight: 300;
}

/* Animación para las secciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.motivational-quotes {
    text-align: center;
    margin: 20px 0;
    font-size: 1.2rem;
    color: #555;
}
/* Estilo para la sección Serenox */
#serenox-section {
    margin-top: 20px;
    padding: 30px;
    background-color: #f5f5f5;
    border: 2px solid #007BFF;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    text-align: left;
}

/* Imagen de Serenox */
.serenox-image {
    display: block;
    margin: 20px auto;
    width: 150px; /* Imagen más pequeña */
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Contenedor de preguntas frecuentes */
.faq-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-container h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.faq-container select {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Contenedor del chatbot */
.chat-container {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.chat-container h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.chatbot-messages {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    color: #555;
}
/* Estilo del chatbot */
#chatbot {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 1rem;
    color: #555;
}

.chatbot-messages {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
    text-align: left;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chatbot-messages p {
    margin: 5px 0;
}

.chatbot-input {
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.chatbot-input button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.chatbot-input button:hover {
    background-color: #0056b3;
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    main {
        padding: 1.5rem; /* Ajusta el padding para pantallas medianas */
    }

    section {
        padding: 1.5rem; /* Ajusta el padding de las secciones */
    }

    .menu {
        flex-direction: column; /* Cambia el menú a disposición vertical */
        gap: 15px;
    }

    .chat-container {
        padding: 1rem; /* Reduce el padding del chatbot */
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem; /* Reduce el tamaño del título */
    }

    header h2 {
        font-size: 1rem; /* Reduce el subtítulo */
    }

    .menu {
        flex-direction: column; /* Cambia el menú a una columna */
        align-items: center;
    }

    .menu a {
        padding: 10px 20px; /* Ajusta el padding de los enlaces */
    }

    main {
        padding: 1rem; /* Reduce el padding general */
    }

    section {
        padding: 1rem; /* Reduce el padding de las secciones */
    }

    .chatbot-input {
        flex-direction: column; /* Cambia la disposición de los elementos del chatbot */
        gap: 0.75rem;
    }

    .chatbot-input input,
    .chatbot-input button {
        width: 100%; /* Asegura que ocupen todo el ancho disponible */
    }

    .chatbot-messages {
        max-height: 200px; /* Ajusta la altura del área de mensajes */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem; /* Reduce aún más el tamaño del título */
    }

    header h2 {
        font-size: 0.9rem; /* Reduce el subtítulo */
    }

    .menu a {
        font-size: 0.9rem; /* Reduce el tamaño del texto de los enlaces */
    }

    .chatbot-messages {
        max-height: 150px; /* Ajusta la altura del área de mensajes */
        font-size: 0.8rem; /* Reduce el tamaño del texto */
    }

    .motivational-quotes p {
        font-size: 0.9rem; /* Reduce el tamaño del texto de las frases motivadoras */
    }

    footer {
        font-size: 0.8rem; /* Reduce el tamaño del texto del pie de página */
    }
}

/* Estilo para el contenedor de la imagen del logo */
.logo-image-container {
    text-align: center;
    margin-top: 20px;
}

.logo-image {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilo para el formulario de autoevaluación */
.test-form {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Roboto', Arial, sans-serif;
}

.test-form .question {
    margin-bottom: 20px;
}

.test-form .question label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 10px;
}

.test-form .options {
    display: flex;
    gap: 15px;
    align-items: center;
}

.test-form .options input[type="radio"] {
    accent-color: #007BFF;
    transform: scale(1.2);
    cursor: pointer;
}

.test-form .options label {
    font-size: 1rem;
    color: #555;
    cursor: pointer;
}

.animated-button {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    margin-top: 20px;
}

.animated-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.result-container {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    text-align: center;
}

.result-container h4 {
    font-size: 1.5rem;
    color: #007BFF;
    margin-bottom: 10px;
}

.result-container p {
    font-size: 1.1rem;
    color: #333;
}

/* Estilo para el botón de sugerencias */
.suggestion-button-container {
    text-align: center;
    margin-top: 20px;
}

.suggestion-button {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.suggestion-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Estilo para el formulario de sugerencias */
#suggestion-form-container {
    margin-top: 20px;
    text-align: center;
}

#suggestion-form {
    display: inline-block;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

#suggestion-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', Arial, sans-serif;
    resize: none;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#suggestion-form textarea:focus {
    border-color: #007BFF;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    outline: none;
}

#suggestion-status {
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Game Container Styling */
#game-container {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    position: relative; /* Ensure child elements are positioned relative to this container */
}

/* Start Game Button Styling */
#start-game-button {
    position: relative; /* Position relative to the game container */
    margin: 20px auto 0; /* Center horizontally and add margin at the top */
    padding: 10px 20px;
    font-size: 1.2rem;
    background: #007BFF;
    color: #FFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    transition: background 0.3s ease, transform 0.2s ease;
    display: block; /* Ensure it is centered within the container */
}

#start-game-button:hover {
    background: #0056b3; /* Darker blue on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #start-game-button {
        font-size: 1rem; /* Adjust button size for smaller screens */
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    #start-game-button {
        font-size: 0.9rem; /* Adjust button size for very small screens */
        padding: 6px 12px;
    }
}