/* Botón flotante */
.floating-info-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background-color: #1e3c72;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 9997;
}

    .floating-info-btn:hover {
        background-color: #f7b733;
        transform: scale(1.1);
    }

/* Estilo de la ventana desplegable */
.fullscreen-info {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto; /* Scroll si el contenido es demasiado largo */
    padding: 5%;
    transition: top 0.5s ease-in-out;
    z-index: 9999;
    box-sizing: border-box;
}

    .fullscreen-info.show {
        top: 0;
    }

/* Botón de cerrar */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Contenido general */
.fullscreen-info h1 {
    font-size: 2.5vw;
    text-align: center;
}

.fullscreen-info p, .fullscreen-info li {
    font-size: 1.2vw;
    text-align: justify;
}

/* Tarjetas e instrucciones */
.card {
    background-color: white;
    color: #333;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
    width: 100%;    
}

.card-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #1e3c72;
}

/* Imagen de tarjetas de crédito */
.card img {
    width: 100%;
    border-radius: 10px;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .fullscreen-info h1 {
        font-size: 20px;
    }

    .fullscreen-info p, .fullscreen-info li {
        font-size: 16px;
    }

    .card {
        padding: 15px;
    }
}
