header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #E1D169;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    
    width:100%;
    padding: 10px;
    margin:0;
    height: 75px;

    position: fixed;
    z-index: 3;
}

/*############## Nav Bar ###################*/
.navRow {
    display:flex;
    align-items: center;
    width:95%;
    margin: 0 auto;
    z-index: 3;
}

.navRow .logo-wrap {
    width: 15%;
    z-index: 5;

    & a {
        width:100%;
        display: flex;
        align-items: center;
        justify-content: start;
    }

    & a img {
        border-radius: 50%;
        height: 65px;
        padding: 0 auto;
        object-fit: contain;
        border: 2px solid #fff;
    }
}

.navRow nav {
    width: 90%;
    display: none;
    justify-content: flex-start;

    #navbar {
        margin: 0;
    
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;

        list-style: none;
    
        width: 100%;
        height: 50px;
        padding: 10px;
    
        position: relative;

        & li {
            padding: 0 5px;
        }

        .link a {
            display: flex;
            align-items: center;
            justify-content: center;
        
            border: 1px solid #004eae;
            border-radius: 5px;
            padding: 5px 10px 5px 10px;
            cursor:pointer;
            user-select: none;
            text-decoration: none;
        
            & img {
                width: 25px;
                margin-right: 3px;
            }
        
            & p {
                margin: 0 0 0 2px;
                padding: 0;
                font-weight: 600;
                transform: translateY(2px);
                color: #004eae
            }
        
            &:hover {
                background-color: white;
                & p { 
                    color:#000;
                }
            }
        }

        .liabt {
            padding-right: 20px;
        }
    }
}

.navRow nav #navbar .shop_links {
    position: absolute;
    right: 460px;
    text-align: right;
    width: fit-content;
    padding: 0;
    z-index: 1;

    #submenu {
        /* border: 1px solid greenyellow; */
        position: fixed;
        top: 60px;
        left: 0;
        block-size: 0;
        width: 0;
        
        display: flex;
        align-items: end;
        overflow: hidden;
        z-index: 1;

        transition: height 250ms ease-in-out;


        #submenu_list {
            position: relative;
            width: 100%;
            height: 80px;

            list-style: none;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #111111ee;

            transform: translateY(-5px);
            z-index: -1;
        
            & li a {
                color: white;
                border: 2px solid #E1D169;
                /* color: #E1D169; */
                font-weight: 600;

                &:hover {
                    background-color: #ffffffb8;
                }
            }

            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;

                backdrop-filter: blur(4px);
                z-index: -2;
            }

            #vh {
                margin-left: 1rem;
                color: white;
                border: 2px solid #ee0028;
            }

            #bs {
                color: white;
                border: 2px solid #009420;
            }
        }

        &::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 14px;

            background-color: #E1D169;
            /* border: 1px solid red; */
            z-index: 2;
        }
    }
}


.menu {
    position: fixed;
    top: 20px;
    right: 0;

    width: 15vw;

    justify-content: center;

    z-index: 1000;

    .btn-menu {
        width: 100%;
        border: 1px solid red;
        background: none;
        border: none;

        display: flex;
        align-items: center;

        & h4 {
            display: none;
            margin: 0 20px 0 0;
            z-index: inherit;

            color: white;
        }
    }

    & img {
        width: 38px;
    }
}

.menu-list {
    position: fixed;
    inset: 0 0 0 100%;

    padding: 10px 20px 20px 20px;

    width: 300px;
    height: 100vh;
    opacity: .85;

    transition: inset 350ms ease-out;

    z-index: 999;
    color: white;

    &::before {
        content: '';

        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #000;
        backdrop-filter: blur(5px);

        z-index: -1;
    }

    &[data-visible="true"] {
        inset: 0 0 0 50%;
    }

    .menu-item {
        margin-top: 200px;
        display: flex;
        flex-direction: column;

        & a {
            border: 2px solid #E1D169;
            border-radius: 5px;
            margin-bottom: 5px;
            width: 130px;
            padding: 5px;

            text-decoration: none;
            font-weight: 600;
            color: white;
        }
    }
}

