/* Header */

@media screen and (min-width: 1041px) {
  header {
    position: sticky;
    top: -70px;
    z-index: 9999;
    width: 100%;
  }

  .nav_menu {
    transition: background 0.3s, backdrop-filter 0.3s;
  }

  header.backgroundWhite .nav_menu {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
}

.header_top {
  height: 65px;
  border-bottom: 5px solid #c4d700;
  background: #000033;
}

.header_top_container {
  display: -webkit-box;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  justify-content: space-between;
  height: 100%;
  margin: 0 16px;
}

header h1 {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 100%;
  min-width: 0;
  max-width: 100%;
}

header h1 a {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 100%;
}

.nav_menu {
  position: relative;
  border-bottom: 1px solid #d5dedb;
  background: #fff;
}

@media screen and (min-width: 1041px) {
  .nav_menu {
    z-index: 99999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
  }
}

.nav_menu_contents {
  align-items: center;
  padding: 5px 0;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
  width: 100%;
  max-width: 1240px;
}

#Logo {
  display: none;
}

header h1 img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.header_menu {
  display: none;
}

.header_splist {
  display: flex;
  position: relative;
}

.header_splist li {
  flex: 1;
  border-left: 1px solid #d5dedb;
}

.header_splist .nav_menu_item_about {
  flex: 0 0 160px;
}

.header_splist li:last-child {
  margin-right: 0;
}

.nav_menu_link {
  color: #004400;
  display: -webkit-box;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  position: relative;
  height: 56px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  border-bottom: 4px solid transparent;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s, opacity 0.3s;
}

.nav_menu_link:hover,
.nav_menu_link.active {
  border-bottom-color: #c4d700;
  color: #002b00;
}

@media screen and (min-width: 1041px) {
  header.backgroundWhite .header_splist li a {
  }
}

@media screen and (max-width: 1040px) {
  .nav_menu_link {
    border-bottom: none;
    transition: color 0.3s, opacity 0.3s;
  }

  .header_splist li a:hover,
  .header_splist li a.active {
    color: #c4d700;
  }
}
