@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}


body {
    font-family: 'Poppins', sans-serif;
}

.navbar img {
    border-radius: 8px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}
button {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 12px 30px;
    color: aliceblue;
    background-color: red;
    border: none;
    cursor: pointer;
    outline: none;
    transition: 0.3s ease;
    text-transform: uppercase;
}
button:hover {
    background-color: rgb(150, 14, 14);
}

hr {
    width: 300px;
    height: 2px;
    background-color: red;
}
.star i {
    font-size: 0.8rem;
    color: goldenrod;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
}
h3 {
    font-size: 1.4rem;
    font-weight: 800;
}
h4 {
    font-size: 1.1rem;
    font-weight: 600;
}
h5 {
    font-size: 1rem;
    font-weight: 400;
    color: #1d1d1d;
}
h6 {
    color: #d8d8d8;
}

.navbar {
    font-size: 16px;
    top: 0;
    left: 0;
    box-shadow: 0 5px 10px 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: chartreuse;
}



.navbar i {
    padding: 0 7px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

#bar {
    font-size: 1.5rem;
    padding: 7px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
    color: #1d1d1d;
}
#bar:hover,
#bar.active{
    color: #fff;
}

@media only screen and (max-width: 991px) {
    body > nav > div > button:hover,
    body > nav > div > button:focus{
        background-color: #1d1d1d;
    }
    body > nav > div > button:hover #bar,
    body > nav > div > button:focus #bar{
        background-color: #1d1d1d;
    }
    #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;
    }
} 



/* Mobile Navbar */
.navbar-light .navbar-toggler {
    border: none;
    outline: none;
}
#home { 
    background-image: url("../img/back.jpg");
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: top 60px center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
#home h4 {
    color: red;
}
#home h1 {
    color: seashell;
}
#home p {
    color: seashell;
}
#home span {
    color: red;
}
#category .one img {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    position:relative ;
    background-size: cover;
}
#category .one .details {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    justify-content:start;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    transform: translateX(10px);
    opacity: 0;
    transition: 0.3s all;
}
#category .one .details h2 {
    font-size: 1.5rem;
    font-weight: 300;
    padding: 12px 30px;
    color: aliceblue;
    background-color: rgba(0, 0, 0, 0.657);
    border: none;
    outline: none;
    transition: 0.3s ease;
    text-transform: uppercase;
    border-radius: 24px;
    margin: auto auto;
}

#category .one:hover .details {
    cursor: pointer;
    background-color: #1d1d1d9a;
    transform: translateX(0);
    opacity: 1;
}
/* End Mobile Navbar */



/* Featured */
.product {
    cursor: pointer;
    margin-bottom: 2rem;
}
.product a {
    text-decoration: none;
    color: #1d1d1d;
}
.product img {
    transition: 0.3 all;
}
.product:hover img {
    opacity: 0.5;
    
}
.product .buy-btn {
    background-color: #1d1d1d;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.3s all;
}
.product:hover .buy-btn {
    transform: translateY(0);
    opacity: 1;
    
}
/* End Featured */

/* Banner */
#banner {
    background-image: url('../img/paralaks.jpg');
    width: 100%;
    height: 60vh;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    display: flex;
}
/* End Banner */

/* Footer */
footer {
    background-color: #222222;
}
footer h5{
    color: #d8d8d8;
    font-weight: 700;
    font-size: 1.2rem;
}
footer li {
    padding-bottom: 4px;
}
footer li a {
    font-size: 0.8rem;
    color:#999;
}
footer li a:hover {
    color:#d8d8d8;
}
footer p {
    color: #999;
    font-size: 0.8rem;
}
footer .copyright a{
    font-size: 30px;
    color: #fff;
    width: 40px;
    height: 40px;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    transition: 0.3s ease;
    margin: 0 5px;
    text-decoration: none;
}
/* End Footer */



/* Blog */
#blog-container .post .post-img {
    overflow: hidden;
    cursor: pointer;
}
#blog-container .post:hover img {
    transition: 0.3s ease;
}
#blog-container .post:hover img {
    opacity: 0.8;
    transform: scale(1.1);
}
#blog-container .post h3 {
    transition: 0.3s ease;
    cursor: pointer;
}
#blog-container .post:hover h3 {
    color: chartreuse;
}