@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* Colors */
:root
{
--background-color: #fff;
--text-title-color: #053d4e;
--text-color:#32363B;
--icon-color: #32363B;
--icon-menu-color: #707780;
--menu-color: #707780;

--text-selected-color: #134de2;
--background-selected: #e2d411;


--background-hover: #F7F9FA;    
--border-color: #e6e9ed;
}
/* Colors */


/* Global Styles */
*
{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: "Nunito Sans","sans-serif", "Helvetica Neue", Helvetica;
}
/* Global Styles */


/* Body */
body
{
    width: 100%;
    height: 100vh;
}
/* Body */

/* Header */
header
{
    /* border:2px solid red; */
    z-index: 200;
    width:100%;
    display: flex;
    justify-content: space-between;
    padding: 0.45rem 2rem 0.45rem 1.27rem;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    background-color: var(--background-color);
    top:0;
    left:0;
}
/* Header */


/* Left Section */
.left
{
    /* border : 2px solid green; */
    margin-top: -10px;
    display:flex;
    align-items: center;
    justify-content: center;
    gap:2.0rem;    
}
/* Left Section */

/* Menu */

.menu-container
{
    /* border: 2px solid red; */
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.menu
{
    /* border: 2px solid black; */
    
    width: 4rem;  /*How far hamburger menu will show */ 
    height: 37%;
    display: block;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu div
{
    padding-left: 10px;
    width:100%;
    height: 0.15rem;
    background-color: var(--menu-color);
    transition: all 0.5s ease;
}

/* Menu */


/* brand */
.brand
{
    /* border: 2px solid black; */
    display : flex;
    justify-content: center;
    align-items: center;
    gap:1rem;    
}

.brand .logo
{
     width : 4rem; 
}

.brand .name
{
    /* border: 2px solid orange; */
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-title-color);
}
/* brand */

/* Right Section */
.right 
{
    /* border : 2px solid green; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    /* border-radius: 0.5rem;
    transition : background-color 0.2s ease; */
}

.right a
{
    /* border: 2px solid red; */
    display : flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.right a:hover
{
  background-color: var(--background-hover);
}

.right img
{
    width : 1.5rem;
    margin: 0.5rem;
}

.right .user
{
    width: 2.1rem;
    border-radius: 50%;
}
/* Right Section */


ul {
  list-style-type: none;
}


/*Sidebar */
.sidebar
{
    /* border: 2px solid red; */
    margin-top: 5rem;
    width: 19rem;
    height: 100%;
    position: fixed;
    top:0;
    left:0;
    z-index:90;
    padding: 1.0rem 0;
    border-right: 1px solid var(--background-color);
    overflow-y: auto;
    background-color: var(--background-color);
    transition: width 0.5s ease;
}

.sidebar.menu-toggle
{
    width: 6rem;
}

.sidebar a{

    /* border: 2px solid green; */
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0.8rem;
    text-decoration: none;
    margin: 0 0.1rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    color:var(--text-color);
}

.sidebar a:hover
{
    background-color: var(--background-hover);
}

.sidebar a.selected
{
    /* border: 2px solid red; */
    color: var(--text-selected-color);
    background-color: var(--background-selected);
}

.sidebar a.search
{
    /* border: 2px solid red; */
    padding: 1rem 0.7rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.2rem;
    
}

.sidebar img
{
    width: 2.5rem;
}
/*Sidebar */

/* Main */
main
{
    /* border: 2px solid red; */
    margin-top: 5rem;
    margin-left: 6rem;
    padding: 2rem;
    transition: margin-left 0.5s ease;
}

main.menu-toggle
{
    margin-left: 19rem;
}


/* Responsive */
@media (max-width: 500px) {
    .right .icons-header
    {
        display: none;
    }

    .sidebar
    {
        width:0;
    }

    .main
    {
        margin-left: 0;
    }

    main.menu-toggle
    {
        margin-left: 0;
    }

}

