@font-face {
    font-family: myFirstNato;
    src: url(../fontz/NotoSans-Regular.ttf);

}

@font-face {
    font-family: myFirstFira;
    src: url(../fontz/FiraSans-Regular.ttf);

}

/* PRODUCTS */
.product {
    position: relative;
    overflow: hidden;
    /* padding: 20px; */
    margin: 10px 0px 10px 0px;
    width: 95%;
    margin: auto;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}


.product-category {
    /* padding: 0 10vw; */
    font-size: 30px;
    font-weight: 500;
    text-transform: capitalize;
    width: 100%;
    margin: auto;
    margin-bottom: 0px;
    background-color: rgb(255, 255, 255);
    border-bottom: 2px solid rgba(240, 240, 240, 1);
    padding-left: 20px;
}

.product-container {
    /* padding: 0 10vw; */
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    background-color: rgba(255, 255, 255, 1);
}

.product-container::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 auto;
    width: 300px;
    height: fit-content;
    background-color: rgba(255, 255, 255, 1);
    border-right: 3px solid rgba(240, 240, 240, 1);
    border-radius: 5px;
    text-decoration: none;
}

/* .product-image {
    position: relative;
 object-fit: cover;
} */

.product-thumb {

    width: 280px;
    height: 300px;
    object-fit: scale-down;
}

.product-info {
    padding: 5px 5px 5px 5px;
    font-size: 14px;
}


.card-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-transform: capitalize;
    border: none;
    outline: none;
    background: #fff;
    border-radius: 5px;
    transition: 0.5s;
    cursor: pointer;
    opacity: 0;
}

.product-card:hover .card-btn {
    opacity: 1;
}

.card-btn:hover {
    background: #ff7d7d;
    color: #fff;
}



.product-brand {
    text-transform: capitalize;
    font-size: 14px;
    text-decoration: none;
    color: black;
    margin: 2px 2px 2px 2px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    font-family: myFirstNato;
}

.pre-btn,
.nxt-btn {
    border: none;
    width: 30px;
    height: 30px;
    position: absolute;
    margin-top: 120px;
    top: 0;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: linear-gradient(90deg, rgba(255, 255, 255, 0.01) 0%, rgba(247, 242, 242, .01) 100%); */
    cursor: pointer;
    z-index: 8;
    background-color: rgba(52, 154, 255, 0.342);

    /* opacity: .5; */
}

.pre-btn {
    left: 0;
    transform: rotate(180deg);
}

.nxt-btn {
    right: 0;
}



.pre-btn img,
.nxt-btn img {
    opacity: 0.2;
    filter: drop-shadow(1px 1px 1px grey);
}

.pre-btn:hover img,
.nxt-btn:hover img {
    opacity: 1;
}



@media only screen and (min-width: 1050px) {
    .product {
        width: 80%;
        margin: auto;
        margin-top: 20px;
        margin-bottom: 20px;

    }
}


.brand-grid {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    background-color: rgb(255, 255, 255);
    width: 95%;
    margin: auto;
    border-radius: 5px;
    margin-top: 10px;
}

.home-brand-button {
    border-color: rgba(52, 154, 255, 0.5);
    border-radius: 4px;
    /* padding: 16px 32px; */
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    width: 100px;
    font-weight: bold;
    background-color: rgba(52, 154, 255, 0.05);
    height: 50px;
}

.home-brand-button:hover {
    background-color: rgba(52, 154, 255, 0.8);
    color: white;
}

@media only screen and (min-width: 1000px) {
    .brand-grid {
        width: 80%;

    }

    .compare-banner {
        display: none;
    }



}

@media (max-width: 767px) {

    .pre-btn,
    .nxt-btn {
        display: none;
    }

}

.compare-banner {
    width: 100vw;
    margin-bottom: 5px;
    object-fit: fill;
}


.comp-brand {
    display: grid;
    grid-template-columns: 40% 10% 40%;
    text-decoration: none;
}

.comp-text {
    text-transform: capitalize;
    font-size: 14px;

    color: black;
    margin: 2px 2px 2px 2px;

    font-family: myFirstNato;
    text-decoration: none;
    text-align: center;
}

.compare-thumb {
    text-decoration: none;
    object-fit: scale-down;
}

.comp-info{
    text-decoration: none;
    
}

.compare-card{
    height: fit-content;
    background-color: rgba(255, 255, 255, 1);
    border-right: 3px solid rgba(240, 240, 240, 1);
    border-radius: 5px;
    text-decoration: none;
    width: 100vw;
    
}

.comp-img{
    display: grid;
    grid-template-columns: 50%  50%;
}
.comp-thumb{
    width: 140px;
    height: 150px;
    object-fit: scale-down;
}