:root {
    --primary-color: #0768b1;
    --secondary-color: #b4d342;
    --third-color: #9CB738;
    --white-color: #ffffff;
    --black-color: #000000;
    --facebook-color: #0866FF;
    --whatsapp-color: #4FCA5D;
    --whatsapp-color-hover: #79c982;
    --facebook-color-hover: #5193fd;
    --grey-color: #8d8d8d;
    --fourth-color: #7b9421;
    --font-family: 'Josefin Sans', sans-serif;
}

*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

html {
    overflow-x: hidden;
}

h2 {
    background-color: var(--primary-color);
    padding: 50px;
    font-size: 2.5rem;
    text-align: center;
    color: var(--white-color);
}

.none-display {
    display: none;
}

.complete-size {
    width: 100%;
    height: 100%;
}

.front-background {
    background-image: url("../img/hero-image-orders.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    width: 100vw;
}

.black-filter {
    background-color: #00000080;
    width: 100vw;
    height: 100%;
    z-index: 10;
}

.logo {
    width: 150px;
    border-radius: 20px;
}

.logo-area {
    width: 100vw;
    display: flex;
    position: absolute;
}

.polygon {
    border-top: solid transparent 0;
    border-left: solid transparent 100vw;
    border-right: solid transparent 0;
    border-bottom: solid var(--primary-color) 200px;
    position: absolute;
}

.btn-green {
    background-color: var(--white-color);
    border: none;
    font-size: 1.3rem;
    color: var(--third-color);
    padding: 20px;
    border-radius: 40px;
}

.btn-green:hover {
    background-color: var(--third-color);
    color: var(--white-color);
    transition: 0.3s ease;
    cursor: pointer;
}

.mision-vision {
    padding: 50px;
}

.valores {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 50px;
}

.flex-center-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sticky {
    z-index: 1000;
    transition: 0.5s ease;
}

.img-logo-nav {
    width: 100px;
    position: relative;
    left: 5%;
}

.img-logo-nav:hover {
    cursor: pointer;
}


#facebook-icon {
    fill: var(--facebook-color);
}

#whatsapp-icon {
    fill: var(--whatsapp-color);
}

#whatsapp-icon:hover {
    fill: var(--whatsapp-color-hover);
    transition: 0.3s ease;
}

#facebook-icon:hover {
    fill: var(--facebook-color-hover);
    transition: 0.3s ease;
}

/* Card Grid */
.container {
    background-color: var(--primary-color);
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: start;
    padding: 50px;
}

.card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 60% 40%;
    grid-template-areas:
        "card-head"
        "card-body"
    ;
    background-color: #e0e0e0;
    box-shadow: #000 5px 5px 5px;
    width: 350px;
    height: 550px;
    margin: 20px 0;
    border-radius: 10px;
}

.card-img {
    grid-area: card-head;
    background-image: var(--i);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.card-body {
    grid-area: card-body;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
}

.card-body p {
    text-align: justify;
}

.blue-filter.none-display {
    display: none;
}

.blue-filter {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 255, 255, 0.5);
    border-radius: inherit;
    z-index: 888;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.blue-filter i {
    font-size: 30px;
    color: white;
}

.btn-prod {
    background-color: var(--white-color);
    border: none;
    color: var(--primary-color);
    padding: 10px;
    border: 3px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1rem;
    transition: 0.5s ease;
}

.btn-prod:hover {
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--white-color);
    transition: 0.5s ease;
}

.link-to-privacity {
    color: var(--white-color);
    text-decoration: none;
}

.link-to-privacity:hover {
    text-decoration: underline;
}

