
@import url("https://use.typekit.net/fuv3lyz.css");
@font-face {
  font-family: 'Din-Bold';
  src: url(../fonts/din-bold-webfont.woff2) format("woff2"),
  url(../fonts/din-bold-webfont.woff) format("woff");
  font-weight: normal;
  font-style: normal
}

@font-face {
  font-family: 'Din-Medium';
  src: url(../fonts/din-medium-webfont.woff2) format("woff2"),
  url(../fonts/din-medium-webfont.woff) format("woff");
  font-weight: normal;
  font-style: normal
}
@font-face {
  font-family: 'Din-Regular';
  src: url(../fonts/din_regular-webfont.woff2) format("woff2"),
  url(../fonts/din_regular-webfont.woff) format("woff");
  font-weight: normal;
  font-style: normal
}
@font-face {
  font-family: 'Din-Light';
  src: url(../fonts/din-light-webfont.woff2) format("woff2"),
  url(../fonts/din-light-webfont.woff) format("woff");
  font-weight: normal;
  font-style: normal
}
body {
  margin: 0;

}
#hero, #hero-form {
    background-image: url(../images/homepage-1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    height: 100vh;
    width: 100vw;
    min-height:1000px;

}
#hero-text  {
position: absolute;
top:60%;
transform: translateY(-60%);
left: 0;
right: 0;
text-align: center;


}
#hero-text .header img.top {
  max-width: 850px;
}
#hero-text img.bottom {
  max-width: 250px;
  text-align: center;

}
#hero-form .header img.top {
  max-width: 650px
}
#hero-form .header {
  text-align: center;
  padding-top: 140px;
  padding-bottom: 100px
}
.header p {
  margin-top: 1em;
  color: #fff;
  font-family: 'Din-Regular';
  font-size: 2.2em;
  line-height: 1.4

}
#hero-form p{
color: #fff;
font-family: 'Din-Regular';
font-size: 18px;
line-height: 1.2;
margin-bottom: 1em
}
.checkbox {
    display: inline-flex;
    cursor: pointer;
    position: relative;
}
.checkbox>input {
    height: 21px;
    width: 21px;
    border: 2px solid #fff;
    outline: none;
    transition-duration: 0.3s;
    background-color: transparent;
    cursor: pointer;
    margin-right: 1em;
    margin-top: 5px
}
/* .checkbox>input:active {
    border: 2px solid #000;
} */
.checkbox>span {
    font-family: 'Din-Regular';
    font-size: 18px;

    color: #fff;

}
#hero-form.thankyou {
  position: relative;
  height: 100vh;
  min-height: 800px
}
#hero-form.thankyou .header {
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  text-align: center;
}
#hero-form .bottom-logo {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  text-align: center;
}
.bottom-logo .bottom {
  max-width: 250px;
}
#hero-form .main-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 900px;
  margin: 0 auto;
  left: 0;
  right: 0;
  text-align: center;
}

#hero-form .main-text h4 {
  text-align: center;
  color: #fff;
  font-family: 'Din-Regular';
  font-size: 2.2em;
  line-height: 1.4;

  }
  #hero-form .main-text h4 a {
    color: #005ca9;
    text-decoration: underline;
  }

#hero-text .header h4 {
  max-width: 800px;
  margin: 2em auto 2em;
  text-align: center;
  color: #fff;
  font-family: 'Din-Regular';
  font-size: 2.2em;
  line-height: 1.5;
  display: none
  }
#hero-text .header .buttons {
  max-width: 50rem;
      margin: 4em auto;
}
#hero-text .header .buttons a {
  background: #fff;
  border-radius: 14px;
  font-family: 'Din-Medium';
  font-size: 1.6em;
  padding: 15px 60px 20px;
  text-align: center;
  /* margin: 0 1em; */
  line-height: 1.6;
  text-decoration: none;
  color: #005ca9;

}
#hero-text .header .buttons a:hover {
  background: #005ca9;
  color: #fff;
}
.form [type='text'] {
  border: none;
  border-bottom: 1px solid #fff;
  box-shadow: none;
  background: transparent;
  height: 3.5rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #fff;
  padding: 1rem 0 3.5rem 0;
    font-family: 'Din-Bold';
    margin-bottom: 1.5em
}
.form ::-webkit-input-placeholder { /* Edge */
    color: #fff;
    font-family: 'Din-Bold';

}
.form ::-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fff;
  font-family: 'Din-Bold';
}
.form ::placeholder, .ui-menu .ui-menu-item {
  color: #fff;
  font-family: 'Din-Bold';
}
.form .submit-button {
  text-align: center;
  margin-bottom: 1em;
  margin-top: 3em
}
.form [type='submit'] {
  background: #fff;
  color: #005ca9;
  border-radius: 14px;
  max-width:400px;
  font-family: 'Din-Medium';
  font-size: 2.2em;
  padding: 5px 80px 10px;
  text-align: center;

  line-height: 1.2;
  text-decoration: none;

}


