.container {
    overflow-x: hidden;
}
/* Container for flexboxes */
section {
    padding: 1.2rem;
    display: -webkit-flex;
    display: flex;
}

/* Style the navigation menu */
nav {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background: #ccc;
    padding: 20px;
}

/* Style the list inside the menu */
nav ul {
    list-style-type: none;
    padding: 0;
}

/* Style the content */
article {
    -webkit-flex: 3;
    -ms-flex: 3;
    flex: 3;
    background-color: #f1f1f1;
    padding: 10px;
}


/*=======START PRODUCT OFFERS=========*/
.ivyRibbon {
    width: 100vw;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    align-content: center;
    border-bottom: solid 1rem var(--secondary-color);
    & h1 {
        color: var(--light-color);
        padding-top: 1rem;
        padding-bottom: 0.5rem;
        font-size: 2.5rem;
        font-family: "Poppins", sans-serif;
        text-align: center;
    }
}

.ribbonContent {
    justify-content: center;
    align-content: center;
    display: flex;
    flex-direction: row;
    & img {
        height: 8.5rem;
    }

    & a {
        text-align: center;
        font-family: "Poppins", sans-serif;
        text-decoration: none;
        color: var(--light-color);
        display: flex;
        flex-direction: column;
    }
}

.custom-sticky {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

.contamination-pest {
    justify-content: center;
    align-content: center;
    display: flex;
    flex-direction: row;
}

.po-item {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    padding: 1.5rem;
    transition: ease 0.5s;

}

.po-item:hover {
    transform: scale(115%);
}




/*=======END PRODUCT OFFERS=========*/

/*=======START CAROUSEL=========*/
.mySlides {display: none;}
img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    margin: auto;
    overflow-x: hidden;
}

/* Caption text */
.text {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    text-shadow: 2.5px 2.5px 8px var(--light-color);
}

.text1 {
    & h2 {
        font-size: 2rem;
        color: var(--dark-color);
    }

    & .h1DIPI {
        color: var(--primary-color);
        font-size: 2.7rem;
    }

    & h1 {
        color: var(--dark-color);
        font-size: 1.5rem;
    }
}

.text3 {
    top: 40%;

    .h1OSOD {
        display: block;
        font-family: "Barlow Condensed", sans-serif;
        color: var(--primary-color);
        font-size: 4rem;
    }

    .h1OSODM {
        display: none;
        font-family: "Barlow Condensed", sans-serif;
        color: var(--primary-color);
        font-size: 4rem;
    }

    h1 {
       color: var(--dark-color);
    }
}

.text2 {
    text-align: end;
    top: 50%;
    transform: translate(-60%, -50%);

    .h1QM {
        display: block;
        font-family: "Barlow Condensed", sans-serif;
        color: var(--light-color);
        font-size: 5rem;
        margin:1rem 0 2rem 0;
        text-shadow: 3px 3px 0 var(--dark-color);
    }

    .h1QMM {
        display: none;
    }

    h1 {
        color: var(--light-color);
        text-shadow: 3px 3px 0 var(--dark-color);
        line-height: 2.5rem;

    }

    img {
        width: 20rem;
        filter: drop-shadow( 3px 3px 3px var(--light-color));
    }
}
/* Number text (1/3 etc) */
.numbertext {
    display: none ;
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: none;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .text {font-size: 11px}
}
/*=======END CAROUSEL=========*/


/*==============START ABOUT DIPI===============*/
.aboutDIPI {
    width: 100vw;
    max-width: 100vw;
    padding: 5rem 6.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    opacity: 0;
}

.aboutDIPICaption {
    order: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    width: auto;
    font-family: "Poppins", sans-serif;

    & h1 {
        margin-bottom: 1.5rem;
        color: var(--primary-color);
    }

    & p {
        width: 85%;
        margin-bottom: 2rem;
    }
}

.aboutDIPIGroupPhoto {
    order: 2;
    & img {
        width: 500px;
        object-fit: scale-down;
        box-shadow: 10px 10px var(--primary-color);
    }
}

.abLearnMore {
    width: fit-content;
    padding: 0.3rem 1rem;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-content: flex-end;
    align-items: center;
    background: var(--primary-color);
    border-radius: 2rem;
    color: var(--light-color);
    margin-bottom: 2rem;
    border: none;


    & img {
        transition: ease 0.4s;
        width: 2.5rem;
        padding-left: 0.3rem;
    }
}

.abLearnMore:hover {
    & img {
        width: 3rem;
        padding-left: 1rem;
    }
}
/*==============END ABOUT DIPI================*/

/*=================START PRODUCTION SYSTEM===============*/
.productionSystemMother {
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
}

.psCaption {
    padding: 2rem 5rem;
    font-family: "Poppins", sans-serif;
    color: var(--light-color);
}

.psSystems {
    display: flex;
    flex-direction: row;
}

.ps {
    position: relative;
    font-family: "Poppins", sans-serif;
    transition: ease 0.3s;
    overflow: hidden;
    & .psLabel {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        position: absolute;
        align-items: center;
        justify-content: center;
        color: var(--light-color);
        transition: ease 0.3s;

        & a  {
            z-index: 5;
            text-decoration: none;
            color: var(--light-color);
            transition: ease 0.3s;

            & img {
            margin-left: 0.5rem;
            width: 1.5rem;
            }
        }

        & a:hover {
            padding-left: 1rem;
        }
        & h1 {
            padding-bottom: 7rem;
        }

        & img {
            position: absolute;
            transition: ease 0.3s;
        }

    }

    .psLabel:hover {
        scale: 110%;
    }
    & img {
        width: 33.33vw;
    }


}


