@font-face
{
    font-family: 'League-Gothic';
    src: url('../gothic.ttf');
}

body {
  margin: 0;
  background-color: #f6eee7;
}
.header {
  display: flex;
  padding: 0.5rem 2rem;
  margin: auto;
}
.header-text {
  margin: auto;
  font-size: 5.1rem;
  font-family: 'League-Gothic', arial;
  letter-spacing: 10px;
  color: #393530;
}
.personal-info {
  display: flex;
  margin: 0 2rem;
}

.personal-photos {
  display: flex;
  width: 25%;
  justify-content: center;
  align-items: center ;
  flex-direction: column;
}

.personal-photos img {
  display: flex;
  width: 75%;
  border-radius: 1rem;
  margin: auto;
}

.personal-photos .personal-description {
  width: 90%;
  margin-right: 0;
}

.contacts {
  display: flex;
  margin: 1.5rem 2rem;
}

.contact-fields {
  display: flex;
  flex-direction: column;
  width: 39.5%;
  margin-left: 0.5%;
}
.quote-fields {
  width: 60%;
  justify-content: end;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.quote {
  width: 80%;
  min-width: 500px;
  height: 50%;
  max-width: 900px;
}
.contact-items {
  height: 50%;
}

.partner-fields {
  height: 46%;
  margin-top: 4%;
}

.company-contact {
  display: flex;
  flex-direction: column;
  color: #393530;
  letter-spacing: 3px;
  font-family: 'League-Gothic', arial;
  margin-left: 0.7rem;
  height: 50%;
}
.whatsapp {
  margin-right: 1rem;
}
.whatsapp-fields {
  display: flex;
  margin: 0.8rem 0;
}
.whatsapp-number {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  font-family: 'League-Gothic', arial;
  letter-spacing: 3px;
  color: #393530;
}
.whatsapp-icon {
  width: 2.8rem;
}
.contact-title {
  font-size: 2.5rem;
  font-weight: normal;
  letter-spacing: 5px;
}
.requisites {
  margin: 2px 0;
  font-size: 1.3rem;
}
.product-nav {
  background-color: #d8872e;
  height: 3.5rem;
  position: sticky;
  top: 0;
}
.nav-wrapper {
  display: flex;
  color: white;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.nav-logo img {
  height: 3.5rem;
}
.nav-wrapper div {
  margin: 0 2rem;
  transition: all 0.3s ease 0s;
  font-family: arial;
  letter-spacing: 1px;
}
.map {
  height: 80vh;
  width: 100vw;
}
.nav-products, .nav-team {
  height: 3.5rem;
  display: flex;
  align-items: center;
  align-self: baseline;
}
.nav-wrapper div:hover {
  opacity: 0.8;
}
.hidden {
  display: none;
}
.nav-wrapper a {
  text-decoration: none;
  color: white;
}
.footer {
  height: 10rem;
  display: flex;
  align-content: center;
  background-color: #e9e6e5;
}

.footer .certificates {
  height: 7rem;
  margin: auto auto auto 0;
}

.certificates {
  margin-right: auto;
  width: 50%;
}

.partner-title img {
  height: 3rem;
}

.partner-title .english-partner-title {
  height: 2rem;
}

.partner-items {
  display: flex;
  align-items: center;
}
.partner-link {
  height: 6rem;
}
.partner--description {
  height: 5rem;
}

.partner-link:hover {
  opacity: 0.5;
}

.whole-team-img {
  width: 100%;
}

@media screen and (orientation:portrait) {
  .personal-info {
    flex-direction: column;
    align-items: center;
  }

  .personal-photos {
    width: 100%;
    margin-bottom: 6rem;
  }

  .quote {
    display: none;
  }

  .contacts {
    flex-direction: column;
  }

  .contact-fields, .quote-fields {
    width: 100%;
  }

  .partner-items {
    justify-content: center;
  }

  .partner-fields {
    margin-top: 3rem;
    width: 100%;
  }

  .partner-title img {
    width: 100%;
    display: flex;
    margin-bottom: 2rem;
  }

  .nav-wrapper div {
    margin: 0 1rem;
  }

  .header-text {
    text-align: center;
  }

  .certificates {
    width: 100%;
  }

  .footer {
    height: 14rem;
  }

  .nav-wrapper {
    font-size: 24px;
  }

  .nav-logo img {
    height: 5.5rem;
  }

  .footer .certificates {
    height: 14rem;
  }

  .nav-products, .nav-team {
    height: 5.5rem;
  }

  .product-nav {
    height: 5.5rem;
  }

  .partner-title .english-partner-title {
    margin: auto auto 2rem auto;
    width: 85%;
  }

  .partner-title .chinese-partner-title {
    width: 55%;
    margin: auto auto 2rem auto;
  }
}
