* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  margin: 0;
  width: 100%;
}

@font-face {
  font-family: 'abril-displayregular';
  src: url('../fonts/abril_display_regular-webfont.woff2') format('woff2'),
       url('../fonts/abril_display_regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AdobeHeitiStd';
  src: url('../fonts/AdobeHeitiStd-Regular-Alphabetic.woff2') format('woff2'),
      url('../fonts/AdobeHeitiStd-Regular-Alphabetic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu-Regular.woff2') format('woff2'),
      url('../fonts/Ubuntu-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu-Bold.woff2') format('woff2'),
      url('../fonts/Ubuntu-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* noto-sans-sc-regular - chinese-simplified */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/noto-sans-sc-v12-chinese-simplified-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/noto-sans-sc-v12-chinese-simplified-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* noto-sans-sc-700 - chinese-simplified */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/noto-sans-sc-v12-chinese-simplified-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/noto-sans-sc-v12-chinese-simplified-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* noto-serif-sc-regular - chinese-simplified */
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/noto-serif-sc-v8-chinese-simplified-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/noto-serif-sc-v8-chinese-simplified-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* noto-serif-sc-700 - chinese-simplified */
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/noto-serif-sc-v8-chinese-simplified-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/noto-serif-sc-v8-chinese-simplified-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

.container {
  min-width: 1200px;
  margin: 20px auto;
}

nav {
  margin-bottom: 40px;
  position: relative;
  color: #212121;
}

.nav-desktop {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  justify-content: space-evenly;
  align-items: baseline;
}

.nav-mobile {
  display: none;
}

.lang i {
  font-size: 20px;
  vertical-align: middle;
}

.nav-item {
  flex: 1;
  text-align: center;
}

.nav-logo {
  width: 200px;
}

.nav-item a, .nav-mobile > a {
  font-family: 'abril-displayregular';
  font-size: 16px;
  line-height: 20px;
  color: #212121;
  text-decoration: none;
  position: relative;
}

.nav-item a:hover {
  color: #6b1c19;
}

.nav-item a.active {
  color: #6b1c19;
}

.nav-item:not(.nav-logo) a:after {
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  content: '';
  border-bottom: 1px solid #6b1c19;
  width: 20px;
  margin: 0 auto;
  padding-top: 5px;
  transition: opacity 250ms ease-in-out;
  opacity: 0;
}

.nav-item a:hover:after {
  opacity: 1;
}

#home, #about {
  position: relative;
}

.banner-image {
  width: 100%;
}

.banner-text {
  position: absolute;
  top: 33%;
  right: 40%;
  text-align: center;
}

.banner-title {
  line-height: 44px;
  letter-spacing: 5.1px;
  color: #6b1c19;
  margin-bottom: 40px;
}

.banner-title .en {
  font-size: 34px;
  font-family: 'abril-displayregular';
}

.banner-title .zh {
  font-size: 39px;
  font-family: 'AdobeHeitiStd';
}

.banner-subtitle {
  font-family: 'abril-displayregular';
  font-size: 20px;
  line-height: 30px;
  color: #313131;
}

.banner-locations {
  font-family: 'Ubuntu';
  font-size: 16px;
  line-height: 24px;
  color: #757575;
}

.section-title {
  font-weight: bold;
  font-family: 'Ubuntu';
  font-size: 14px;
  line-height: 20px;
  padding-bottom: 10px;
}

#about {
  background-image: url('../images/about_desktop.png');
  background-size: cover;
  background-position: center;
}

.about-text {
  padding: 120px 600px 145px 200px;
}

.about-title {
  font-family: 'abril-displayregular';
  font-size: 34px;
  line-height: 44px;
  color: #6b1c19;
  padding-bottom: 20px;
}

.about-content {
  font-size: 20px;
  line-height: 30px;
  color: #313131;
}

#brands {
  padding: 80px 240px;
  text-align: center;
}

.brands-desc {
  width: 640px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.brand-logo {
  height: 100px;
  width: 140px;
}

.brand-name {
  font-size: 20px;
  font-family: 'Ubuntu';
  line-height: 20px;
  color: #313131;
  padding-top: 5px;
}

.brands-section {
  border-bottom: 1px solid #bdbdbd;
  padding: 40px 80px 0;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -24px;
}

.brands-grid .brand {
  flex: 0 1 140px;
  padding-bottom: 40px;
  padding-left: 24px
}

.brand-title {
  font-size: 24px;
  font-family: 'abril-displayregular';
  line-height: 32px;
  color: #6b1c19;
  text-align: left;
  padding-bottom: 40px;
  width: 141px;
}

.zh .brand-title {
  height: 100px;
}

#contact {
  text-align: center;
  padding-bottom: 80px;
  padding-top: 80px;
}

.contacts {
  display: flex;
  justify-content: center;
  padding-top: 60px;
  flex-wrap: wrap;
}

.contact {
  width: 300px;
  height: 150px;
  line-height: 150px;
  border-radius: 4px;
  border: solid 2px #63221d;
  margin: 0 12px;
  position: relative;
  color: #6b1c19;
}

.contact a {
  color: #6b1c19;
  text-decoration: none;
  font-family: 'Ubuntu';
}

.contact.mobile a {
  font-size: 20px;
}

.contact.email a {
  font-size: 16px;
}

.fas, .fab {
  font-size: 34px;
  line-height: 44px;
  background-color: #fff;
  position: absolute;
  padding: 5px;
  top: -22px;
}

.fa-phone, .fa-envelope {
  left: 20px;
}

.fa-whatsapp {
  left: 84px;
}

.copyright {
  font-family: 'abril-displayregular';
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #212121;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.pb-40 {
  padding-bottom: 40px;
}

.zh .banner-subtitle, .zh .about-title, .zh .brand-title {
  font-family: 'Noto Serif SC';
}

.zh .banner-locations, .zh .section-title, .zh .brand-name {
  font-family: 'Noto Sans SC';
}

@media (max-width: 768px) {
  .container {
    min-width: auto;
    width: 100%;
  }

  #brands {
    padding: 40px 20px;
  }

  .about-title {
    font-size: 24px;
  }

  .nav-logo {
    display: none;
  }

  .nav-item a {
    font-size: 12px;
  }

  .banner-text {
    position: static;
    padding-bottom: 60px;
  }

  .banner-title .en {
    font-size: 20px;
  }

  .banner-title .zh {
    font-size: 36px;
  }

  .banner-subtitle {
    font-size: 16px;
  }

  .banner-locations {
    font-size: 14px;
  }

  .about-text {
    text-align: center;
    padding: 80px 20px 160px;
  }

  .brands-desc {
    width: auto;
  }

  .brands-section {
    padding: 40px 20px 0;
    margin: 0 -20px;
  }

  .brands-grid {
    flex-wrap: nowrap;
    overflow-x: scroll;
  }

  .contact:first-child {
    margin-bottom: 80px;
  }

  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1;
  }

  .nav-mobile.open .fa-bars { display: none; }
  .nav-mobile.open .fa-times { display: inline-block; }
  .nav-mobile .fa-bars { display: inline-block; }
  .nav-mobile .fa-times { display: none; }

  .modal-nav {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: -100vh;
    left: 0;
    z-index: -1;
    background: #fff;
    transition: top 0.8s cubic-bezier(.86,0,.07,1);
  }

  .nav-mobile.open .modal-nav {
    top: 100%;
    transition: top 0.8s cubic-bezier(.86,0,.07,1);
  }

  .modal-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .modal-nav li {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .modal-nav .lang {
    font-size: 14px;
  }
}
