/* Estilos del modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.modal-overlay:target {
    display: block;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.modal-close {
    text-decoration: none;
    color: #666;
    font-size: 4em;
    font-weight: bold;
    line-height: 1;
    transition: color 0.3s;
    font-family: "Varela Round", Futura, "Trebuchet MS", Arial, sans-serif;
}

.modal-close:hover {
    color: #000;
    text-decoration: none;
}

.modal-content {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-content h3 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

.modal-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.modal-content strong {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        height: 90%;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .modal-content {
        padding: 20px;
    }
}

/* Botón para abrir el modal */
/*
.open-modal-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.open-modal-btn:hover {
    background-color: #0056b3;
}*/