/* Utilities */

@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

:root {
    --main-boarder-color: #696867d5;
    --main-background-color: rgb(255, 255, 255);
    --main-white-font-color: rgb(240, 235, 235);
    --main-black-font-color: rgb(41, 39, 39);
    --main-span-color: antiquewhite;
    font-size: 16px;
}

body {
    margin: 0 auto;
}
/* Language Switch */

.langSwitch {
    margin: 0px 5px;
    display: flex;
    align-items: center;
    min-width: 120px;
}

.langCheck {
    width: 10px;
    /* align-self: center; */
    position: relative;
    margin: 0px 30px 0px 10px;
    top: -5px;
}

.langCheck:before {
    content: "";
    position: absolute;
    width: 40px;
    height: 20px;
    background: rgb(16, 168, 24);
    border-radius: 20px;
    left: -5px;
}

.langCheck:checked:before {
    background: #00a1ff;
}

.langCheck:after {
    content: "";
    position: absolute;
    left: 0px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 20px;
    transition: 0.25s;
    border: 2px solid rgb(16, 168, 24);
    box-sizing: border-box;
    left: -5px;
}

.langCheck:checked:after {
    left: 15px;
    border: 2px solid #00a1ff;
}

/* textarea input focus */

textarea:focus,
input:focus {
    outline: none;
}

/* Media Queries */

@media screen and (min-width: 650px) {
    @keyframes show {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    /* Navigation */

    /* Navigation not within Header */

    .navigation-noHeader {
        width: 90%;
        height: 100px;
        margin-left: 5%;
        margin-right: 5%;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .navigation-noHeader .logo {
        display: flex;
        align-items: center;
        color: var(--main-black-font-color);
    }

    .navigation-noHeader .logoImg {
        margin-right: 5px;
    }

    .navigation-noHeader .logo img {
        width: 70px;
        height: 70px;
    }

    .navigation-noHeader .blackLogo {
        display: block;
    }

    .navigation-noHeader .whiteLogo {
        display: none;
    }

    .navigation-noHeader .logo a {
        color: var(--main-black-font-color);
        text-decoration: none;
    }

    .navigation-noHeader .menu {
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .navigation-noHeader .menu .menuItem {
        margin-left: 20px;
        color: var(--main-black-font-color);
    }

    .navigation-noHeader .menuItem span {
        border: 1px solid var(--main-boarder-color);
        border-radius: 3px;
        padding: 0 0.3rem;
        background-color: var(--main-span-color);
    }

    .navigation-noHeader .menuItem a {
        text-decoration: none;
        color: var(--main-black-font-color);
    }

    #shopManagement .dropdown {
        position: absolute;
        display: none;
    }

    #shopManagement .dropdown .dropdownMargin {
        margin-top: 10px;
        margin-left: 0px;
        background-color: lightgray;
    }

    #shopManagement .dropdown a {
        display: block;
        text-decoration: none;
        padding: 5px;
        color: var(--main-black-font-color);
    }

    #shopManagement:hover > .dropdown {
        display: block;
        animation: show 0.3s linear 0s;
    }

    .largeScreen {
        display: block;
    }

    #userManagement > .dropdown {
        position: absolute;
        display: none;
    }

    #userManagement > .dropdown > .dropdownMargin {
        margin-top: 10px;
        margin-left: 0px;
        background-color: lightgray;
    }

    #userManagement > .dropdown > .dropdownMargin > a {
        display: block;
        text-decoration: none;
        padding: 5px;
        color: var(--main-black-font-color);
    }

    #userManagement:hover > .dropdown {
        display: block;
        animation: show 0.3s linear 0s;
    }

    #userManagement > .dropdown > .dropdownMargin > .mobile {
        display: none;
    }
}

@media screen and (max-width: 649px) {
    /* Header & Navigatiton */

    .whiteLogo {
        display: none;
    }

    .blackLogo {
        display: block;
        width: 80px;
        height: 80px;
    }

    .siteName {
        display: none;
    }

    .navigation-noHeader {
        width: 70%;
        height: 100px;
        display: flex;
        align-items: center;
        margin: 0% 3%;
        overflow: hidden;
    }

    .menu {
        margin: 0 auto;
        display: flex;
        justify-content: flex-end;
        font-size: small;
    }

    /* .langSwitch {
        margin-left: 10%;
    }

    .menuItem {
        margin-left: 7%;
        margin-top: 0.5%;
    } */

    /* for displaying items in Cart */
    .menuItem span {
        border: 1px solid var(--main-boarder-color);
        padding: 0px 3px;
        border-radius: 5px;
        background-color: blanchedalmond;
    }

    .largeScreen {
        display: none;
    }

    #userManagement {
        margin-left: 0px;
    }

    .menuItem p {
        margin-top: 40px;
        margin-bottom: 30px;
        margin-left: 7%;
    }

    .menuItem a {
        display: block;
        text-decoration: none;
        min-width: 60px;
        color: var(--main-black-font-color);
        margin-left: 7%;
        margin-top: 30px;
        margin-bottom: 30px;
        color: rgb(36, 33, 33);
        font-size: 2em;
        font-weight: 900;
        text-transform: uppercase;
        transition: all 0.3s ease;
        line-height: 2;
    }

    .menuItem p {
        font-size: 2em;
        font-weight: 900;
        text-transform: uppercase;
    }
    .menuItem a:hover {
        color: #536985;
        transition: color 0.5s;
    }

    .menuItem > .dropdown > .dropdownMargin > .mobile > .dropdownMargin > a {
        margin-left: 40px;
    }

    .mobile {
        display: block;
    }

    .mobile_cart {
        /* min-width: 120px; */
        text-align: center;
    }

    .mobile_cart a {
        font-size: 1em;
        text-transform: none;
    }

    /* Hamburger Menu for mobile */

    div#sp-icon {
        width: 70px;
        height: 70px;
        position: absolute;
        right: 0px;
        top: 13px;
        /* z-index: 999; */
    }

    div#sp-icon:hover {
        cursor: pointer;
        opacity: 0.7;
    }

    div#sp-icon span,
    div#sp-icon span:before,
    div#sp-icon span:after {
        display: inline-block;
        width: 30px;
        height: 3px;
        background: #000000;
        position: absolute;
        transition-property: transform;
        transition-duration: 0.3s;
    }

    div#sp-icon span {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    div#sp-icon span:before {
        content: "";
        transform: translateY(-10px) rotate(0deg);
    }

    div#sp-icon span:after {
        content: "";
        transform: translateY(10px) rotate(0deg);
    }

    div.sp-open span {
        background: transparent !important;
    }

    div.sp-open span:before {
        transform: rotate(45deg) !important;
    }

    div.sp-open span:after {
        transform: rotate(-45deg) !important;
    }

    /* Menu for mobile devices */

    #userManagement {
        width: 100%;
        min-height: 100vh;
        padding-top: 112px;
        background: #7eb4e2;
        /* opacity: 0.9;  */
        position: absolute;
        left: 0px;
        top: 0px;
        z-index: 990;
        display: none;
    }
}

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 0%;
    padding: 0%;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
