:root{
  --nav-item-w: 120px;
  --nav-item-h: 50px;
  --nav_margin: 2%;
  --nav_width : 12%;
  --nav-font-size : 120%;
}

@media (max-width: 1800px) {
  :root{
    --nav-item-h: 50px;
    --nav_margin: 4%;
    --nav_width : 16%;
    --nav-font-size : 110%;
  }
}

@media (max-width: 768px) {
  :root{
    --nav-item-h: 33px;
    --nav_margin: 1.5%;
    --nav_width : 25%;
    --nav-font-size : 0.6rem;
  }
  .navbar{
    padding: 8px 1px !important;
  }
  .nav-right{
    right: 2px !important;
    width: auto !important;
  }
}



.navbar {
  width: 100%;
  background-color: #1a1a1a;
  top: 0;
  left: 0;
  padding: 10px 20px;
  box-sizing: border-box;
  z-index: 1000;
  position: relative;
  display: flex;
  align-items: center;
}

.navbar_container {
  display: flex;
  width: 100%;
  position: relative;
}

.nav-left, .nav-right {
  display: flex;
}

.nav-left{
  width: 70%;
}

.nav-right {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30%;
  justify-content: flex-end;
}

.nav-item{
  box-sizing: border-box;
  width: var(--nav-item-w);
  height: var(--nav-item-h);
  display: flex;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background: linear-gradient(to bottom, #942f20 50%, #91220e 50%);
  border: 2px solid #800e0e;
  border-radius: 3px;
  cursor: pointer;
}


.nav-item > *{
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}


.nav-item a{
  font-weight: bold;
  font-size: var(--nav-font-size);
  text-align: center;
  line-height: 1;
}

.nav-item img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.nav-left > .nav-item:first-child{
  background: none;
  border: none;
}


.nav-left div{
  margin-left: var(--nav_margin);
  width: var(--nav_width);
}
.nav-right div{
  margin-left: calc(var(--nav_margin) * 2.3333);
  width: calc(var(--nav_width) * 2.3333);
}
