@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-VariableFont_wdth,wght.ttf");
}


/* BASIC SETUP */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Instrument Sans", Arial, sans-serif;
  color: black;
  background-color: white;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
iframe {
  max-width: 100%;
}


/* BUTTON */
.button {
  display: inline-block;
  background-color: #d3db4d;
  color: black;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  height: 56px;
  line-height: 56px;
}


/* HEADER */
header {
  background-color: black;
  height: 95px;
  padding-left: 5.79%;
  padding-right: 5.79%;
}

.logo {
  float: left;
  width: 13.3%;
  height: 56px;
  margin-top: 19px;

  background-color: #c7c6c6;
  border-radius: 50px;

  font-size: 32px;
  line-height: 56px;
  text-align: center;
}

nav {
  float: right;
  width: 82%;
  margin-top: 19px;
  text-align: right;
}

nav a {
  color: white;
  font-size: 32px;
  margin-left: 5.46%;
}

nav .button {
  width: 28.78%;
  color: black;
}


/* HERO */
.hero {
  background-image: url("../img/Gradient_Runner_1.jpg");
  background-size: cover;
  background-position: center;

  padding-top: 75px;
  padding-bottom: 60px;

  padding-left: 5.79%;
  padding-right: 5.79%;

  overflow: auto;
}

.hero-text {
  float: left;
  width: 40%;
}

.hero-watch {
  float: right;
  width: 59%;
}

.hero-watch img {
  width: 100%;
  display: block;
}

.eyebrow {
  font-size: 32px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 96px;
  font-weight: 700;
  line-height: .94;
  margin-bottom: 20px;
}

.subhead {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 40px;
}

.hero .button {
  width: 58.3%;
}


/* ABOUT */
.about {
  background-color: #f0ebe5;
  overflow: auto;
}

.about-photo {
  float: left;
  width: 50%;
  height: 739px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text {
  float: left;
  width: 45%;

  margin-left: 2%;

  padding-top: 40px;
  padding-bottom: 40px;
  padding-right: 2.31%;
}

.about-text h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
}

.about-text p {
  font-size: 24px;
  line-height: 1.4;
}


/* FEATURES */
.features {
  background-color: #f0ebe5;
  border-top: 1px solid black;

  padding-top: 28px;
  padding-bottom: 28px;

  padding-left: 2.31%;
  padding-right: 2.31%;

  overflow: auto;
}

.feature {
  float: left;
  width: 19%;

  min-height: 200px;

  margin-left: 1.25%;
  padding-left: 1.21%;

  border-left: 1px solid black;
}

.feature:first-child {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

.feature h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.feature p {
  font-size: 20px;
  line-height: 1.4;
}


/* VIDEO */
.video {
  background-color: black;

  padding-top: 52px;
  padding-bottom: 52px;

  text-align: center;
}

.video iframe {
  width: 50%;
  height: 532px;
  border: 0;
}


/* DESKTOP BREAKPOINT (header and buttons shrink a little early so the text has room) */
@media screen and (max-width: 1024px) {

  header {
    height: 56px;

    padding-left: 5.76%;
    padding-right: 5.76%;
  }

  .logo {
    width: 13.4%;
    height: 33px;
    line-height: 33px;

    font-size: 16px;
    margin-top: 11px;
  }

  nav {
    width: 77%;
    margin-top: 11px;
  }

  nav a {
    font-size: 16px;
    margin-left: 5.9%;
  }

  .button {
    font-size: 16px;
    height: 33px;
    line-height: 33px;
  }

  nav .button {
    width: 30.72%;
  }

  .hero .button {
    width: 54%;
  }
}


/* TABLET BREAKPOINT */
@media screen and (max-width: 768px) {

  .hero {
    padding-top: 65px;
    padding-bottom: 40px;

    padding-left: 5.76%;
    padding-right: 5.76%;
  }

  .hero-text {
    width: 45%;
  }

  .hero-watch {
    width: 52%;
  }

  .eyebrow {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 48px;
    margin-bottom: 12px;
  }

  .subhead {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .hero .button {
    width: 59.8%;
  }


  /* ABOUT */
  .about-photo {
    height: 438px;
  }

  .about-text {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 2.93%;
  }

  .about-text h2 {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .about-text p {
    font-size: 16px;
  }


  /* FEATURES */
  .features {
    padding-top: 18px;
    padding-bottom: 18px;

    padding-left: 2.93%;
    padding-right: 2.93%;
  }

  .feature {
    min-height: 190px;
  }

  .feature h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .feature p {
    font-size: 16px;
  }


  /* VIDEO */
  .video iframe {
    width: 63.28%;
    height: 399px;
  }
}


/* MOBILE */
@media screen and (max-width: 600px) {

  header {
    height: 56px;

    padding-left: 5%;
    padding-right: 5%;
  }

  .logo {
    width: 15.5%;
    height: 24px;
    line-height: 24px;

    font-size: 12px;
    margin-top: 16px;
  }

  nav {
    width: 79%;
    margin-top: 16px;
  }

  nav a {
    font-size: 12px;
    margin-left: 4.51%;
  }

  .button {
    font-size: 12px;
    height: 24px;
    line-height: 24px;
  }

  nav .button {
    width: 28.59%;
  }


  /* HERO */
  .hero {
    padding-top: 24px;
    padding-bottom: 32px;

    padding-left: 6%;
    padding-right: 6%;
  }

  .hero-text,
  .hero-watch {
    float: none;
    width: 100%;
  }

  .hero-watch {
    width: 67%;

    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
  }

  .eyebrow {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .subhead {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .hero .button {
    width: 23.1%;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
  }


  /* ABOUT */
  .about-photo,
  .about-text {
    float: none;
    width: 100%;
  }

  .about-photo {
    height: 219px;
  }

  .about-text {
    margin-left: 0;

    padding-top: 24px;
    padding-bottom: 24px;

    padding-left: 5.97%;
    padding-right: 5.97%;
  }

  .about-text h2 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .about-text p {
    font-size: 12px;
  }


  /* FEATURES */
  .features {
    padding-top: 16px;
    padding-bottom: 16px;

    padding-left: 6%;
    padding-right: 6%;
  }

  .feature {
    width: 50%;

    margin-left: 0;
    margin-bottom: 16px;

    padding-left: 0;
    padding-right: 6.79%;

    border-left: none;
  }

  .feature:nth-child(even) {
    padding-left: 6.79%;
    padding-right: 0;

    border-left: 1px solid black;
  }

  .feature h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .feature p {
    font-size: 12px;
  }


  /* VIDEO */
  .video iframe {
    width: 70.15%;
    height: 174px;
  }
}