body {
  font-family: "Lato";
  font-size: 18px;
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
}

header {
  font-size: 1.5em;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  font-weight: 300;
  color: black;
  border-bottom: 2px solid black;
  height: 5.5rem;
  box-sizing: border-box;
  background-color: #fff;
}

.logo {
  color: #0766c5;
  font-weight: normal;
}

.mobile-anchor-fix {
  display: none;
}

header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #2d2d2d;
  color: #dfdfdf;
}

header.scrolled .nav-link:not(.active)::after {
  background-color: #dfdfdf;
}

.nav-link {
  color: inherit;
  text-decoration: none;
  padding: 0 0.75em;
  position: relative;
}

.nav-link.active {
  font-weight: 600;
}

.nav-link:not(.active)::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #000;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.15s ease-out;
}

.nav-link:not(.active):hover::after {
  width: calc(100% - 1.4em);
}

.lang {
  text-decoration: none;
  color: inherit;
}

.lang.active {
  font-weight: 600;
}

.wrapper {
  width: 80vw;
  min-height: 70vh;
  align-self: center;
  margin-top: 5em;
  overflow: hidden;
  padding: 10px;
  border: 10px solid black;
  max-width: 1200px;
}

section {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

section > * {
  position: absolute;
  width: 100%;
  min-height: 100%;
}

#about-us > .section-image {
  background-image: url("/imgs/about-us-bg.jpg");
  background-position-x: -150px;
  background-size: contain;
}

#saltmed > .section-image {
  background-image: url("/imgs/saltmed-bg.jpg");
  background-position-x: -200px;
  background-size: contain;
}

#hotman > .section-image {
  background-image: url("/imgs/hotman-bg.jpg");
  background-size: contain;
  background-position-x: right;
}

#regulatory > .section-image {
  background-image: url("/imgs/regulatory-bg.jpg");
  background-size: cover;
  background-position: right;
}

#saltmed .separator:nth-of-type(2) {
  width: 90%;
}

#saltmed .section-text--point:last-of-type {
  width: 100%;
  font-size: 1.5em;
}

.section-image {
  clip-path: polygon(0 0, 66% 0, 33% 100%, 0 100%);
}

.section-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-evenly;
  width: 55%;
  right: 2%;
}

.section-text--title {
  font-size: 3em;
  font-weight: 600;
  margin-right: 10%;
}

.section-text--point {
  text-align: justify;
  text-align-last: center;
  font-size: 1.15em;
  position: relative;
  width: 60%;
}

.separator {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.separator.mobile {
  display: none;
}

.dashed {
  height: 0;
  border-bottom: 8px dashed black;
}

.dashed.right {
  width: 13vw;
}

.dashed.left {
  width: calc(100% - 16vw);
}

.separator:nth-of-type(1) {
  width: 70%;
}

.diamond {
  width: 0.25vw;
  height: 0.25vw;
  background-color: black;
  border: 0.35vw solid white;
  outline: 0.2vw solid black;
  transform: rotate(45deg);
}

.section-text--point:nth-of-type(2) {
  width: 75%;
}

.section-text--point:nth-of-type(3) {
  width: 100%;
}

section:nth-of-type(2n) .section-image {
  clip-path: polygon(33% 0, 100% 0, 100% 100%, 66% 100%);
}

section:nth-of-type(2n) .section-text {
  left: 2%;
  align-items: flex-start;
}

section:nth-of-type(2n) .separator {
  flex-direction: row-reverse;
}

section:nth-of-type(2n) .section-text--title {
  margin-left: 10%;
  margin-right: 0;
}

#nav-toggle,
label[for="nav-toggle"] {
  display: none;
}

#contact .section-header {
  display: flex;
  flex-direction: row;
  min-height: 0;
  justify-content: space-around;
  padding-top: 1rem;
  align-self: normal;
}

#contact .logo {
  width: 300px;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  margin-bottom: 8rem;
  width: 90%;
}

