/* Import Google font - Poppins */

.site-wrap {
    line-height: 1.7;
    color: gray;
    font-weight: 300;
    background-color: #222831;
    font-size: 16px;
}

.date {
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #77d7b9;
  color: #fff;
  padding: 0.8em;
}

.date span {
  display: block;
  text-align: center;
}

.date .day {
  font-weight: 700;
  font-size: 24px;
  text-shadow: 2px 3px 2px rgba(0, 0, 0, 0.18);
  background-color: #77d7b9;
}

#filter-buttons button {
  border-radius: 3px;
  background: #fff;
  border-color: transparent;
}

#filter-buttons button:hover {
  background: #ddd;
}

#filter-buttons button.active {
  color: #fff;
  background: #55A630;
}

#filterable-cards .card {
  width: 21rem;
  border: 2px solid transparent;
  background-color: #fff; /* Card background color */
}

#search-button{
  color: #000;
}

#filterable-cards .card.hide {
  display: none;
}

@media (max-width: 600px) {
  #filterable-cards {
    justify-content: center;
  }

  #filterable-cards .card {
    width: calc(100% / 2 - 10px);
  }
}

#slow-zoom {
  position: relative;
  overflow: hidden;
  transition: transform 1.2s ease; /* Smooth and slow transition */
}

#slow-zoom:hover {
  transform: scale(1.03); /* Zoom in */
}

#slow-zoom .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
  opacity: 0; /* Hide the entire card body initially */
  transform: translateY(100%); /* Move the card body out of view (below the card) */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Transition effect */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction:column;
  padding: 1em; /* Optional padding */
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

#slow-zoom:hover .card-body {
  opacity: 1; 
  transform: translateY(0); /* Slide it up into view */
}

.card-title{
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 5px;
}

.card-text{
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  padding: 5px;
}

#search-bar {
  width: 20px;
  text-decoration: #222831;
}
#search-bar::placeholder {
  color: white; /* Change placeholder text color to white */
}

.form-control.rounded {
  width: 20px;
}

.header-line {
  width: 50px; /* Adjust the width to your preference */
  height: 2px; /* Thickness of the line */
  background-color: white; /* Color of the line */
  margin: 0 auto 40px auto; /* Centers the line and adds margin below */
}
/* General link styling */
a.player-link {
  text-decoration: none;
  color: inherit; /* Inherit color from parent elements */
  display: block; /* Ensure the whole card-body is clickable */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

/* Card styling */
.card-body {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.card-title {
  font-size: 1.2rem;
  color: #333;
  margin: 0;
}

.card-text {
  color: #666;
  font-size: 0.9rem;
}

/* Hover effect for smoothness */
a.player-link:hover .card-body {
  background-color: #e0e0e0;
  transform: translateY(-5px); /* Slight lift effect */
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hover effect on title and text */
a.player-link:hover .card-title,
a.player-link:hover .card-text {
  color: #55A630; /* Change text color smoothly */
}

