@font-face {
  font-family: Plain-Regular;
  src: url(/static/fonts/Plain-Regular.woff2);
}

* {
  box-sizing: border-box;
  font-size: 1em;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  font-size: 17px;
}

html, body {
  margin: 0;
}

body {
  background-color: white;
  padding: 0 0 2.181rem 2.181rem;
  font-family: Plain-Regular, Helvetica, Arial, sans-serif;
  position: relative;
}

h1 {
  position: absolute;
  top: 0;
  left: 0;
  height: 5.362rem;
  padding: 0 2.181rem;
  display: flex;
  align-items: center;
  color: red;
}

.wrapper {
  display: flex;
}

.column {
  flex: 1 1 auto;
  padding-top: 5.362rem;
  /* margin-top: -5.362rem; */
}

.column + .column {
  margin-left: 1.454rem;
  padding-left: 1.454rem;
}

.column:nth-child(1) {
  width: calc(-1.1rem + 25%);
  flex: 0 0 auto;
}

.column:nth-child(1) .section:nth-child(1) {
  height: 5rem;
}

.column:nth-child(1) .section:nth-child(2) {
  min-height: 10.727rem;
}

.column:nth-child(1) .section:nth-child(3) p {
  margin: .727rem 0 .5rem 0;
}

.column:nth-child(1) .section + .section {
  margin-top: .727rem;
}

.column:nth-child(2) {
  background-color: #f7f5f0;
  padding-right: 2.181rem;
}

form {
  display: flex;
  flex-direction: column;
  padding-bottom: 8em;
}

.section {
  display: flex;
  flex-direction: column;
  border-top: solid 1px black;
  position: relative;
}

.section + .section {
  margin-top: 2em;
}

.section__title,
.section__text {
  margin: 0.727rem 0;
}

.section__title {
  margin-top: 0.5rem;
  line-height: 1.41;
}

.section__link {
  display: flex;
  align-items: center;
  color: #ababab;
  text-decoration: none;
}

.section__link:hover {
  color: black;
}

.section__link img {
  width: 1rem;
  height: 1rem;
  margin-top: -0.25rem;
  margin-right: 0.3rem;
}

.section__link span {
  margin: 0;
  font-weight: 400;
}

.section__dialog {
  display: none;
  padding-top: 0.5rem;
}

.section__dialog-inner {
  width: 100%;
  flex: 1 1 auto;
  padding-right: 20px;
}

.section__dialog-inner h4, 
.section__dialog-inner p {
  margin: 0 0 1rem 0;
}

.section__text,
.section__dialog-inner {
  line-height: 1.41;
}

.section__dialog-inner + .section__dialog-inner {
  margin-left: 0.5em;
}

.section__info-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 1rem;
  height: 1rem;
  margin: 0.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}

.section__info-button img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  user-select: none;
}

.section__info-button-open {
  opacity: 1;
  background-color: white;
  border-radius: 50%;
}

.section__info-button-close {
  opacity: 0;
}

.section__row {
  width: 100%;
  display: flex;
}

.section__row + .section__row {
  margin-top: 0.5em;
}

.section__row input,
.section__row select {
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}

.section__row select {
  cursor: pointer;
}

.section__field {
  height: 2.909rem;
  padding: 0 .727rem;
  background-color: #e5e4df;
  border: none;
  font-family: Plain-Regular, Arial, Helvetica, sans-serif;
}

textarea.section__field {
  width: 100%;
  min-height: 8rem;
  padding: .727rem;
  max-width: calc(75vw - 5.6rem);
  min-width: calc(75vw - 5.6rem);
}

.section__field + .section__field {
  margin-left: 0.5em;
}

.submit-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5.362rem;
  padding: 0 2.181rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: rgb(0, 174, 16);
}

.submit-wrapper button {
  height: 2.454rem;
  padding: 0 .727rem;
  line-height: 2.6rem;
  font-family: Plain-Regular, Arial, Helvetica, sans-serif;
  background-color: #e8e8e8;
  border-radius: .54525rem;
  border: none;
  color: grey;
  cursor: pointer;
}

@media screen and (max-width: 2500px) {
  html {
    font-size: 16px;
  }
}

@media screen and (max-width: 2300px) {
  html {
    font-size: 15px;
  }
}

@media screen and (max-width: 2100px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 1800px) {
  html {
    font-size: 13px;
  }
}

@media screen and (max-width: 1440px) {
  html {
    font-size: 12px;
  }
}

@media screen and (max-width: 800px) {
  body {
    padding: 0;
    padding-top: 5rem;
  }

  .wrapper {
    flex-direction: column;
  }

  h1 {
    background-color: #f7f5f0;
    width: 100%;
  }

  .column {
    background-color: #f7f5f0;
    padding: 0 2.181rem 2.181rem 2.181rem;
  }

  .column + .column {
    margin-left: 0;
  }
  
  .column:nth-child(1) {
    width: initial;
    max-width: initial;
  }

  .column:nth-child(2) {
    padding-top: 0;
  }

  .section__row {
    flex-direction: column;
  }

  .section__field + .section__field {
    margin-left: 0;
    margin-top: 0.5em;
  }

  .section__dialog {
    flex-direction: column;
  }

  .section__dialog-inner + .section__dialog-inner {
    margin-left: 0;
  }
}