body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Fondo blanco */
    color: #000000; /* Texto negro */
    box-sizing: border-box;
    overflow-x: hidden; /* Evita el desbordamiento horizontal */
    font-size: 16px; /* Base para escalado responsivo */
}

header {
    background: #000000; /* Negro */
    color: #ffffff; /* Blanco */
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

header h2 {
    font-size: 1.2rem;
    margin: 0;
}

nav ul.menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background: #000000; /* Negro */
    margin: 0;
}

nav ul.menu li {
    margin: 0 1rem;
}

nav ul.menu li a {
    color: #ffffff; /* Blanco */
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    display: block;
    transition: background 0.3s ease, color 0.3s ease;
}

nav ul.menu li a:hover {
    background: #333333; /* Gris oscuro */
    color: #ffffff; /* Blanco */
    border-radius: 5px;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto; /* Centra el contenido */
}

section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9; /* Gris claro */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    overflow: hidden; /* Evita que el contenido se salga */
}

.hidden {
    display: none;
}

.chatbot-box {
    background: linear-gradient(145deg, #e3f2fd, #ffffff);
    border: 1px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    max-width: 700px;
    margin: 2rem auto;
}

.chatbot-messages {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.1);
}

.user-message {
    background: #42a5f5;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    text-align: left;
    max-width: 80%;
    word-wrap: break-word;
}

.bot-message {
    background: #f1f1f1;
    color: #333333;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    text-align: left;
    max-width: 80%;
    word-wrap: break-word;
    margin-left: auto;
}

.chatbot-input {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.chatbot-input select {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 1rem;
    background: #ffffff;
    color: #333333;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chatbot-input button {
    padding: 0.75rem 2rem;
    background: #42a5f5;
    color: #ffffff;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.chatbot-input button:hover {
    background: #1e88e5;
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #000000; /* Negro */
    color: #ffffff; /* Blanco */
    margin-top: 2rem;
    font-size: 0.8rem; /* Reduce el tamaño del texto del pie de página */
}

.small-image {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.twitter-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Animación */
}

.twitter-logo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%; /* Hace el logo circular */
}

.twitter-logo:hover {
    transform: scale(1.2); /* Aumenta el tamaño al pasar el cursor */
    opacity: 0.8; /* Reduce la opacidad ligeramente */
}

footer .twitter-logo {
    position: static;
    margin-top: 1rem;
    display: inline-block;
}

.translate-button {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.5rem 1rem;
    background: #000000; /* Negro */
    color: #ffffff; /* Blanco */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.translate-button:hover {
    background: #444444; /* Gris oscuro */
}

.animated-button {
    padding: 0.75rem 1.5rem;
    background: #007BFF; /* Azul */
    color: #ffffff; /* Blanco */
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.animated-button:hover {
    background: #0056b3; /* Azul más oscuro */
    transform: scale(1.1);
}

#video-container {
    margin-top: 1rem;
    text-align: center;
}

.modern-textarea {
    width: 100%;
    height: 150px;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    resize: none;
}

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

.modern-textarea::placeholder {
    color: #aaa;
    font-style: italic;
}

.book-container {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    margin-top: 1rem;
}

.book {
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 2rem;
    background: #fdfdfd;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    animation: openBook 1s ease-out forwards;
}

@keyframes openBook {
    0% {
        transform: rotateY(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

.writing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.writing-area {
    width: 100%;
    max-width: 600px;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wally-gallery {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap; /* Permite que las imágenes se ajusten en pantallas pequeñas */
}

.wally-image {
    width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.wally-image:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#image-overlay.hidden {
    display: none;
}

.overlay-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
}

#overlay-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.5rem 1rem;
    background: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.close-button:hover {
    background: #ff1a1a;
}

@media (max-width: 768px) {
    .wally-image {
        width: 120px; /* Reduce el tamaño de las imágenes en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .wally-image {
        width: 100px; /* Reduce aún más el tamaño de las imágenes en pantallas muy pequeñas */
    }
}

#image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease;
}

#image-overlay.hidden {
    display: none;
}

.overlay-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    animation: scaleUp 0.5s ease;
}

