@font-face {
    font-family: 'Montserrat-Bold';
    src: url(../fuentes/Montserrat/Montserrat-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'Montserrat-Medium';
    src: url(../fuentes/Montserrat/Montserrat-Medium.ttf) format('truetype');
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url(../fuentes/Montserrat/Montserrat-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'Merriweather-Bold';
    src: url(../fuentes/Merriweather/Merriweather-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'Merriweather-Light';
    src: url(../fuentes/Merriweather/Merriweather-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'Merriweather-Medium';
    src: url(../fuentes/Merriweather/Merriweather-Medium.ttf) format('truetype');
}

@font-face {
    font-family: 'Italic';
    src: url(../fuentes/Italic/lucida-calligraphy-italic.ttf) format('truetype');
}

:root {
    /*################ TIPOGRAFIA DE TEXTO ################*/
    /*################ TIPOGRAFIA DE TEXTO ################*/
    --fs-h1: clamp(1.375rem, 1.6vw + 1rem, 3.75rem);
    --fs-h2: clamp(1.25rem, 1.5vw + 0.75rem, 3rem);
    --fs-h3: clamp(1.125rem, 1.4vw + 0.5rem, 2.25rem);
    --fs-h4: clamp(1rem, 1.2vw + 0.25rem, 1.75rem);
    --fs-body: clamp(0.95rem, 1vw + 0.5rem, 1.5rem);
    --fs-small: clamp(0.875rem, 0.8vw + 0.25rem, 1.2rem);
    --fs-xs: clamp(0.75rem, 0.6vw + 0.2rem, 1rem);
    /*################ NEGRILLA AL TEXTO ################*/
    /*################ NEGRILLA AL TEXTO ################*/
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    /*################## MARGENES ##################*/
    /*################## MARGENES ##################*/
    --mb-1: .5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;
    --mb-6: 3rem;
    /*################## z-index ##################*/
    /*################## z-index ##################*/
    --toolkid: 100;
    --index-1: 10;
    --index-2: 30;
    --index-3: 60;
    --index-4: 90;
    /*######## Color Fondo Principal ########*/
    /*######## Color Fondo Principal ########*/
    --body-color: #ebeff1;
    /*######## Colores Segundarios ########*/
    /*######## Colores Segundarios ########*/
    --color-principal: #3e4a61;
    --color-segundario: #4e6b50;
    --color-terciario: #009100;
}

/*########################## PÁGINA PRINCIPAL ##########################*/
/*########################## PÁGINA PRINCIPAL ##########################*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


body {
    background: var(--body-color);
    overflow-x: hidden;
}

.animate-item {
    opacity: 0;
    visibility: hidden;
}

.animate-item.is-animated {
    opacity: 1;
    visibility: visible;
}

/*############# Estilos De Los LINKS #############*/
a {
    text-decoration: none;
    color: white;
    font-family: 'Montserrat-Bold';
}

/*###################### ESTILOS DEL BANNER ######################*/
/*###################### ESTILOS DEL BANNER ######################*/
.section-banner-book-collection {
    min-height: 40vh;
    background-image: url(/img/fondos/background-book.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-banner-book-collection .detail-collection h2 {
    font-size: var(--fs-h1);
    font-family: 'Montserrat-Bold';
    color: white;
}

/*###################### ESTILO CATEGORIAS DE LIBROS ######################*/
/*###################### ESTILO CATEGORIAS DE LIBROS ######################*/
.section-book-category {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1rem 0rem 3rem 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-book-category .content-category {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 60px;
    row-gap: 24px;
}

.content-category .card-category {
    background-color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    width: 400px;
    border-radius: 22px;
    overflow: hidden;
}

.card-category img {
    width: 100%;
}

.card-category .detail-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 10px;
}

.card-category .detail-card p {
    font-size: var(--fs-body);
    font-family: 'Montserrat-Bold';
    color: var(--color-segundario);
    padding: 10px 0px 10px 0px;
}

.card-category .detail-card a {
    background-color: var(--color-segundario);
    border: 0;
    border-radius: 5px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: var(--fs-body);
    font-family: 'Montserrat-Medium';
    padding: 6px 20px;
    cursor: pointer;
    transition: .5s;
    margin: 10px 0px 14px 0px;
}

/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
/*#################### SECCION DEL DISEÑO RESPONSIVO ####################*/
@media (max-width: 1919px) {
    .section-book-category .content-category {
        width: 90%;
        column-gap: 40px;
        row-gap: 30px;
    }

    .content-category .card-category {
        width: 360px;
        border-radius: 22px;
    }
}


@media (max-width: 1439px) {
    .section-book-category .content-category {
        width: 100%;
        column-gap: 26px;
        row-gap: 24px;
    }

    .content-category .card-category {
        width: 310px;
        border-radius: 16px;
    }
}


@media (max-width: 1023px) {
    /*###################### ESTILOS DEL BANNER ######################*/
    /*###################### ESTILOS DEL BANNER ######################*/
    .section-banner-book-collection {
        min-height: 30vh;
    }

    /*###################### ESTILO PUBLICACIONES ######################*/
    /*###################### ESTILO PUBLICACIONES ######################*/
    .content-category .card-category {
        width: 340px;
        border-radius: 16px;
    }

    .card-category .detail-card p {
        font-size: var(--fs-h3);
    }
}


@media (max-width: 767px) {
    /*###################### ESTILO PUBLICACIONES ######################*/
    /*###################### ESTILO PUBLICACIONES ######################*/
    .section-book-category .content-category {
        column-gap: 16px;
        row-gap: 20px;
    }

    .content-category .card-category {
        width: 270px;
        border-radius: 12px;
    }
}


@media (max-width: 599px) {
    /*###################### ESTILOS DEL BANNER ######################*/
    /*###################### ESTILOS DEL BANNER ######################*/
    .section-banner-book-collection {
        min-height: 26vh;
    }

    /*###################### ESTILO PUBLICACIONES ######################*/
    /*###################### ESTILO PUBLICACIONES ######################*/
    .section-book-category .content-category {
        column-gap: 14px;
        row-gap: 14px;
    }

    .content-category .card-category {
        width: 230px;
        border-radius: 12px;
    }
}

@media (max-width: 511px) {
    /*###################### ESTILOS DEL BANNER ######################*/
    /*###################### ESTILOS DEL BANNER ######################*/
    .section-banner-book-collection {
        min-height: 20vh;
    }

    /*###################### ESTILO PUBLICACIONES ######################*/
    /*###################### ESTILO PUBLICACIONES ######################*/
    .section-book-category .content-category {
        column-gap: 0px;
        row-gap: 20px;
    }

    .content-category .card-category {
        width: 320px;
        border-radius: 12px;
    }
}

@media (max-width: 424px) {
}

@media (max-width: 374px) {
}