.fondo-ofi {
    position: relative; /* Ensure the pseudo-element is positioned correctly */
    overflow: hidden; /* Hide anything that overflows the container */
}

.fondo-ofi::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/img/oficina.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: center;
    opacity: 0.5;
    z-index: -1; /* Place it behind the content */
}

/* Estilo del popup */
.popup {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    padding: 20px;
    max-width: 80%;
    max-height: 80%;
    width: 90%;
    height: auto;
    overflow-y: auto; /* Agrega desplazamiento vertical */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Botón de cerrar */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #333;
}

/* Encabezado del popup */
.popup-content h2 {
    margin-top: 0;
    font-size: 24px;
}

.mmartop5{
    margin-top: 10%;
}

@media (max-width: 600px) {
    .mobilpt-5 {
        padding-top: 0px !important;
    }
}