*
{
    box-sizing: border-box;
    margin: 0;
}
@font-face {
  font-family: 'Summerfriday';
  src: url('fonts/summerfriday.otf') format('opentype');
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

div.header1 {
    position: relatiave;
    background-color: rgb(40, 40, 40);
    border-bottom: 1px solid black;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
} 

.header1 .logo {
    margin: 5px;
    height: 50px;
    width: 150px;
    background-image: url("/img/logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(0,0,0,0.3)
}

.header1 .search {
    background-color: white;
    width: 30vw;
    height: 26px;
    border-radius: 10px;
}

.header1 .cart{
    position: relative;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-right: 5px;
}
.header1 .cart .cart-button {
    position: relative;
    display: flex;
    text-align: center;
    align-items: center;
    height: 42px;
    justify-content: space-between;
    background-color: #eee;
    padding: 0px 12px 0px 10px;
    margin: 10px 0px 0px 10px;
    border: 0px;
    font-size: 100%;
    line-height: auto;
    letter-spacing: 1px;
    color: black;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
    width: 130px;
    border-radius: 5px;
}

.header1 .cart .cart-button .logo {
    position: relative;
    height: 30px;
    width: 30px;
    margin: 5px 10px 5px 0px;
    background-image: url("/img/shoppingcart.png");
    background-size: cover;
    box-shadow: 0 0 0 0;
}

.header1 .cart .cart-items {
    display: none;
    position: absolute;
    /* min-width: 300px; */
    max-width: 100vw;
    height: auto;
    padding-bottom: 1px;
    background-color: white;
    border: 1px solid black;
    border-top: 0px;
    top: 63px;
    right: 5px;
    z-index: 999999;
    border-radius: 0px 0px 5px 5px;
}
.header1 .cart .cart-items .item {
    border-bottom: 1px solid black;
    position: relative;
    padding: 5px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}


/* .header1 .cart .cart-items .item:last-of-type{
    border-bottom: 1px solid transparent;
} */
.header1 .cart .cart-items .item input#number {
    width: 40px;
    outline: 0px;
}
.header1 .cart .cart-items .item img {
    height: 50px;
    width: auto;
    margin-right: 5px;
}
.header1 .cart .cart-items .item .itemdescription {
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
}
#inner-cart-total {
    padding-top: 5px;
}
.header1 .cart .cart-items .item .itemdescription p {
    font-size: 0.9em;
    white-space: nowrap;
}
#main-cart-total,
#inner-cart-total-text {
    min-width: 50px;
}
.header1 .cart .cart-items .checkout-box {
    margin-top: 10px;
}
.btn-submit {
    cursor:pointer;
    /* border-radius: 5px; */
    font-weight: bold;
    letter-spacing: 0.9px;
    border: 1px solid #eee;
    background-color: rgb(105, 245, 45);
    border: 0px;
    color: black;
    padding: 4px 20px 4px 20px;
    margin: 10px 0px 10px 0px;
    border: 1px solid transparent;
    box-shadow: 0 0 6px hsl(0deg 0% 70% / 30%);
}
.btn-submit:hover{
    border: 1px inset transparent;
}
.btn-submit:active{
    border: 1px inset white;
    background-color: rgb(77, 250, 3);
}
.btn-danger {
    cursor:pointer;
    /* border-radius: 5px; */
    font-weight: bold;
    letter-spacing: 0.9px;
    border-radius: 5px;
    background-color: rgb(245, 45, 45);
    border: 0px;
    color: black;
    padding: 2px 6px 2px 6px;
    border: 1px solid transparent;
}
.btn-danger:hover{
    border: 1px inset black;
}
.btn-danger:active{
    border: 1px inset black;
    background-color: rgb(240, 84, 84);
}
.cart-items .item .btn-danger {
    position: absolute;
    padding: 1px 2px;
    font-size: 70%;
    right:0px;
    bottom:0px;
    border-radius: 0px;
    border: 1px solid black;
}

#cart-notification {
    position: relative;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cart {
    cursor:pointer;
}

.footer-links {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: white;
    justify-content: space-between;
}

.footer-links a{
    color: rgb(55, 189, 246);
}

.fake-cart {
    width: 150px;
}

/* Nav Bar */

.header1 nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: fit-content;
    margin: auto;
    max-width: 632px;
}
.header1 nav a {
    padding: 4px 15px 0px;
    margin: 0px 15px;

    cursor: pointer;

    background-color: #eee;
    text-decoration: none;

    border-radius: 5px;
    border-top: inset 4px black;
    box-shadow: 0 0 5px rgba(0,0,0,0.6);

    text-align: center;
    color: black;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: 0.3s all;
    font-family: 'Summerfriday';
}

.header1 nav a:hover {
    /* border: 2px inset rgb(106, 226, 234);*/
    border-top: 4px solid rgb(106, 226, 234); 
    box-shadow: 0 0 5px rgba(106, 226, 234,0.6);
    transform: scale(0.98);

}
.header1 nav a:active {
    background-color: rgba(106, 226, 234,0.8);
}
.nav-outer { 
    width: 60%;
    position: absolute;
    white-space: nowrap;
    margin: 0 0 0 calc(20% - 25px); 
}
#nav-burger {
    margin: auto;
    color: black;
    display: none;
    padding: 3px 5px 2px 5px;
    border-radius: 5px;
    border: 10px;
    border-color: transparent;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    font-family: 'Summerfriday', sans-serif;
}
#nav-burger i {
    color: rgb(55, 189, 246);
}
#header-popup-outer {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 999;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.6);
}
#header-popup-inner {
    text-align: center;
    padding: 20px;
    border: 2px solid rgb(105, 245, 45);
    background-color: white;
    border-radius: 10px;

    font-weight: bold;
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;
}
#header-popup-inner h2 {
    font-size: 1.8rem;
}
#header-popup-inner h3 {
    font-size: 1.5rem;
}
#header-popup-buttons {
    width: 100%;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    margin: 20px 0 0 0;
}
#header-popup-buttons button {
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 15px;
    outline: none;
    border: 1px solid #555;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.2rem;
    transition: all 0.3s;
}
#header-popup-buttons button:hover,
#header-popup-buttons button:active {
    transform: scale(1.05);
}
#header-popup-buttons button#submit {
    background-color: rgb(30, 192, 30);
}
#header-popup-buttons button#cancel {
    background-color: rgb(200, 26, 52);
}

@media only screen and (max-width: 990px) {
    .header1 nav {
        display: none;
        z-index: 1;
        margin-left: auto;
        width: fit-content;
        left: 50%;
        transform: translateX(-50%);
        
        top: 44px;
        position: absolute;
        flex-direction: column;

        padding: 4px 2px 0 2px;
        background-color: rgba(0,0,0,0.6);
        border-radius: 0 0 5px 5px;
    }
    .header1 nav a {
        margin-bottom: 10px;
        margin-top: 5px;
    }
    .nav-outer { 
        width: auto;
        position: relative;
        margin: 0 ;
    }
    #nav-burger {
        display: block;
    }
}
@media only screen and (max-width: 410px) {
    #nav-burger {
        width: 50px;
        white-space: normal;
        font-size: 1rem;
    }
    .header1 nav {
        top: 60px
    }
}