.menu {
  display:flex;
}

.menu_item:hover {
  background-color:rgb(194,228,196);
  line-height: 50px;

}

.menu_item {
  display:inline-block;
  background-color:rgb(133,201,136);
  border-radius: 0px;
  transition: 0.2s;
  padding-left:9px;
  padding-right:16px;
  text-align:center;
  width:80px;
  line-height: 50px;
}

.menu_item .tooltiptext {
  visibility: hidden;
  width: 180px;
  background-color: black;
  color: white;
  text-align: center;
  padding: 2px 0;
  position: absolute;
  z-index: 1;
  left:0px;
  top:45px;
}

.menu_item:hover .tooltiptext {
  visibility: visible;
}

.uptext {
  text-transform: lowercase;
  margin-right: 10px;
  margin-left:10px;
  flex-shrink:0.1;
  flex-grow:0;
  display:block;
  z-index:5;
  font: 14px/1.4em "Montserrat", Arial, sans-serif;
  font-weight:bold;
  /* color:white; */
}


nav:hover > .navlink > a {
    color:#C6C6C6;
    transition: 0.1s;
}

nav:hover > .navlink:hover > a {
    color:white;
}

.uptext:hover {
    text-shadow: 0px 0px 1px white;
    color: white !important;
}

.uptext > div {
    line-height: 60px;
}

.menu_expand {
  position:absolute;
  display:none;
}

.expandee {
  display:block;
  line-height:50px;
}


.uptext:hover .menu_expand {
  display:block;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

* {
  margin: 0;
  box-sizing: border-box;
}


a:visited, a {
  color: white;
  text-decoration: none;
}

header {
  /* background-image: linear-gradient(to right, rgb(88, 170, 91) 0%, black); */
  background: rgb(133,201,136);
  /* animation: mymove 15s infinite; */
  /*background-size: 500% 500%;*/
  border-bottom: 1px solid white;
  color: white;
  display: flex;
  /* background-color: black; */
  /* animation: backgroundColor 15s infinite; */
}
/*
@keyframes mymove {
    0%{background-position:90% 20%}
    50%{background-position:80% 20%}
    100%{background-position:90% 20%}
}
*/

/* @keyframes backgroundColor {
    0%{background-color:black;}
    50%{background-color:rgb(47, 147, 51);}
    100%{background-color:black;}
} */
nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  /* overflow: hidden; */
  transition: max-height ease-in-out 250ms;
}

nav div {
  color: white;
  margin-right: 30px;
  /* padding-top: 15px; */
  /* padding-bottom: 15px; */
  position: relative;
}

nav div * {
  color: white;
}

/* nav div::before {
  content: '';
  display: block;
  height: 5px;
  width: 0%;
  background-color: white;
  position: absolute;
  top: 0;
  left: 50%;
  transition: all ease-in-out 300ms;
}

nav div:hover::before {
  width: 100%;
  left: 0%;
} */

#logo {
  margin: auto;
  font-family: 'PT-sans';
  padding-top: 15px;
  padding-bottom: 15px;
  margin-left: 30px;
  font-size: 25px;
  flex-grow: 100;
  position: relative;
}

.hamburger {
  order: 3;
  display: none;
}

#label_hamburger {
  order: 3;
  margin: auto;
  margin-right: 20px;
  display: none;
  padding: 10px;
  transform-origin: top left;
}

#inner_hamburger, #inner_hamburger::before, #inner_hamburger::after {
  width: 31px;
  height: 3px;
  background-color: white;
  display: block;
  position: relative;
  transition: all ease-in-out 300ms;
  border-radius: 3px;
}

#inner_hamburger::before {
  content: '';
  top: -9px;
  transform-origin: center left;
}

#inner_hamburger::after {
  content: '';
  top: 6px;
  transform-origin: center left;
}

.hamburger:checked ~ #label_hamburger #inner_hamburger {
  /* width: 28px; */
  background-color: inherit;
}

.hamburger:checked ~ #label_hamburger #inner_hamburger::before {
  top: -10px;
  visibility: visible;
  transform-origin: center left;
  transform: rotate(45deg) translate(-1.2px);
}

.hamburger:checked ~ #label_hamburger #inner_hamburger::after {
  visibility: visible;
  left: 1px;
  transform: rotate(-45deg) translate(-3px);
  transform-origin: center left;
}

@media only screen and (max-width: 800px) {
  .hamburger {
    margin-right: 60px;
  }
  nav {
    flex-direction: column;
    display: none;
    height: auto;
    max-height: 0px;
  }
  .hamburger:checked ~ nav {
    display: block;
    max-height: initial;
  }

  #label_hamburger {
    display: block;
  }

  .uptext {
      margin-right: 0px;
  }
}
