/*
@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Regular.ttf');
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Bold.ttf');
  font-weight: 700;
} */
@font-face {
  font-family: 'Roboto';
  src: url('Roboto-Regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('Roboto-Bold-webfont.woff') format('woff');
  font-weight: 700;
  font-style: bold;
}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
h1 {
  color: hsl(234, 29%, 20%);
}
.hero-img-desktop {
  display: none;
}
.msg-container {
  width: 375px;
  padding: 0 1.5rem;
  margin: 0 auto;
  border-radius: 7px;
}
.hero-img {
  margin: -0.62rem -1.5rem;
}
.styled-list-container{
  display: grid;
  grid-template-columns: 21px 1fr;
  align-items: center;
  column-gap: 1rem;
}

.checkmark {
  padding: 0;
  margin: 0.5rem 0;
  align-self: start;
}
.list-item {
  display: inline;
  padding: 0;
  margin: 0.1rem 0;
}


.form-bit {
  margin: 0.5rem 0;
}

.form-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: -0.4rem;
  margin-top: 2.5rem;
}

.form-label {
  color: hsl(234, 29%, 20%);
  padding-left: 3px;
}
#valid-required {
  color: hsl(4, 100%, 67%);
  justify-self: right;
  padding-right: 3px;
}



input {
  width: 100%;
  padding: .9rem 1.3rem;
  font-size: 1.1rem;
  color: hsl(231, 7%, 60%);
  border: 0.5px solid hsl(231, 7%, 60%);
  border-radius: 7px;
  margin-bottom: 1.2rem;
}

.error-state {
  color: hsl(10, 100%, 67%);
  background-color: hsl(4, 82%, 89%);
  border: 1.3px solid hsl(4, 100%, 67%);
}

.cta-button, .dismiss-button {
  margin-bottom: 2.3rem;
  background-color: hsl(234, 29%, 20%);
  color: white;
  padding: 1.1rem 1.3rem;
  border-radius: 7px;
  border: none;
  width: 100%;
  font-size: .92rem;
  font-weight: 700;
}
.the-rest {
  display: inline;
}

.success-msg {
  background-color: white;
  width: 375px;
  margin-top: 2rem;
  padding: 4rem 1.5rem 1rem;
  margin: 0 auto;
  font-size: 1.05rem;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.success-msg img {
  width: 48px;
}
.success-msg span {
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: hsl(234, 29%, 20%);
}
.success-msg button {
  margin-top: 10rem;
}


@media (min-width: 70px) {
  body {
    background-color: hsl(234, 29%, 20%);
  }
  .msg-container {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
}
@media (min-width: 1100px) {
  body {
    background-color: hsl(234, 29%, 20%);
  }
  .msg-container {
    font-size: 1.2rem;
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 4fr 3fr;
    background-color: rgb(255, 255, 255);
    width: 1000px;
    border-radius: 15px;
  }
  .desktop-col-1 {
    grid-column: 1/2;
    align-self: center;
    justify-self: center;
    margin: 0 2.5rem;
  }
  .hero-img {
    display: none;
  }
  .hero-img-desktop {
    display: block;
    grid-column: 2/3;
    padding: 1.5rem;
    align-self: end;
    padding-right: 0;
  }
  .form-label {
    font-size: 0.9rem;
  }

  input {
    font-size: 1.2rem;
  }
  .cta-button {
    font-size: 1.2rem;
  }

  /* success message for desktop*/
  .success-msg h1 {
    line-height: 2.5rem;
    margin: .5rem 0;
  }
  .success-msg {
    background-color: white;
    width: 375px;
    padding: 1.9rem 1.9rem 0;
    margin: 3rem auto 0;
    font-size: 1.05rem;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
  .success-msg button {
    margin-top: 0;
  }
}
.attribution {
  background-color: rgba(247, 198, 156, 0.55);
  display: block;
  margin: 2rem auto 1.2rem auto;
  padding: 0.3rem;
  width: 250px;
  border-radius: 0.5rem;
}

.hide {
  display: none;
}
