@font-face {
  font-family: 'Moderat-Regular';
  src: url(../fonts/Moderat-Regular.otf);
}

@font-face {
  font-family: 'Moderat-Light';
  src: url(../fonts/Moderat-Light.otf);
}

@font-face {
  font-family: 'Moderat-Black';
  src: url(../fonts/Moderat-Black.otf);
}

@font-face {
  font-family: 'Moderat-Medium';
  src: url(../fonts/Moderat-Medium.otf);
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Moderat-Regular';
  color: #FFF;
}

*::selection {
  background: transparent;
}

html {
  font-size: calc(100vw / (1920 / 16));
}

body {
  overflow-x: hidden;
}

.myContainer {
  width: 1350px;
  margin: auto;
  overflow: hidden;
  box-sizing: border-box;
  height: 100%;
}

.myHeader {
  width: 100%;
  background-color: #000000;
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 99;
  height: 100px;
}

.myHeader .myContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.myHeader .myContainer .logo {
  width: 105px;
  height: auto;
  display: block;
  transition: all 0.5s ease;
  cursor: pointer;
}

.myHeader .myContainer .menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

.myHeader .myContainer .menu .item {
  margin: 0 33px;
  font-size: 16px;
  letter-spacing: 0px;
  color: #dfdfdf;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.myHeader .myContainer .menu .item::after {
  content: '';
  position: absolute;
  top: calc(50% + 1.15em);
  border-bottom: 2px solid #7cc220;
  left: 50%;
  width: 0;
  transform: translate(-50%, -1px);
  transition: all 0.2s ease;
}

.myHeader .myContainer .menu .item:hover {
  color: #7cc220;
}

.myHeader .myContainer .menu .item:hover::after {
  width: 100%;
}

.myHeader .myContainer .menu .active_nav_item {
  color: #7cc220;
}

.myHeader .myContainer .menu .active_nav_item::after {
  width: 100%;
}

.myHeader .myContainer .navRight {
  background-image: linear-gradient(-90deg, #9becac 0%, #7ac221 47%, #ccd200 100%), linear-gradient(#fcde4c, #fcde4c);
  width: 160px;
  height: 50px;
  border-radius: 5px;
  font-size: 14px;
  margin-right: 0;
  text-align: center;
  line-height: 50px;
  background-color: #7ac221;
  transition: all 0.3s ease;
  cursor: pointer;
}

.myHeader .myContainer .navRight:hover {
  color: #000;
  background: #FFF;
}

.myHeader .myContainer .navRight:hover::after {
  content: none;
}

.myHeader .myContainer .navRight:active {
  opacity: 0.6;
}

.myHeader .myContainer .mobileNav {
  width: 21px;
  display: none;
}

.myHeader .myContainer .mobileNav .icon {
  display: block;
  width: 100%;
  height: auto;
}

.myHeader .mobileNavContent {
  height: fit-content;
  max-height: 0;
  padding-top: 0;
  overflow: hidden;
  background: #000;
  transition: all 0.3s ease-in-out;
}

.myHeader .mobileNavContent .item {
  font-size: 15px;
  padding: 0 12px;
  border-bottom: 1px solid #585656;
  text-align: center;
  line-height: 50px;
  color: #FFF;
  font-weight: bold;
}

.myHeader .mobileNavContent .item:hover {
  background: var(--theme_color);
  color: #000;
}

.myHeader .mobileNavContent .current {
  background: var(--theme_color);
  color: #000;
}

.myHeader .mobileNav_active {
  max-height: 100vh;
  padding-top: 20px;
  padding-bottom: 1px;
}

.myHeader_active .myContainer .logo {
  width: 65px;
  margin: 15px 0;
}

@media (max-width: 1440px) {
  .myContainer {
    width: 980px;
  }
}

@media (max-width: 1024px) {
  .myContainer {
    width: 100%;
    padding: 0 30px;
  }
  .myHeader .myContainer .menu .item {
    margin: 0 15px;
  }
  .myHeader .myContainer .menu .item:first-child {
    margin-left: 0;
  }
  .myHeader .myContainer .menu .item:last-child {
    margin-right: 0;
  }
}

@media (max-width: 800px) {
  .myHeader {
    height: 60px;
  }
  .myHeader .myContainer .logo {
    width: 60px;
    margin: 20px 0;
  }
  .myHeader .myContainer .menu {
    display: none;
  }
  .myHeader .myContainer .navRight {
    display: none;
  }
  .myHeader .myContainer .mobileNav {
    display: block;
  }
  .myHeader_active .myContainer .logo {
    width: 60px;
    margin: 20px 0;
  }
}
