body {
  margin: 0px;
}

html {
  height: 100%;
}

/* desktop*/
@media screen and (min-width: 1024px) and (orientation: landscape) {
  .container {
    display: grid;
    background-image: url("./bg.jpg"), url("./bg-small.jpg");;
    background-position: 40% 0%;
    background-size: cover;
    grid-template-columns: minmax(auto, 420px) auto;
    grid-template-rows: auto;
    grid-template-areas: "headline input-container";
    min-height: calc(100vh);
  }
  .hero {
    display: none;
  }

  .content-container .headline {
    display: none;
  }

    .content {
    display: flex;
    justify-content: flex-end;
    margin-right: 100px;
    margin-right: 4vw;
  }

  .logo > img {
    max-height: 200px;
    margin-top: 40px;
  }

  .content-container {
    width: 420px;
    padding: 0px 40px;
    height: 100%;
    background-color: #9B3521a8;
  }

  .inputs {
    display: flex;
    flex-direction: column;
  }


  .headline {
    color: #ffffff;
    margin-left: 85px;
    margin-bottom: 85px;
    font-size: 38px;
    display: flex;
    align-items: flex-end;
  }

  .subtext {
    margin-top: 40px;
    font-size: 21px;
    color: #ffffff;
    margin-bottom: 10px;
  }

  .input > input {
    height: 30px;
    padding: 10px;
    font-size: 16px;
    width: 100%;
    color: #ffffff;
    background-color: #000000a8;
    border: 1px solid #00000020;
    border-radius: 5px;
  }

  .input {
    width: 100%;
    max-width: 400px;
    padding: 10px 0px;
  }

  .submit-button {
    margin-top: 20px;
  }

  .submit-button > button {
    height: 50px;
    width: 175px;
    font-size: 20px;
    color: #000000;
    background-color: #ffffff;
    border-radius: 5px;
    border: none;
  }
  .dropdown select {
    background-color: #000000a8;
    border: 1px solid #00000020;
    border-radius: 5px;
    padding: 16px;
  }

  .dropdown {
    max-width: none;
  }
}

/* tablet / mobile */
@media only screen and (max-width: 1023px), screen and (orientation: portrait) {  .container{
    grid-template-rows: minmax(200px, auto) auto;
  }

  /* Mobile */
  @media only screen and (max-width: 719px) {
    @media only screen and (max-height: 650px){
      .headline{
        font-size: 26px !important;
      }
    }    
    .content {
      padding: 10px;
    }

    .headline{
      font-size: 28px;
      line-height: 1;
    }
  }

  /* Tablet */
  @media only screen and (min-width: 720px) {
    .container{
      grid-template-rows: minmax(200px, 1fr) 1fr;
    }
    .content {
      padding: 20px 160px;
      display: flex;
      justify-content: center;
    }

    .content-container {
      max-width: 400px;
    }

    .submit-button > button {
      min-width: initial !important;
      max-width: initial !important;
      width: 150px !important;
    }

    .headline{
      font-size: 39px;
      margin-top: 40px;
    }
  }
  .hero {
    display: initial;
    background-position: 30% 30%;
    background-size: cover;
    background-image: url("./bg.jpg"), url("./bg-small.jpg");;
    width: 100%;
  }

  .logo {
    display: none;
  }

  .content {
    background-color: #953737;
  }

  .container > .headline {
    display: none;
  }

  .headline {
    color: #ffffff;
    padding-bottom: 10px;
  }

  .subtext {
    padding-bottom: 10px;
    color: #ffffff;
    font-size: 21px;
  }



  .container {
    min-height: 100vh;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: auto;
    grid-template-areas:
      "hero"
      "input-container";
  }

  .input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .input {
    width: 100%;
    padding: 5px 0px;
  }

  .input input {
    width: calc(100% - 20px);
    height: 20px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #00000020;
    border-radius: 5px;
    color: #ffffff;
    background-color: #000000a8;
  }

  .submit-button {
    margin-top: 0px;
  }

  .submit-button > button {
    height: 40px;
    min-width: 50%;
    font-size: 18px;
    color: #000000;
    background-color: #ffffff;
    border-radius: 5px;
    border: none;
  }
  .dropdown select{
    padding: 12px;
    background-color: #000000a8;
  }
}

.input-container {
  grid-area: input-container;
}

.headline {
  grid-area: headline;
  font-family: "Futura Condensed Medium";
}

.subtext {
  font-family: SF Compact Display;
}
@font-face {
  font-family: "Lemon Milk-Regular";
  src: url("../__assets__/LEMONMILK-Regular.otf");
}

@font-face {
  font-family: SF Compact Display;
  src: url("../__assets__/SF-Compact-Display-Regular.ttf");
}

@font-face {
  font-family: "Futura Condensed Medium";
  src: url("../__assets__/Futura-Condensed-Medium.otf");
}

.input > input:focus, .dropdown > select:focus {
  outline: none;
}

.input > button:focus {
  outline: none;
}

.invalid-input {
  border: 1px solid red !important;
}

.submit-button.disabled > button {
  cursor: default;
}

.hidden {
  display: none;
}

input {
  font-family: SF Compact Display;
}

button {
  font-family: SF Compact Display;
}

.dropdown {
  display: flex;
  flex-direction: column;
}

.dropdown select{
  border: 1px solid #00000020;
  border-radius: 5px;
  color: #ffffff;
  font-size: 14px;
  margin: 0px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 50%;
}

select:invalid{
  color: #8b8b8b;
}

::placeholder, ::-webkit-input-placeholder {
  color: #8b8b8b;
}

.footer {
  grid-area: footer;
  text-align: center;
  font-size: 18px;
  font-family: SF Compact Display;
}

.footer a {
  color: #ffffff;
}

.opt-in-text {
  font-family: SF Compact Display;
  color: #ffffff;
  padding: 10px 0px;
  width: 100%;
}

.inputs {
  grid-area: inputs;
}

.content-container {
  height: 100%;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto 24px;
  grid-template-areas:
    "inputs"
    "footer";
}