.shop-dropdown {
    margin-bottom: 5px;
    padding: 0;
    
    .shop-select {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 130px;
        padding: 5px;
        border: 2px solid #E1D169;
        cursor: pointer;
        border-radius: 5px;
        margin-bottom: 3px;

        .shop-selected {
            font-weight: 600;
        }
        .shop-caret {
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 6px solid #fff;
            transition: 0.3s;
        }
    }
    .shop-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        block-size: 0;
        overflow: hidden;

        #shop_links {
            font-weight: 500;
            display: inline-block;
            width: 130px;
            margin-top: 1px;
            padding: 2px;
            border: 2px solid #69cde1;
        }
    }
}

.fan_shop-dropdown {
    .fan_shop-select {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 130px;
        padding: 5px;
        border: 2px solid #E1D169;
        cursor: pointer;
        border-radius: 5px;

        .fan_shop-selected {
            font-weight: 600;
        }
        .caret {
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 6px solid #fff;
            transition: 0.3s;
        }
    }
    .fan_shop-menu {
        list-style: none;
        padding: 5px 0 0 0;
        block-size: 0;
        overflow: hidden;

        transition: height 400ms ease-in-out;

        & li {
            #vh {
                display: inline-block;
                width: 130px;
                padding: 2px;
                border: 2px solid #ff1111;
            }
    
            #bs {
                display: inline-block;
                width: 130px;
                padding: 2px;
                border: 2px solid #11ff11;
            }
        }
    }
}

/*** LOGIN DIALOG *******************************/
#loginModal {
    position: fixed;
    z-index: 100;
    background-color: transparent;
    display: flex;
    scale: 0%;

    transition: scale 350ms ease-in-out;

    width: 100%;
    height: 100%;
    border: none;

    align-items: center;
    justify-content: center;

    &::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;

        background-color: #11111169;
        backdrop-filter: blur(.15rem);
        z-index: -1;

        pointer-events: none;
    }

    #loginForm {
        width: 340px;
        height: 350px;
        z-index: 2;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 40px 20px 40px 20px;

        & input {
            margin-bottom: .8rem;
        }

        #loginFormBtns {
            & a {
                display: inline-block;
                margin-top: 10px;
                margin-bottom: 8px;
                margin-right: 5px;
                font-size: 12px;
                cursor: pointer;
            }
        }
    }
}

/*** LOGOUT DIALOG *******************************/
#logoutModal {
    position: fixed;
    z-index: 100;
    background-color: transparent;

    width: 100%;
    height: 100%;
    border: none;

    align-items: center;
    justify-content: center;

    &::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;

        background-color: #11111169;
        backdrop-filter: blur(.15rem);
        z-index: -1;

        pointer-events: none;
    }

    #logoutForm {
        width: 340px;
        height: 300px;
        z-index: 2;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 40px;
    }
}

/*** SIGN UP DIALOG ******************************/
#signupModal {
    position: fixed;
    z-index: 100;
    background-color: transparent;

    width: 100%;
    height: 100%;
    border: none;

    align-items: center;
    justify-content: center;

    &::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;

        background-color: #11111169;
        backdrop-filter: blur(.15rem);
        z-index: -1;

        pointer-events: none;
    }

    #signupForm {
        width: 340px;
        z-index: 2;

        display: flex;
        flex-direction: column;
        padding: 40px 20px 40px 20px;
    }
}

@media (min-width: 425px) {

    .navRow .logo-wrap {
        width: 20%;
    }

    .menu-list {
        &[data-visible="true"] {
            inset: 0 0 0 65%;
        }
    }
}

@media (min-width: 768px) {

    .navRow .logo-wrap {
        width: 12%;
    }

    .navRow nav {
        display: flex;
    }

    .menu {
        display: none;
        right: -20px;
    }

    .menu-list {
        height: 100%;

        &[data-visible="true"] {
            inset: 0 0 0 75%;
        }
    }
}

@media (min-width: 1024px) {

    .navRow .logo-wrap {
        width: 10%;
    }

    .menu {
        right: -20px;

        .btn-menu {
            & h4 {
                display: block;
            }
        }
    }

    .menu-list {
        &[data-visible="true"] {
            inset: 0 0 0 80%;
        }
    }
}

@media (min-width: 1440px) {

    .menu {
        right: -50px;
    }

    .menu-list {
        &[data-visible="true"] {
            inset: 0 0 0 85%;
        }
    }
}

