:root{
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-size-base: 16px;
    --spacing-unit: 8px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    overflow: hidden;
}

.header {
    
    background-color: var(--primary-color);
    color: white;
    padding: calc(var(--spacing-unit) * 2);
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 15vh;
}

.left{
    display: inline-flex;
}

.left a, .header a{
    color:white!important;
    display: inline-flex;
}

.left h2{
    
    display: inline-flex;
}

.right{
    position: relative;
    display: flex;
}

.cart{
    height: 5vh;
    width: 10vh;
    background-color: white;
    border: red solid 2px;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-items {
    background-color: white;
    color: black;
    position: absolute;
    min-width: 220px;
    top: 0; /* aligns with top of .cart */
    right: 100%; /* places it to the left of .cart */
    display: none; /* change to block if you want it visible */
    z-index: 1;
    align-items: center;
}

.shoplist-header, .shoplist-title, #total{
    display: inline-block;
    text-decoration: underline;
}

#shoplist{
    font-size: medium;
    margin-top: 0;
}

.checkoutbtn{
    background-color: white;
    border: none;
}

.checkoutbtn:hover{
    cursor: pointer;
}

.right:hover .cart-items, #cart-toggle:checked ~ .cart-items{
    display: block;
}

.content{
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.menu{
    text-align: center;
    background-color: var(--secondary-color);
    padding: calc(var(--spacing-unit) * 2);
    height: 100vh;
}

ul{
    list-style-type: none;
    padding: 0;
    font-size: 2rem;
}

a{
    color: black;
}

.main{
    background-color: yellow;
    height: 100vh;
}

.product{
    border: #333 solid 1px;
    border-radius: 1vh;
    height: 10vh;
    width: 10vh;
    margin: 10px;
    display: inline-block;
    text-align: center;
}

.product img{
    border-radius: 1vh;
    height: 8vh;
    width: 8vh;
    margin: 1vh;
}

.product a{
    text-decoration: none;
}

.product h3{
    margin: 0.3vh;
    font-size: 1.5vh;
}

.item-quantity{
    background-color: rgb(224, 224, 224);
}
.increase, .decrease, .quantity-value{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(224, 224, 224);
    border: none;
    height:3vh;
    width:3vh;
    padding: 0;
    text-align: center;
    font-size: 2vh;
}

.detailIMG{
    height: 20vh;
    width: 20vh;
}