: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;
    --padding: 50px;
}

*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

html {
    overflow-x: hidden;
}


.none-display {
    display: none;
}

.complete-size {
    width: 100%;
    height: 100%;
}

.front-background {
    background-image: url("../img/Empresa\ Interplas.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
}

.blue-filter {
    background-color: #00000090;
    width: 100vw;
    height: 100%;
    z-index: 10;
}

.logo {
    width: 170px;
    height: 130px;
    border-radius: 20px;
}

.logo-area {
    width: 100vw;
    display: flex;
    justify-content: center;
    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-width-mob {
    width: 70px;
}

.img-logo-nav {
    width: 100px;
    position: relative;
    left: 5%;
}

.img-logo-nav:hover {
    cursor: pointer;
}

#whatsapp-icon:hover {
    fill: var(--whatsapp-color-hover);
    transition: 0.3s ease;
}

#facebook-icon:hover {
    fill: var(--facebook-color-hover);
    transition: 0.3s ease;
}

.link-to-privacity {
    color: var(--white-color);
    text-decoration: none;
}

.link-to-privacity:hover {
    text-decoration: underline;
}

.container {
    margin-top: 50px;
    padding: 20px;
    width: 100%;
    height: auto;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.container h2 {
    text-align: center;
    padding: 10px;
}

.container .image {
    display: flex;
    justify-content: center;
    align-items: center;

}

.image img {
    border: 10px solid #cbcbcb;
    width: 90%;
}

/* Desktop */
@media screen and (min-width: 825px) {
    .nav-filter {
        display: none;
    }

    .burguer {
        display: none;
    }

    .front-background {
        height: 500px;
        background-position: center;
    }

    .main-nav-mob {
        display: none;
    }

    #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;
        top: 250px;
        z-index: 10;
    }

    .logo {
        width: 300px;
        height: 240px;
    }

    /* Quiénes somos */

    .who-are-we {
        background-color: var(--primary-color);
        color: var(--white-color);
        padding: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .who-are-we-text {
        display: grid;
        grid-template-columns: 40% 70%;
        margin-bottom: 30px;
        font-size: 1.4rem;
    }

    .who-are-we img {
        width: 60%;
        border-radius: 20px;
    }

    .who-are-we p {
        width: 80%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: var(--padding);
    }

    .img-about-us-position {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .img-about-us-position img {
        width: 180px;
    }


    /* Política de Calidad */

    .quality-policy-text {
        padding: var(--padding);
        display: grid;
        grid-template-columns: 30% 1fr;
        text-align: center;
        font-size: 1.2rem;
    }

    .quality-policy-text h2 {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .quality-policy-text p {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

    .quality-policy {
        background-image: url("../img/industria2-img.jpg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        height: 400px;
        color: var(--white-color);
        margin-bottom: 20px;
    }

    .quality-policy .blue-filter {
        background-color: rgba(0, 0, 0, 0.8);
        width: 100%;
        height: 100%;
        z-index: 10;
        display: flex;
    }

    /* Objetivos de Calidad */

    .quality-objetives-mb {
        display: none;
    }

    .quality-objectives-dk {
        background-color: var(--secondary-color);
        height: 600px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .diagram-section {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .diagram-section img {
        width: 100%;
        height: 100%;
    }

    .diagram-section h2 {
        width: 30%;
        font-size: 2.4rem;
        color: var(--white-color);
        text-align: center;
        margin-bottom: 20px;
        text-shadow: 2px 2px 3px var(--black-color);
        position: absolute;
        top: 40%;
        left: 34%;
    }

    .objective-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        font-size: 1.6rem;
        text-align: center;
        color: var(--white-color);
        text-shadow: 1px 1px 2px var(--black-color);
        width: 15%;
    }

    .objective-content:nth-child(2) {
        top: 4%;
        left: 15%;
    }

    .objective-content:nth-child(3) {
        top: 4%;
        right: 13%;
    }

    .objective-content:nth-child(4) {
        bottom: 10%;
        left: 15%;
    }

    .objective-content:nth-child(5) {
        bottom: 10%;
        right: 13%;
    }

    .objective-content img {
        width: 100px;
    }

    /* Valores */

    .mision-vision {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        background-color: var(--white-color);
    }

    .tarjeta-valor {
        display: none;
    }

    .tarjeta-mision {
        width: 80%;
        background-color: var(--secondary-color);
        padding: 30px;
        display: flex;
        justify-content: space-evenly;
        border-radius: 150px;
        margin-bottom: 50px;
        font-size: 1.3rem;
        text-align: center;
    }

    .tarjeta-mision h3 {
        margin-bottom: 30px;
    }

    .tarjeta-mision:last-child {
        margin-bottom: 0;
    }

    .tarjeta-mision img {
        width: 150px;
    }

    .tarjeta-mision article {
        padding: 0 50px;
    }

    .custom-width {
        width: 80%;
    }

    /* Valores */

    .valores h2 {
        text-align: center;
    }

    .grid-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        margin: auto;
        width: 80%;
    }

    .valor {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 30px;
    }

    .valor p {
        font-size: 1.5rem;
    }

    .white-circle {
        width: 250px;
        height: 250px;
        border-radius: 50%;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--white-color);
    }

    .valor .white-circle img {
        width: 180px;
    }

    /* Certificado */

    .image img {
        width: 30%;
    }

    /* 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;
    }

    #facebook-icon {
        fill: var(--facebook-color);
    }

    #instagram-icon {
        fill: var(--instagram-color);
    }

    #whatsapp-icon {
        fill: var(--whatsapp-color);
    }

    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) {

    html {
        overflow-x: hidden;
    }

    .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;
        justify-content: flex-end;
        right: 10%;
        top: 180px;
        z-index: 10;
    }

    .logo {
        width: 270px;
        height: 200px;
    }

    /* Quiénes somos */

    .who-are-we {
        background-color: var(--primary-color);
        color: var(--white-color);
        padding: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .who-are-we-text {
        display: grid;
        grid-template-columns: 40% 70%;
        margin-bottom: 30px;
        font-size: 1.2rem;
    }

    .who-are-we img {
        width: 100%;
        border-radius: 20px;
    }

    .who-are-we p {
        width: 80%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: var(--padding);
    }

    .img-about-us-position {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .img-about-us-position img {
        width: 180px;
    }

    /* Política de Calidad */

    .quality-policy-text {
        padding: var(--padding);
        display: grid;
        grid-template-columns: 30% 1fr;
        text-align: center;
        font-size: 1.2rem;
    }

    .quality-policy-text h2 {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .quality-policy-text p {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

    .quality-policy {
        background-image: url("../img/industria2-img.jpg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        height: 300px;
        color: var(--white-color);
        margin-bottom: 20px;
    }

    .quality-policy .blue-filter {
        background-color: rgba(0, 0, 0, 0.8);
        width: 100%;
        height: 100%;
        z-index: 10;
        display: flex;
    }

    /* Objetivos de Calidad */

    .quality-objetives-mb {
        display: none;
    }

    .quality-objectives-dk {
        background-color: var(--secondary-color);
        height: 400px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .diagram-section {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .diagram-section img {
        width: 60%;
        height: 100%;
    }

    .diagram-section h2 {
        color: var(--white-color);
        text-align: center;
        margin-bottom: 20px;
        text-shadow: 2px 2px 3px var(--black-color);
        position: absolute;
        top: 39%;
        left: 40%;
        width: 20%;
    }

    .objective-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        text-align: center;
        color: var(--white-color);
        text-shadow: 1px 1px 2px var(--black-color);
        width: 20%;
    }

    .objective-content:nth-child(2) {
        top: 4%;
        left: 10%;
    }

    .objective-content:nth-child(3) {
        top: 4%;
        right: 8%;
    }

    .objective-content:nth-child(4) {
        bottom: 10%;
        left: 10%;
    }

    .objective-content:nth-child(5) {
        bottom: 10%;
        right: 8%;
    }

    .objective-content img {
        width: 100px;
    }

    /* Valores */

    .mision-vision {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        background-color: var(--white-color);
    }

    .tarjeta-valor {
        display: none;
    }

    .tarjeta-mision {
        width: 90%;
        background-color: var(--secondary-color);
        padding: 20px;
        display: flex;
        justify-content: space-between;
        border-radius: 150px;
        margin-bottom: 50px;
    }

    .tarjeta-mision:last-child {
        margin-bottom: 0;
    }

    .tarjeta-mision img {
        width: 120px;
    }

    .tarjeta-mision article {
        padding: 0 50px;
    }

    .valores h2 {
        text-align: center;
    }

    .grid-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .valor {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 30px;
    }

    .white-circle {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--white-color);
    }

    .valor .white-circle img {
        width: 100px;
    }

    /* Certificado */

    .image img {
        width: 50%;
    }

    /* 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;
    }

    #facebook-icon {
        fill: var(--facebook-color);
    }

    #instagram-icon {
        fill: var(--instagram-color);
    }

    #whatsapp-icon {
        fill: var(--whatsapp-color);
    }

    footer p {
        padding: 10px;
        text-align: center;
    }

}

/* Mobile */

@media screen and (max-width: 568px) {

    /* Botón hamburguesa */

    .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;
    }

    #nav-bar-dt {
        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;
    }

    /* Fondo de fachada */

    .front-background {
        height: 500px;
        background-position: center;
        width: 100%;
        height: 300px;
        width: 100vw;
    }

    /* Logo */

    .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 Quiénes Somos */

    .who-are-we {
        background-color: var(--primary-color);
        color: var(--white-color);
        padding: var(--padding);
        height: 57%;
        align-items: center;
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .who-are-we-text {
        display: grid;
        grid-template-rows: 25% 1fr;
        gap: 30px;
        margin-bottom: 30px;
        text-align: center;
    }

    .who-are-we-text img {
        width: 200px;
        border-radius: 20px;
    }

    .img-about-us-position {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .img-about-us-position img {
        width: 150px;
    }

    .who-are-we-text p {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Política de Calidad */

    .quality-policy-text {
        padding: var(--padding);
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .quality-policy-text h2 {
        margin-bottom: 20px;
    }

    .quality-policy {
        background-image: url("../img/industria2-img.jpg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        color: var(--white-color);
    }

    .blue-filter {
        background-color: rgba(0, 0, 0, 0.8);
        width: 100%;
        height: 100%;
        z-index: 10;
    }

    /* Objetivos de calidad */

    .quality-objectives-dk {
        display: none;
    }

    .quality-objetives-mb {
        color: var(--white-color);
        background-color: var(--secondary-color);
        width: 100%;
        height: 50%;
        padding: var(--padding);
    }

    .quality-objetives-mb h2 {
        text-align: center;
        margin-bottom: 20px;
        text-shadow: 2px 2px 3px var(--black-color);
    }

    .quality-card {
        background-color: var(--white-color);
        color: var(--black-color);
        border-radius: 20px;
        width: 100%;
        height: 100px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        margin-bottom: 20px;
        text-align: center;
        box-shadow: 5px 5px 4px;
    }

    .quality-card p {
        width: 50%;
    }

    .quality-card:nth-child(2n-1) {
        flex-direction: row-reverse;
    }

    .quality-card:last-child {
        margin-bottom: 0;
    }

    /* Sección de Misión y Visión */

    .tarjeta-mision {
        display: none;
    }

    .tarjeta-valor {
        background-color: var(--secondary-color);
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px;
        font-size: 1.3rem;
        border-radius: 20px;
    }

    .tarjeta-valor img {
        width: 120px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .tarjeta-valor:first-child {
        margin-bottom: 50px;
    }


    /* Sección de Valores */
    .valores {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 1.3rem;
    }

    .valores p {
        text-align: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .valores h2 {
        margin-bottom: 20px;
        font-size: 2.3rem;
    }

    /* Círculo que contiene la imagen de los valores */

    .white-circle {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--white-color);
    }

    .valor .white-circle img {
        width: 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;
    }

    #facebook-icon {
        fill: var(--facebook-color);
    }

    #instagram-icon {
        fill: var(--instagram-color);
    }

    #whatsapp-icon {
        fill: var(--whatsapp-color);
    }

    footer p {
        padding: 10px;
        text-align: center;
    }
}