:root {
    --colorGreen: rgb(41, 125, 39);
    --colorLightGrey: rgb(239, 239, 239);
    --colorDarkGray: rgb(216, 206, 215);
    --colorWhite: #fff;
    --colorBlack: #000;

    --BottomOffset: 35px;
    --LineHeight: 4px;
    --fuente-principal: 'Roboto Condensed', sans-serif;
}


/* apply a natural box layout model to all elements, but allowing components to change */
html {
    box-sizing: border-box;
    font-size: 62.5%;
    scroll-behavior: smooth;
    font-family: var(--fuente-principal);
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    line-height: 1.15;
    background-color: var(--colorLightGrey);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
}

.contenedor {
    width: min(95%, 120rem);
    margin: 1.5rem auto;
}

.barra a {
    text-decoration: none;
}

.header {
    padding: 2rem;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #fff;
}

.barra {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 1080px) {
    .barra {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}

.navegacion {
    display: none;
}

@media (max-width: 1080px) {

    .navegacion {
        margin-top: 1rem;
        width: 100%;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        gap: 2.5rem;

        height: 0vh;
        overflow: hidden;
        opacity: 0;
        transition: all .5s ease;
        background-color: var(--colorGreen);
        border-radius: 0 0 1rem 1.5rem;
        padding: 1rem;
        box-shadow: 0px 4px 6px 1px rgb(1, 65, 30);
    }

    .navegacion.isActive {
        height: 30vh;
        opacity: 1;
    }

}

.cabecera_buttom {
    display: flex;
}

@media (min-width: 1080px) {
    .cabecera_buttom {
        display: none;
    }

    .navegacion {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        gap: 1.5rem;
        justify-content: flex-end;
        gap: 2rem;
    }
}

.navegacion a {
    color: var(--colorWhite);
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 700;
    padding: .5rem;
    /* transition-property: background-color;
    border-radius: 4px;
    transition-duration: 0.3s; */
    border-bottom: 1px solid var(--colorWhite);
}

@media (min-width: 1080px) {
    .navegacion>a {
        position: relative;
        z-index: 1;
        color: var(--colorBlack);
        border: none;
    }

    .navegacion>a::before {
        position: absolute;
        content: '';
        display: block;
        z-index: -1;
        background: var(--colorGreen);
        width: 0;
        height: var(--LineHeight);
        top: var(--BottomOffset);
        border-radius: var(--LineHeight);
        left: 50%;
        transition: 0.4s cubic-bezier(0.25, 0.1, 0, 2.02);
    }

    .navegacion>a:hover::before {
        width: calc(100% + var(--LineHeight));
        left: calc(var(--LineHeight) / -2);
    }
}

.logo_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo_flex img {
    height: 128px;
    width: 128px;
}

.title {
    display: none;
}


@media (min-width: 1080px) {
    .logo_flex {
        gap: 2rem;
    }
}


@media (min-width: 1080px) {
    .title {
        display: block;
    }
}

.title h1,
.title h2 {
    margin: .5rem;
    text-align: center;
    color: var(--colorGreen);
}

@media (min-width: 1080px) {
    .title h1 {
        font-size: 4.8rem;
    }
}

.title h2 {
    text-transform: uppercase;
    font-size: 2.3rem;
}

.border_line {
    border: 1px solid var(--colorDarkGray);
    margin-top: 2rem;
}

.cabecera_buttom {
    border: none;
}

/* * Quienes somos */

.title_section {
    font-size: 4rem;
    text-align: center;
    margin: 6rem 0 3.2rem;
}

.flex_sect {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.flex_sect img {
    width: 100%;
}

@media (min-width: 768px) {
    .flex_sect img {
        height: 423px;
        width: 560px;
    }
}

@media (min-width: 1080px) {
    .flex_sect {
        flex-direction: row;
    }
}

.p-1 {
    padding: 1rem;
}

@media (min-width: 768px) {
    .p-1 {
        padding: 0;
    }
}

.title_parrafo {
    font-size: 3rem;
    margin: .8rem;
    font-weight: bold;
}

/* * Ubicación  */

.parrafo {
    font-size: 2rem;
    align-items: start;
    margin: .5rem 0;
    font-weight: 700;
}

.title_section_scund {
    font-size: 2rem;
}

.map {
    border: 15px solid var(--colorGreen);
    border-radius: 1rem;
    width: 1080px;
    max-width: 100%;
    height: 400px;
}

.ubicacion_flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1080px) {
    .ubicacion_flex {
        flex-direction: row;
    }
}

.p_flex {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 0;
}

.mt-8 {
    margin-top: 8rem;
}

/* * Footer */

.footer {
    margin-top: 4.5rem;
}

.footer_clientes {
    margin-top: 44rem;
}

.footer_flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 4rem;
    gap: 2rem;
    width: min(95%, 120rem);
    margin: 1.5rem auto;
}

