.nav-container {
    background: rgba(255, 255, 255, 1);
    position: fixed;
    z-index: 1 !important;
    backdrop-filter: blur(100px);

    
    padding: 0 15%;
    box-sizing: border-box;
    border-radius: 10px;
    margin: 10px 10px;
    box-shadow: 0 1px 1px 0 rgba(66, 66, 66, 0.08), 0 1px 5px 1px rgba(66, 66, 66, 0.16);
}

nav {
    //max-width: 1720px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

nav a {
    color: #222;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    
    transition: .3s all ease-in-out;
}

nav a:hover {
    //opacity: .7;
}

.left-menu {
    grid-column: 3;
    align-self: center;
    justify-self: end;
}

.left-menu a {
    padding: 10px 10px;
    //margin-left: 15px;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.5px;
    border-radius: 3px;
    //font-family: Arial, Helvetica, sans-serif;
}

.left-menu a:hover {
    background-color: rgba(55, 171, 200, .9);
    color: #fff;
}


.logo {
    font-size: 30px;
    padding: 1rem 0;
    max-height: 40px;
    position: relative;
    justify-self: start;
}

.logo > img{
    height: 100%;
    display: inline-block;
   //max-height: 100%;
   //max-height: 30px;
   //width: auto;
   object-fit: contain;
   object-position: 0% 50%;

   align-self: center;
}


#nav-toggle, .burger-menu {
    display: none;
}

.burger-menu {
    grid-column: 3;
    align-self: center;
    justify-self: end;
    //margin-left: 20px;
    cursor: pointer;
}

.burger-menu > img {
    width: auto !important;
    //max-height: 40px;
    cursor: pointer;
}
     

@media only screen and (max-width: 1025px) {
    .nav-container {
        padding: 0 5%;
        margin: 10px 10px;
    }

    .burger-menu {
      display: inline-block;
    }

    .left-menu {
      display: none;
      grid-column: 1 / -1;
      justify-self: start;
      width: 100%;
      border-top: 1px solid rgba(222, 222, 222, .3) ;
    }

    .left-menu a {
        font-size: 14px;
        padding: 10px 0;
    }

    .left-menu a:hover {
        background-color: transparent;
        color: #000;
    }

    #nav-toggle:checked ~ .left-menu {
      display: grid;
      grid-row: 2;
    }
}  

























/*
 * Just a quick hamburger
 */

.burger-menu span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #cdcdcd;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
}

.burger-menu span:first-child {
    transform-origin: 0% 0%;
}

.burger-menu span:nth-last-child(2) {
    transform-origin: 0% 100%;
}


/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */

 #nav-toggle:checked~.burger-menu>span {
    opacity: 1;
    transform: rotate(-45deg) translate(-2px, -1px);
    background: #cdcdcd;
}


/*
 * But let's hide the middle one.
 */

 #nav-toggle:checked~.burger-menu>span:nth-last-child(2) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}


/*
 * Ohyeah and the last one should go the other direction
 */

 #nav-toggle:checked~.burger-menu>span:nth-last-child(3) {
    transform: rotate(45deg) translate(0, -2px);
}