/*================START ADVERTISEMENT CAROUSEL===================*/

.top {
    display: block;
    width: 100vw;
    height: 7rem;
}

.mySlides {display: none;}
img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    width: 100vw;
    position: relative;
    margin: auto;
}

/* Caption text */
.text {
    z-index: 15;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    padding: 8px 12px;
    width: 100%;
    text-align: center;
    position: absolute;
}

.topAD {
    img {
      width: 100vw;
      filter: drop-shadow(0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.5));
      position: absolute;
      z-index:10;
      object-fit: cover;
    }
    
}

.adContents {
    width: 100vw;
    display: flex;
    flex-direction: row;
}

.text1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 3rem;
    text-align: left;
    line-height: 3.5rem;
    & h2 {
        font-size: 3rem;
        color: var(--dark-color);
    }

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

}

.text2 {
    color: var(--light-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    & h2 {
        font-weight: 600;
        font-size: 2rem;
    }

    & .h1DIPI {
        font-size: 2.5rem;
        padding-bottom: 1rem;
    }

    & a {
        font-family: "Barlow Condensed", sans-serif;
        font-weight: 500;
        text-decoration: none;
        color: var(--secondary-color);
        font-size: 1.7rem;
        transition: ease 0.3s;
    }

    & a:hover {
        padding-left: 2rem;
    }
    & img {
        width: 2.8rem;
    }
}

.text3 {
    z-index: 15;
    padding-right: 5rem;
    text-align: right;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 3.8rem;
    & h2 {
        font-size: 3rem;
        color: var(--light-color);
    }

    & .h1DIPI {
        color: var(--light-color);
        font-size: 5rem;
    }

    & .clickIvy {
        transition: ease 0.3s;
        a {
            font-family: "Barlow Condensed", sans-serif;
            font-weight: 500;
            font-size: 1.7rem;
            
            display: flex;
            flex-direction: row;
            align-content: center;
            justify-content: flex-end;
            text-decoration: none;
            color: var(--light-color);
        }
    }

    .clickIvy:hover {
        a {
            padding-left: 2rem;}
    }
    
    img {
        width: 2rem;
    }


}


/* 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}
}

/*==================END ADVERTISEMENT CAROUSEL===================*/

/*===================START ADVERTISEMENT MOBILE VIEW===============*/

.advertisementMobile {
    display: flex;
    display: none;
    /*background: firebrick;*/
    width: 100vw;
    padding-top: 7rem;
}

.adMobile {
    position: relative;
    transition: ease 0.4s;

    h1 {
        overflow: hidden;
    }

    h2 {
        overflow: hidden;
    }
}

.adMobileContent {
    display: flex;
    flex-direction: row;
    position: absolute;
    padding: 1.7rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: ease 0.3s;
}

.admExplore {
    display: flex;
    align-items: center;
    justify-content: space-between;

    img {
        order: 2;
        width: 10rem;
        object-fit: contain;
        filter: drop-shadow(0.2rem 0.2rem 0.3rem #1e1e1e);
    }

    .adMobileText {
        order: 1;
        font-family: "Poppins", sans-serif;
        line-height: 1.7rem;

        h2 {
            font-size: 1.2rem;
            color: var(--dark-color);
        }

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

.admCustomized {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        order: 2;
        width: 29rem;
        object-fit: contain;
        filter: drop-shadow(0.2rem 0.2rem 0.3rem #1e1e1e);
    }

    .adMobileText {
        z-index: 10;
        order: 1;
        font-family: "Barlow Condensed", sans-serif;
        line-height: 1rem;
        color: var(--light-color);
        text-align: center;
        width: 100%;
        h2 {
            font-family: "Poppins", sans-serif;
            font-size: 0.7rem;
        }

        h1 {
            font-size: 1.1rem;
            padding-bottom: 0.5rem;
        }

    }
}

.customReq {
    display: flex;
    flex-direction: row;
    align-items: center;
    left: 50%;
    transform: translate(-50%, 0);
    position: absolute;
    a {
        font-size: 0.6rem;
        font-weight: 700;
        font-family: "Poppins", sans-serif;
        text-decoration: none;
        color: var(--secondary-color);
    }

    img {
        height: 1.2rem;
        left: 6.7rem;
    }
}

.admIVY {
    display: flex;
    align-items: center;
    justify-content: space-between;
    img {
        order: 1;
        width: 9rem;
        object-fit: contain;
        filter: drop-shadow(0.2rem 0.2rem 0.3rem #1e1e1e);
        padding-right: 1.4rem;
    }

    .adMobileText {
        order: 2;
        font-family: "Poppins", sans-serif;
        line-height: 1.7rem;
        text-align: right;
        color: var(--dark-color);
        & h2 {
            font-size: 1.2rem;
        }
    }

    .ivyBrand {
        width: 100%;
        a {
            text-decoration: none;
            color: var(--dark-color);
            font-size: 0.65rem;
        }
    }
}

.adMobileBG {
    transition: ease 0.3s;
    opacity: 0;


    img {
        width: 100vw;
    }
}

.adMobile:hover{
    .adMobileBG {
        opacity: 1;
    }

    .adMobileContent {
        scale: 103%;

    }
}
/*=====================END ADVERTISEMENT MOBILE VIEW===============*/


/*=========================START IDENTITY======================*/

.brandIdentity {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 3rem;
}

.biContent {
    display: flex;
    margin: 2rem;
    padding: 2rem;
    background: white;
    width: 20rem;
    height: 12rem;
    align-items: center;
    border-radius: 1rem;
    align-content: center;
    justify-items: center;
    transition: ease 0.2s;

    & img {
        height: 7rem;
        margin-right: 1rem;
    }

    & h1 {
        font-family: "Poppins", sans-serif;
        font-size: 0.8rem;
        font-weight: 600;
    }
}

.biContent:hover {
    border: solid 0.3rem var(--primary-color);
    box-shadow: 0.4rem 0.4rem var(--primary-color);
}

/*===========================END IDENTITY======================*/

/*==========================START PRODUCTS LIST====================*/
.productsListMother {
    display: flex;
    flex-direction: column;
    /*background: #717171;*/
    width: 100vw;
    h1 {
        font-family: "Poppins", sans-serif;
    }
}



.productsList {
    /*background: #cccccc;*/
    width: 100vw;
    display: flex;
    flex-direction: row;

    h2 {
        font-family: "Poppins", sans-serif;
    }
}

.filterButtons {
    padding: 2rem;
    /*background: #90e0ff;*/
    width: 30vw;
    display: flex;
    flex-direction: column;
}

.productCards {
    width: 70vw;
    margin: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.h1Products {
    width: 30%;
    font-size: 2.5rem;
    padding: 2rem 2rem 0;
    color: var(--primary-color);
    border-bottom: groove 0.4rem;
}

.filterDiv {
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0.2rem 0.2rem 0.2rem rgba(30, 30, 30, 0.5);
    border-radius: 1rem;
    color: var(--dark-color);
    width: 18rem;
    height: 23rem;
    max-height: 25rem;
    padding: 1rem;
    position: relative;
    display: flex;
    display: none; /* Hidden by default */
    text-align: center;
    transition: ease 0.4s;
    h1, h3{
        font-family: "Poppins", sans-serif;
        line-height: 1.6rem;
    }

    h1 {
        font-size: 1.5rem;
        overflow: hidden;
    }

    h3 {
        overflow: hidden;
        font-weight: 500;
        font-size: 0.9rem;
        line-height: 1rem;
    }
}

.filterDiv:hover {
    scale: 105%;
    border: solid 0.2rem var(--primary-color);
    box-shadow: 0.2rem 0.2rem var(--primary-color);
}

.cardImg {
    width: 16rem;
    height: 13rem;
    overflow: hidden;
    border-radius: 0.7rem;
    margin-bottom: 1rem;


    img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

/* The "show" class is added to the filtered elements */
.show {
    display: block;
}

/* Style the buttons */
.btn {
    margin: 0.5rem;
    border: none;
    outline: none;
    padding: 1rem;
    background-color: #f1f1f1;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    border-radius: 0.8rem;
    font-weight: 600;
}

/* Add a light grey background on mouse-over */
.btn:hover {
    background-color: #ddd;
}

/* Add a dark background to the active button */
.btn.active {
    border: solid 0.2rem var(--primary-color);
    box-shadow: 0.3rem 0.3rem var(--secondary-color);
    background-color: var(--primary-color);
    color: var(--light-color);
}



/*============================END PRODUCTS LIST====================*/


/*==================START MEDIA RESPONSIVENESS==================*/
@media (max-width: 600px) {
    & .advertisementMobile {
        display: block;
    }

    & .slideshow-container {
        display: none;
    }

    & .top {
        display: none;
    }

    .productsListMother{
        width: 100vw;
        .h1Products {
            width: 90%;
        }
        .productsList {
            flex-direction: column;

            .filterButtons {
                width: 100vw;


            }
        }
        .productCards {
            width: auto;
            margin: 1.2rem;
            padding: 2rem;

        }

    }


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