@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800;900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: "Poppins", sans-serif;

    background: #f5f5f5;
}


/* HEADER */

.header {
    min-height: 90px;

    background: #000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 7%;
}


.logo {
    color: #00ff29;

    font-size: 25px;
    font-weight: 900;
}


.menu {
    display: flex;

    gap: 35px;
}


.menu a {
    color: #00ff29;

    text-decoration: none;

    font-weight: 700;

    transition: .3s;
}


.menu a:hover {
    color: white;
}


/* HERO */

.hero {
    min-height: 350px;

    background: #252525;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 40px 20px;
}


.hero h1 {
    color: #00ff29;

    font-size: clamp(45px, 7vw, 85px);

    font-weight: 900;
}


.hero p {
    color: white;

    font-size: 18px;
}


/* BIBLIOTECA */

.biblioteca {
    padding: 80px 7%;
}


.biblioteca h2 {
    text-align: center;

    color: #00ff29;

    font-size: clamp(35px, 5vw, 60px);

    margin-bottom: 40px;
}


/* BUSCADOR */

.buscador {
    max-width: 700px;

    margin: 0 auto 60px;
}


.buscador input {
    width: 100%;

    padding: 18px 25px;

    border: 2px solid #00ff29;

    border-radius: 10px;

    outline: none;

    font-size: 16px;
}


/* TARJETAS */

.contenedor-pdf {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(270px, 1fr));

    gap: 30px;
}


.tarjeta-pdf {
    background: #111;

    border-radius: 15px;

    padding: 35px;

    text-align: center;

    border: 2px solid #00ff29;

    transition: .3s;
}


.tarjeta-pdf:hover {
    transform: translateY(-10px);

    box-shadow:
        0 15px 35px rgba(0, 255, 41, .3);
}


.icono-pdf {
    width: 90px;
    height: 110px;

    margin: 0 auto 25px;

    background: #ff2b2b;

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;

    font-weight: 900;

    border-radius: 8px;
}


.tarjeta-pdf h3 {
    color: #00ff29;

    font-size: 22px;

    margin-bottom: 10px;
}


.tarjeta-pdf p {
    color: #ddd;

    margin-bottom: 30px;
}


/* BOTONES */

.botones {
    display: flex;

    justify-content: center;

    gap: 10px;

    flex-wrap: wrap;
}


.botones a {
    padding: 13px 20px;

    border-radius: 7px;

    text-decoration: none;

    font-weight: 800;

    transition: .3s;
}


.ver {
    background: #00ff29;

    color: black;
}


.descargar {
    border: 2px solid #00ff29;

    color: #00ff29;
}


.botones a:hover {
    transform: scale(1.05);
}


/* RESPONSIVE */

@media(max-width: 700px) {

    .header {
        flex-direction: column;

        gap: 20px;
    }


    .menu {
        flex-wrap: wrap;

        justify-content: center;
    }


    .biblioteca {
        padding: 60px 20px;
    }

}
/* =========================
   LOGO
========================= */

.logo img {
    width: 60px;
    height: 60px;

    object-fit: contain;
}


/* =========================
   REDES SOCIALES
========================= */

.redes-sociales {
    display: flex;

    align-items: center;

    gap: 20px;
}


.redes-sociales a {
    color: #00ff29;

    font-size: 22px;

    text-decoration: none;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: 0.3s;
}


.redes-sociales a:hover {
    color: #ffffff;

    transform: translateY(-4px) scale(1.15);
}

/* ===============================
   CONFIGURACIÓN GENERAL
================================ */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}


/* ===============================
   CELULAR Y TABLET
================================ */

@media (max-width: 768px) {

    /* HEADER */

    .header {
        width: 100%;
        height: auto;
        min-height: auto;

        padding: 15px;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 15px;
    }


    .logo {
        display: flex;
        justify-content: center;
    }


    .logo img {
        width: 60px;
        height: auto;
    }


    /* MENÚ */

    .menu,
    .nav {
        width: 100%;

        display: flex;
        flex-wrap: wrap;

        align-items: center;
        justify-content: center;

        gap: 10px 15px;
    }


    .menu a,
    .nav a {
        font-size: 13px;

        text-align: center;
    }


    /* REDES SOCIALES */

    .redes-sociales,
    .redes {
        width: 100%;

        display: flex;

        align-items: center;
        justify-content: center;

        gap: 25px;
    }


    /* HERO */

    .hero {
        width: 100%;
        min-height: 300px;

        padding: 40px 20px;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        text-align: center;
    }


    .hero h1 {
        width: 100%;

        font-size: 38px;

        line-height: 1.1;

        word-break: normal;
    }


    .hero p {
        width: 100%;

        font-size: 15px;

        line-height: 1.6;
    }


    /* TÍTULOS */

    h1 {
        font-size: 38px;
    }


    h2 {
        font-size: 32px;
    }


    h3 {
        font-size: 20px;
    }


    /* SECCIONES */

    .seccion,
    .biblioteca,
    .seccion-manuales,
    .conocenos,
    .gratis,
    .informacion {
        width: 100%;

        padding: 50px 20px;
    }


    /* BUSCADOR */

    .buscador {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;

        gap: 10px;
    }


    .buscador input {
        width: 100%;

        padding: 16px;

        font-size: 14px;

        border-radius: 10px;
    }


    .buscador button {
        width: 100%;

        padding: 16px;

        border-radius: 10px;
    }


    /* MARCAS */

    .marcas {
        width: 100%;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 20px;
    }


    .marca {
        width: 100%;

        padding: 10px;

        display: flex;

        align-items: center;
        justify-content: center;
    }


    .marca img {
        width: 100px;
        height: 90px;

        object-fit: contain;
    }


    /* TARJETAS DE MANUALES */

    .manuales,
    .contenedor-manuales,
    .contenedor-pdf {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 25px;
    }


    .manual,
    .tarjeta-manual,
    .tarjeta-pdf {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        padding: 30px 20px;
    }


    .tarjeta-manual p,
    .tarjeta-pdf p,
    .manual p {
        font-size: 14px;

        line-height: 1.7;
    }


    /* BOTONES */

    .botones {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 10px;
    }


    .botones a,
    .boton-gratis,
    .tarjeta-manual a,
    .manual a {
        width: 100%;

        text-align: center;

        padding: 15px;
    }


    /* TARJETA QUIÉNES SOMOS */

    .tarjeta {
        width: 100%;
        max-width: 100%;

        padding: 25px 20px;
    }


    .tarjeta p {
        font-size: 14px;

        line-height: 1.8;

        text-align: left;
    }


    /* PDF */

    .icono-pdf {
        width: 75px;
        height: 95px;

        font-size: 20px;
    }


    /* FOOTER */

    footer {
        width: 100%;

        padding: 25px 20px;

        text-align: center;
    }

}


/* ===============================
   CELULARES PEQUEÑOS
================================ */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 31px;
    }


    h1 {
        font-size: 31px;
    }


    h2 {
        font-size: 27px;
    }


    .marcas {
        grid-template-columns: repeat(2, 1fr);

        gap: 15px;
    }


    .marca img {
        width: 80px;
        height: 75px;
    }


    .menu a,
    .nav a {
        font-size: 12px;
    }


    .seccion,
    .biblioteca,
    .seccion-manuales,
    .conocenos,
    .gratis,
    .informacion {
        padding: 40px 15px;
    }

}