:root{
    --navbar-searchbar-border-color: darkgreen;
}

/*Warning*/

.warning{
    height: min-content;
    width: 100%;
    background-color: rgb(255, 82, 82);
    display: flex;
    justify-content: center;
    align-items: center;
}

.warningContent{
    padding: 5px;
    display: flex;
    margin: auto;
    max-width: 90%;
}

.warningContent>*{
    margin: auto;
    font-weight: bold;
    text-align: center;
}

.warningContent img{
    margin-right: 10px;
}

.navbar {
    display: flex;
    position: sticky;
    justify-content: space-between;
    background-color: var(--navbar-background-white);
    height: 90px;
}

.navbar>*{
    margin: auto;
    display: flex;
    /*border: red dotted 2px; /* For debugging purposes */
}

/*Website Icon*/

.navbarLeft{
    width: 50%;
}

.navbarLeft a{
    width: 100%;
}

.navbarLeft a img {
    display: flex;
    max-width: 170px;
    padding: 15px;
    padding-bottom: 25px;
    margin: auto;
    transition: filter 0.3s ease, scale 0.3s ease;
}

/*Search Bar*/
.navbarMiddle {
    display: flex;
    width: 100%;
    display: flex;
    align-items: center;
}

.navbarMiddle form {
    display: flex;
    width: 90%;
    margin: auto;
}

.navbarMiddle input[type="text"] {
    margin: auto;
    width: 100%;
    padding: 10px 10px;
    border-radius: 5px;
    border: solid 1px var(--navbar-searchbar-border-color);
    background-color: var(--navbar-input-background);
    color: var(--navbar-input-color);
}

.navbarMiddle input[type="text"]::placeholder , .navbarMiddle input[type="text"]:focus {
    border: none;
}

/*Peas!*/

.navbarPeaAmount {
    color: var(--text-white);
    display: flex;
    flex-direction: row;
    margin-right: 20px;
}

.navbarPeaAmountValue {
    margin: auto;
    margin-right: 10px;
    font-weight: bold;
}

.navbarPeaAmountImage{
    height: 35px;
    width: 35px;
    transition: scale 0.3s ease;
}

.navbarPeaAmountImage:hover {
    scale: 1.2;
    transition: scale 0.3s ease;
}
/*Navigation buttons*/

.navbarRight {
    width: 50%;
    display: flex;
    align-items: center;
}

.navbarRight>*{
    margin: auto;
}

.navbarRightButtonImage{
    scale: 1.4;
    transition: filter 0.3s ease, scale 0.3s ease;
    filter: var(--navbar-buttons);
}

/*Hover Animations*/

.navbarRightButtonImage:hover{
    /* For SVG images, use fill; for regular images, use filter */
    filter: brightness(0) saturate(100%) invert(24%) sepia(98%) saturate(749%) hue-rotate(70deg) brightness(90%) contrast(90%);
    scale: 1.7;
    transition: filter 0.3s ease, scale 0.3s ease;
}

.navbarLeft a img:hover {
    scale: 1.1;
    transition: filter 0.3s ease, scale 0.3s ease;
}

/*Mobile menu*/

#mobileMenu {
    display: none;
    z-index: 9998;
}

.mobileMenuContent{
    display: flex;
    flex-direction: row;
    /*position: fixed;*/
    width: 100%;
    background-color: var(--navbar-background-white);
    z-index: 9998;
    height: 0px;
}

.mobileMenuItem {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 55px;
    background-color: var(--navbar-background-white);
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-bottom: 2px;
}

.mobileMenuItemImage{
    width: 30px;
    height: 30px;
    filter: var(--navbar-buttons);
    transition: filter 0.3s ease, scale 0.3s ease;
}
.mobileMenuItemImage:hover {
    filter: brightness(0) saturate(100%) invert(24%) sepia(98%) saturate(749%) hue-rotate(70deg) brightness(90%) contrast(90%);
    scale: 1.2;
    transition: filter 0.3s ease, scale 0.3s ease;
}

@media (max-width: 768px) {

    .searchBarMiddle{
        background-color: var(--navbar-background-white);
        display: flex;
        width: 100%;
    }
    .navbarMiddle {
        background-color: var(--navbar-background-white);
        margin: 2px auto 20px auto;
    }
}