body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

header {
    background-color: #4CAF50;
    color: white;
    padding: 20px 15px;
    text-align: center;
    position: relative;
}

header h1 {
    margin: 0;
}

header h2 {
    margin: 5px 0 15px;
    font-size: 1rem;
    font-weight: normal;
}

.header-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.header-icons img {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
}

.header-icons img:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    header {
        padding: 30px 15px;
    }

    .header-icons img {
        width: 28px;
        height: 28px;
    }
}

#cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
    gap: 15px;
}

.card {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 15px;
    box-sizing: border-box;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.05);
}

.card h2 {
    margin-top: 0;
}

.card p {
    margin: 10px 0;
}

.card .idea {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    max-height: 150px;
    overflow-y: auto;
    transition: font-size 0.2s ease-in-out;
}

.card:hover .idea {
    display: block;
}

.card-footer {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.9rem;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Sombra para mejorar el contraste */
    
}

.card-footer img {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    vertical-align: middle;
}

.check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
}

.popup-menu {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    z-index: 1000;
    width: 250px;
    font-family: Arial, sans-serif;
}

.popup-menu label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.popup-menu select {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
}

.popup-menu button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
}

.popup-menu button:hover {
    background-color: #45a049;
}

.large-button {
    background-color: #007bff; /* Azul llamativo */
    color: white; /* Texto blanco */
    font-size: 1.5rem; /* Tamaño de letra grande */
    padding: 15px 30px; /* Espaciado interno */
    border: none; /* Sin borde */
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
    cursor: pointer; /* Cursor de mano */
    width: 100%; /* Ocupa todo el ancho */
    max-width: 300px; /* Ancho máximo */
    margin: 20px auto; /* Centrado en pantalla */
    display: block; /* Asegura que sea un botón de bloque */
    text-align: center; /* Centrar texto */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Transiciones */
}

.large-button:hover {
    background-color: #0056b3; /* Azul más oscuro al pasar el ratón */
    transform: scale(1.05); /* Ligeramente más grande */
}

.large-button:active {
    background-color: #004085; /* Azul más oscuro al hacer clic */
    transform: scale(0.95); /* Ligeramente más pequeño */
}

/* Estilos adaptativos para dispositivos móviles */
@media (max-width: 600px) {
    .large-button {
        font-size: 1.2rem; /* Reducir tamaño de letra */
        padding: 12px 25px; /* Espaciado interno más compacto */
        max-width: 90%; /* Ajustar al ancho de la pantalla */
    }
}
