*{
    padding: 0px;
    margin: 0px;
     font-family: "Montenegrin Gothic One", serif;
     
}
.navbar{
    box-shadow: 0px 1px 5px black;
    background-color: rgb(238, 238, 238);
}
.logoname{
    font-size: 25px;
    color: darkred;

}
.profile{
    display: flex;
    align-items: center;
    color: black;
    font-size: 30px;
    padding-left: 40px;
}
.profile:hover{
    transform: scale(1.2);
    transition: 0.5s;
    color: black;
}
#person,#cart{
    display: none;
}
#span{
    font-size: 25px;
}
.carousel-img {
    width: 100%;
    height: calc(100vh - 70px);
    object-fit: contain;
    background-color: rgb(238, 238, 238);
}
body{
    padding-top: 80px;
    
}
.subimg{
    display: flex;
    justify-content: space-between;

}
.allsubimages{
    width: 500px;
    cursor: pointer;
    border-radius: 10px;
    
}
.trendinghead{
    padding-bottom: 20px;
    padding-left: 160px;
}
/* cards */
.products{
    padding: 0px 8% 80px 8%;
    text-align: center;
}
.productHead{
    font-size: 40px;
    margin-bottom: 50px;
}
.productContainer{
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}
.card{
    background-color: white;
    width: 200px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
    cursor: pointer;
}
.card:hover{
    transform: translateY(-30px);
}
.cardImg{
    width: 100%;
    height: 200px;
}
.productName,.price{
    margin: 10px 0px;
}
.cardButton{
    padding: 5px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
.cardButton:hover{
    background-color: darkred;
    transform: scale(1.2);
    transition: 0.5s;
}
/* Authors */
.Authorshead{
    text-align: center;
    color: darkred;
}
.authors{
    display: flex;
    justify-content: space-evenly;
}
.authorimg{
    width: 180px;
    cursor: pointer;
    border-radius: 10px;
}
.authorname{
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
}


/* Footer */
.contacts{
    background-color: rgb(238, 238, 238);
    display: flex;
    justify-content: space-evenly;
}
.contactdiv{
    color: black;
}
.contactHead{
    color: red;
    padding: 10px 0px;
    cursor: pointer;
    font-weight: bold;
}
.contactPara{
    font-weight: 200;
    padding: 6px 0px;
    cursor: pointer;
}
.producticons{
    padding-top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: black;
}
.socialIcons{
    display: flex;
    justify-content: center;
    gap: 20px;
    
}
.contactemail{
    padding: 8px 30px;
    background-color: white;
    border: black;
    border-radius: 5px;
    box-shadow: 0px 1px 2px black;
}
.contactButton{
    background-color: black;
    color: white;
    padding: 8px 20px;
    border: none;
    margin-left: 5px;
    cursor: pointer;
}

.contactButton:hover{
    background-color: black;
    color: white;
    transform: scale(1.1);
    transition: 0.5s;

}
.contactPara:hover{
    font-weight: bold;
    cursor: pointer;
    transform: scale(1,1);
    transition: 0.1s;
}
/* Foot */
.subFoot{
    background-color: rgb(238, 238, 238);
    text-align: center;
    color: black;
    font-size: small;
    padding: 10px 0px;
    cursor: pointer;
}

html{
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {

    /* navbar */

    .navbar {
        padding: 5px 8px;
    }

    .navbar-brand {
        display: flex;
        align-items: center;
    }

    .navbar-brand img {
        width: 45px;
        height: 45px;
        margin-left: 0 !important;
    }

    .logoname {
        font-size: 16px;
        margin-left: 3px;
    }


    

    

    .navbar-toggler {
        padding: 4px 7px;
        margin-left: auto;
    }


    /* Mobile menu */

    .navbar-collapse {
        background-color: rgb(238, 238, 238);
        padding: 10px 15px;
        margin-top: 8px;
        border-radius: 5px;
        box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
    }

    .navbar-nav {
        width: 100%;
        align-items: flex-start;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 8px 5px !important;
        margin: 0;
    }


    /* Search */

    .navbar form {
        width: 100%;
        margin: 10px 0 !important;
    }

    .navbar form input {
        width: 100%;
    }


    

    .profile {
        font-size: 18px;
        padding-left: 8px;
    }


    /*CAROUSEL*/

    .carousel-img {
        width: 100%;
        height: auto;
        min-height: 250px;
        object-fit: contain;
    }


    /* Trending */

    .trendinghead {
        padding-left: 0;
        text-align: center;
        padding-bottom: 15px;
    }

    .subimg {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .allsubimages {
        width: 90%;
    }


    /* Products */

    .products {
        padding: 0 5% 50px 5%;
    }

    .productHead {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .productContainer {
        gap: 20px;
    }

    .card {
        width: 160px;
        padding: 15px;
    }

    .cardImg {
        width: 100%;
        height: 170px;
        object-fit: contain;
    }

    .productName {
        font-size: 15px;
    }

    .price {
        font-size: 14px;
    }

    .cardButton {
        font-size: 13px;
    }


    /* Authors */

    .Authorshead {
        font-size: 25px;
    }

    .authors {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .authorimg {
        width: 130px;
    }

    .authorname {
        font-size: 15px;
    }


    /* Footer */

    .contacts {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 15px;
        gap: 20px;
    }

    .contactdiv {
        width: 100%;
    }

    .contactHead {
        font-size: 18px;
    }

    .contactPara {
        font-size: 14px;
    }

    .socialIcons {
        gap: 15px;
    }

    .contactemail {
        width: 70%;
        padding: 8px 10px;
    }

    .contactButton {
        padding: 8px 15px;
        margin-left: 3px;
    }
}