@font-face {
  font-family: "GothamRounded-Book";
  src: url("https://static.carrotsense.com/fonts/GothamRnd-Book.otf") format("otf");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  font-family: GothamRounded-Book, sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 15px;
}

h2, h3 {
  font-weight: 400;
}

p {
  line-height: 1.35;
}

.bottom-quarter {
  background-color: #3e3934;
  height: 20vh;
  width: 100%;
  margin: auto 0 0 0;
  padding-bottom: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.main-graphics {
  width: 800px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 15px 25px 15px;
  z-index: 1;
}

.center-children {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.buttons {
  display: block;
}

.pivot-mobile {
  display: block;
  color: #3e3934;
}

.pivot-text {
  display: inline-block;
  width: 500px;
  padding-right: 40px;
  color: #3e3934;
}

.pivot-logo {
  width: 230px;
}

.copyright {
  color: white;
  padding: 0 60px;
  font-size: 12px;
}

.attribution {
  color: grey;
  font-size: 8px;
  padding: 0 60px;
}

.google-play-button {
  display: inline-block;
  overflow: hidden;
}

.app-store-button {
  display: inline-block;
  overflow: hidden;
}

#appleStoreButton {
  transform: translateY(-9px);
}

.buttons a {
  text-decoration: none;
}

.buttons img {
  display: block;
}

input {
  width: 300px;
  border-radius: 4px 0 0 4px;
  font-size: 18px;
  color: #3e3935;
  border: 1px solid #979797;
  border-right: none;
  padding: 16px 20px;
  transition: all 0.12s ease-in-out;
  margin: 0;
}

label {
  color: #28231e;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

::placeholder {
  color: #3e3935;
  opacity: 0.5;
}

.sms-button {
  font-size: 18px;
  height: 55px;
  width: 80px;
  line-height: 1;
  color: #3e3935;
  text-align: center;
  text-decoration: none;
  padding: 12px 18px;
  margin: 0 auto 30px 0;
  background-color: #fec333;
  border: solid 1px #fec333;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: all 0.12s ease-in-out;
  white-space: nowrap;
  position: relative;
  display: inline-block;
}

#smsButton.breathe {
  color: #ffffff;
  background-color: #005847;
  border-color: #005847;
}

#smsButton.flex {
  color: #ffffff;
  background-color: #4a50b2;
  border-color: #4a50b2;
}

.sms-button:hover {
  transform: translate(0, 1px);
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.3), 0 0 8px 0 rgba(0, 0, 0, 0.3);
}

.sms-input {
  display: flex;
  flex-wrap: nowrap;
}

.form-input {
  margin: 0 0 30px 0;
}

.input-container {
  position: relative;
}

.field-is-ok input {
  border-left: 2px solid #00ae88;
}

.field-is-ok .input-message {
  color: #00ae88;
}

.field-has-error .input-message {
  color: #b22323;
}

.field-has-error input {
  border-color: #b22323;
}

@media screen and (max-width: 600px) {
  .sms-input {
    display: none;
  }
}

@media (max-device-width: 800px), (max-device-height: 525px) {
  .center-children {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-graphics {
    width: 100%;
    max-width: 440px;
    height: 400px;
  }

  .buttons {
    margin-top: 30px;
  }

  #appleStoreButton {
    transform: translate(0, 0);
  }

  #googleStoreButton {
    transform: translate(-11px, 0);
  }

  .pivot-mobile {
    display: none;
  }

  .pivot-text {
    width: 100%;
    max-width: 400px;
    padding: 20px;
  }

  .copyright {
    font-size: 10px;
    padding-left: 35px;
    padding-right: 35px;
  }

  .attribution {
    font-size: 8px;
    padding-left: 35px;
    padding-right: 35px;
  }

  .bottom-quarter {
    height: 15vh;
  }

  @media (max-device-width: 345px) {
    .copyright {
      color: white;
      position: absolute;
      left: 10px;
      bottom: 40px;
      font-size: 10px;
    }

    .sms-input {
      display: none;
    }
  }
}
