.pagina_1 {
    width: 100%;
    height: 100vh;
    background-image: url('../image/pagina_1_1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center; /* 🔹 Centra verticalmente todo el contenido */
}

.pagina_1_navegacion {
    position: absolute;
    top: 50%;
    right: 40px; /* distancia desde el borde derecho */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.pagina_1_navegacion .icono {
    background-color: var(--primero);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagina_1_navegacion .icono:hover {
    background-color: var(--primeroHover);
    color: white;
    transform: scale(1.1);
}

.pagina_1_informacion {
    color: white;
    width: 40%;
    max-width: 700px;
    text-align: left; /* 🔹 Alinea texto a la izquierda */
    margin-left: 40px; /* 🔹 Separación del borde izquierdo */
}

.pagina_1_informacion h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
}

@keyframes zoomFondo {
    0% {
        background-size: 100%;
    }
    100% {
        background-size: 110%;
    }
}

.pagina_1_card{
    position: absolute;
    bottom: 20px;
    left: 50px;
}
.pagina_1_card .card_info{
    border-radius: 15px;
    background-color: var(--primero);
    width: 140px;
    height: 140px;
    float: right;
    text-align: center;                
    color: white;
    font-weight: bold;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pagina_1_card img{
    width: 50px;
}


/* Estilos generales (ya los tienes) */

/* Responsivo */
@media screen and (max-width: 1200px) {
    .pagina_1_informacion {
        width: 50%;
        margin-left: 20px;
    }
    .pagina_1_informacion h1 {
        font-size: 2.5rem;
    }
    .pagina_1_card {
        left: 30px;
        bottom: 15px;
    }
    .pagina_1_card .card_info {
        width: 120px;
        height: 120px;
        font-size: 0.9rem;
    }
    .pagina_1_card img {
        width: 40px;
    }
}

@media screen and (max-width: 992px) {
    .pagina_1 {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .pagina_1_informacion {
        width: 80%;
        margin-left: 0;
    }
    .pagina_1_informacion h1 {
        font-size: 2rem;
    }
    .pagina_1_navegacion {
        top: auto;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        flex-direction: row;
        gap: 10px;
    }
    .pagina_1_card {
        position: static;
        margin-top: 20px;
    }
}

@media screen and (max-width: 576px) {
    .pagina_1_informacion h1 {
        font-size: 1.5rem;
    }
    .pagina_1_card .card_info {
        width: 100%;
        height: 100px;
        font-size: 0.8rem;
    }
    .pagina_1_card img {
        width: 30px;
    }
    .pagina_1_navegacion .icono {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    /* 🔹 Organizar cards en 2 columnas */
    .pagina_1_card {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columnas */
        gap: 10px; /* Espacio entre cards */
        position: static; /* Para que se adapte al flujo del contenido */
        margin-top: 20px;
    }
}
