body, html {
  margin: 0;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  position: relative;
  font-family: 'aktiv-grotesk', sans-serif;
  font-size: 14px;
  background-color: #f8f8f8;
  line-height: 1.54;
}

nav, footer {
  background-color: black;
}

.navbar-brand img {
  width: 100px;
}

footer {
  padding: 10px 0;
  color: #848484;
  margin: auto !important;
  font-size: 13px;
  position: absolute;
  bottom: 0;
  width:100%;
}

footer span.links {
  float: right;
}

footer span.copy {
  padding-right: 5px;
  border-right: 1px solid #848484;
}

footer span.rights {
  padding-left: 3px;
}

footer span.links a {
  color: #848484;
  padding-right: 5px;
  border-right: 1px solid #848484;
}

footer span.links a:hover {
  text-decoration: none;
  color: #c5c5c5;
}

footer span.links a:last-child {
  border-right: none;
}

#install-wrapper h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#install-wrapper {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#install-wrapper p {
  line-height: 1.3rem;
  max-width: 84ch;
  margin: 0 auto;
}

#install-wrapper .container {
  padding: 1rem 2rem;
}

.app-buttons {
  margin-top: 2rem;
}

.app-buttons a:hover,
.app-buttons a:active,
.app-buttons a:focus {
  text-decoration: none;
}

.app-button-background {
  display: inline-block;
  background: #242424;
  border-radius: 16px;
  position: relative;
  height: 100px;
  width: 140px;
}

.app-button-background img {
  position: absolute;
  width: 40px;
}

#apple {
  top: 23px;
  left: 50px;
}

#play {
  top: 30px;
  left: 50px;
}

nav .container, footer .container {
  max-width: 98%;
}

footer .container {
  max-width: 95%;
}

/*------ MEDIA QUERIES -------*/

@media screen and (min-width: 1200px) {
  /*nav .container, footer .container {*/
  /*  max-width: 2140px;*/
  /*}*/
}

@media screen and (max-width: 769px){
  footer .col-12 {
    text-align: center;
  }
  footer span.links {
    float: none;
  }

  footer .row {
    flex-direction: column;
    align-items: center;
  }

  footer .container {
    max-width: none;
  }
}

/* mobile nav */
@media screen and (max-width: 767px) {
  .navbar {
    padding: 5px 10px;
  }
  .navbar-brand img {
    width: 80px;
  }
}

@media screen and (min-width: 576px) {
  .col-sm-6 {
    max-width: none;
  }
}

@media screen and (max-width: 527px) {
  #install-wrapper h1 {
    font-size: 1.75rem;
    max-width: 16ch;
    margin: 0 auto 1rem auto;
  }

  #install-wrapper p {
    line-height: 1.15rem;
  }

  #install-wrapper .container {
    padding: 1rem 3rem;
  }

  .app-button-background {
    border-radius: 16px;
    position: relative;
    height: 70px;
    width: 110px;
  }

  .app-button-background img {
    width: 30px;
  }

  #apple {
    top: 15px;
    left: 40px;
  }

  #play {
    top: 19px;
    left: 43px;
  }
}

@media screen and (max-height: 655px) {
  footer {
    position: relative;
  }
}

@media screen and (max-height: 380px) {
  #install-wrapper {
    height: 100vh;
    justify-content: normal;
    margin: 5vh auto;
  }
}