body {
  margin: 0px;
}

html {
  height: 100%;
}

.container {
  grid-template-areas:
    "hero"
    "content"
    "footer";
}

/* desktop*/
@media screen and (min-width: 1024px) and (orientation: landscape) {
  @media screen and (max-height: 810px){
    .logo > img {
      max-width: 150px !important;
    }
    .headline {
      font-size: 45px !important;
      margin-top: 20px !important;
    }
    .container{
      grid-template-rows: minmax(auto, 150px) auto 24px !important;
    }
  }

  .footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px -80px -20px -80px;
    background-color: #ffffff44;
  }

  .logo > img {
    max-height: 200px;
  }

  .container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: minmax(auto, 200px) auto 24px;
    background: url("./bg.jpg") no-repeat, url("./bg-small.jpg") no-repeat;

    background-position: 50% 10%;
    background-size: cover;
    padding: 20px 80px;
    min-height: calc(100vh - 40px);
  }

  .content .logo {
    display: none;
  }

  .headline {
    margin-top: 40px;
    color: #008276;
    font-size: 65px;
    max-width: 550px;
    line-height: 1;
  }

  .subtext {
    color: #000000;
    font-size: 21px;
    padding: 20px 0px;
  }

  .input > input {
    height: 30px;
    padding: 10px;
    font-size: 16px;
    width: calc(100% - 20px);
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid #00000020;
    border-radius: 5px;
  }

  .input > input::placeholder{
    color: #d6d6d6;
  }

  .input {
    width: 100%;
    max-width: 400px;
    padding: 10px 0px;
  }

  .submit-button > button {
    height: 50px;
    width: 175px;
    font-size: 20px;
    color: #ffffff;
    background-color: #008276;
    border-radius: 5px;
    border: none;
  }

  .submit-button {
    margin-top: 10px;
  }
  .dropdown select {
    max-width: 400px;
    background-color: rgba(0, 0, 0, 0.35);
    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 24px;
  }

  /* 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;
    }
    .footer {
      background-color: #F5F5F2;
    }
  }

  /* Tablet */
  @media only screen and (min-width: 720px) {
    .container{
      grid-template-rows: minmax(200px, 1fr) 1fr 24px;
    }
    .content {
      padding: 20px 160px;
      display: flex;
      justify-content: center;
    }
    .submit-button > button {
      min-width: initial !important;
      max-width: initial !important;
      width: 150px !important;
    }

    .content-container{
      max-width: 400px !important;
    }

    .footer {
      background-color: #F5F5F2;
    }

    .headline{
      font-size: 39px;
      margin-top: 40px;
    }
  }

  .container {
    min-height: 100vh;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: auto;
  }

  .hero .logo {
    display: none;
  }



  .logo {
    display: none;
  }

  .content {
    grid-area: content;
    background-color: #F1F2ED;
  }

  .hero {
    grid-area: hero;
    display: flex;
    align-items: flex-end;
    background: url("./bg.jpg") no-repeat, url("./bg-small.jpg") no-repeat;

    background-position: 75% 15%;
    background-size: cover;
  }

  .headline {
    color: #008276;
    line-height: 1;
  }

  .subtext {
    color: #000000;
    font-size: 21px;
    padding: 10px 0px;
  }

  .input > input {
    height: 20px;
    padding: 10px;
    font-size: 16px;
    width: calc(100% - 20px);
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid #00000020;
    border-radius: 5px;
  }

  .input > input::placeholder{
    color: #d6d6d6;
  }

  .input {
    width: 100%;
    padding: 5px 0px;
  }

  .submit-button > button {
    height: 40px;
    width: 175px;
    font-size: 20px;
    color: #ffffff;
    background-color: #008276;
    border-radius: 5px;
    border: none;
  }
  .submit-button {
    margin-top: 0px;
    margin-bottom: 20px;
  }
  .dropdown select{
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.35);
  }
}

.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: #d6d6d6;
}

::placeholder, ::-webkit-input-placeholder {
  color: #d6d6d6;
}

.footer {
  grid-area: footer;
  text-align: center;
  font-size: 18px;
  font-family: SF Compact Display;
}

.footer a {
  color: #000000;
}

.opt-in-text {
  font-family: SF Compact Display;
  background-color: #ffffff44;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 10px;
}