:root {
  --rws-red: #C8102E;
  --rws-tan: #F8F5EE;
  --rws-tan2: #ECE8DE;
  --rws-tan3: #EAE4D9;
  --rws-gray: #292723;
  --rws-offwhite: #F1F0E2;
  --rws-black: #000;
  --rws-darkgray: #252828
  /* var(--rws-red); */
  /* var(--rws-tan); */
  /* var(--rws-tan2); */
  /* var(--rws-tan3); */
  /* var(--rws-gray); */
  /* var(--rws-offwhite); */
  /* var(--rws-black); */
  /* var(--rws-darkgray); */
}

.container {
  max-width: 1440px;
  margin:0 auto;
  padding: 0 18px;
}
@media screen and (min-width: 768px) {
  .container {
    padding: 0 24px;
  } 
}

.rws-button {
    background: var(--rws-red);
    color: #fff;
    min-height: 56px;
    display: block;
    width: 245px;
    margin:0 auto;
    font-family: TStarHeavy;
    font-size: 20px;
    text-align: center;
    padding: 18px;
    box-sizing: border-box;
    border-radius: 3px;
    border:0 !important;
    line-height: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}


a {
  text-decoration: none;
}

h1 {
  font-size: 42px;
  line-height: 35px;
  color: var(--rws-offwhite);
  text-align: center;
  font-family: mfred;
  letter-spacing: 3px;
}
@media screen and (min-width: 768px) {
  h1 {
    font-size: 100px;
    line-height: 76px;
    letter-spacing: 8px;
  }
}
@media screen and (min-width: 1000px) {
  h1 {
    font-size: 164px;
    line-height: 122px;
    letter-spacing: 10px;
  }
}
h1 span {
  font-size: 23px;
  display: block;
  line-height: 20px;
  margin-bottom: 8px;
}
@media screen and (min-width: 768px) {
  h1 span {
    font-size: 45px;
    line-height: 36px;
    margin-bottom: 35px;
  }
}
@media screen and (min-width: 1000px) {
  h1 span {
    font-size: 89px;
    line-height: 66px;
  }
}
h2 {
  color:var(--rws-black);
  font-size: 20px;
  line-height: 33px;
  text-align: center;
  font-family: TStarHeavy;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
  h2 {
    color:var(--rws-black);
    font-size: 28px;
    line-height: 46px;
    letter-spacing: 2px;
    margin-bottom: 30px;
  } 
}
h2.underline {
  color:var(--rws-darkgray);
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  h2.underline {
    margin-bottom:30px;
  } 
}
h2.underline:after {
  content: "";
  display: block;
  width: 200px;
  margin:0 auto;
  height: 5px;
  background: var(--rws-red);
}
@media screen and (min-width: 768px) {
  h2.underline:after {
    width: 245px;
  }
}

h3 {
  font-size: 32px;
  line-height: 43px;
  text-align: center;
  letter-spacing: 2px;
  font-family: mfred;
  font-weight: normal;
  color: var(--rws-tan2);
}
@media screen and (min-width: 768px) {
  h3 {
    font-size: 40px;
    line-height: 53px;
  } 
}
p {
  color: var(--rws-black);
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  font-family: TStarMedium;
}
@media screen and (min-width: 768px) {
  p {
    color: var(--rws-black);
    font-size: 28px;
    line-height: 42px;
  }
}

.grid {
  display: grid;
  grid-gap: 25px;
  margin: 25px 0;
}
@media screen and (min-width: 768px) {
  .grid {
    grid-gap: 90px;
  } 
}
.grid.one {
  grid-template-columns: 1fr;
}
.grid.two {
  grid-template-columns: 1fr;
}
@media screen and (min-width: 768px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }
}
.col {
  position:relative;
}
.col h3 {
  text-align: left;
  padding: 0 0 6px;
}

section {
  display: block;
}

#hero {
  background: url(/images/hero.png) center center no-repeat;
  background-size: cover;
  padding: 30px 0 60px;
}
@media screen and (min-width: 768px) {
  #hero {
    padding: 80px 0 155px;
  } 
}
  #hero .logo {
    display: block;
    margin:0 auto 40px;
  }
  @media screen and (min-width: 768px) {
    #hero .logo {
      margin:0 auto 60px;
    } 
  }

