.menu {
    width: 100%;
    height: 50px;
    line-height: 44px;
    background-color: rgb(var(--main-color));
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    font-size: 1.5vw;
    padding: 3px;
    position: sticky;
    top: 0;
    z-index: 99999999;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.menu img{
  height: 50px;
  width: auto;
}
.align0{
    flex-direction: row-reverse;
}
.align1{
  flex-direction: row-reverse;
}
.align2{
  flex-direction: row;
}

.header{
    width: 100%;
    height: 110px;
    background: rgb(var(--header-color));
    box-sizing: border-box;
    padding: 1px;
}
.logo {
    object-fit: contain;
    width: auto;
    height: 100%;
}


.menuitems {
    display: flex;
    flex-direction: row;
    height: 100%;
    gap:2px;
    align-items: center;

}

.vert{
    border-left: solid 2px rgb(var(--accent-color));
}
.menuitems a {
    text-decoration: none;
    color: #fff;
    font-size: large;
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
    transition: all 800ms;
   
}
.menuitems a:hover {
   background-image: linear-gradient(rgba(var(--accent-color), 0.3), transparent);
}

.link {
    padding: 2px;
    box-sizing: border-box;
    text-align: center;
    min-width: 100px;
    height: 40px;
    color: rgb(var(--text-color));
}

.link_b {
    border-left: groove 1px #fff;
    border-right: groove 1px #fff;
}

.link:hover {
    background-image: linear-gradient(transparent, rgba(255, 255, 255, 0.5));
    color: #1e2023;
}
/* Style the navigation menu */
.topnav {
    display: none;
    overflow: hidden;
    background-color: rgb(var(--main-color));
    position: relative;
    min-height: 44px;
    padding: 0px;
    margin: 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999999999;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  }
  .topnav img{
    height: 44px;
    width: auto;
  }
  /* Hide the links inside the navigation menu (except for logo/home) */
  .topnav #myLinks {
    display: none;
    transition: all 300ms;
  }
  .lnk_logo{
    text-decoration: none;
  }
  /* Style navigation menu links */
  .topnav .lnk {
    color: white;
    padding: 2px;
    text-decoration: none;
    font-size: 20px;
    display: block;
    text-align: center;
    margin-block: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }
 
  /* Style the hamburger menu */
  .topnav a.icon {
    background: rgb(var(--main-color));
    display: none;
    position: absolute;
    right: 2px;
    top: 2px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 28px;
    text-align: center;
    z-index: 99999999;
  }
  
  /* Add a grey background color on mouse-over */
  .topnav .lnk:hover {
    background-color:rgb(var(--accent-color));
    color: black;
  }
  
  /* Style the active link (or home/logo) */

  #tmenu_label{
    font-size: xx-large;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    padding: 4px;
    box-sizing: border-box;
  }
  #tmenu{
    display: none;
  }
  #tmenu:checked ~ #myLinks{
    display: block;
    
  }
 
@media screen and (max-width:600px) {
.menu{
   display: none; 
}
.topnav{
    display: block;
}
.topnav a.icon{
    display:block;
}

.header{
    height:85px;
}
}