/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}


:root {
  --form-background: #0F0F09;
  --form-text: #EAEBF5;
  --form-border: #000;
  --form-border-focus: #fff;
  --form-label: #EAEBF5;
  --form-input: #20194C;
  --form-placeholder: #000;
  --form-button: #80E0BA;
  --form-outline: #5c5c5c;
  --form-error: #ff3e3e;
  --primary-color: #B398F0;
  --background-color: #0F0F09;
}

@font-face {
  font-family: 'SharpGrotesk-Regular';
  src: url('/fonts/Sharp-Grotesk/SharpGroteskBook-20.woff2') format('woff2'),
       url('/fonts/Sharp-Grotesk/SharpGroteskBook-20.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SharpGrotesk-Medium';
  src: url('/fonts/Sharp-Grotesk/SharpGroteskMedium-21.woff2') format('woff2'),
       url('/fonts/Sharp-Grotesk/SharpGroteskMedium-21.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: var(--form-background);
}

div, input, label, ul, li, textarea {
  box-sizing: border-box;
  font-family: SharpGrotesk-Regular, Arial, Helvetica, sans-serif;
  color: var(--form-text);
}

.form-container {
  padding: 1em;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 900;
  font-size: 1rem;
  color: var(--form-label)
}

input[type="text"],
input[type="email"],
textarea,
select {
  background-color: var(--form-input);
  border: 0;
  width: 100%;
  padding: 0.5em;
  margin-bottom: 1.2rem;
}

select {
  color: var(--form-label)
}

.hs-form-field {
  position: relative;
}

.hs-richtext {
  font-size: 0.7rem;
  margin-bottom: 0.6rem;
  color: var(--form-text);
  line-height: 1rem;
  opacity: 0.5;
}

.legal-consent-container ul {
  padding: 0;
  list-style-type: none;
}

.legal-consent-container span {
  font-size: 0.8rem;
  color: var(--form-text);
  line-height: 1.2rem;
  margin-left: 10px !important;
}

.legal-consent-container label {
  display: flex;
  align-items: center;
}

textarea {
  resize: none !important;
  height: 60px;
  margin-bottom: 1rem;
}

.hs-form-required {
  color: var(--primary-color);
}

.hs-button.primary.large {
  background-color: var(--form-button);
  border: 0;
  color: var(--form-placeholder);
  font-size: 1rem;
  padding: 1em 2em;
  margin-top: 2rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.hs-button.primary.large:hover {
  background-color: var(--primary-color);
  color: var(--form-placeholder)
}

p a {
  color: var(--primary-color);
  text-decoration: none;
}

/* errors */
.hs-error-msgs {
  list-style-type: none;
  padding: 0;
  margin:0;
  position: absolute;
  bottom: -5px;
  right: 0;
}

.hs-error-msgs .hs-error-msg{
  color: var(--form-error);
  font-size: 0.7rem;
}

input[type="text"].invalid.error,
input[type="email"].invalid.error {
  background-image: url('../img/ico-error.svg');
  background-position: center right 10px;
  background-size: 16px;
  background-repeat: no-repeat;
}

/* success */
.submitted-message p {
  font-size: 2rem;
  text-align: center;
  margin: 1rem auto;
}