body{
  overflow-x: hidden;
}
nav{
  box-shadow: 0px 9px 27px -4px rgba(90, 108, 125, 0.52);
}
.nav-item .nav-link{
  position: relative;
}
.nav-item.active .nav-link div{
  border-bottom: 2px solid #a8cc84;
  top: 32px;
  position: absolute;
  left: 0%;
  width: 100%;
  z-index: -1;
}
#logo{
  font-family: 'Saira Condensed';
  text-shadow: -2px 2px 3px #b6bec5b8; 
  color: #546073;
  text-decoration: none;
}
.line {
  height: 2px;
  left: 0;
  right: 0;
  top: 50%;
  z-index: -1;
}
.arrow-down {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
}
.arrow-down.home{
  top: -15px;
  border-top: 60px solid #a8cc84;/* #e1ecc1*/
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
}
.arrow-down.footer{
  top: -50px;
  border-bottom: 50px solid #fff;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
}
.arrow-down.contacts{
  top: 4px;
  border-top: 60px solid #a8cc84;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
}
.arrow-down.page{
  top: 0px;
  border-top: 50px solid #ebf1db;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
}
.img-cover-center{
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.img-h100-center{
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
}
.image-500{
  width: 500px; 
  box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
}
@media all and (min-width: 576px){
  .image-500{
    height: 400px;
  }
}
@media all and (max-width: 575px){
  .image-500{
    height: 275px;
  }
}
.navbar-toggler:focus{
  outline: none;
}
.navbar-toggler{
  position: fixed;
  right: 17px;
  top: 31px;
  z-index:1000;
  background-color: rgba(255,255,255,0.7);
}
@media all and (max-width: 767px){
  .nav-item:first-child{
    padding-top: 1em;
  }
  .nav-item:last-child{
    padding-bottom: 1em;
  }
}
@media all and (max-width: 768px) {
  .display-3{
    font-size: 2.5rem;
  }
  .display-4{
    font-size: 2.2rem;
  }
  h2{
    font-size: 1.6rem;
  }
  h3{
    font-size: 1.45rem;
  }
  .lead{
    font-size: 1.1rem
  }
  .arrow-down.home{
    top: -4px;
    border-top-width: 40px;
  }
}
@media all and (max-width: 768px) { 
  .navbar{
    position: fixed !important;
    width: 100%;
    top: 80px;
    z-index: 1000;
  }
  .navbar-toggler{
    top: 32px;
  }
  .nav-item .nav-link{
    text-align: center;
  }
}


