/* -------------------------------- */
/* Basic Setup */
/* -------------------------------- */

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  background-color: #fff;
  color: #1d2951;
  font-family: "Lato", "Arial", sans-serif;
  font-weight: 300;
  font-size: 20px;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* -------------------------------- */
/* REUSABLE COMPONENTS */
/* -------------------------------- */

.row {
  max-width: 1140px;
  margin: 0 auto 0 auto;
}

section {
  padding: 80px 0px;
}

.box {
  padding: 1%;
}

/* -------- HEADINGS --------- */

h1,
h2,
h3 {
  font-weight: 300;
  text-transform: uppercase;
}

/* -------- PARAGRAPHS ------ */

.box p {
  font-size: 90%;
  line-height: 145%;
}

/* -------------------------------- */
/* HEADER */
/* -------------------------------- */

.logo {
  height: 100px;
  width: auto;
  float: left;
  margin-top: 20px;
}

/* Main navi */

.main-nav {
  float: right;
  list-style: none;
  margin-top: 55px;
}

.main-nav li {
  display: inline-block;
  margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
  padding: 8px 0px;
  color: #1d2951;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 90%;
  border-bottom: 2px solid transparent;
  -webkit-transition: border-bottom 0.2s;
  transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
  border-bottom: 2px solid #ff0800;
}

/* -------------------------------- */
/* HERO */
/* -------------------------------- */

.section-hero {
  background-color: #f4f4f4;
}

.section-hero h1,
.section-hero p {
  text-align: center;
}

.section-hero img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

.section-hero .bbr-main-screen {
  border-radius: 10%;
}

/* -------------------------------- */
/* FEATURES */
/* -------------------------------- */

.section-features img {
  border-radius: 10%;
  margin-top: 5px;
}

.section-features h2 {
  text-align: center;
  margin-top: 40px;
}

.section-features a {
  display: block;
  width: 120px;
  margin: 30px auto 10px;
}

/* -------------------------------- */
/* FOOTER */
/* -------------------------------- */

footer {
  background-color: #333;
  padding: 50px;
}

.footer-nav {
  list-style: none;
  float: left;
}

.footer-nav li,
.social-links li {
  display: inline-block;
  margin-right: 20px;
}

footer-nav li:last-child {
  display: inline-block;
  margin-right: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited {
  text-decoration: none;
  border: 0;
  color: #888;
}

.footer-nav li a:hover,
.footer-nav li a:active {
  color: #ddd;
}

footer p {
  color: #888;
  text-align: center;
  font-size: 90%;
  margin-top: 30px;
}

/* Media Queries */

@media only screen and (max-width: 480px) {
  .logo {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

  .main-nav {
    display: none;
  }

  .section-hero {
    padding: 20px;
  }

  .section-hero img {
    border-radius: 10%;
    margin-top: 5px;
  }

  .section-features {
    padding: 20px 0px;
  }

  .section-features h3 {
    text-align: center;
    margin-top: 20px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  footer {
    padding: 25px;
  }

  .footer-nav li {
    margin-right: 10px;
  }

  footer p {
    font-size: 75%;
  }
}
