*{
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Rubik', sans-serif;
    position: relative;
    background-image: url(images/fon.jpg);
}
p.lead{
    color: #01dff7;
    margin-bottom: 2rem;
}
.light-font{
    font-weight: 300;
}

.section{
    padding: 80px 0;
}
.section-title{
    text-align: center;
    margin-bottom: 1rem;
}
.tab-content{
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 1rem;
}
.p{
    line-height: 1.8;
}
.h2{
    margin-bottom: 0.5rem;
}
.nav-tabs{
    border-bottom: 0;
} 
.nav-item .nav-link,
.nav-link:focus,
.nav-link:hover{
    padding: 1rem 1rem;
    border-color: #faf6fb #faf6fb #FFF;
    font-size: 19px;
    color: #000;
  
} 
.nav-link{
  
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  font-family: sans-serif;
  background: linear-gradient(90deg, yellow, orange, red, violet, purple, blue, yellow);
  background-size: 400%;
  border-radius: 30px;
  transform: translate(0%, -50%);
}

.nav-link:hover{
  animation: animate 8s linear infinite;
}

@keyframes animate{
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 400%;
  }
}

.nav-link:before{
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;
  background: linear-gradient(45deg, #f15523, #ef3224, #7c3697);
  background-size: 400%;
  border-radius: 40px;
  opacity: 0;
  transition: 0.5s;
}


 
.nav-link:hover:before{
	filter: blur(20px);
  opacity: 1;
  animation: animate 8s linear infinite;
}