.navbar, .nav-link:hover {
  box-shadow: none;
  flex-direction: column;
}


/*
    Next two Removes the border around the burger nav button
*/

.navbar-light .navbar-toggler {
  color: transparent;
  border-color: transparent;
}

button:focus {
  outline: 0px dotted;
  outline: 0px auto -webkit-focus-ring-color;
}

.hoverable{
    display:inline-block;
    backface-visibility: hidden;
    vertical-align: middle;
    position:relative;
    box-shadow: none;
    transform: translateZ(0);
    transition-duration: .3s;
    transition-property:transform;
  }
  
  .hoverable:before{
    position:absolute;
    pointer-events: none;
    z-index:-1;
    content: '';
    top: 100%;
    left: 5%;
    height:10px;
    width:90%;
    opacity:0;
    background: -webkit-radial-gradient(center, ellipse, rgba(7, 172, 75, 0.35) 0%, rgba(252, 12, 12, 0) 80%);
    background: radial-gradient(ellipse at center, rgba(7, 172, 75, 0.35) 0%, rgba(245, 5, 5, 0) 80%);
    /* W3C */
    transition-duration: 0.3s;
    transition-property: transform, opacity;
  }
  
  .hoverable:hover, .hoverable:active, .hoverable:focus{
    transform: translateY(-5px);
    text-decoration: none;
  }
  .hoverable:hover:before, .hoverable:active:before, .hoverable:focus:before{
    opacity: 1;
    transform: translateY(-5px);
  }  
  
  @keyframes bounce-animation {
    16.65% {
      -webkit-transform: translateY(8px);
      transform: translateY(8px);
    }
  
    33.3% {
      -webkit-transform: translateY(-6px);
      transform: translateY(-6px);
    }
  
    49.95% {
      -webkit-transform: translateY(4px);
      transform: translateY(4px);
    }
  
    66.6% {
      -webkit-transform: translateY(-2px);
      transform: translateY(-2px);
    }
  
    83.25% {
      -webkit-transform: translateY(1px);
      transform: translateY(1px);
    }
  
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }
  
  .bounce {
    animation-name: bounce-animation;
    animation-duration: 2s;
  }.animated-icon1, .animated-icon2, .animated-icon3 {
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    }
    
    .animated-icon1 span, .animated-icon2 span, .animated-icon3 span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    }
    
    .animated-icon1 span {
    background: lightgray;
    }
    
    .animated-icon2 span {
    background: lightgray;
    }
    
    .animated-icon3 span {
    background: lightgray;
    }
    
    .animated-icon1 span:nth-child(1) {
    top: 0px;
    }
    
    .animated-icon1 span:nth-child(2) {
    top: 10px;
    }
    
    .animated-icon1 span:nth-child(3) {
    top: 20px;
    }
    
    .animated-icon1.open span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    }
    
    .animated-icon1.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
    }
    
    .animated-icon1.open span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
    }

.banner {
  color: rgb(49, 143, 104);
  font-size: 3rem;
  font-weight: 500;
}

a {
  color: rgb(49, 143, 104);
}

a:hover {
  text-decoration: none;
  color:rgb(48, 47, 47);
}

.section-two {
  background-color: whitesmoke;
}

.fa {
  color: rgb(49, 143, 104);
}

.section-three {
  background-image:url('../images/slika.jpg');
  position: relative;
  height: auto;
  width: 100%;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.card {
  opacity: 0.8;
}

.card:hover {
  opacity: 1;
}

.heading1 {
  color:rgb(49, 143, 104);
}


@media (max-width: 576px) {
  .banner {
    font-size: 0.5rem;
  }
}

@media (max-width: 768px) {
  .col-md-7, .col-md-5 {
    justify-content: center !important;
  }
}

@media (max-width: 992px) {
  .banner {
    font-size: 2.5rem;
  }
}

@media (max-width: 1280px) {
  .p {
    margin: 0 4cm;
  }

  .card {
    width: 350px;
  }

  .card-deck {
    align-items: center;
    margin: 0 20px;
  }
}

#panel, #flip, #panel2, #flip2, #panel3, #flip3, #panel4, #flip4, #panel5, #flip5 {
  text-align: center;
}

#panel, #panel2, #panel3, #panel4, #panel5 {
  display: none;
}