* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    /* font-family: Arial, Helvetica, sans-serif; */
}

.container {
    display: none;
}

.ram {
    display: flex;
    gap: 20px;
    justify-content: center;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: none;
    font-family: "Montserrat" ;

}
     
@font-face {
    font-family: "Montserrat" ;
    src: url(/fonts/Laviossa-Medium.otf) format('opentype');
    font-weight: medium;
    font-style: medium;
}

#toogleBtn {
    font-size: 24px;
    display: none;
    cursor: pointer;
}

.category-button {
    display: block;
}

@media (max-width: 576px) {
    #toogleBtn {
        display: initial;
    }

    #menu {
        top: 80px;
        left: -100%;
        transition: 400ms;
        position: fixed;
        flex-direction: column;
        color: white;
        width: 70%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 20px;
        z-index: 1000;
    }

    #menu.open-menu {
        left: 0;
    }

    #menu li {
        margin: 10px 0;
    }

    .container {
        display: initial;
        float: left;
    }
}

#overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    opacity: 0;
    transition: 400ms;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
}

.show-overlay {
    opacity: 1 !important;
    visibility: visible;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    margin: auto;
    /* background: transparent; */
    color: white;
    height: 100px;
    font-family: "Montserrat" ;

}

nav .logo img {
    width: 40%;
}

#menu {
    font-size: 14px;
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: "Montserrat" ;
}

.search-box {
    width: 120px;
    height: 25px;
    margin: 0 20px 0 40px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    background-color: transparent;
    gap: 2px;
    padding-right: 75px;
    margin-left: 0px;
    border: 1px solid white;
    font-family: "Montserrat" ;

}

input::placeholder {
    color: white;
    /* Tomato red color */
    opacity: 1;
    /* Ensure the placeholder text is fully visible */
}

#search-icon {
    border: none;
    height: 20px;
    color: white;
    width: 19px;
    display: block;
}

.search-box input {
    color: white;
    background-color: transparent;
    font-family: "Montserrat" ;

    border: none;
    /* Removes the border from the input field */
    outline: none;
    /* Removes the outline when focused */
    flex: 1;
    /* Allows input to take available space */
}

.dropbtn {
    background-color: transparent;
    color: white;
    /* padding: 16px; */
    font-size: 14px;
    border: none;
    font-family: "Montserrat" ;

}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 4px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: transparent;
}

.banner img {
    width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    #menu {
        display: initial;
        flex-direction: column;
        background-color: ;
        position: absolute;
        top: 80px;
        right: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
    }

    #menu.show {
        display: flex;
    }

    #toggleBtn {
        display: block;
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.products-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    margin: 2%;
}

.item-list {
    flex: 1 1 200px;
    max-width: 200px;
    margin-left: 2%;
}

.item-list h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.item-list a {
    text-decoration: none;
    color: #555;
}

.item-list a li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 16px;
    transition: color 0.3s;
}

.item-list a li:hover {
    color: #007bff;
}

/* .product-image {
flex: 3 1 600px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
} */
.product-image {
    flex: 3 1 600px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Adjusted to 3 columns */
    gap: 30px;
}

.box1 {
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    width: 90%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.box1 img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.box1 h6 {
    font-size: 18px;
    margin: 10px 0 5px;
    color: #333;
}

.box1 p {
    font-size: 14px;
    color: #777;
}

.box1:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-details {
        flex-direction: column;
    }

    .item-list {
        max-width: 100%;
        display: none;
    }

    .product-image {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .box1 img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .item-list h3 {
        font-size: 18px;
    }

    .item-list a li {
        font-size: 14px;
    }

    .box1 h6 {
        font-size: 16px;
    }

    .box1 p {
        font-size: 12px;
    }

    .box1 img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }
}

.price {
    margin-top: 15px;
}


.container {
    text-align: center;
}

.section {
    display: none;
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button {
    background-color: #333;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: black;
}

.section-header {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-content {
    font-size: 16px;
    color: #333;
}

.item-lists{
    display: none;
 }

.nav-container {
    width: 100%;
    background-color: black;
    padding: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    /* height: 1400px; */
}

#main-menu {
    font-size: 14px;
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: arial;
}


#menu-toggle {
    font-size: 24px;
    display: none;
    cursor: pointer;
    color: #181715;
    margin-left: 90%;

}

@media (max-width: 576px) {
    #menu-toggle {
        display: initial;
    }

    #main-menu {
        top: 80px;
        left: -100%;
        transition: 400ms;
        position: fixed;
        flex-direction: column;
        color: white;
        width: 45%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 20px;
        z-index: 1000;
        border-radius: 0 10px 10px 0;
    }

    .item-lists{
        display: initial;
    }
    #main-menu.open-menu {
        left: 0;
    }

    #main-menu li {
        margin: 10px 0;
        color: white;
    }
}

#overlay-background {
    width: 100%;
    height: 100%;
    position: fixed;
    opacity: 0;
    transition: 400ms;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
}

.show-overlay-background {
    opacity: 1 !important;
    visibility: visible;
}
