body {
    font-family: Arial, sans-serif;
}

article {
    margin: 20px 40px;
    border-bottom: 2px solid #999;
}

article h1 {
    text-align: center;
    font-size: 42px;
}

article h2 {
    text-align: center;
    font-size: 32px;
}

article p {
    text-align: center;
    font-size: 24px;
}

/* Fondo oscuro cuando aparece el pop-up */
.overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.subtitle {
    font-weight: 600;
}

/* Caja del pop-up */
.popup {
    background: #fff;
    width: 400px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    position: relative;
}

/* Botón de cerrar */
.popup .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
}

.popup h2 {
    margin-top: 0;
    color: #333;
}

.popup p {
    color: #555;
    line-height: 1.4;
    white-space: pre-line;
}

/* Botón para abrir */
.btn {
    padding: 10px 20px;
    color: #fff;
    margin: 10px 5px;
    border-radius: 5px;
    cursor: pointer;
    width: 325px;
    height: 40px;
    font-size: 18px;
}

.contbtn {       
    justify-content: center; 
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.btn1 { border: none; background: #0078d7; }   
.btn2 { border: none; background: #28a745; }   
.btn3 { border: none; background: #dc3545; }   
.btn4 { border: none; background: #ffc107; color: #000; } 
.btn5 { border: none; background: #6f42c1; }   
.btn6 { border: none; background: #17a2b8; }   
.btn7 { border: none; background: #fd7e14; }
.btnextra { border: 1px solid #111f88; color: #111f88}


.btn1:hover { background: #005fa3; }
.btn2:hover { background: #1e7e34; }
.btn3:hover { background: #a71d2a; }
.btn4:hover { background: #e0a800; }
.btn5:hover { background: #563d7c; }
.btn6:hover { background: #117a8b; }
.btn7:hover { background: #e8590c; }
.btnextra:hover { border: none; background-color: #111f88; color:#fff}