body {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
}

a {
  color: #fa9640;
}

.layout {
  overflow: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.layout > .container {
  flex: 1;
}

.navbar-brand {
  padding: 0;
}
.navbar-brand img {
  width: 170px;
}

.navbar {
  background-color: #f8f9fa;
  margin: 18px 0;
}

.navbar-light .navbar-nav .active > .nav-link {
  color: #fa9640;
}

.navbar-light .navbar-nav .nav-link {
  color: black;
  position: relative;
}

.home-products {
  margin: 0 -0.5rem;
}
.home-products .product-col {
  padding: 0 0.5rem;
}
.home-products .product {
  height: 55vh;
  background-size: cover;
  background-position: center;
  margin: 0;
  position: relative;
}
.home-products .product .title {
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.4);
  color: white;
  width: 75%;
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
  height: 40px;
  line-height: 40px;
  font-weight: 700;
  font-size: 20px;
}
.home-products .product a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

footer {
  overflow: auto;
  margin-top: 68px;
  text-align: center;
  background-color: #fa9640;
  color: white;
  position: relative;
}

footer .copyright {
  font-size: 12px;
}

footer .slogan {
  font-size: 30px;
  text-align: center;
}

footer .text {
  font-size: 16px;
  line-height: 1.4em;
}

footer .row {
  margin: 40px 0;
}

.second-font {
  font-family: 'Minion Pro';
  font-style: italic;
}

.navbar .navbar-brand span {
  display: none;
}

.navbar-nav {
  margin-top: 20px;
}
.navbar-nav .social {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.navbar-nav .social a {
  border-radius: 5px;
  color: white;
  background-color: #fa9640;
  text-align: center;
  display: inline-block;
  width: 20px;
  height: 20px;
  font-size: 12px;
  padding-top: 2px;
}
.navbar-nav .social a + a {
  margin-left: 10px;
}

@media screen and (min-width: 992px) {
  footer {
    text-align: left;
  }

  .navbar-nav {
    margin-top: 0;
  }

  .navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
  }

  .navbar-expand-lg {
    justify-content: space-between;
  }

  .navbar {
    background-color: transparent;
    padding: 5px 0;
    font-weight: 500;
    margin: 48px 0;
    font-size: 12px;
  }

  .navbar .nav-item + .nav-item {
    margin-left: 0.5em;
  }
  .navbar .navbar-brand {
    margin-right: 0;
  }
  .navbar .navbar-brand span {
    display: block;
    padding-left: 80px;
  }
  .navbar-brand img {
    width: 220px;
  }

  .navbar-light .nav-link:hover {
    color: inherit;
  }
  /*.nav-link:hover:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    border-bottom: 2px solid #fa9640;
    z-index: 2;
  }*/
  .nav-link:hover:before {
    top: 0;
  }
  .nav-link:hover:after {
    bottom: 0;
  }

  .navbar-nav .social {
    display: flex;
    align-items: center;
    padding: 0 7px 4px 7px;
    margin: 0;
  }

  .navbar-nav .social a:hover {
    text-decoration: none;
  }
  .navbar:before,
  .navbar:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    border-bottom: 1px solid #ccc;
  }
  .navbar:before {
    top: 0;
  }
  .navbar:after {
    bottom: 0;
  }
  footer:before {
    content: '';
    background-image: url(/assets/img/footer-triangle.svg);
    width: 100%;
    display: block;
    height: 77px;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
  }
}

@media screen and (min-width: 1200px) {
  .navbar-brand img {
    width: 260px;
  }
  .navbar {
    font-size: 14px;
  }

  footer .row {
    position: relative;
    margin: 52px -15px 40px -15px;
  }
  footer .slogan {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
  }
}
