﻿/* general.css */

/* Importar fuente amigable para niños */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700&display=swap');

/* Estilos generales */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #F0F8FF; /* Fondo azul muy claro */
    margin: 0;
    padding: 0;
}
/* Botón "ABECEDARIO" */
.btn-pronombres-title {
    background-color: #fc9935; /* Amarillo claro */
    color: #333333;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
    width: calc(100% - 2cm);
    max-width: calc(100% - 2cm);
    box-shadow: 0 6px #D4D4D4;
}

    .btn-pronombres-title:hover {
        background-color: #FFEE58;
    }

    .btn-pronombres-title:active {
        box-shadow: 0 2px #D4D4D4;
        transform: translateY(4px);
    }

/* Centrar el botón dentro de su contenedor */
.btn-pronombres-title-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Estilo para el mensaje de instrucción */
.instruction-message {
    font-family: 'Roboto', sans-serif; /* Fuente personalizada */
    font-size: 1.1rem; /* Tamaño de fuente ligeramente mayor */
    color: #555555; /* Color gris más claro */
    margin-bottom: 15px;
    max-width: 100%;
    font-weight: 500; /* Peso de fuente medio */
}

/* Centrar el mensaje y estilizar el contenedor */
.instruction-container {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 10px 0; /* Añadir padding */
 
}
.message-banner {
    background-color: #f0f8ff; /* Color de fondo suave */
    border: 1px solid #b0c4de; /* Borde azul claro */
    padding: 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    color: #333;
}
/* Estilo para el contenedor del buscador */
.search-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}




/* Estilo para el contenedor del buscador */
.search-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo para el input del buscador */
#searchBox {
    width: 80%;
    max-width: 300px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

    /* Estilo cuando el input está enfocado */
    #searchBox:focus {
        outline: none;
        border-color: #555555;
        box-shadow: 0 0 5px rgba(85, 85, 85, 0.5);
    }

/* Estilo para el mensaje de no resultados */
.no-results-message .instruction-message.no-results-text {
    color: #ff0000; /* Rojo para indicar alerta */
    font-weight: bold;
}

/* Nueva Clase para el Mensaje de No Resultados */
.no-results-text {
    color: #ff0000; /* Rojo para indicar alerta */
    font-weight: bold;
}

.pronoun-button {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0; /* Inicialmente invisible */
    transform: scale(0.8); /* Tamaño reducido */
}
/* Botones de las letras ajustables */
.pronoun-button {
    background-color: #46addb;
    font-size: 1rem;
    font-weight: bold;
    padding: 5px 15px;
    margin: 5px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    box-shadow: 0 6px #2E95B8; /* Sombra para efecto 3D */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    opacity: 0; /* Ocultamos inicialmente */
    animation: aparecer 0.5s forwards;
}

    .pronoun-button:hover {
        background-color: #fc9935;
        transform: translateY(-4px);
    }

    .pronoun-button:active {
        box-shadow: 0 2px #2E95B8;
        transform: translateY(2px);
    }

/* Contenedor de los botones */
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    margin: 10px 0;
}

    .button-container button {
        flex: 1 1 auto; /* Permite que los botones crezcan según el contenido */
        min-width: 20px; /* Ancho mínimo */
        max-width: 80%; /* Ancho máximo */
    }

/* Input de texto */
#textoResultado {
    background-color: #FFFFFF;
    color: #333333;
    border: 1px solid #B0C4DE;
    border-radius: 10px;
    padding: 12px;
    font-size: 1rem;
}

    #textoResultado::placeholder {
        color: #BDBDBD;
    }
