@import url('https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:wght@300;400;700&family=Sacramento&display=swap');

/* Font Classes */
.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.hachi-maru-pop-regular {
    font-family: "Hachi Maru Pop", cursive;
    font-weight: 400;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.sacramento-regular {
    font-family: "Sacramento", cursive;
    font-weight: 400;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    background-image: url("./images/background2.jpg");
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #caad84;
    width: 100%;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-size-adjust: 100%;
    position: relative;
    background-color: #FFF7F1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 115px;
}

.translate {
    display: flex;
    top: 0;
    /* margin-right: 500px; */
    position: absolute;
    right: 0;
}

.logo {
    max-width: 115px;
    height: auto;
    margin-right: 5px;
}

.social-icon {
    width: 30px;
    height: 30px;
    margin: 15px 0;
}

.tab {
    display: flex;
    align-self: center;
    justify-content: space-between;
}

.content-wrapper {
    display: flex;
    flex-direction: column; /* Change to column to stack elements vertically */
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    width: 100%; 
}
.cart-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    display: inline-block;
    cursor: pointer;
    margin-left: 20px;
}

.cart-icon img {
    width: 32px;
    height: 32px;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}
.cart-dropdown {
    display: none;
    position: absolute;
    right: 0;
    background-color: #ffffff;
    min-width: 250px;
    max-height: 60vh; /* Set maximum height to 60% of viewport */
    overflow-y: auto; 
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    padding: 12px;
    z-index: 1;
}

.cart-dropdown ul {
    list-style-type: space-counter;
    padding: 0;
    margin: 0;
}

.cart-dropdown li {
    display: flex;
    list-style-type: space-counter;
    align-items: center;
    margin-bottom: 10px;
}

.cart-dropdown li img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.cart-dropdown {
    max-height: 90vh; /* Ensure it doesn't exceed the viewport height */ 
    margin-top: 165px; ;
}

.main-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%; /* Adjust width to fit under the nav bar */
}
.company-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    filter: drop-shadow(1px 2px 3px black);
    justify-content: center;
    font-size: xx-large;
    padding: 20px;
    padding-left: 50px;
    margin: 20px;
    margin-bottom: 80px;
    background-color: #FFF7F1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.company-info p {
    font-size: xx-large;
    color: #333;
    font-family: poppins-, sans-serif;

}

.scroll-container {
    background-color: #e1d1b9;
    overflow: hidden;
    padding: 5px;
    max-width: 100%;
    max-height: 300px;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    align-items: center;
    justify-content: flex-start;
}

.scroll-container img {
    height: 200px;
    width: auto; 
    padding: 5px;
}

.content {
    padding: 10px;
    background: white;
    margin: 0;
    text-size-adjust: 100%;
    text-align: right;
}
.item-boxes {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #FFF7F1;
    margin-top: 20px;
    filter: drop-shadow(1px 2px 3px black);
}

.item-boxes h1 {
    margin-bottom: 10px;
    text-align: center;
    font-size: 160%;
    color: #333;
}

.item-boxes .item-box-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.item-box {
    width: 200px;
    height: 300px;
    background-color: #fff;
    border: 2px solid #caad84;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.item-box img {
    width: 100%;
    height: auto;
    flex-direction: row;
    max-height: 150px; /* Ensure the image fits within the box */
    object-fit: contain; /* Maintain aspect ratio */
}

.item-box p {
    padding: 5px;
    font-size: 1rem;
    color: #333;
    font-family: poppins-regular, sans-serif;   
}

.item-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.title {
    padding: 5px;
    text-align: center;
    font-size: medium;
    background-color: rgba(255, 255, 255, 0.1);
}

.title h1 {
    color: black;
    margin-bottom: 5px;
}
.nav {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-evenly;
    flex-grow: 1;
}

.nav li {
    list-style: none;
}

.nav a {
    height: 50px;
    line-height: 50px;
    font-size: 22px;
    font-weight: 550;
    color: black;
    text-decoration: none;
    padding: 0 10px;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-left: 5px;
    transition: all 0.3s ease;
}

.nav a:hover {
    color: white;
    background-color: #333;
    border-radius: 5px;
    padding: 5px;
}

.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #FFF7F1;
    padding: 10px;
    margin-top: 20px;
    position: fixed;
    height: 25px;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 1rem;
    font-weight: 550;
    color: black;
}

.footer p {
    margin: 0;
    display: flex;
    align-items: center;
}

.footer a {
    color: white;
    text-decoration: none;
    margin-left: 5px;
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        align-items: center;
    }

    .nav {
        flex-direction: column;
    }

    .nav a {
        padding: 10px 0;
    }

    .logo {
        max-width: 100px;
    }
}