@import url('https://fonts.googleapis.com/css2?family=Anton&family=ZCOOL+QingKe+HuangYou&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');


* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    /* font-family: Anton; */
    letter-spacing: 4%;
    overflow-y: scroll;
    /* Keeps scroll functionality */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    background-color: #f1f0f0;
}

body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}





/* for moving text animation */

.moving {
    width: cover;
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
    background-color: #ffb500;
    position: fixed;
    z-index: 10;
}

@keyframes moveText {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.zhegenage {
    font-family: Anton;
    color: #f50000;
    text-align: center;
    font-size: 1.2rem;
}

.zhegenage p {
    display: inline-block;
    animation: moveText 5s linear infinite;
    animation-delay: 0s, 5s;
    word-spacing: 5px;
}



/* this is for content */

.content {
    display: flex;
    background-color: #f1f0f0;
    background-size: cover;
    padding: 80px 30px 30px 30px;
}

.sidebar {
    background-color: #f1f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: auto;
    text-align: center;
    position: fixed;
    width: 400px;
    height: 100vh;
    /* z-index: 1; */
    /* bottom: 80px; */
    /* max-width: fit-content; */
    /* min-width:fit-content */
}

.sidebar h1 {
    font-family: Anton;
    font-size: 2.8rem;
    color: #0a0e0a;
    text-align: left;
    line-height: 42px;
    font-weight: 300;
}

.sidebar h1 a:link {
    color: black;
    text-decoration: none;
}

.sidebar h1 a:hover {
    color: black;
}

.sidebar h1 a:active {
    color: black;
}

.sidebar h1 a:visited {
    color: black;
}

.about {
    /* position: absolute; */
    width: 90%;
    padding-bottom: 110px;
}

.about p {
    font-family: "Noto Sans", sans-serif;
    font-weight: 500;
    line-height: 125%;
    letter-spacing: 0.01mm;
    font-size: 0.8rem;
    color: #8a8a8a;
    text-align: left;
}

.about p a:link {
    color: #0071ff;
}

.about p a:hover {
    color: #f50000;
}


/* .content h2 {
    font-size: 3vw;
    color: #f0f1f1;
    text-align: center;
}

.content h3 {
    font-size: 5vw;
    font-weight: normal;
    -webkit-text-stroke: 1.5px #f0f1f1;
    color: #0071ff;
    text-align: center;
    outline: #f0f1f1;
    font-family: ZCOOL QingKe HuangYou, sans-serif;
} */

.category-list {
    margin: 0;
    /* position: absolute;
    top: 350px; */
    /* padding-top: 150px; */
    /* gap: 8px; */
    /* font-family: Arial, Helvetica, sans-serif;
    font-weight: bold; */
    font-size: 1.2rem;
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.01mm;
    /* font-family: helvetica-lt-pro, sans-serif;
    font-style: normal;
    font-weight: 550;
    letter-spacing: 0.08mm; */
}

li {
    list-style: none;
    text-align: left;
    transition: background 0.2s, color 0.2s;
}

/* Hover style */
.category-list li:hover {
    color: #0071ff;
    cursor: pointer;
}

/* Active (clicked/selected) style */
.category-list li.active {
    color: #0071ff;
    text-decoration: underline;
}












.menu {
    /* background-color: #00ff08; */
    width: 100%;
    padding-left: 400px;
}

.grid-container {
    margin: auto;
    display: flex;
    /* gap: 15px; */
    /* grid-template-columns: auto auto auto auto; */
    /* padding: 40px; */
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between;
}

.grid-item {
    width: 430px;
    /* padding: 20px; */
}

.grid-item-img {
    position: relative;
    /* Essential for positioning the overlay */
    display: block;
}

.grid-item-img img {
    display: block;
    /* Removes any extra space below the image */
    width: 100%;
    /* Ensures the image fills its container */
    height: auto;
    /* Maintains the image's aspect ratio */
}

.product-details {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
    padding-bottom: 30px;
}

.grid-item h1 {
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    line-height: 120%;
    font-size: 1rem;
    color: #0d0d0d;
}

.grid-item h2 {
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    line-height: 120%;
    font-size: 1rem;
    color: #0071ff;
}













.overlay-text {
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    /* bottom: 0; */
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-item-img:hover .overlay-text {
    opacity: 1;
    cursor: url('orange-cursor.png'), auto;
}





















.item-showcase {
    width: 100%;
    padding-left: 400px;
    font-family: "Noto Sans", sans-serif;
}

/* Basic Reset for Carousel */
.carousel-container * {
    box-sizing: border-box;
}

.carousel-container {
    display: flex;
    justify-content: space-around;
    position: relative;
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
    /* border: 1px solid black; */
}

.carousel-slides {
    width: 100%;
    display: flex;
    /* Arrange images in a row */
    transition: transform 0.5s ease-in-out;
    /* Smooth slide transition */
}

.carousel-slides img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    /* This is the key property */
    object-position: center center;
    /* Optional: Adjusts which part of the image is visible */
    display: block;
    /* Removes any extra space below the image */
    flex-shrink: 0;
}

/* Navigation Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0);
    /* Semi-transparent background */
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    /* Ensure buttons are above slides */
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    color: #0071ff;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

/* Dots Indicators */
.carousel-dots {
    /* position: absolute; */
    /* bottom: 10px;
    left: 50%;
    transform: translateX(-50%); */
    display: flex;
    gap: 8px;
    /* Space between dots */
}

.dot {
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
}


.item-details {
    margin-top: 30px;
}
























/* this is for phone responsiveness */

@media only screen and (max-width: 480px) {

    .content {
        display: block;
    }

    .sidebar {
        display: block;
        margin: auto;
        align-items: center; 
        position: static;
        width: auto;
        height: auto;
    }

    .sidebar h1 {
        align-items: center;
        text-align: center;
        padding-bottom: 30px;
    }

    .category-list {
        display: none;
        font-size: 0.8rem;
        padding-bottom: 30px;
    }

    li {
        text-align: center;
    }

    .about {
        display: none;
    }

    /* for menu */

    .menu {
        width: 100%;
        padding: 0px;
    }

}