@import url('https://fonts.google.com/css2?family=spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* Universal */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
h1{
    font-size: 50px;
    line-height: 64px;
    color: #222;
}

h2{
    font-size: 46px;
    line-height: 54px;
    color: #222;
}

h4{
    font-size: 20px;
    color: #222;
}

h6{
    font-weight: 700;
    font-size: 12px;
}

p{
    font-size: 16px;
    color: #465b52;
    margin: 15px 0 20px 0;
}

.section-p1{
    padding: 40px 80px;
}

.section-m1{
    margin: 40px 0;
}

button.normal{
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s;
}
button.white{
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid white;
    outline: none;
    transition: 0.2s;
} 


body {
    /* background: linear-gradient(to right, #4A494A, #706F6F); */
    width: 100%;
}

/* Navigation Bar */
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background-color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}
#navbar li{
    list-style: none;
    padding: 0 20px;
    position: relative;
}
#navbar li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    transition: 0.3s ease;
}
#navbar li a:hover,#navbar li a.active{
    color: grey;
}

#navbar li a.active::after,#navbar li a:hover::after{
    content: "";
    width: 30%;
    height: 2px;
    background: grey;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

.logo{
    height: 70px;
}
#mobile{
    display: none;
    align-items: center;
}
#close{
    display: none;
}

/* Hero */
#hero{
    background-image: url(img/mt\ background.png);
    height: 90vh;
    width: 100%;
    background-size: cover;
    background-position: top 25% right 0;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
#hero h4{
    padding: bottom 15px; 
}
#hero h1{
    color: black;
}
#hero button{
    padding: 15px;
    border-radius: 25px;
    border-color:#fff ;
    font-weight: 600;
    cursor: pointer;
}



/* About Section */
.about {
    text-align: center;
}

.about-box {
    color: black;
    height: 38rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contain-about {
    height: 27rem;
    width: 80%;
}

.contain-about h3 {
    font-size: 3.5rem;
    margin-bottom: 111px;
    margin-right: 21rem;
    font-family: fangsong;
}

.contain-about p {
    width: 75%;
    font-size: 1.5rem;
    font-family: fangsong;
}

.img-contain {
    height: 16rem;
    width: 16rem;
    background-image: url(img/fevicon.png);
    background-size: cover;
}

/* Category & Product Section */

.heaing2 {
    font-size: 3rem;
    margin: 22px 0px;
    font-family: fangsong;
}
#cati-container {
    color: black;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 5px;
}

.category, 
.product-side-category {
    color: black;
    background: #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin: 1rem;
    padding: 1rem;
    max-width: 300px;
    height: 27rem;
    border-radius: 15px;
}

.product-side-category {
    border-radius: 21px;
}

.category h3, 
.product-side-category h3 {
    font-size: 1.2rem;
}

.product-heading {
    font-size: 15px;
    margin: 5px 0;
    overflow: hidden;
    height: 86px;
}

.product-price {
    font-size: 1rem;
    margin-top: 1rem;
}

.product-img {
    height: 16rem;
    width: 14rem;
    background-size: cover;
    background-image: url(img/tshirt.webp);
}

/* Product Page */
#product-page {
    margin: 7rem 0;
}

.view-products {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.1);
    color: black;
    text-decoration: none;
    border: 1px solid;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.view-products:hover {
    background: #218838;
}

.pic {
    height: 70%;
    width: 100%;
    background-size: cover;
    border: 1px solid;
}
/* Product Images */
.product-img1 { background-image: url(img/cup.jpg); }
.product-img2 { background-image: url(img/shoe.jpg); }
.product-img3{
    background-image: url(img/tshirt.webp);
}
/* Responsive Styles */
@media (max-width: 600px) {
    header {
        height: auto;
    }

    #header h1 {
        margin: 20px;
        font-size: 3rem;
    }

    #header p {
        font-size: 18px;
    }

    nav {
        font-size: 0.8rem;
    }

    nav ul li {
        margin: 3px;
    }

    nav ul li a {
        padding: 0.2rem 0.5rem;
    }

    .nav-brand h1 {
        font-size: 0.8rem;
    }

    .nav-brand p {
        font-size: 0.6rem;
    }

    .contain-about h3 {
        font-size: 2rem;
        margin: 3rem 0;
    }

    .contain-about p {
        font-size: 0.9rem;
    }

    .img-contain {
        height: 8rem;
        width: 8rem;
    }

    .category,
    .product-side-category {
        height: 14rem;
        max-width: 136px;
        margin: 4px;
        padding: 0.5rem;
    }

    .category h3, 
    .product-side-category h3 {
        font-size: 15px;
    }

    .category p {
        font-size: 0.7rem;
    }

    .view-products {
        font-size: 0.7rem;
        padding: 0.3rem;
    }

    .product-heading {
        font-size: 10px;
        margin: 1px;
        height: 50px;
        overflow: scroll;
    }

    .product-price {
        font-size: 12px;
        margin-top: 0.2rem;
    }
}

@media (max-width: 300px) {
    #header h1 {
        font-size: 1rem;
    }

    nav {
        font-size: 0.5rem;
    }

    .nav-brand h1 {
        font-size: 0.5rem;
    }

    .nav-brand p {
        font-size: 0.4rem;
    }
}

/* General Elements */
hr {
    color: #4A494A;
}

.title-heading {
    background-color: #a69e9e;
    margin: 10px;
}

.product {
    height: 27rem;
}

.picture {
    height: 70%;
    width: 100%;
    border-top-right-radius: 21px;
    border-top-left-radius: 21px;
    overflow: hidden;
}

.picture img {
    height: 100%;
    width: 100%;
}

