#test-mode {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  background: white;
  font-weight: bold;
  font-size: 15px;
}

@font-face {
  font-family: 'Karbon';
  src: url('../fonts/Karbon-Medium.eot');
  src: url('../fonts/Karbon-Medium.eot') format('embedded-opentype'),
    url('../fonts/Karbon-Medium.woff2') format('woff2'),
    url('../fonts/Karbon-Medium.woff') format('woff'),
    url('../fonts/Karbon-Medium.ttf') format('truetype'),
    url('../fonts/Karbon-Medium.svg') format('svg');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Karbon';
  src: url('../fonts/Karbon-Semibold.eot');
  src: url('../fonts/Karbon-Regular.eot') format('embedded-opentype'),
    url('../fonts/Karbon-Regular.woff2') format('woff2'),
    url('../fonts/Karbon-Regular.woff') format('woff'),
    url('../fonts/Karbon-Regular.ttf') format('truetype'),
    url('../fonts/Karbon-Regular.svg') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Karbon';
  src: url('../fonts/Karbon-Semibold.eot');
  src: url('../fonts/Karbon-Semibold.eot') format('embedded-opentype'),
    url('../fonts/Karbon-Semibold.woff2') format('woff2'),
    url('../fonts/Karbon-Semibold.woff') format('woff'),
    url('../fonts/Karbon-Semibold.ttf') format('truetype'),
    url('../fonts/Karbon-Semibold.svg') format('svg');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dinot Bold';
  src: url('../fonts/DINOT-Bold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

div, * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html, body {
  margin: 0;
  padding: 0;
}

/** PAGE **/
body.mbc {
  margin: 0;
  padding: 0;
  font-size: 20px;
  color: #233a75;
  font-family: 'Karbon', sans-serif;
}
.mbc .wrapper {
  width: 100%;
}
.mbc .wrapper .container {
  max-width: 996px;
  width: 100%;
  margin: 0 auto;
}

/** HEADER **/
.mbc .header {
  width: 100%;
  height: 300px;
  position: relative;
}
.mbc .header .header__inner {
  position: absolute;
  left: 50%;
  max-width: 996px;
  width: 100%;
  height: 100%;
  z-index: 2;
  transform: translate(-50%, 0);
  display: flex;
  align-items: center;
  padding: 0 0;
}
.mbc .header .header__inner h1 {
  font-family: 'Dinot Bold', sans-serif;
  font-size: 50px;
  color: white;
}
.mbc .header .header__inner h1 span {
  color: #00aae7;
}
.mbc .header .header__inner .header__logo {
  position: absolute;
  bottom: 40px;
  right: 20px;
  width: 150px;
}
.mbc .header .header__inner .header__logo img {
  width: 100%;
  height: auto;
}
.mbc .header .header__background {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  user-select: none;
}
.mbc .header .header__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/** INTRODUCTION **/
p {
  font-family: 'Karbon', sans-serif;
  font-size: 22px;
  margin: 40px 0;
}

/** FORM **/
.mbc form {
  width: 100%;
}
.mbc form .form-row {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.mbc form .form-row:first-child {
  border-top: 1px solid #233a75;
}
.mbc form .form-row > label {
  background: #c7eafb;
  font-weight: bold;
  padding: 10px 10px;
}

/** RADIO INPUT **/
.form-row .freetext {
  width: 100%;
  border-top: 1px solid #233a75;
  border-bottom: 1px solid #233a75;
}
.form-row .freetext textarea {
  width: 100%;
  outline: none;
  border: none;
  resize: none;
  font-family: 'Karbon';
  font-size: 18px;
  padding: 10px;
}

/** FORM SUBMIT **/
.mbc form .form-row.form-row--submit {
  align-items: center;
  padding: 40px 0;
}
.mbc form .form-row.form-row--submit button {
  background: #1c75bc;
  color: white;
  border: none;
  outline: none;
  font-family: Arial, sans-serif;
  font-size: 28px;
  padding: 15px 60px;
  cursor: pointer;
  transition: 0.5s;
  min-width: 40%;
}
.mbc form .form-row.form-row--submit button.active {
  background: #1cbc75;
}

/** FORM MESSAGE **/
.form-row--message {
  text-align: center;
}
.form-row--message #form-message.active {
  padding: 20px 0;
}

/** NOTE **/

/** MANDATORIES **/
.mandatories {
  color: black;
  font-size: 16px;
  text-align: center;
  padding: 30px 15px;
}

/** FORM SENDING ANIMATION */
@keyframes sending-icon {
  0% { opacity: 0; width: 20px; transform: translate(-30px, 0); }
  30% { opacity: 1; width: 40px; }
  60% { transform: translate(30px, 0); width: 20px; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(30px, 0); width: 20px; }
}
form {
  position: relative;
  transition: opacity 0.5s;
}
#sending-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background: #233a75;
  box-shadow: 6px 6px 12px rgba(0,0,0,0.25);
  display: none;
}
form.sending #sending-icon {
  animation-name: sending-icon;
  display: block;
}
form.sending .form-row {
  opacity: 0.35;
  pointer-events: none;
}

/** RESPONSIVE **/

@media(max-width: 1024px) {
  .mbc .wrapper .container {
    padding: 0 20px;
  }
  .mbc .header .header__inner {
    padding: 0 20px;
  }
  .mbc .header {
    height: 200px;
  }
  .mbc .header .header__inner h1 {
    font-size: 50px;
  }
  .mbc .header .header__inner .header__logo {
    bottom: 20px;
    width: 120px;
  }
}

@media (max-width: 600px) {
  .mbc .header {
    width: 100%;
    height: 200px;
    position: relative;
  }
  .mbc .header .header__inner h1 {
    font-size: 40px;
  }
  .mbc .header .header__inner .header__logo {
    bottom: 30px;
    width: 120px;
  }
}

@media (max-width: 480px) {
  .mbc .wrapper .container {
    padding: 0 10px;
  }
  .mbc .header {
    height: 200px;
  }
  .mbc .header .header__inner {
    padding: 0 10px;
  }
  .mbc .header .header__inner h1 {
    font-size: 35px;
  }
  .mbc .header .header__inner .header__logo {
    bottom: 20px;
    width: 100px;
  }
  p {
    margin: 20px 0;
  }
  .mbc .radio {
    flex-wrap: wrap;
  }
  .mbc .radio .radio__options {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin-bottom: 10px;
  }
  .mbc .radio .radio__text {
    width: 100%;
  }
  .mbc .radio .radio__text:last-child {
    text-align: right;
  }
}
