@import url("https://fonts.googleapis.com/css2?family=Questrial&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Questrial&family=Questrial:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Questrial:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

.card {
  flex: 0 0 auto;
  /* Ensures cards do not grow or shrink */
  width: 342px;
  margin-right: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  height: 443px;
  display: flex;
  flex-direction: column;
  margin: 10px;
  background: rgba(217, 217, 217, 0.2);
  border: none;
  border-radius: 10px;
}

.card-dettails h3 {
  font-size: 36px !important;
  font-weight: 400;
  text-align: left;
  margin-top: 10px;
}

.card-dettails p {
  font-size: 24px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
}

.cards img {
  width: 280px;
  height: 232px;
}

.card-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.card-slider {
  overflow: hidden;
  width: 100%;
  margin: 40px 0;
}

.card-container {
  display: flex;
  transition: transform 0.5s ease;
  /* Smooth slide transition */
}

.card img {
  width: 280px;
  height: 60%;
  display: block;
  padding: 15px 20px 0 20px;
  text-decoration: none; /* Remove underline from the entire link */
  border-radius: 30px;
  padding-left: 0px;
  padding-right: 0px;
  margin: auto;
  object-fit: cover;
}

.card-content {
  padding: 16px;
  margin-top: 30px;
}

.slider-button.left {
  left: 0;
}

.slider-button.right {
  right: 0;
}

.slider-container-buttons {
  position: relative;
  padding: 10px 100px;
  margin-top: -30px;
}

.card-dettails h3 {
  font-size: 36px !important;
  font-weight: 400;
  text-align: left;
  font-family: "Regular", sans-serif;
}

.card-dettails p {
  font-size: 24px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(148, 195, 218);
  color: white;
  border: none;
  padding: 5px;
  cursor: pointer;
  z-index: 1000;
  border-radius: 50px;
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 15px;
  width: 80px;
  height: 78px;
}

.slider-button.left {
  left: 0;
}

.slider-button.right {
  right: 0;
}

.slider-container-buttons {
  position: relative;
  padding: 10px 100px;
}

.card-content h3 {
  font-family: "Questrial", sans-serif;
  text-decoration: none;
  font-size: 25px;
  line-height: 22px;
}
.card-content p {
  font-family: "Questrial", sans-serif;
  font-size: 20px;
  line-height: 26px;
}
a.card h3,
a.card p {
  text-decoration: none; /* Explicitly remove underline from h3 and p */
}
a.card {
  text-decoration: none; /* Remove underline from the entire link */
  color: inherit; /* Ensure text color remains consistent */
}

.card > div {
  width: 100%;
  height: 100%;
}

.artikuj-cards {
  overflow: hidden;
  width: 100%;
  margin: 79px 0;
}

@media (max-width: 768.98px) {
  .card img {
    /* width: 95%;
    height: 50%;
    padding: 15px 20px 0 20px !important;
    margin: auto; */

    height: 35%;
    padding: 15px 20px 0 20px !important;
    margin: auto;
  }
  .slider-button.right {
    right: 0;
    width: 45px;
    height: 45px;
  }
  .slider-button.left {
    left: 0;
    width: 45px;
    height: 45px;
  }

  .card-content {
    margin-top: 15px;
  }
  .card > div {
    height: 80%;
  }

  a.card {
    height: 80%;
  }

  .card-slider-container {
    width: 300px;
    margin-left: -47px;
  }

  a.card p {
    width: 90%;
  }
}

@media (max-width: 400px) {
  .card-slider-container {
    width: 270px;
    margin-left: -53px;
  }
}

@media (min-width: 452px) and (max-width: 769px) {
  .card-slider-container {
    margin-left: -15px;
  }
}