/*==================END PRODUCTION SYSTEM================*/

/*==============START QUALITY SYSTEM===============*/
.qualitySystem {
    opacity: 0;
    width: 100vw;
    max-width: 100vw;
    padding: 5rem 6.5rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.qualitySystemCaption {
    order: 2;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    width: auto;
    font-family: "Poppins", sans-serif;

    & h1 {
        margin-bottom: 1.5rem;
        color: var(--primary-color);
    }

    & p {
        width: 85%;
        margin-bottom: 2rem;
    }
}

.qualitySystemPhoto {
    padding-right: 2rem;
    order: 1;
    & img {
        width: 500px;
        object-fit: scale-down;
        box-shadow: 10px 10px var(--primary-color);
    }
}

.qsLearnMore {
    width: fit-content;
    padding: 0.3rem 1rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    background: var(--primary-color);
    border-radius: 2rem;
    color: var(--light-color);
    margin-bottom: 2rem;
    border: none;

    & img {
        transition: ease 0.4s;
        width: 2.5rem;
        padding-left: 0.3rem;
    }

}

.qsLearnMore:hover {
    & img {
        width: 3rem;
        padding-left: 1rem;
    }
}

video {
    padding-top: 1rem;
}
/*==============END QUALITY SYSTEM================*/

/*================START DIPI BRANDS==================*/
.dipiBrands {
    display: flex;
    flex-direction: column;
    padding: 2rem 3rem 3rem;
    align-items: center;
    align-content: center;
    font-family: "Poppins", sans-serif;

    & h1 {
        text-align: center;
        font-size: 2.5rem;
        color: var(--primary-color);
    }

    & h3 {
        text-align: center;
        font-weight: 400;
        color: var(--dark-color);
    }

    h2 {
        text-align: center;
        padding: 0.5rem 1rem;
        margin-top: 5rem;
        margin-bottom: 3rem;
        color: var(--primary-color);
        border-bottom: solid 3px var(--primary-color);
        border-top: solid 3px var(--primary-color);
    }

}

.brands {
    font-size: 5rem;
}



.ccpSeminar {
    display: flex;
    flex-direction: row;



    img {
        padding: 1rem 3rem;
        width: 30rem;
        filter: drop-shadow(0.5rem 0.5rem var(--primary-color));
    }
    .ccp1 {
        font-weight: bold;
        text-align: center;
        display: flex;
        flex-direction: column;
        color: var(--dark-color);
    }

    .ccp2 {
        color: var(--dark-color);
        text-align: center;
        font-weight: bold;
        display: flex;
        flex-direction: column;
    }

}

.qsLearn {
    padding: 0 5rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    img {
        height: 30rem;
    }

    h1 {
        line-height: 2.7rem;
    }

    .qslCaption {
        padding-left: 1rem;
    }
}

/*==================END DIPI BRANDS==================*/



/*============START MEDIA RESPONSIVENESS============*/
@media (max-width: 600px) {
    .text2 {
        scale: 80%;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);

        .h1QM {
            display: block;
            font-family: Montserrat, sans-serif;
            color: var(--light-color);
            font-size: 3rem;
            margin:1rem 0 1.4rem 0;
            text-shadow: 3px 3px 0 var(--dark-color);
            text-align: center;
            overflow: hidden;
        }
        .h1QMM {
            display: block;
            font-family: "Barlow Condensed", sans-serif;
            color: var(--secondary-color);
            font-size: 4rem;
            height: 16rem;
            margin: 1rem 0;
            line-height: 4rem;
            overflow: hidden;
            text-shadow: 3px 3px 0 var(--dark-color);
            text-align: center;

        }

        h1 {
            display: none;
        }
    }

    .text3 {
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);

        .h1OSOD {
            display: none;
        }
        .h1OSODM {
            display: block;
            scale: 90%;
        }

        h1 {
            scale: 80%;
        }
    }

    .ribbonContent {
        overflow: hidden;
        flex-direction: column;
    }

    .aboutDIPI {
        padding: 3rem;
    }

    .aboutDIPI {
        flex-direction: column;
    }

    .aboutDIPICaption {
        & p {
            width: 100%;
        }
    }

    .aboutDIPIGroupPhoto {
        order: 2;
        & img {
            width: 100%;
            object-fit: scale-down;
            box-shadow: 10px 10px var(--primary-color);
        }
    }

    .psSystems {
        flex-direction: column;
    }

    .ps {
        & img {
            width: 100vw;
        }
    }

    .qualitySystem {
        padding: 3rem;
    }

    .qualitySystem {
        flex-direction: column;
    }

    .qualitySystemCaption {
        order: 2;
        & p {
            width: 100%;
        }
    }

    .qualitySystemPhoto {
        order: 1;
        & img {
            width: 100%;
            object-fit: scale-down;
            box-shadow: 10px 10px var(--primary-color);
        }
    }

    .dipiBrands {
        padding: 1rem;
        margin: 0;
        video {
            width: 100%;
        }

        .ccpSeminar {
            flex-direction: column;
            transform: scale(80%);
        }

        .qsLearn {
            img {
                display: none;
            }

            .qslCaption {
                h1 {
                    text-align: center;
                    transform: scale(80%);
                    overflow: hidden;
                }
                p {

                }
            }
        }

    }

}
/*==============END MEDIA RESPONSIVENESS============*/