#race-day-2022 .form [type='text'] {
  border: none;
  border-bottom: 1px solid #262e62;
  box-shadow: none;
  background: transparent;
  height: 2.5rem;
  font-size: 1.2rem;
  text-transform: capitalize!important;
  color: #262e62;
  padding: 1rem 0 2.5rem 0;
  font-family: 'Din-Regular';
    margin-bottom: 1em
}
#race-day-2022 .form ::-webkit-input-placeholder { /* Edge */
    color: #262e62;
    font-family: 'Din-Regular';

}
#race-day-2022 .form ::-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #262e62;
font-family: 'Din-Regular';
}
#race-day-2022 .form ::placeholder, .ui-menu .ui-menu-item {
  color: #262e62;
  font-family: 'Din-Regular';
}
#race-day-2022 .form .submit-button {
  text-align: right;
  margin-bottom: .5em;
  margin-top: .5em
}
#race-day-2022 .form [type='submit'] {
  color: #262e62;
  max-width:unset;
  padding: 0;
  font-family: 'Din-Medium';
  font-size: 1.4em;
  text-align: right;
  border-radius: 0;
  line-height: 1.2;

  text-decoration: underline;

}

#race-day-2022 .checkbox>span {
    color: #262e62;
}
#race-day-2022 .form h4
{
color: #262e62;
font-family: 'Din-Bold';
font-size: 22px;
line-height: 1.2;
margin-bottom: 2em
}

#race-day-2022 .form p, #race-day-2022 .form p a{
color: #262e62;
font-family: 'Din-Regular';
font-size: 18px;
line-height: 1.2;
margin-bottom: 1em
}
#race-day-2022 .form p a{
  text-decoration: underline;
}
#race-day-2022 #hero-text, #race-day-2022 #hero-form .main-text{
  top: 30%;
  transform: translateY(-30%);
}
#race-day-2022 #hero-form.thankyou {
  position: relative;

  min-height: 1100px
}
#race-day-2022 .form-group {
  background: #fff;
position: absolute;
top: 30%;
  transform: translateY(-30%);
  max-width: 1000px;
  margin: 0 auto;
  -webkit-clip-path: polygon(100% 12%, 88% 0%, 0% 0%, 0 88%, 12% 100%, 100% 100%);
clip-path: polygon(100% 12%, 88% 0%, 0% 0%, 0 88%, 12% 100%, 100% 100%);
  padding: 40px 60px;
  left: 0;
  right: 0;
  width: 100%
}

#race-day-2022 .bottom.left {
  left: 40px;
  right: unset
}
#race-day-2022 .bottom.right {
  right: 40px;
  left: unset
}
#race-day-2022 h1{
  color: #262e62;
  font-family: 'Din-Light';
  font-size: 5em;
  line-height: 1;
  margin-bottom: .5em
}

  #race-day-2022 h3{
    color: #262e62;
    font-family: 'Din-Light';
    font-size: 2em;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px
  }

  #race-day-2022 h3 a {
    color: #262e62;
    font-family: 'Din-Light';
    text-decoration: underline;
  }
  #race-day-2022 #hero-text h3 strong {
    font-family: 'Din-Regular';
  }
  #race-day-2022 #hero-text hr{
    max-width: 60px;
    border-bottom: 1px solid #262e62;
  }

  #race-day-2022 hr {
    max-width: 60px;
    border-bottom: 1px solid #262e62;
    margin-top: .5rem
  }
  #race-day-2022 #hero-text p {
        margin-top: 0;
        color: #262e62;
        font-family: 'Din-Light';
        font-size: 1.8em;
        line-height: 1.2;
    }
        #race-day-2022 .bottom {
            max-width: 250px;
            position: absolute;
            bottom: 8%;
            left: 0;
            right: 0;
            margin: 0 auto
        }

      #race-day-2022 #hero-text .header .buttons a {
        background: none;
        color: #262e62;
        font-family: 'Din-Regular';
        font-size: 1.6em;
        }

@media screen and (max-width: 1023px) {
#hero-text .header .buttons {
  max-width: unset
}
#race-day-2022 .form-group {
  position: unset;
  top: unset;
  transform: unset;
  left: unset;
  right: unset;
  margin-top: 60px;
  padding: 30px;
}
}
@media screen and (max-width: 768px) {
#hero {
  min-height: 450px;
}
#hero-text {
  padding: 0 2em;
}
#hero-text .header .buttons a {
  padding: 10px 35px 15px;
  font-size: 1.3rem!important
}
#hero-text .header img.top, #hero-form .header img.top {
  max-width: 500px
}
.form [type='submit'] {
  margin-top: 2em
}
#race-day-2022 h1 {
  font-size: 3.5em!important
}
#race-day-2022 .bottom {
  max-width: 150px;
}
#race-day-2022 .bottom.right {
  right: 20px
}
#race-day-2022 .bottom.left {
  left: 20px
}
}
@media screen and (max-width: 639px) {
  #hero-text {
    padding: 0 1em;
  }
  #hero-text .header .buttons .btn {
    margin-bottom: 3em;
    padding: unset;
  }
  #hero-text .header img.bottom {
    margin-top: 0;
    margin-bottom: 2em
  }
#hero-form .main-text h4, .header p, #hero-text .header h4, .form [type='submit'], #race-day-2022 h3  {
  font-size: 1.6rem
}
}
@media screen and (max-width: 500px) {
  #hero-text .header img.top, #hero-form .header img.top {
    max-width: 400px
  }

}
