:root {
  --font-family: "Inter", sans-serif;
  --line-height: 1.5;
  --font-weight: 400;
  --font-size: 16px;
  --border-radius: 0.25rem;
  --border-width: 1px;
  --outline-width: 3px;
  --spacing: 1rem;
  --typography-spacing-vertical: 1.5rem;
  --block-spacing-vertical: calc(var(--spacing) * 2);
  --block-spacing-horizontal: var(--spacing);
  --grid-spacing-vertical: 0;
  --grid-spacing-horizontal: var(--spacing);
  --form-element-spacing-vertical: 0.75rem;
  --form-element-spacing-horizontal: 1rem;
  --nav-element-spacing-vertical: 1rem;
  --nav-element-spacing-horizontal: 0.5rem;
  --nav-link-spacing-vertical: 0.5rem;
  --nav-link-spacing-horizontal: 0.5rem;
  --form-label-font-weight: var(--font-weight);
  --transition: 0.2s ease-in-out;
  --modal-overlay-backdrop-filter: blur(0.25rem);
}

@media (min-width: 576px) {
  :root {
    --font-size: 17px;
  }
}
@media (min-width: 768px) {
  :root {
    --font-size: 18px;
  }
}
@media (min-width: 992px) {
  :root {
    --font-size: 19px;
  }
}
@media (min-width: 1200px) {
  :root {
    --font-size: 20px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  color: #eeeeee;
  background-color: #13182B;
  display: grid;
  grid-template-columns: 1fr 490px 1fr;
}

input,
optgroup,
select,
textarea {
  margin: 0;
  font-size: 1rem;
  line-height: var(--line-height);
  font-family: inherit;
  letter-spacing: inherit;
}

a {
  color: #FFA53C;
}

.simple-grid {
  grid-column-start: 2;
}

.simple-grid .row {
  display: flex;
  padding: 32px 32px 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 32px;
  align-self: stretch;
}

header, footer {
  grid-column-start: 1;
  grid-column-end: 4;
}

header {
  background-color: #090c15;
  text-align: center;
}

header .wsp_svg {
  margin-top: 32px;
}

header h3 {
  font-size: 40px;
  font-style: normal;
  font-weight: 100;
  line-height: normal;
  letter-spacing: 0.25px;
  margin: 10px 0 32px 0 ;
}

footer {
  grid-column-start: 2;
  padding: 0 45px 60px;
}

footer .footer-logo {
  text-align: center;
  margin-top: 110px;
  margin-bottom: 60px;
  max-width: 490px;
}

footer .footer-logo img {
  max-width: 150px;
}

.media {
  width: 120px;
}

.measurement-figure {
  max-width: 120px;
  display: block;
  margin: 1em auto;
  cursor: pointer;
  transition: all 0.5s;
}

.measurement-figure.open {
  max-height: auto;
  position: absolute;
  top: 0;
}

.input-group label {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 133.333% */
  letter-spacing: 0.5px;
}

.input-with-suffix {
  display: flex;
  margin: 8px 0 8px 0;
  border-radius: 4px;
  border: 1px solid #FFF;
}

.input-with-suffix input {
  height: 56px;
  padding-left: 16px;
  align-items: center;
  flex-shrink: 1;
  color: #FFF;
  width: 190px;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 100% */
  letter-spacing: 0.5px;
  border-radius: 4px;
  padding: 6px 12px;
  border: 0;
  background: #090C14;
}

.input-with-suffix input:focus {
  outline: none;
}

.input-with-suffix .input-suffix {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  background: #13182B;
  color: #FFF;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 83.333% */
  letter-spacing: 0.25px;

  border-radius: 0 10px 10px 0;
}

.input-annotation,
.error-message {
  color: #FFF;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 125% */
  letter-spacing: 0.25px;
}

.error-message {
  display: none;
  margin-top: 8px;
  color: red;
}

.input-group.error label {
  color: red;
}

.input-group.error .input-with-suffix {
 border-color: red;
}

.input-group.error .error-message {
  display: block;
}

.hide {
  display: none;
}

/* .input-group {
  margin-bottom: 2em;
}

.input-group input {
  margin-bottom: 0.25em;
}

.input-group .error-message {
  display: none;
  margin-top: 1em;
}

.input-group.error {
  color: red;
}

.input-group.error .error-message {
  display: block;
} */




#image-viewer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2em;
  display: none;
  background: rgba(19, 24, 44, 0.9);
  cursor: pointer;
}

#image-viewer.open {
  display: flex;
}

#image-viewer img {
  max-height: 100%;
  max-width: 100%;
  margin: auto;
}

.btn {
  background-color: #FFA53C;
  color: #090C14;
  padding: 16px 40px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 2em;
  color: #090C14;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 3px;
}

.btn:hover {
  background: #ff9d2e;
}

.links .link {
  display: flex;
  margin-bottom: 8px;
}

.links .link .link-media {
  width: 24px;
  height: 24px;
  margin-right: 16px;
}
