@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fade-up {
    0% {
      transform: translateY(-10px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

/* Header animation */
@keyframes fade-up {
    0% {
      transform: translateY(-10px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }


header .navbar.animate {
    animation: fade-up 0.5s ease-in;
}

.card-img-overlay h2{
    font-weight: bold;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    transition: font-size 0.2s;
    text-shadow: 5px 5px 15px #000000;
}

.card-img-overlay{
    background-color: rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s;
}

.card:hover .card-img-overlay{
    background-color: rgba(0, 0, 0, 0.6);
    transition: background-color 0.2s;
}

.card:hover h2{
    font-size:250%;
    transition: font-size 0.2s;
}

.card{
    width: 28em;
    overflow:hidden;
    text-align: center;
    
    color: black;}

.card {
    animation: fade-in 1s ease-out;
}



.card-img-top{
    overflow:hidden;
    transition: all 0.2s ease-out;
    filter:brightness(100%);
}


.card:hover #imgcard{
    filter:brightness(110%);
    transition: all 0.2s ease-out;
}

.card:hover img{

    transition: all 0.2s ease-out;

    transform: scale(1.1);

}


@media all and (max-width:768px) and (min-width:320px) {
    .card{
        width: 10.7em;
    }
}

@media all and (max-width:320px){
    .card{
        width:10em;
    }
}