@media (min-width: 1080px) {
    .footer_flex {
        flex-direction: row;
        gap: 6rem;
    }
}

.title_h4 {
    font-size: 3rem;
    margin: 2rem 0;
}

@media (min-width: 968px) {
    .lista {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 4rem;
        margin: 0;
        padding: 0;
    }

    .lista li:nth-child(5) {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
    }
}

.p_footer {
    font-size: 3rem;
    text-align: center;
    color: var(--colorGreen);
    font-weight: 700;
}


/* * Botones Flotantes */

.go_top_container {
    position: fixed;
    bottom: 2rem;
    right: 0rem;
    width: 3rem;
    height: 3rem;
    z-index: -1;
}

.go_top_button {
    width: 0rem;
    height: 0rem;
    /* background-color: var(--colorGreen); */
    border-radius: 50%;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border: 0;
    opacity: 0;
}

.go_top_button .icon_subir {
    position: absolute;
    top: 48%;
    left: 14%;
    transform: translate(-50%, -50%) scale(0);
    transition: .3s;
}

.show {
    z-index: 10;
}

.show .go_top_button {
    animation: popup .3s ease-in-out;
    width: 5rem;
    height: 5rem;
    z-index: 11;
    opacity: 1;
}

.show .icon_subir {
    transform: translate(-50%, -50%) scale(1);
}

.go_top_container_w {
    position: fixed;
    bottom: 8rem;
    right: 0rem;
    width: 3rem;
    height: 3rem;
    z-index: -1;
}

.go_top_button_w {
    width: 0rem;
    height: 0rem;
    /* background-color: var(--colorGreen); */
    border-radius: 50%;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-52%, -165%);
    z-index: -1;
    border: 0;
    opacity: 0;
}

.go_top_button_w .icon_whatsap {
    position: absolute;
    top: 48%;
    left: 14%;
    transform: translate(-50%, -50%) scale(0);
    transition: .3s;
}

.show {
    z-index: 10;
}

.show .go_top_button_w {
    animation: popup .3s ease-in-out;
    width: 5rem;
    height: 5rem;
    z-index: 11;
    opacity: 1;
}

.show .icon_whatsap {
    transform: translate(-50%, -50%) scale(1);
}

.go_top_container_e {
    position: fixed;
    bottom: 14rem;
    right: 0rem;
    width: 3rem;
    height: 3rem;
    z-index: -1;
}

.go_top_button_e {
    width: 0rem;
    height: 0rem;
    /* background-color: var(--colorGreen); */
    border-radius: 50%;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-52%, -280%);
    z-index: -1;
    border: 0;
    opacity: 0;
}

.go_top_button_e .icon_email {
    position: absolute;
    top: 48%;
    left: 14%;
    transform: translate(-50%, -50%) scale(0);
    transition: .3s;
}

.show {
    z-index: 10;
}

.show .go_top_button_e {
    animation: popup .3s ease-in-out;
    width: 5rem;
    height: 5rem;
    z-index: 11;
    opacity: 1;
}

.show .icon_email {
    transform: translate(-50%, -50%) scale(1);
}

/* * Estilos a Clientes */

.grid_clientes {
    display: grid;
    align-items: center;
    gap: 2rem;
    justify-items: center;
    padding: 1.5rem;

    height: 20rem;
    overflow-x: hidden;
    overflow-y: scroll;
    position: absolute;
}


@media (min-width: 768px) {
    .grid_clientes {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
        height: 40rem;
    }
}

