header{
    width: 90%;
    padding-top: 1.5em;
}

header .site-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.navbar {
    display: flex;
    flex-grow: 0;

    justify-content: flex-end;

}
a {
    text-decoration: none;
    font-weight: bold;


}
.navbar a:hover{
    background-color: powderblue;
    transition: background-color .5s;
    padding: 0.5em;
    border-radius: 0.5em;
    font-weight: 900;

}

.toggle-nav {
    display:none;
}

ul {

    margin: 0;
    padding-left: 0;
}

li {
    border-radius: 5px;
    float: left;
    padding: 1rem;
    position: relative;
    text-decoration: none;
    transition-duration: 0.5s;
}

.logo {
    float: left;
}
.logo-mobile{
    display: none;
}

li a {
    color: #DB7822;
}

.menu li:hover {
    border-radius: 4px;
    background-color: #999999;
    border-style: solid;
    border-color: yellow;
    cursor: pointer;

}

.menu .logo:hover{
    border-style: none;
    background-color: white;
}
ul li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    transition: all 0.5s ease-in;
    margin-top: 1rem;
    left: 0;
    display: none;
    background-color: #fff;

}

ul li:hover > ul,
ul li:focus-within > ul,
ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}

ul li ul li {
    clear: both;
    width: 100%;
}

.sub-menu li:hover .inner-sub-menu li{
    display: block;
    background-color: white;
}

.inner-sub-menu{
    display: flex;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 0;
    left: 100%;
}


@media all and (max-width: 800px) {
      .logo{
          display: none;
      }
      .logo-mobile{
          display: flex;
      }
      .toggle-nav {
          display: flex;
          float: right;
          padding-right: 2em;
      }

      .navbar {
          display: none;
          flex-direction: column;
          float: right;

      }

      ul {
          width:100%;
      }
      li {
          width:100%;
          border-right:none;
      }

}