/* Desktop */
@media screen and (min-width: 825px) {
    .nav-filter {
        display: none;
    }

    .burguer {
        display: none;
    }

    .main-nav-mob {
        display: none;
    }

    .front-background {
        height: 500px;
        background-position: center;
    }

    #nav-bar-mob {
        display: none;
    }

    .nav-menu-desktop {
        width: 60%;
        position: absolute;
        top: 20px;
        right: 20px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    nav#nav-bar-dt {
        width: 100%;
        height: 80px;
        position: absolute;
        top: 0px;
        right: 0px;
    }

    .btn-nav {
        background-color: transparent;
        color: var(--white-color);
        border: none;
        font-size: 1.2rem;
        padding: 10px;
    }

    .btn-nav:hover {
        background-color: var(--grey-color);
        border-radius: 25px;
        padding: 10px;
        transition: 0.3s ease;
        cursor: pointer;
    }

    /* Polígono */

    .polygon {
        border-top: solid transparent 0;
        border-left: solid transparent 100%;
        border-right: solid transparent 0;
        border-bottom: solid var(--primary-color) 300px;
        position: absolute;
        top: 200px;
    }

    /* Logo */

    .logo-area {
        position: absolute;
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        top: 250px;
        z-index: 10;
    }

    .logo {
        width: 220px;
    }

    /* Footer */

    footer {
        background-color: var(--black-color);
        color: var(--white-color);
        padding: 10px;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-around;
        align-items: center;
    }

    .social-media {
        padding: 10px;
        width: 20%;
        display: flex;
        justify-content: space-evenly;
    }

    .social-media svg {
        width: 50px;
    }

    .social-media svg:hover {
        cursor: pointer;
    }

    footer p {
        padding: 10px;
        text-align: center;
        display: inline;
    }

    .text-footer {
        display: flex;
        justify-content: space-around;
    }

}

/* Tablet */

@media screen and (min-width: 569px) and (max-width: 824px) {
    .nav-filter {
        display: none;
    }

    .burguer {
        display: none;
    }

    .main-nav-mob {
        display: none;
    }

    .front-background {
        height: 450px;
    }

    .nav-menu-desktop {
        width: 60%;
        position: absolute;
        top: 20px;
        right: 20px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    .btn-nav {
        background-color: transparent;
        color: var(--white-color);
        border: none;
        font-size: 1rem;
        padding: 10px;
    }

    .btn-nav:hover {
        background-color: var(--grey-color);
        border-radius: 25px;
        padding: 10px;
        transition: 0.3s ease;
        cursor: pointer;
    }

    #nav-bar-mob {
        display: none;
    }

    .nav-menu-desktop {
        width: 60%;
        position: absolute;
        top: 20px;
        right: 20px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    nav#nav-bar-dt {
        width: 100%;
        height: 80px;
        position: absolute;
        top: 0px;
        right: 0px;
    }

    /* Polígono */

    .polygon {
        border-top: solid transparent 0;
        border-left: solid transparent 100%;
        border-right: solid transparent 0;
        border-bottom: solid var(--primary-color) 300px;
        position: absolute;
        top: 150px;
    }

    /* Logo */

    .logo-area {
        position: absolute;
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        top: 180px;
        z-index: 10;
    }

    .logo {
        width: 220px;
    }

    /* Footer */

    footer {
        background-color: var(--black-color);
        color: var(--white-color);
        padding: 10px;
    }

    .social-media {
        padding: 10px;
        display: flex;
        justify-content: space-around;
    }

    .social-media svg {
        width: 50px;
    }

    footer p {
        padding: 10px;
        text-align: center;
    }

}

/* Mobile */

@media screen and (max-width: 568px) {
    .burguer {
        position: absolute;
        top: 25px;
        right: 25px;
        z-index: 1000;
    }

    .img-logo-nav-mob {
        width: 100px;
        position: absolute;
        left: 20px;
    }

    .main-nav-mob {
        width: 100%;
        height: 80px;
        position: absolute;
        top: 0;
    }

    #nav-bar-dt {
        display: none;
    }

    .nav-menu-desktop {
        display: none;
    }

    .burguer button {
        background-color: transparent;
        border: none;
    }

    a {
        text-decoration: none;
        color: var(--white-color);
    }

    .nav-filter {
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        position: fixed;
        z-index: 20;
    }

    .nav-filter ul {
        list-style-type: none;
        position: absolute;
        top: 200px;
        font-size: 2rem;
        color: var(--white-color);
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    .front-background {
        height: 500px;
        background-position: center;
        width: 100%;
        height: 300px;
        width: 100vw;
    }

    .logo-area {
        justify-content: center;
        top: 130px;
        z-index: 10;
    }

    /* Polígono del sitio web */

    .polygon {
        border-top: solid transparent 0;
        border-left: solid transparent 100vw;
        border-right: solid transparent 0;
        border-bottom: solid var(--primary-color) 200px;
        position: absolute;
        top: 100px;
    }

    /* Sección de Footer */
    footer {
        background-color: var(--black-color);
        color: var(--white-color);
        padding: 10px;
    }

    .social-media {
        padding: 10px;
        display: flex;
        justify-content: space-around;
    }

    .social-media svg {
        width: 50px;
    }

    footer p {
        padding: 10px;
        text-align: center;
    }
}