#overlay-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.5rem 1rem;
    background: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.close-button:hover {
    background: #ff1a1a;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

.test-form {
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 700px;
    margin: 2rem auto;
    animation: slideIn 0.5s ease-out;
}

.question {
    margin-bottom: 1.5rem;
}

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

.options {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.options input[type="radio"] {
    margin-right: 0.5rem;
}

.animated-button {
    padding: 0.75rem 2rem;
    background: #42a5f5;
    color: #ffffff;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: block;
    margin: 1rem auto 0;
}

.animated-button:hover {
    background: #1e88e5;
    transform: scale(1.05);
}

.result-container {
    background: #e3f2fd;
    border: 1px solid #42a5f5;
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.result-container h4 {
    font-size: 1.5rem;
    color: #1e88e5;
    margin-bottom: 1rem;
}

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

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#cuerpo-mente-section {
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    animation: slideIn 0.5s ease-out;
}

.exercise-plans {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    flex-direction: column; /* Cambia a disposición vertical */
    gap: 1.5rem;
}

.exercise-plan {
    flex: 1;
    text-align: center;
    background: #e3f2fd;
    border: 1px solid #42a5f5;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exercise-plan:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Ajustes para las imágenes de Cuerpo y Mente */
.exercise-image-container {
    margin-top: 1rem;
    text-align: center;
}

.exercise-image {
    width: 100%;
    max-width: 300px; /* Ajusta el tamaño máximo de las imágenes */
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exercise-image:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.exercise-plan-details {
    margin-top: 1rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

/* Estilo para la sección de alimentación */
.nutrition-section {
    margin-top: 2rem;
    text-align: center;
}

.nutrition-image-container {
    text-align: center;
    margin-top: 1rem;
}

/* Estilo para el calendario */
.calendar-section {
    margin-top: 2rem;
    text-align: center;
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.calendar-header button {
    padding: 0.5rem 1rem;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.calendar-header button:hover {
    background: #333333;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    text-align: center;
}

.calendar-day {
    padding: 0.5rem;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.calendar-day:hover {
    background: #e3f2fd;
    transform: scale(1.1);
}

/* Estilo para el ejercicio de respiración */
.breathing-section {
    text-align: center;
    margin-top: 2rem;
}

.breathing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.breathing-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(145deg, #007BFF, #0056b3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    transition: transform 4s ease-in-out, background 4s ease-in-out;
}

.breathing-circle.inhale {
    background: linear-gradient(145deg, #42a5f5, #1e88e5);
}

.breathing-circle.exhale {
    background: linear-gradient(145deg, #007BFF, #0056b3);
}

/* Estilo para el calendario */
.calendar-section {
    margin-top: 2rem;
    text-align: center;
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.calendar-header button {
    padding: 0.5rem 1rem;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.calendar-header button:hover {
    background: #333333;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    text-align: center;
}

.calendar-day {
    padding: 0.5rem;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
}

.calendar-day:hover {
    background: #e3f2fd;
}

/* Estilo para el ejercicio de respiración */
.breathing-section {
    text-align: center;
    margin-top: 2rem;
}

.breathing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.breathing-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #e3f2fd;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #007BFF;
    transition: transform 4s ease-in-out;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .exercise-image {
        max-width: 200px; /* Reduce el tamaño de las imágenes en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .exercise-image {
        max-width: 150px; /* Reduce aún más el tamaño de las imágenes en pantallas muy pequeñas */
    }
}

/* Ajustes específicos para Música y Relajación */
.relax-section {
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.relax-section iframe {
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 16 / 9; /* Mantiene la proporción del video */
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1rem auto;
}

.relax-section audio {
    width: 100%;
    max-width: 300px;
    margin: 1rem auto;
    display: block;
}

.relax-section button {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #007BFF;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

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

/* Responsivo para Música y Relajación */
@media (max-width: 768px) {
    .relax-section iframe {
        max-width: 100%; /* Asegura que el video ocupe todo el ancho disponible */
height: 200px; /* Ajusta la altura del video */
    }

    .relax-section audio {
        max-width: 250px; /* Ajusta el tamaño del reproductor de audio */
    }

    .relax-section button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .relax-section iframe {
        max-width: 100%; /* Asegura que el video ocupe todo el ancho disponible */
height: 150px; /* Reduce aún más la altura del video */
    }

    .relax-section audio {
        max-width: 200px; /* Reduce aún más el tamaño del reproductor de audio */
    }

    .relax-section button {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Ajustes generales */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0.5rem 0;
    word-wrap: break-word; /* Evita que los textos largos se desborden */
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    word-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

iframe {
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 16 / 9; /* Mantiene la proporción del video */
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-container, .writing-container, .chat-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 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 */
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.95rem;
    }

    iframe {
        max-width: 480px;
    }

    .exercise-plans {
        flex-direction: column; /* Cambia a disposición vertical */
        gap: 1.5rem;
    }

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

    .exercise-image {
        max-width: 200px; /* Reduce el tamaño máximo de las imágenes */
    }

    .relax-section iframe {
        max-width: 480px;
    }

    .relax-section audio {
        max-width: 250px;
    }
}

@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 */
    }

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

    nav ul.menu li {
        margin: 0.5rem 0; /* Espaciado entre los elementos del menú */
    }

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

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

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.9rem;
    }

    iframe {
        max-width: 100%;
    }

    .exercise-image {
        max-width: 150px; /* Reduce aún más el tamaño máximo de las imágenes */
    }

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

    .chatbot-input select,
    .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 */
    }

    .relax-section iframe {
        max-width: 100%;
    }

    .relax-section audio {
        max-width: 200px;
    }

    .relax-section button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@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 */
    }

    main {
        padding: 0.75rem;
    }

    section {
        padding: 0.75rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.85rem;
    }

    iframe {
        max-width: 100%;
    }

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

    .exercise-plan {
        padding: 1rem; /* Reduce el padding de los planes de ejercicio */
    }

    .exercise-image {
        max-width: 120px; /* Ajusta el tamaño para pantallas muy pequeñas */
    }

    .small-image {
        max-width: 120px; /* Reduce el tamaño de las imágenes pequeñas */
    }

    .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 */
    }

    section {
        padding: 0.75rem;
    }

    .relax-section iframe {
        max-width: 100%;
    }

    .relax-section audio {
        max-width: 180px;
    }

    .relax-section button {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Estilo para el selector de emoticonos */
.emoji-selector {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: #ffffff;
    color: #333;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

@media (max-width: 768px) {
    nav ul.menu {
        flex-direction: column; /* Cambia a disposición vertical */
        align-items: center;
    }

    nav ul.menu li {
        margin: 0.5rem 0; /* Espaciado entre elementos */
    }
}

.serenox-image {
    width: 150px; /* Reduce el tamaño de la imagen */
    height: auto;
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para un efecto profesional */
    margin: 1rem auto; /* Centra la imagen horizontalmente */
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animación al pasar el cursor */
}

.serenox-image:hover {
    transform: scale(1.1); /* Aumenta ligeramente el tamaño al pasar el cursor */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Intensifica la sombra */
}

#gameCanvas {
    width: 100%; /* Asegura que el canvas ocupe todo el ancho disponible */
    height: auto; /* Mantiene la proporción del canvas */
    max-width: 800px; /* Limita el tamaño máximo en pantallas grandes */
    margin: 0 auto; /* Centra el canvas horizontalmente */
    display: block;
    border: 2px solid #ddd; /* Añade un borde para destacar el canvas */
    border-radius: 10px; /* Bordes redondeados para un diseño más profesional */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para un efecto visual */
}

/* Ajustes responsivos para el contenedor del juego */
#game-container {
    text-align: center;
    padding: 1rem;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    #gameCanvas {
        max-width: 100%; /* Asegura que el canvas se ajuste a pantallas pequeñas */
        height: auto; /* Mantiene la proporción */
    }
}

@media (max-width: 480px) {
    #gameCanvas {
        max-width: 100%; /* Asegura que el canvas ocupe todo el ancho disponible */
        height: auto; /* Mantiene la proporción */
    }
}

/* Logo Styling */
.logo-image {
    max-width: 150px; /* Ensure the logo is not too large */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px; /* Rounded corners for a professional look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Game Canvas Styling */
#gameCanvas {
    width: 100%; /* Full width for responsiveness */
    height: auto; /* Maintain aspect ratio */
    max-width: 800px; /* Limit maximum size */
    border: 2px solid #ddd; /* Add a border for a clean look */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Professional shadow */
    margin: 1rem auto; /* Center the canvas */
    display: block;
}

/* Start Game Button Styling */
#start-game-button {
    position: absolute; /* Position it relative to the game container */
    bottom: 20px; /* Place it at the bottom of the game container */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for centering */
    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;
    z-index: 10; /* Ensure it appears above other elements */
}

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

/* Touch Cursor Styling */
#touch-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #007BFF;
    border-radius: 50%;
    pointer-events: none;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for a professional look */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo-image {
        max-width: 120px; /* Adjust logo size for tablets */
    }

    #gameCanvas {
        max-width: 100%; /* Ensure the canvas fits smaller screens */
    }

    #start-game-button {
        font-size: 1rem; /* Adjust button size for smaller screens */
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-width: 100px; /* Further reduce logo size for mobile */
    }

    #start-game-button {
        font-size: 0.9rem; /* Adjust button size for very small screens */
        padding: 6px 12px;
    }
}
