:root {
    --main-color: 179, 1, 37;
    --darker-color: 128, 0, 26;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

button, input, textarea {
    font-family: 'Montserrat', sans-serif;
}

body.stop-scrolling {
    height: 100vh;
    overflow: hidden;
}

.mobileMenu {
    display: none;
    position: fixed;
    z-index: 2;
    height: 100vh;
    width: 100%;
    background-color: #0d0d0d;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mobileMenu.shown {
    display: flex;
}

.mobileMenu .links a {
    display: block;
    font-size: 5vh;
    color: #fff;
    margin: 0;
    text-decoration: none;
}

.mobileMenu .bottom {
    display: flex;
    position: fixed;
    bottom: 3vh;
    align-items: center;
}

.mobileMenu .bottom a {
    display: block;
    font-size: 2.5vh;
    color: #fff;
    text-decoration: none;
}

.mobileMenu .bottom .account {
    margin-left: 5vw !important;
    padding-bottom: 0vh !important;
}

.announcementBanner {
    width: 90%;
    padding: 1vh 5%;
    position: relative;
    z-index: 1;
    background-color: #000;
    text-align: center;
    font-size: 1.6vh;
    color: #fff;
    font-weight: 600;
}

.navbar {
    display: flex;
    position: relative;
    z-index: 2;
    align-items: center;
    width: 90%;
    padding: 1vh 5%;
    background-color: rgb(var(--main-color));
}

.navbar.mobileShown {
    background-color: transparent;
}

.navbar.mobileShown .left img {
    visibility: hidden;
    opacity: 0;
}

.navbar .left img {
    height: 9vh;
    width: auto;
}

.navbar .right {
    display: flex;
    flex-grow: 100;
    justify-content: flex-end;
}

.navbar .right .links {
    display: flex;
    align-items: center;
}

.navbar .right .mobile {
    display: none;
}

.navbar .right .links a, .navbar .right .mobile a {
    font-size: 2vh;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin-left: 1.5vw;
    position: relative;
}

.navbar .right .links a.active {
    color: #fff;
}

.navbar .right .links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -.25vh;
    width: 0%;
    height: .25vh;
    background-color: #fff;
    transition: width .4s ease;
}

.navbar .right .links a.active::after, .navbar .right .links a:hover::after {
    width: 100%;
}

.navbar .right .links a.account:hover::after, .navbar .right a.cart:hover::after {
    width: 0% !important;
}

.navbar .right .mobile a {
    font-size: 3vh;
}

.navbar .right .mobile a.hidden {
    display: none;
}

.navbar .right .mobile a.close {
    font-size: 4vh;
}

.navbar .right .links a.cart {
    margin-left: 3vw;
}

.mobileMenu .bottom a.cart, .navbar .right a.cart {
    position: relative;
    margin-left: 3%;
}

.mobileMenu .bottom a.cart .num, .navbar .right a.cart .num {
    display: flex;
    position: absolute;
    top: -1vh;
    right: -1vh;
    height: 2vh;
    width: 2vh;
    background-color: #000;
    border-radius: 50%;
    font-size: 1.5vh;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bolder;
}

.mobileMenu .bottom .account, .navbar .right .account {
    margin-left: 1.5vw;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.mobileMenu .bottom .account, .navbar .right .account.icon {
    margin-bottom: 0vh;
    padding-bottom: .5vh;
}

.mobileMenu .bottom .account .avatar, .navbar .right .account .avatar {
    height: 3.5vh;
    width: 3.5vh;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%;
    cursor: pointer;
}

.navbar .right .account .dd {
    display: inline-flex;
    position: absolute;
    top: 5vh;
    left: -2.85vw;
    visibility: hidden;
    opacity: 0;
    background-color: #0d0d0d;
    z-index: 5;
    text-align: center;
    transition: opacity .2s ease, visibility .2s ease;
    padding-bottom: 0vh;
    width: 7.5vw;
    flex-wrap: wrap;
    border-radius: .3vh;
    color: #fff;
    font-size: 2vh;
}

.navbar .right .account .dd i {
    position: absolute;
    top: -1.1vh;
    margin-left: 0%;
    width: 100%;
    left: 0;
    text-align: center;
    color: #0d0d0d;
}

.navbar .right .account .dd.shown {
    opacity: 1;
    visibility: visible;
}

.navbar .right .account .dd a {
    display: block;
    width: 100%;
    padding: .75vh 0vw;
    color: #fff;
    margin-left: 0;
    transition: background-color .3s ease, color .3s ease;
    font-size: 1.5vh;
    font-weight: 500;
    text-align: center;
}

.navbar .right .account .dd a:nth-child(2) {
    border-top-left-radius: .3vh;
    border-top-right-radius: .3vh;
}

.navbar .right .account .dd a:last-child {
    border-bottom-left-radius: .3vh;
    border-bottom-right-radius: .3vh;
}

.navbar .right .account .dd a:hover {
    background-color: rgb(var(--darker-color));
    color: #fff;
}

.navbar .right .account .dd a:hover::after {
    width: 0%;
}

.navbar .right .account:hover::after, .navbar .right a.cart:hover::after {
    width: 0%;
}

@media screen and (max-width: 600px), (orientation : portrait) {
    .navbar {
        width: 80%;
        padding: 1vh 10%;
    }

    .navbar .right .links {
        display: none;
    }

    .navbar .right .mobile {
        display: flex;
        justify-content: flex-end;
    }
}