@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("/static/fonts/AlteHaasGroteskBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

html {
  height: 100%;
  background: rgb(198, 128, 83);
  background: #cecece;
  color: black;
}

body {
  font-family: "Alte Haas Grotesk", Arial, Helvetica, sans-serif;
  margin: 0 1em;
}

p {
  font-family: "Alte Haas Grotesk";
  font-weight: bold;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  font-family: "Alte Haas Grotesk";
}

.fieldset_title {
  margin: 1em 0 0 0;
  grid-column: 2 / 3;
  font-family: "Alte Haas Grotesk";
}

.logo-container {
  display: flex;
  justify-content: center;
  font-family: "Alte Haas Grotesk";
}

.logo {
  max-width: 200px;
  margin: 2em auto 0.5em;
}

.info-text {
  padding: 0 10%;
}

.shipping-text {
  grid-column: 1 / 5;
  margin-top: 0;
}

a {
  color: inherit;
}

h1 {
  font-family: "Alte Haas Grotesk";
  text-align: center;
  font-size: 2.5em;
  text-transform: uppercase;
  margin: 0.5em 0 0.4em 0;
}

form {
  display: grid;
  grid-template-columns: 20% 1fr 10% 1fr;
  column-gap: 1em;
  row-gap: 0.7em;
}

label {
  grid-column: 1 / 2;
  padding: 0;
  vertical-align: baseline;
  font-family: "Alte Haas Grotesk";
}

input {
  grid-column: 2 / 5;
  height: 1.5em;
  box-sizing: border-box;
  width: 100%;
}

select {
  height: 1.5em;
  width: 100%;
}

.signup {
  height: unset;
  grid-column: 1 / 5;
  width: 100%;
  padding: 1rem;
  border: black;
  border-width: 1px;
  border-style: solid;
  display: inline-block;
  font-family: "Alte Haas Grotesk";
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  margin: 0.5em 0;
  background: none;
  color: black;
  -webkit-appearance: none;
  -moz-appearance: none;
  white-space: normal;
}

#postal_code {
  grid-column: 2 / 3;
}

label[for="country"] {
  grid-column: 3 / 4;
}

label[for="accept_terms"] {
  margin-left: 0.5em;
}

.accept-terms-section {
  grid-column: 1 / 5;
  display: flex;
  align-items: center;
}

input[type="checkbox"] {
  width: 1.3em;
}

#country {
  grid-column: 4 / 5;
}

.signup:hover {
  background: white;
  color: rgb(198, 128, 83);
}

@media only screen and (max-width: 500px) {
  h1 {
    font-size: 2em;
  }

  .info-text {
    padding: 0;
  }

  form {
    display: block;
  }

  label {
    display: block;
    text-align: unset;
    margin: 0.4em 0 0 0;
  }

  input {
    display: block;
    margin: 0.4em 0 0.4em 0;
    height: 2em;
  }

  select {
    margin: 0.4em 0 0.4em 0;
    height: 2em;
  }

  .signup {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 400px) {
  .signup {
    font-size: 1.3rem;
  }
}
