/* Estilos para el botón flotante de "Acerca de" */
#about-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-image: url('../assets/images/boton.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

#about-button:hover {
    transform: scale(1.1);
}

/* Estilos para el modal "Acerca de" */
#about-modal {
    /* Reutiliza .modal de portal.css si es posible, si no, se definen aquí */
    display: none;
    position: fixed;
    z-index: 1010;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.about-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 25px 35px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    color: #333;
}

.about-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
    position: relative;
}

.about-modal-header h2 {
    font-size: 1.8rem;
    color: #0056b3;
    margin: 0;
    text-align: center;
}

.about-modal-close {
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

.about-modal-close:hover {
    color: #000;
}

.about-modal-body h3 {
    font-size: 1.5rem;
    color: #333;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.about-modal-body p,
.about-modal-body ul {
    line-height: 1.7;
    text-align: justify;
}

.about-modal-body ul {
    list-style-position: inside;
    padding-left: 10px;
}

.about-modal-body li {
    margin-bottom: 10px;
}

.about-modal-footer {
    border-top: 1px solid #ddd;
    padding: 20px;
    margin-top: 25px;
    margin-left: -35px;
    margin-right: -35px;
    margin-bottom: -25px;
    text-align: center;
    font-size: 0.9rem;
    background: linear-gradient(to right, #003366, #e8f4f8);
    color: white;
    border-radius: 0 0 10px 10px;
}

.about-modal-footer img {
    max-width: 150px;
    margin-bottom: 10px;
}

.about-modal-footer a {
    color: white;
    text-decoration: underline;
}

.about-modal-footer a:hover {
    color: #d0e8ff;
}