@media (min-width: 1200px) {
    .grid_clientes {
        grid-template-columns: repeat(3, 1fr);
        gap: 8rem;
    }
}

@keyframes float {
    0% {
        /* box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6); */
        transform: translatey(0px);
    }

    50% {
        box-shadow: 0 25px 15px 0px rgba(0, 0, 0, 0.2);
        transform: translatey(-20px);
    }

    100% {
        /* box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6); */
        transform: translatey(0px);
    }
}

.image {
    box-sizing: border-box;
    overflow: hidden;
    /* box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6); */
    transform: translatey(0px);
    animation: float 6s ease-in-out infinite;
}

.card_logo .image-n {
    height: auto;
    width: 380px;
}

.card_logo .image-p {
    width: 200px;
    height: auto;
}

/* * Categorías */
.categorias_flex {
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .categorias_flex {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
}

.list_flex {
    display: block;
    /* padding: 0 0 2rem; */
}

@media (min-width: 768px) {
    .list_flex {
        padding: 2rem;
    }
}

.list_primary ul {
    margin-bottom: 3rem;
}

.list_primary ul li,
.list_second ul li {
    margin-bottom: .6rem;
    color: var(--colorGreen);
    font-size: 2rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .list_flex {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .list_primary ul {
        margin-bottom: 0;
    }
}

/* * Catalogos */
.catalog_flex {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 4rem;
    align-items: center;
    justify-items: center;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .catalog_flex {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 6rem;
    }
}

@media (min-width: 1200px) {
    .catalog_flex {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 6rem;
    }
}

.card_catalog {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--colorWhite);
    padding: 2rem 4rem;
    border-radius: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 100%;
    max-width: 343px;

    transition-property: -webkit-transform;
    transition-property: trasnform;
    transition-property: trasnform, -webkit-transform;
    transition: .5s ease-in-out;
}

.card_catalog:hover {
    -webkit-transform: rotate(-4deg) scale(1.1);
    transform: rotate(-4deg) scale(1.1);
}

.titlecatalogo {
    font-size: 2rem;
    text-align: center;
}

.buttonDownload {
    width: 100%;
    background-color: var(--colorGreen);
    border: none;
    padding: .5rem 0;
    border-radius: 1rem;

    display: flex;
    justify-content: center;
}

.btn_info {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-decoration: none;
    color: var(--colorWhite);
    font-size: 1.8rem;
}

/* * 404 NOT FOUND */

.flex_notfound {
    padding: 1rem;
}

@media (min-width: 768px) {
    .flex_notfound {
        display: grid;
        grid-template-columns: repeat(9, 1fr);
        gap: 4rem;
        padding: 0 6rem;
        align-items: center;
    }

    .flex_notfound div:nth-child(1) {
        grid-column: 2 / 5;
    }

    .flex_notfound div:nth-child(2) {
        grid-column: 6 / 10;
    }
}

@keyframes floatTitle {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-20px);
        box-shadow: 0 25px 15px 0px rgba(216, 206, 215, 0.5);
    }

    100% {
        transform: translatey(0px);
    }
}

.titlenotfund {
    font-size: 8rem;
    margin: 1rem 0;
    color: var(--colorGreen);
    text-align: center;

    background-color: rgb(216, 206, 215, 0.1);
    padding: 1rem;
    border-radius: 1rem;
    box-sizing: border-box;
    overflow: hidden;
    transform: translatey(0px);
    animation: floatTitle 6s ease-in-out infinite;
}

@media (min-width: 768px) {
    .titlenotfund {
        font-size: 5.5rem;
    }
}

@media (min-width: 1080px) {
    .titlenotfund {
        font-size: 8rem;
    }
}

.parrafonotfund {
    font-size: 2.5rem;
    text-align: start;
    font-weight: 700;
}

.button {
    display: block;
    background-color: var(--colorGreen);
    color: white;
    font-size: 2rem;
    text-align: center;
    text-decoration: none;
    padding: .8rem;
    border-radius: 1.5rem 1.5rem 0 1.5rem;
    width: 100%;
    transition: .3s;
    font-weight: 700;
}

@media (min-width: 768px) {
    .button {
        max-width: 12rem;
    }
}

.button:hover {
    background-color: rgb(3, 90, 3);
    transform: scale(1.1);
}