﻿
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.headnav
{
    background-color: var(--yellow);
    box-shadow: var(--thin-gray-boxshadow-1);
    color: white;
    font-family: Yekan_Regular;
    font-size: 14px;
}

.headnav .row
{
    width: 100%;
    list-style: none;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

.headnav li
{
    height: 60px;
}

.headnav a
{
    height: 100%;
    padding: 0 15px;
    color: inherit;
    text-decoration: none;
    border:none;
    display: flex;
    align-items: center;
}

.headnav a:hover
{
    background-color: var(--menu-hover-gray);
    color: var(--menu-text-gray);
}

    .headnav img
    {
        border:none;
    }

/*--------------------------------------------------*/

#headnav1
{
    background-color: white;
    color:var(--menu-text-gray);
}

/*--------------------------mainnav------------------------*/

.mainnav li:first-child
{
    display: none;
}

.mainnav img
{
    width:30px;
}

/*----------------------------SideMenu-----------------------*/

.SideMenu
{
    color:var(--gray);
    position: fixed;
    top:0;
    right: 0;
    height: 100vh;
    width: 250px;
    padding-left:15px;
    z-index: 999;
    list-style-type:none;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display:none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
}

.SideMenu li
{
    width: 100%;
    height: 30px;
}

.SideMenu a
{
    width: 100%;
}

.SideMenu img
{
    width:20px;
}


    .SideMenu .SubMenu
    {
        list-style-type:none;
        display:grid;
        grid-template-columns: repeat(auto-fill,minmax(80px,1fr));
        column-gap:5px;
		width:100%;
    }

        .SideMenu .SubMenu li
        {
            width: 100px;
            height:auto;
            /*background-color: var(--cream);*/
            border: 1px solid var(--brown);
            border-radius: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            text-align: center;
            display:initial;
            text-decoration: none;
            margin-bottom: 10px;
            font-family: Yekan_Regular;
        }

            .SideMenu .SubMenu li a
            {
                display:initial;
            }

                .SideMenu .SubMenu li a:hover
                {
                    color:var(--gray);
                    background-color:initial;
                }

            .SideMenu li:first-child a:hover
            {
                background-color:initial;
            }

            .SideMenu .SubMenu li img
            {
                width:50%;                
            }

            .SideMenu .SubMenu li p
            {
                width:100%;
            }

/*                      Media Queries                      */
/*---------------------------------------------------------*/

/*----------------------------------------- Tablet --------------------------------------*/
@media (max-width: 768px)
{
    .headnav
    {
        font-size: 12px;
    }

        .headnav a
        {
            padding: 0 8px;
        }
    


        /*.headnav .hideOnMobile
    {
        display: none;
    }



    .mainnav li:first-child
    {
        display: list-item;
    }*/
}

/*------------------------------------------- Mobile ------------------------------------*/
@media (max-width: 420px)
{
    .headnav .hideOnMobile
    {
        display: none;
    }



    .mainnav li:first-child
    {
        display: list-item;
    }
    
}