@font-face {
  font-family: "ginger";
  src: url(assets/F37Ginger.otf) format("opentype");
}

body {
  width: 100%;
  height: 100%;
  font-family: "ginger";
  background: #111;
  padding: 0;
  margin: 0;
  font-size: calc(8px + (26 - 14) * ((100vh - 300px) / (1600 - 300)));
  color: white;
}

.main-wrapper {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.close {
  width: 4em;
  content: "";
  font-size: 4em;
  font-weight: 100;
  transform: rotate(45deg);
}

.menu {
  width: 53%;
  padding: 3em;
}

.menu p {
  padding: 0;
  margin: 0;
  font-size: 9em;
  line-height: 1.1em;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.menu .link:hover {
  display: inline-block;
  border-bottom: 2px solid white;
}

.info-container {
  height: 100vh;
  width: 40%;
  display: flex;
}

.circle {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 2em;
  top: 2em;
  width: 6em;
  height: 6em;
  border: 2px solid white;
  border-radius: 50%;
}

.close-button-wrapper {
  position: relative;
  display: flex;
  z-index: -2;
  cursor: pointer;
  visibility: hidden;
}

.close-button-left {
  position: relative;
  left: -0.375em;
  height: 2em;
  width: 2em;
  border: 2px solid white;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(135deg);
}

.close-button-right {
  position: relative;
  left: 0.375em;
  height: 2em;
  width: 2em;
  border: 2px solid white;
  border-left: 2px solid transparent;
  border-top: 2px solid transparent;
  transform: rotate(135deg);
}

.info-container-text {
  font-size: 3em;
  padding-top: 6em;
  padding-right: 3em;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.client {
  font-size: 1.25em;
  margin: 0;
}
.clients {
  cursor: pointer;
  align-self: flex-end;
  position: absolute;
  bottom: 0.5em;

  font-size: 3em;
}

.client-on-position {
  line-height: 0.9em;
  position: relative;
  top: 0.1em;
  font-size: 9em;
  padding-left: 0;
}

.contact {
  position: absolute;
  right: -10vh;
  bottom: -25vh;
  width: 30vh;
  height: 50vh;
  border: 4px solid white;
  transform: rotateZ(45deg);
  z-index: 2;
}

.contact-box {
  position: absolute;
  right: -3vh;
  bottom: -23vh;
  width: 30vh;
  height: 50vh;
  border: 4px solid white;
  opacity: 0;
}

a.contact-text {
  cursor: pointer;
  align-self: flex-end;
  position: fixed;
  bottom: 0.5em;
  right: 1em;
  font-size: 2.75em;
  z-index: 3;
  text-decoration: none;
  color: white;
}

.contact:hover + .contact-box,
.contact-box:hover {
  opacity: 1;
}

.main-title {
  max-height: 18em;
  width: auto;
  overflow-y: visible;
  overflow-x: visible;
}

svg {
  position: relative;
  height: 13em;
  left: -0.5em;
  margin-bottom: 1.5em;
}

.st0 {
  fill: #ffffff;
}

.hide {
  display: none;
}

@media only screen and (max-width: 1400px) {
  .info-container-text {
    padding-top: 7em;
    font-size: 2.5em;
  }
}

@media only screen and (max-width: 1000px) {
  .menu {
    width: 53%;
    padding: 3em;
  }

  .menu p {
    padding: 0;
    margin: 0;
    position: relative;
    top: 2em;
    font-size: 3em;
    line-height: 0.9em;
    border-bottom: 2px solid transparent;
    cursor: pointer;
  }
  .main-wrapper {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100vh;
  }
  svg {
    top: 4em;
    height: 6em;
    left: 0em;
  }
  .info-container {
    width: 85%;
    padding: 4em;
  }
  .info-container-text {
    padding-top: 3em;
    font-size: 1.5em;
    display: flex;
    flex-direction: column;
  }
  .circle {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 2em;
    top: 2em;
    width: 3em;
    height: 3em;
    border: 2px solid white;
    border-radius: 50%;
  }

  .close-button-wrapper {
    position: relative;
    display: flex;
    z-index: -2;
    cursor: pointer;
    visibility: hidden;
  }

  .close-button-left {
    position: relative;
    left: -0.225em;
    height: 1em;
    width: 1em;
    border: 2px solid white;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: rotate(135deg);
  }

  .close-button-right {
    position: relative;
    left: 0.225em;
    height: 1em;
    width: 1em;
    border: 2px solid white;
    border-left: 2px solid transparent;
    border-top: 2px solid transparent;
    transform: rotate(135deg);
  }
  .contact-box {
    border: none;
    opacity: 1;
  }

  .contact {
    border: none;
  }
  .contact-text {
    cursor: pointer;
    align-self: flex-end;
    position: fixed;
    bottom: -0.5em;
    right: 1em;
    font-size: 2em;
    z-index: 3;
  }
  .clients {
    cursor: pointer;
    align-self: flex-end;
    position: fixed;
    bottom: 0.5em;
    padding-left: 0em;
    font-size: 2em;
  }
  .client-on-position {
    display: none;
  }
}
