/*GLOBAL*/

body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  box-sizing: border-box;
  color: white;
  background: black;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

h1,
h2,
h3,
h4 {
  color: inherit;
  margin: 0;
  font-weight: 500;
}

h1 {
  clear: both;
  font-size: 64px;
  margin-bottom: 10px;
}

h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

h3 {
  font-size: 28px;
  text-align: center;
}

h4 {
  font-size: 15px;
  text-transform: uppercase;
}

p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

a:hover {
  text-decoration: underline;
}

/*HEADER*/

.header {
  height: 560px;
  background: url(https://s3.amazonaws.com/codecademy-content/projects/bass/bg.jpg) no-repeat center / cover;
  padding-top: 30px;
}

.header .container > a {
  font-size: 0;
  display: block;
  float: left;
  height: 75px;
  width: 115px;
  background: url(https://s3.amazonaws.com/codecademy-content/projects/bass/logo.svg) no-repeat;
  margin-bottom: 100px;
}

.header ul {
  float: right;
  margin-top: 33px;
}

.header ul li {
  display: inline;
}

.header ul li a {
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  margin-left: -6px;
  padding: 12px 28px;
}

.header ul li:nth-child(2) a {
  background-color: #FF003D;
}

.header ul li:nth-child(2) a:hover {
  text-decoration: none;
  color: black;
}

.header p {
  font-size: 20px;
  max-width: 600px;
}

/*SUPPORTING*/

div:nth-child(even).supporting {
  background-color: #161718;
}

.supporting {
  height: 470px;
  padding-top: 120px;
}

.supporting .container:before {
  width: 450px;
  margin-top: -30px;
}

div:nth-child(2) .container:before {
  float: left;
  content: url(https://s3.amazonaws.com/codecademy-content/projects/bass/you.svg);
  margin-left: -50px;
  margin-right: 70px;
}

div:nth-child(3) .container:before {
  float: right;
  content: url(https://s3.amazonaws.com/codecademy-content/projects/bass/everywhere.svg);
  margin-left: 20px;
  margin-right: 0px;
}

div:nth-child(4) .container:before {
  float: left;
  content: url(https://s3.amazonaws.com/codecademy-content/projects/bass/connect.svg);
  margin-left: -100px;
  margin-right: 10px;
}

.supporting p {
  display: inline;
  font-size: 14px;
  max-width: 170px;
  line-height: 20px;
}

/*BANNER*/

.banner {
  height: 400px;
  padding-top: 150px;
  background: url(https://s3.amazonaws.com/codecademy-content/projects/bass/feature.jpg) no-repeat center / cover;
}

.banner ul {
  width: 265px;
  margin: -5px auto;
}

.banner ul li {
  display: inline;
}

.banner ul li a{
  display: inline-block;
  font-size: 0;
}

.banner ul li:nth-child(1) a {
  width: 141px;
  height: 42px;
  background: url(https://s3.amazonaws.com/codecademy-content/projects/bass/app-store.png) no-repeat;
  background-size: cover;
}

.banner ul li:nth-child(2) a {
  width: 119px;
  height: 42px;
  background: url(https://s3.amazonaws.com/codecademy-content/projects/bass/google-play.png) no-repeat;
  background-size: cover;
}

/*FOOTER*/

.footer {
  padding: 60px 0;
}

.footer .column {
  width: 17%;
  float: left;
}

.footer ul li a {
  font-size: 13px;
  color: #aaa;
  display: block;
  margin-top: 14px;
}

.footer:after { /*Clearfix*/
  content: "";
  clear: both;
  display: block;
}

/*MEDIA QUERIES*/
/*common breaks: 768 992 1200 */

@media (max-width: 992px) {

  /*GLOBAL*/

  h1 {
    font-size: 55px;
  }

  /*HEADER*/

  .header .container > a {
    margin-bottom: 110px;
  }

  .header p {
    font-size: 18px;
    max-width: 500px;
  }

  /*SUPPORTING*/

  .supporting {
    height: auto;
    padding: 60px 0;
    text-align: center;
  }

  div:nth-child(2) .container:before,
  div:nth-child(3) .container:before,
  div:nth-child(4) .container:before {
    float: none;
    display: block;
    margin: 0 auto;
    width: 50%;
    min-width: 250px;
    max-height: 480px;
  }

  .supporting p {
    display: block;
    margin: 0 auto;
    max-width: 500px;
  }

  /*BANNER*/

  /*FOOTER*/

  .footer .column {
    width: 20%;
  }

}

@media (max-width: 768px) {

  /*GLOBAL*/

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 26px;
  }

  /*HEADER*/

  .header .container > a {
    margin-bottom: 120px;
  }

  .header p {
    font-size: 16px;
    max-width: 400px;
  }

  /*SUPPORTING*/

  /*BANNER*/

  /*FOOTER*/

  .footer .column {
    width: 25%;
  }

}

@media (max-width: 500px) {

  /*GLOBAL*/

  h1 {
    font-size: 38px;
  }

  /*HEADER*/

  .header {
    text-align: center;
  }

  .header .container > a {
    float: none;
    margin: 0 auto;
  }

  .header ul {
    float: none;
    width: 231px;
    margin: 25px auto 80px;
  }

  /*SUPPORTING*/

  .supporting p {
    font-size: 13px;
  }

  /*BANNER*/

  .banner {
    padding-top: 130px;
  }

  .banner ul {
    margin-top: 10px;
    width: 100%;
  }

  .banner ul li a {
    display: block;
    margin: 5px auto;
  }

  /*FOOTER*/

  .footer {
    padding-top: 20px;
  }

  .footer .column {
    width: 50%;
    margin-top: 40px;
  }

}
