@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");

body {
  margin: 0;
  font-family: "Titillium Web", sans-serif;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/banio-v3.webp");
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  transform: scale(1.05);
  z-index: -1;
}

.pop-up {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45vw;
  padding: 20px;
  background: rgba(255, 255, 255, 0.411);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
  height: auto;
  overflow: auto;
  font-family: "Titillium Web", sans-serif;

  h1 {
    font-size: 40px;
    color: rgba(41, 37, 141, 1);
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    text-align: center;
    padding: 10px;
    margin-bottom: 15px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1;
  }

  .text-center {
    text-align: center;
  }

  .popup-btn {
    display: inline-block;
    color: rgba(41, 37, 141, 1);
    padding: 10px 70px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    text-decoration: none;
    margin-top: 15px;
    font-weight: bold;
    font-size: 24px;
    border: 2px solid rgba(41, 37, 141, 1);
  }

  @media screen and (max-width: 1300px) {
    width: 90vw;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media screen and (max-width: 767px) {
  .pop-up {
    width: 90%;
    box-sizing: border-box;
  }
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px;
}

.card {
  position: relative;
  width: 220px;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.card-title,
.card-icon {
  z-index: 2;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  position: absolute;
  top: 0;
  width: 100%;
  background-color: rgba(152, 221, 62, 1);
  color: white;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: clamp(1.375rem, 1.257rem + 0.316vw, 1.75rem);
}

.card-icon {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(152, 221, 62, 1);
  color: white;
  padding: 8px;
  border-radius: 8px;
  font-size: 18px;
}