h3{
    font-family: "K2D";
    font-weight: 100;
    font-size: 20pt;
    line-height: 120%;
}

body{
    background-color: black;
    color: white;
    margin: 0rem 0rem;
    font-family: "K2D", sans-serif;
}

/* regular navbar */
#navbar{
    display: flex;
    flex-direction: row;
    justify-items: left;
    background-color: #DC3637;
    width: 100%;
    height: 5.5rem;
    position: fixed;
    z-index: 100;
    top: 0;
}

    #navbar_logo{
        flex-shrink: 0;

        width: 7.4375rem;
        height: 3.97594rem;
        
        margin-left: 2.5%;
        margin-top: 0.94rem;

        background: url(grillGadgetLogo.gif) 100% / contain no-repeat;
        background-size: 90%;
        background-position: -5;

    }

    #navbar_text_container{
        display: flex;
        flex-direction: row;
        gap: 2.56rem;

        width: 30%;
        height: 1.0625rem;

        margin-left: 25%;
        margin-top: 2.02rem;
    }

        .navbar_text{
            color: #FFFFFF;
            font-family: "K2D";
            font-size: 1.3625rem;
            font-style: normal;
            line-height: normal;
        }

            .navbar_text a{
                color: inherit;
                text-decoration: inherit;
            }

            .navbar_text a:hover{
                text-decoration: underline;
            }

    #selected_page{
        text-decoration: underline;
    }

    #icons_container{
        display: flex;
        flex-direction: row;
        position: absolute;
        gap: 0.5rem;

        width: 6%;
        height: 3rem;

        right: 4%;
        margin-top: 1.03rem;
    }

        #profile_icon{
            margin-top: 0.41rem;
            width: 2.0125rem;
            height: 2.0125rem;

            background: url(Profile_Icon.png) 100% / contain no-repeat;
        }

        #shop_icon{
            width: 2.7rem;
            height: 2.7rem;
            text-align: right;

            background: url(Shop_Icon.png) 100% / contain no-repeat;
        }

/* shopping cart */
#shoppingCart {
    position: fixed;
    width: 25%;
    right: 0;
    background-color: #DC3637;
    height: 100%;
    padding-top: 5.5rem;
    top: 0;
    overflow: auto;
    z-index: 100;
}

#price {
    position: fixed;
    right: 1rem;
    bottom: 7rem;
    width: 23%;
    background-color: #DC3637;
}

#productPrices {
    float: right;
    margin-bottom: 1rem;
}

#subtotal {
    font-size: 15pt;
    font-weight: 500;
    clear: both;
}

#subtotalPrice {
    float: right;
}

#checkoutButton {
    background-color: black;
    width: 15%;
    margin: 1rem;
    margin-left: 6rem;
    padding: 1rem;
    text-align: center;
    border-radius: .5rem;
    position: fixed;
    bottom: 0;
    z-index: 300;
}

#backButton {
    background-color: white;
    color: black;
    width: 2.5rem;
    margin: 1rem;
    padding: 1rem;
    text-align: center;
    border-radius: .5rem;
    position: fixed;
    bottom: 0;
    z-index: 300;
}

.productItem {
    border: black solid 1px;
    clear: both;
    margin-bottom: 6rem;
}

.productItem p{
    margin-top: 1.5rem
}

.item {
    float: left;
    margin-right: .5rem;
    font-size: 1.5rem;
}

.productImg {
    width: 4rem;
    margin-top: 0.5rem;
    margin-left: 1.5rem;
}

.shopCounter {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    margin-left: 2rem;
}
.shopCounter button {
    font-size: 1rem;
    padding: 2px 5px;
}
.ShopCountDisplay {
    margin: 0 15px;
    font-size: 1.5rem;
    width: 15px;
    text-align: center;
    background-color: black;
    padding: .5rem;
    border-radius: .5rem;
}
.button {
    width: 100%;
    display: block;
    padding: 20px 20px;
    margin-top: 10px;
    text-align: center;
    background-color: #DC3637;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* shopping cart */

/* small navbar */
#grill_gadget_text{
    display: none;
    position: absolute;
    left: 4%;
    margin-top: 2.12rem;
}

#hamburger_icon{
    display: none;
    position: absolute;
    right: 4%;
    margin-top: 2.12rem;
}

    .bar {
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 6px 0;
    }

@media screen and (max-width: 1250px){
    #navbar_text_container{
        margin-left: 20%;
    }
}

@media screen and (max-width: 1080px){
    #navbar_text_container{
        margin-left: 12.5%;
    }
}

@media screen and (max-width: 950px){
    #navbar_text_container{
        margin-left: 6.5%;
    }
}

@media screen and (max-width: 768px){
    /* disable regular navbar */
    #navbar_logo{
        display: none;
    }
    
    #navbar_text_container{
        display: none;
    }

    #icons_container{
        display: none;
    }

    /* enable small navbar */
    #hamburger_icon{
        display: block;
    }

    #grill_gadget_text{
        display: block;
    }
}