.contact-info li {
  list-style: none;
  display: flex;
  flex-direction: row;
  font-size: 1.5em;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.contact-info span {
  max-width: 40%;
}

.contact-info span:nth-of-type(2n) {
  padding: 0 0 0 0.5em;
}

.contact-info span:nth-of-type(2n + 1) {
  padding: 0 0.5em 0 0;
  align-self: flex-end;
}

.info-divider {
  display: inline-block;
  border-bottom: 4px dotted #000;
  flex-grow: 1;
}

@media only screen and (max-width: 1367px) {
  .nav-link {
    padding: 0 0.5em;
  }

  .section-text--title {
    margin-right: 2%;
  }

  section:nth-of-type(2n) .section-text--title {
    margin-left: 2%;
    margin-right: 0;
  }
}

@media only screen and (max-width: 1200px) {
  header .nav,
  header .lang-selector {
    display: none;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: 5rem;
  }

  .mobile-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 5rem;
    background-color: white;
    z-index: 10;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    font-size: 2em;
  }

  .mobile-nav .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-link {
    margin: 0.5em 0;
  }

  .nav-link:first-of-type {
    margin-top: 0;
  }

  .lang {
    margin: 0 0.5em;
  }

  label[for="nav-toggle"] {
    display: inline;
  }

  body {
    width: auto;
    height: auto;
    display: block;
  }

  .wrapper {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  section {
    width: 100%;
    height: auto;
    position: initial;
    display: block;
  }

  section:first-of-type {
    margin-top: 5rem;
  }

  section > * {
    position: initial;
  }

  .section-image {
    height: 60vw;
    background-size: cover !important;
    background-position: center center !important;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  }

  section:nth-of-type(2n) .section-image {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  }

  .mobile-anchor-fix {
    display: block;
    padding-top: 5rem;
    margin-top: -5rem;
  }

  section:nth-of-type(2n) .section-text,
  section:nth-of-type(2n + 1) .section-text {
    width: 100%;
    right: initial;
    left: initial;
    align-items: center;
  }

  .section-text--point {
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    width: 100% !important;
  }

  .section-text--title {
    margin-top: -1rem;
  }

  .separator:not(.mobile) {
    width: 85%;
    display: none;
  }

  .separator.mobile {
    display: flex;
    box-sizing: border-box;
    padding: 0 2rem;
    margin: 15px 0;
    width: 100%;
  }

  .dashed {
    height: 0;
    border-bottom: 4px dashed black;
  }

  .dashed.left,
  .dashed.right {
    width: calc(50% - 1.5rem);
  }

  .diamond {
    width: 0.5rem;
    height: 0.5rem;
    border: 0.2rem solid white;
    outline: 0.2rem solid black;
  }

  section:nth-of-type(2n) .section-text--title {
    align-self: flex-start;
  }

  section:nth-of-type(2n + 1) .section-text--title {
    align-self: flex-end;
  }

  #contact {
    margin-top: 2rem;
  }

  #contact .section-text--title {
    align-self: center;
  }

  .contact-info {
    margin-bottom: 2rem;
  }
}

@media only screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }

  header {
    height: 4.5rem;
  }

  .mobile-nav {
    top: 4.5rem;
  }

  section:first-of-type {
    margin-top: 4.5rem;
  }

  .mobile-anchor-fix {
    padding-top: 4.5rem;
    margin-top: -4.5rem;
  }

  #contact .logo {
    width: 200px;
  }

  .contact-info li {
    font-size: 1.2em;
  }

  .contact-info {
    margin-top: 1rem;
  }
}

@media only screen and (max-width: 425px) {
  body {
    font-size: 14px;
  }

  #saltmed .section-text--point:last-of-type {
    font-size: 1em;
  }

  #contact .logo {
    width: 150px;
  }

  .contact-info span {
    max-width: 60%;
  }
}
