.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 10;
  position: fixed;
  top: 0px;
  width: 100%;
  background-color: white;
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .1);
}

.content_overlay {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transition: opacity .5s ease-in-out;
  background: #0000002e;
  opacity: 0;
  pointer-events: none;
}

.navbar .menu-btn:checked~.content_overlay {
  opacity: 1;
  pointer-events: auto;
}

.logo_container {
  margin-top: 10px;
  padding-left: 10px;
}

.logo_container img {
  height: 70px;
}

.nav_content_right {
  display: flex;
  flex-direction: row;
  justify-self: right;
  justify-items: center;
}

.navbar .menu {
  z-index: 10;
  display: flex;
  flex-direction: column;
  position: fixed;
  right: -300px;
  top: 0;
  text-align: center;
  height: 100vh;
  width: 300px;
  transition: right .4s ease-out;
  background-color: white;
  box-shadow: -4px -4px 8px 2px rgba(0, 0, 0, .1);
}

.navbar ul {
  display: flex;
  flex-direction: column;
  height: auto;
  margin-top: 60px;
  padding: 0px 40px;
  list-style: none;
  overflow: hidden;
}

.menu li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 15px 0px;
}

.menu li:hover > .border{
  width: 100%;
}

.navbar li a {
  display: inline-block;
  color: black;
  text-align: center;
  font-size: 20px;
  padding: 5px 0px;
  text-decoration: none;
}

.menu .border {
  border-bottom: 2px solid #64a70b;
  width: 0%;
  transition: all 0.3s ease-in-out;
}

.navbar .menu-icon {
  z-index: 15;
  justify-self: right;
  cursor: pointer;
  display: inline-block;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.navbar .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 28px;
}

.navbar .menu-icon .navicon:before,
.navbar .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.navbar .menu-icon .navicon:before {
  top: 7px;
}

.navbar .menu-icon .navicon:after {
  top: -7px;
}

/* menu btn */

.navbar .menu-btn {
  display: none;
}

.nav_content_right:has(.menu-btn:checked)>.menu {
  right: 0;
}

.navbar .menu-btn:checked~.menu-icon .navicon {
  background: transparent;
}

.navbar .menu-btn:checked~.menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.navbar .menu-btn:checked~.menu-icon .navicon:after {
  transform: rotate(45deg);
}

.navbar .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
.navbar .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
  top: 0;
}

@media (min-width: 800px) {

  .navbar .menu {
    flex-direction: row;
    position: relative;
    height: auto;
    top: 0;
    right: 0;
    box-shadow: 0 0 0 0;
    width: auto;
  }

  .navbar ul {
    margin-top: auto;
    flex-direction: row;
    height: 100%;
  }

  .navbar li {
    height: 100%;
    padding: 0px 20px;
  }

  .navbar li a {
    padding: 5px 0px;
  }

  .navbar .menu-icon {
    display: none;
  }
}

@media only screen and (max-width:550px) {

  .logo_container img {
    height: 70px;
  }

}