.navbar {
    font-size: 16px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-nav .nav-link {
    padding: 0 20px;
    color: black;
    transition: 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar i:hover,
.navbar-light .navbar-nav .nav-link.active .navbar i.active {
    color: orange;
}

.navbar i {
    font-size: 2rem;
    padding: 0 20px;
    gap: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
}

#Home span {
    color: coral;
}




/* mobile nav */
.navbar-light .navbar-toggler {
    border: none;
    outline: none;
    color: black;
}

#bar {
    font-size: 1.5rem;
    padding: 7px;
    cursor: pointer;
    transition: 0.3s ease;
}

#bar:hover,
#bar.active {
    color: aliceblue;
}

@media only screen and (max-width: 991px) {

    body>nav>div>button:hover,
    body>nav>div>button.active {
        background-color: coral;
    }

    #navbarSupportedContent>ul {
        margin: 1rem;
        justify-content: flex-end;
        align-items: flex-end;
        text-align: right;
    }

    #navbarSupportedContent>ul>li:nth-child(n)>a {
        padding: 10px 0;
    }

}



#Home {
    background: url(img/back.jpg);
    background-repeat: no-repeat;
    background-position: top 70px center;
    width: 100%;
    height: 600px;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

button {
    font-weight: 700;
    font-size: 0.8rem;
    outline: none;
    border: none;
    background-color: black;
    color: white;
    padding: 13px 30px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background-color: burlywood;
}

#new .one img {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

#new .one .details {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: 0.3s ease;
}
#new .one:hover .details {
    cursor: pointer;
    background-color: rgba(245, 178, 178, 0.7);
}
#new .one .details button {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    background: none;
    color: #2e2e2e;
    border-bottom: 1px solid #2e2e2e;
    padding: 2.5px;
    transform: translateY(70px);
    transition: 0.3 ease;
}
#new .one .details button:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
}
#new .one:nth-child(1) .details{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
}
#new .one:nth-child(2) .details{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#new .one:nth-child(3) .details{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-end;
    text-align: end;
}


/* products*/

.product {
    cursor: pointer;
    margin-bottom: 2rem;
}
.product img {
    transition: 0.3s ease;
}
.product:hover img {
    
    opacity: 0.7;
}
.product .buy-btn {
    border-radius: 10px;
}
.product:hover .buy-btn {
    background: coral;
    transform: scale(1.1);
} 


/* mobile navbar responsive */
@media(max-width:992) {
    .navbar-collapse {
        text-align: center;
        background: #fff;
        padding: 15px 0;
        border-top: 1px solid #eee;
    }
    .icons {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 15px;
    }
    .search-box {
        width: 80%;
        margin: 0 auto;
        margin-bottom: 10px;
    }
}