:root {
  /* TODO adjust variables */
  --main-light-color: 242, 242, 242;
  --sub-light-color: 255, 255, 255;

  --main-dark-color: 22, 22, 22;
  --sub-dark-color: 30, 30, 30;

  --main-highlight-color: 38, 255, 110;

  --main-font-stack: 'Inter', Arial, Helvetica, sans-serif;
  --sub-font-stack: 'Anton', Arial, Helvetica, sans-serif;

  --col-padding: 30px;
}

@media screen and (min-width: 900px) {
  :root {
    --col-padding: 70px;
  }
}

em {
  font-weight: 300 !important;
  font-style: italic !important;
  padding: 0 !important;
  margin: 0 !important;
}

html {
  font-size: 62.5%;
  line-height: 1.4;
  scroll-behavior: smooth;
  position: relative;
  overflow-x: hidden;
}

body {
  color: rgb(var(--main-dark-color));
  background: rgb(var(--main-light-color));
  font-family: var(--main-font-stack);
  font-size: 2.4rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-bottom: 50px
}

input,
select,
textarea {
  color: rgb(var(--main-dark-color));
}

a,
.link-text {
  color: rgb(var(--main-dark-color));
}

a:hover,
a:focus,
.link-text:hover,
.link-text:focus {
  color: rgb(var(--main-highlight-color));
  text-decoration: none;
}

h1,
*.h1-like,
*.h1-like > *,
h2,
*.h2-like,
*.h2-like > *,
h3,
*.h3-like,
*.h3-like > *,
h4,
*.h4-like,
*.h4-like > *,
.accordion-item .accordion-heading {
  font-weight: 500;
  -webkit-hyphens: auto;
  -webkit-hyphenate-limit-chars: auto 3;
  -webkit-hyphenate-limit-lines: 4;
  -ms-hyphens: auto;
  -ms-hyphenate-limit-chars: 10 3 4;
  -ms-hyphenate-limit-lines: 4;
  hyphens: auto;
  hyphenate-limit-chars: 10 3 4;
  hyphenate-limit-lines: 4;
  line-height: 1.2;
  word-wrap: break-word;
  margin: 0;
  padding: 0;
}

h1,
*.h1-like,
*.h1-like > * {
  font-family: var(--sub-font-stack);
  font-size: 6.4rem;
  color: rgb(var(--main-dark-color));
  padding: 0 0 5px;
  line-height: 1.18;
}

h1 + p {
  font-size: 2.8rem;
  line-height: 1.1;
}

h2,
*.h2-like,
*.h2-like > *,
.accordion-item .accordion-heading {
  font-family: var(--sub-font-stack);
  font-size: 4.2rem;
  color: rgb(var(--main-dark-color));
  font-weight: 700;
  margin: 0 0 .3em;
}

h3,
*.h3-like,
*.h3-like > * {
  font-family: var(--main-font-stack);
  font-size: 2.3rem;
  color: rgb(var(--main-dark-color));
  padding: 0 0 25px;
}

p {
  line-height: 1.5;
  margin: 0 0 1em;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

hr {
  border: 0;
  border-top: 2px dashed rgba(var(--sub-dark-color), .2);
  margin: 2em 0 4em;
  padding: 0;
  padding: 0;
}

@media screen and (min-width: 900px) {
  body {
    padding-bottom: 0;
    font-size: 2.8rem;
  }

  .content {
    text-align: left;
  }

  h1,
  *.h1-like,
  *.h1-like > * {
    font-size: 9.6rem;
  }

  h1 + p {
    font-size: 4.4rem;
  }

  h2,
  *.h2-like,
  *.h2-like > *,
  .accordion-item .accordion-heading {
    font-size: 6.8rem;
  }

  h3,
  *.h3-like,
  *.h3-like > * {
    font-size: 2.6rem;
  }

}

.content-wrapper {
  margin: 0 auto;
  max-width: 1600px;
  min-height: 100vh;
  padding: 4em 0;
  /*overflow: hidden;*/
  width: 96%;
}

.pre-link {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 10px;
  background: #fff;
  opacity: 0;
  z-index: -99;
  color: rgb(var(--main-dark-color));
}

.pre-link:focus-visible {
  opacity: 1;
  z-index: 99;
  color: rgb(var(--main-dark-color));
}

.prefooter,
.footer,
.copyright-wrapper {
  margin: 0 auto;
  max-width: 1600px;
  width: 96%;
}

.prefooter {
  border-top: 2px dashed rgba(var(--sub-dark-color), .2);
  margin-top: 100px;
  padding: 100px 0 0;
}

.prefooter-head {
  font-family: var(--sub-font-stack);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 10px;
}

.prefooter-content {
  font-size: 2.4rem;
  padding-bottom: 40px;
}

.footer {
  margin-top: 20px;
}

.footer-col {
  margin: 0 0 2em;
}

.footer-col-heading {
  margin: 0 0 .5em;
}

.footer-col-content {
  font-size: .8em;
}

.footer a:not(.button) {
  color: rgb(var(--main-light-color));
  text-decoration: none;
}

.footer a.button {
  background-image: url(/images/contact.svg);
  background-position: center right 20px;
  background-repeat: no-repeat;
  margin: 1em 0 0;
  padding-right: 70px;
}

.footer a.button:focus,
.footer a.button:hover {
  background-image: url(/images/contact-hover.svg);
}

@media screen and (min-width: 900px) {

  .footer {
    display: flex;
    gap: 40px;
    padding-bottom: 75px;
  }

  .footer-col {
    width: 28%;
  }

  .prefooter-head {
    font-size: 9.6rem;
  }

  .prefooter-content {
    font-size: 4.4rem;
  }

}

.copyright-wrapper {
  padding: 40px 0 20px;
  text-align: center;
}

.copyright {
  font-size: 1.5rem;
}

.copyright a {
  text-decoration: none;
}

@media screen and (min-width: 1040px) {

}