@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


@font-face {
    font-family: 'celinda';
    src: url('fonts/Celinda-Regular.otf') format('truetype');
}

@font-face {
    font-family: 'hurin';
    src: url('fonts/HurinPersonalUseOnly-Regular.ttf') format('truetype');
}

h3 {
    text-align: center;
    margin-top: 100px;
    font-family: 'celinda';
    color: white;
    font-size: 3.5em;
    font-weight: 500;
    text-shadow: 6px 6px 0px rgba(0,0,0,0.2);
    animation: fadeIn 2s cubic-bezier(0.65, 0, 0.35, 1) forwards; 

}

body{
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7))
}
.cards-container {
    margin-top: 55px;
    
}

.card {
  opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.95s ease, transform 0.95s ease;
    border-radius: 1rem;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}
.card.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.card-body {
  padding: 1.5rem;
}
.card-body h5 {
  font-family: 'celinda';
  text-align: center;
  font-size: 1.5em;
}
.card-body p {
  text-align: center;
  font-family: sans-serif;
}
.card-footer {
  padding: 1rem;
}
.card-img-top {
  padding: 1rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}


.btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: gray;
  border-color: gray;
  text-shadow: 1px 1px 1px black;
  box-shadow: 1px 1px 1px black;
  font-family: sans-serif;
}
.btn:hover {
  background-color: rgb(27, 27, 27);
  border-color: rgb(27, 27, 27);
}
.mt-2 {
  display: flex;
  gap: 6px;          
  align-items: center; 
  flex-wrap: wrap;    
} 
.badge-icon {
  justify-content: center;
  vertical-align: center;
  margin-right: 3px; 
  border-radius: 4px;
  margin-top: 3px;
  height: 28px; 
}

.badge-icon:hover {
    transform: scale(1.05); 
}
@media (max-width: 600px) {
  .cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px; 
  }

  .card {
    width: 100%;
    max-width: 100%;
    box-shadow: 6px 6px 8px rgba(0,0,0,0.3);
  }

  .card-body h5 {
    font-size: 1.8em;
  }
  .card-body p {
    font-size: 1rem;
  }

  .badge-icon {
    height: 34px;
  }

  .btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

}
@media  (min-width: 601px) and (max-width: 800px) {
  .cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px; 
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .card {
    width: 100%;
    max-width: 100%;
    box-shadow: 6px 6px 8px rgba(0,0,0,0.3);
    min-width: 700px;
    justify-content: center;
  }

  .card-body h5 {
    font-size: 1.8em;
  }
  .card-body p {
    font-size: 1rem;
  }

  .badge-icon {
    height: 34px;
  }
  

  .btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

}
