@font-face {
  font-family: 'Cambria';
  src: url(../fonts/cambria.ttc);
}

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

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

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

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

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

* {
  margin: 0;
  padding: 0;
  color: #FFF;
}

.myContainer {
  width: 1140px;
  margin: auto;
  overflow: hidden;
}

.myHeader {
  width: 100%;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 24px 0;
  z-index: 99;
  transition: all 0.3s ease-in-out;
}

.myHeader .header-wrap {
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.myHeader .header-wrap .logo {
  width: 200px;
  height: auto;
  display: block;
  margin-left: 5px;
  cursor: pointer;
}

.myHeader .header-wrap .nav {
  display: flex;
}

.myHeader .header-wrap .nav .item {
  margin: 0 24px;
  font-family: Moderat-Medium;
  font-size: 16px;
  line-height: 24px;
  transition: all 0.3s ease-in-out;
}

.myHeader .header-wrap .nav .item:hover {
  color: #c1272d;
}

.myHeader .header-wrap .nav .itemActive {
  color: #c1272d;
}

.myHeader .header-wrap .mobileNav {
  display: none;
}

.headerActive {
  background-color: rgba(0, 0, 0, 0.6);
}

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

@media (max-width: 1024px) {
  .myContainer {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
}

@media (max-width: 990px) {
  .myHeader .header-wrap .nav .item {
    margin: 0 15px;
    font-size: 15px;
  }
}

@media (max-width: 860px) {
  .myHeader {
    background: #000;
    padding: 10px 0;
  }
  .myHeader .header-wrap .logo {
    width: 140px;
  }
  .myHeader .header-wrap .nav {
    display: none;
  }
  .myHeader .header-wrap .mobileNav {
    display: block;
  }
  .myHeader .header-wrap .mobileNav .icon {
    width: 35px;
    height: 35px;
    position: relative;
  }
  .myHeader .header-wrap .mobileNav .icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #FFF;
    left: 0;
    top: 30%;
    transform: translateY(-50%);
    transition: transform 0.3s ease-in-out;
  }
  .myHeader .header-wrap .mobileNav .icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #FFF;
    left: 0;
    top: 70%;
    transform: translateY(-50%);
    transition: transform 0.3s ease-in-out;
  }
  .myHeader .header-wrap .mobileNav .content {
    position: fixed;
    right: 0;
    top: 0;
    background: #FFF;
    width: 100vw;
    max-width: 0;
    height: 100vh;
    transition: all 0.3s ease-in-out;
  }
  .myHeader .header-wrap .mobileNav .content .top {
    display: flex;
    height: 60px;
    padding: 0 15px;
    border-bottom: 1px solid #eee;
    justify-content: space-between;
    align-items: center;
  }
  .myHeader .header-wrap .mobileNav .content .top .mobileLogo {
    width: 108px;
  }
  .myHeader .header-wrap .mobileNav .content .top .close {
    width: 25px;
    height: 25px;
    position: relative;
  }
  .myHeader .header-wrap .mobileNav .content .top .close::before {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    height: 3px;
    background: #999;
  }
  .myHeader .header-wrap .mobileNav .content .top .close::after {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    height: 3px;
    background: #999;
  }
  .myHeader .header-wrap .mobileNav .content .item {
    height: 50px;
    line-height: 48px;
    display: block;
    padding: 0 25px;
    width: 100%;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    box-sizing: border-box;
    color: #666;
  }
  .myHeader .header-wrap .mobileNavActive .content {
    max-width: 320px;
  }
}
