/* Theming 
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
*/
   .container-head {
    display: grid;
    grid-template-columns: 160px 12fr auto 32px 32px;
    grid-template-rows: auto auto auto;
    gap: 5px;
    z-index: 9900;
}

.header {
    background: url(../images/header-bg.svg);
    background-size: cover;
    background-color: #3462af;
    max-height: 60px;
    z-index: 1000;
    width: 100vw;
}


:root{
    --white: #f9f9f9;
    --black: #36383F;
    --grey: #85888C;
}


/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--black);
    overflow: hidden;
    z-index: 9900;
    top: 60px;
    font-size: 18px;
    text-align: center;
    width: 320px;
}

.menu {
   width: 100%;
   padding: 1em;
}
.menu a{
    display: block;
     padding: 5px;
    color: var(--white);
    font-size: 18px;
    text-align: left;
}

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

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
    right: 0;
}

/* Menu Icon */

.hamb{
    cursor: pointer;
    float: right;
    /** padding: 40px 20px;  **/
}


.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    z-index: 9999;
    /** top: -42px; 
    left: 20px; **/
    top: 10px;
}

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 8px;
}

.hamb-line::after{
    top: -8px;
}


.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav {
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}


/* Responsiveness */

/**
@media (min-width: 768px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
        z-index: 9900;
    }

    .menu li{
      float: left; 
    }

    .menu a:hover{
        background-color: transparent;
        color: var(--grey);
        
    }
    
    .hamb{
        display: none;
    }
    
    .menu a {
     padding: 0px;
     font-size: 1em;
}

}

**/