@font-face {
  font-family: 'VodafoneRegular';
  src: url('/fonts/vodafone-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'VodafoneLight';
  src: url('/fonts/vodafone-light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'VodafoneBold';
  src: url('/fonts/vodafone-bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

:root {
  --primary-color: rgb(230, 0, 0);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  overflow: clip;
}

body {
  font-family: 'VodafoneLight', sans-serif;
  background: linear-gradient(301deg, #e60000, #820000);
  color: #333333;
  isolation: isolate;
}

body > img {
  height: 50vmax;
  max-height: 1200px;
  filter: brightness(100);
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0.75;
  transform: translate(20%, 20%);
  z-index: -1;
}

form h1 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
}

form p {
  margin: 0 0 3rem 0;
  line-height: 1.5;
}

form {
  padding: 4rem;
  background: white;
  background: color-mix(in srgb, white, transparent 5%);
  height: 100%;
  overflow: clip auto;
  max-width: 600px;
}

form.--pending {
  pointer-events: none;
}

@media screen and (max-width: 800px) {
  
  form {
    max-width: unset;
    background: white;
    padding: 4rem 2rem;
  }

  body > img {
    display: none;
  }

}

form img {
  height: 3rem;
  display: block;
  margin: 0 auto 3rem auto;
}

form label {
  display: block;
  font-size: 0.875em;
  margin-bottom: 0.5rem;
}

form input, form select {
  padding: 1rem;
  margin-bottom: 2rem;
  border: solid 1px currentColor;
  display: block;
  width: 100%;
  background: transparent;
  font-family: 'VodafoneLight', sans-serif;
  color: currentColor;
  border-radius: 0;
  font-size: 1rem;
}

form button {
  border: none;
  background: var(--primary-color);
  padding: 1rem 5rem;
  color: white;
  margin-top: 2rem;
  display: block;
  font-family: 'VodafoneLight', sans-serif;
  font-size: 1rem;
}