#form {
  padding: 45px 0;
}
@media screen and (max-width: 767px) {
  #form .container {
    padding: 0 18px;
  }
}

  #form form {
    max-width: 930px;
    margin:0 auto;
  }
  #form p {
    max-width: 640px;
    margin: 0 auto;
  }
  #form #thankyou {
      display:none;
  }
  #form label {
    color: var(--rws-darkgray);
    font-size: 16px;
    line-height: 150%;
    font-family: TStarBold;
    display: block;
    text-transform: uppercase;
  }
  @media screen and (min-width: 768px) {
    #form label {
      font-size: 24px;
      line-height: 50px;
    } 
  }
  #form input[type="checkbox"] + label {
    padding-left: 40px;
    margin: 25px 0 30px;
    line-height: 15px;
    font-size: 12px;
  }
  @media screen and (min-width: 768px) {
    #form input[type="checkbox"] + label {
      line-height: 30px;
      font-size: 24px;
    } 
  }
  #form input[type="checkbox"] + label[for="agreement"]:before {
    content:"✓";
    display: block;
    background: #fff;
    height: 20px;
    width: 20px;
    border: 1px solid #707070;
    border-radius: 3px;
    color: #fff;
    line-height: 24px;
    text-align: center;
    font-weight: bold;
    position: absolute;
    top: 26px;
    left: 0;
    font-size: 12px;
  }
  @media screen and (min-width: 768px) {
    #form input[type="checkbox"] + label[for="agreement"]:before {
      height: 28px;
      width: 28px;
      line-height: 28px;
    } 
  }
  #form input[type="checkbox"]:checked + label[for="agreement"]:before {
    content:"✓";
    display: block;
    background: var(--rws-red);
    height: 20px;
    width: 20px;
    border-radius: 3px;
    color: #fff;
    line-height: 24px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
  }
  @media screen and (min-width: 768px) {
    #form input[type="checkbox"]:checked + label[for="agreement"]:before {
      height: 28px;
      width: 28px;
      line-height: 28px;
    } 
  }
  #form label span {
    opacity: .4;
    text-transform: none;
  }
  #form input {
    border: 1px solid #707070;
    border-radius: 3px;
  }
  #form input[type="text"] {
    width: 100%;
    height: 60px;
    padding: 10px;
    box-sizing: border-box;
  }
  #form input[type="checkbox"] {
    display: none;
  }
  #form input[type="submit"] {}

  #form .error-text {
    display: none;
    font-family: TStarMedium;
    color: #c00;
    background: #fff;
    position: absolute;
    bottom: -5px;
    right: 10px;
    padding: 0 10px;
  }

  #form input.error {
    border-color: #c00;
  }
  #form input.error + .error-text {
    display: block;
  }

#form .error-text.checkbox-error {
    display: none;
    right: auto;
    left: -10px;
}

    #form .error-text.checkbox-error.error {
        display: block
    }

#content {
    background: var(--rws-tan);
    padding: 50px 0;
}
@media screen and (max-width: 767px) {
  #content .container {
    padding: 0 40px;
  }
}

  #content img {
    max-width: 250px;
    margin:20px auto 40px;
    display: block;
  }
  @media screen and (min-width: 768px) {
    #content img {
      max-width: 500px;
      margin:20px auto 90px;
    } 
  }
  @media screen and (min-width: 1000px) {
    #content img {
      max-width: 100%;
    } 
  }
  #content p.first-p {
    max-width: 930px;
    margin:0 auto;
  }
  #content p.second-p {
    max-width: 810px;
    margin:0 auto 40px;
  }

#footer {
  background: url(/images/pattern.png) center 160px repeat-x var(--rws-gray);
}
  #footer .container {
    max-width: 1200px;
  }
  #footer .container > h3 {
    padding: 60px 0 80px;
  }
  #footer .grid {
    grid-gap: 70px;
  }
  #footer .follow, #footer .follow h3 {
    text-align: center;
  }
  @media screen and (min-width: 1000px) {
    #footer .follow, #footer .follow h3 {
      text-align: left;
    }
  }

  #footer ul li a {
    color: var(--rws-tan3);
    font-family: TStarMedium;
    text-transform: uppercase;
    font-size: 20px;
    padding: 12px 0;
    display: block;
  }
  @media screen and (min-width: 1000px) {
    #footer ul li a {
      font-size: 26px;
    } 
  }

    #footer .icon-links .location a, 
    #footer .icon-links .email a, 
    #footer .icon-links .phone a {
      font-size: 32px;
      line-height: 43px;
      color: var(--rws-tan2);
      font-family: mfred;
      padding:10px 0 10px 64px;
      display: block;
    }
    @media screen and (min-width: 768px) {
      #footer .icon-links .location a, 
      #footer .icon-links .email a, 
      #footer .icon-links .phone a {
        font-size: 40px;
        line-height: 53px;
      }
    }
    #footer .icon-links .location a {
      background: url(/images/location.png) 7px center no-repeat;
    } 
    #footer .icon-links .email a {
      background: url(/images/email.png) 0 center no-repeat;
    }
    #footer .icon-links .phone a {
      background: url(/images/phone.png) 4px center no-repeat;
    }
    @media screen and (max-width: 767px) {
      #footer .icon-links .location a {
        background-size: 19px;
        background-position: 4px center;
      } 
      #footer .icon-links .email a {
        background-size: 28px;
      }
      #footer .icon-links .phone a {
        background-size: 24px;
        background-position: 3px center;
      } 
    }
    #footer .grid {
      grid-template-columns: 1fr;
      margin: 55px auto 100px;
      max-width: 260px;
    }
    @media screen and (min-width: 1000px) {
      #footer .grid {
        grid-template-columns: 1fr 1fr 1fr;
        max-width: 100%;
      }
    }
  #footer img {
    margin:0 auto;
    display: block;
    padding: 0 0 80px;
  }
