* {
  margin: 0;
  padding: 0;
}
body {
  background-color: #ebebeb;
}
.wrapper {
  margin-left: 5%;
  margin-right: 5%;
}
body[data-page=references], body[data-page=offers], body[data-page=about] {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20vh;
  background-color: #ebebeb;
}
body[data-page=references] > .wrapper, body[data-page=offers] > .wrapper, body[data-page=about] > .wrapper {
  margin-top: 12vw;
}
.background-logo {
  background-image: url('images/logo-shadow.svg');
  height: 100%;
  width: 100%;
  position: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}
.head {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 10vw;
  background-color: rgba(235, 235, 235, 0.9);
}
.header-logo {
  height: 10vw;
}
.back {
  position: fixed;
  left: 5vw;
  font-size: 1.5rem;
}
.nav {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2rem;
  background-color: rgba(235, 235, 235, 0.9);
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: #7F7F7F;
  font-family: sans-serif;
}

p a.underline, #contact a.underline {
  color: #666;
  border-bottom: 2px dotted #666;
}

p a.underline::before {
  content: "↗ ";
}

.nav a {
  padding: 3px;
  margin-left: 2rem;
  margin-right: 2rem;
  text-transform: uppercase;
}
.nav #burger {
  display: none;
}
section {
  height: 100vh;
  width: 45vw;
  margin-left: 50%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
section a {
  color: #7F7F7F;
  text-decoration: none;
}
.logo {
  width: 90%;
  padding-top: calc(83 / 863 * 90%);
  margin-bottom: 1rem;
}
.logo svg {
  width: 100%;
}
.row {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.col:first-child {
  flex: 1;
}
.col:last-child {
  flex: 4;
}
@media screen and (max-width: 800px) {
  html {
    overflow-x: hidden;
  }
  body[data-page=references] > .wrapper, body[data-page=offers] > .wrapper, body[data-page=about] > .wrapper {
    margin-top: 24vw;
  }
  .head, .header-logo {
    height: 20vw;
  }
  h2 {
    margin-bottom: 2rem !important;
  }
  .nav {
    flex-direction: column;
  }
  .nav a {
    display: none;
    margin: 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .nav #burger {
    display: block;
    position: absolute;
    right: 5vw;
    top: 5vw;
    margin: 0;
    font-size: 2rem;
  }
  section {
    width: 100%;
    margin-left: 0;
  }
  .logo {
    width: 100%;
    padding-top: calc(83 / 863 * 100%);
  }
  .row {
    flex-direction: column;
  }
  .col:first-child {
    margin-top: 1rem;
    margin-bottom: 0;
    color: #333;
  }
  .offer {
    flex-direction: column;
  }
}
h1, h2, h3, p, div.col {
  margin-bottom: 1rem;
  line-height: 2.5rem;
  font-family: sans-serif;
  color: #7F7F7F;
  font-weight: 400;
  font-size: 1.6rem;
  text-shadow: 0px 0px 5px white;
}
h1 {
  font-size: 1.6rem;
}
h2 {
  color: rgb(98, 172, 181);
  font-size: 3rem;
  margin-bottom: 3rem;
  font-weight: 700;
}
h3 {
  margin-top: 4rem;
  font-size: 2rem;
}
.dark {
  color: #222;
}
span.continue {
  color: rgb(98, 172, 181);
}
td {
  padding-bottom: 2rem;
  padding-right: 6rem;
  vertical-align: top;
}
body > h1 {
  margin-top: -10vh;
  margin-bottom: 10vh;
}
body > .wrapper > a {
  display: block;
  margin-bottom: 5vh;
}
.references, .offers {
  width: 100%;
}
.references {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20vw, 1fr));
  grid-gap: 5vw;
  justify-items: center;
  align-items: center;
  margin-bottom: 5rem;
}
.references img, .references a {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.offer {
  display: flex;
  margin-bottom: 3rem;
}
.offer h3 {
  flex: 1;
}
.offer p {
  flex: 2;
}
[data-page=about] img:not(.header-logo) {
  width: 400px;
  max-width: 100%;
  margin-right: 3rem;
}
[data-page=about] .row:not(:first-child) {
  margin-top: 3rem;
}
[data-page=about] .col:first-child {
  margin-right: 3rem;
}
[data-page=about] h3 {
  margin-top: 0;
  color: rgb(98, 172, 181);
}
