:root {
  --main-color: rgb(82, 1, 175);
  --main-color-opacity: rgba(82, 1, 175, 0.671);
  --second-color: #44b678;
}

@font-face {
  font-family: "KALAME";
  src: url("../font/montserrat/Montserrat-Regular.ttf") format("truetype");
  font-weight: normal;
}

body {
  font-family: "KALAME";
}

a {
  text-decoration: none;
}

.offcanvas-body button:hover {
  color: var(--second-color) !important;
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 20%;
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 5px;
}

.pets-img {
  /* filter: blur(2px);
  -webkit-filter: blur(2px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; */
  height: 85vh;
}

.bg-text {
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.295); /* Black w/opacity/see-through */
  color: white;
  font-weight: bold;
  border: 2px solid #f1f1f1;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: auto;
  padding: 20px;
  text-align: center;
}

@media screen and (max-width: 670px) {
  .bg-text {
    font-size: 11px;
    font-weight: normal;
  }

  .pets-img {
    height: 50vh;
  }

  .login-img {
    height: 70vh !important;
  }
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  height: auto !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-zoom {
  transition: transform 0.3s;
}

.gallery-zoom:hover {
  -ms-transform: scale(1.1); /* IE 9 */
  -webkit-transform: scale(1.1); /* Safari 3-8 */
  transform: scale(1.1);
  overflow: hidden;
}

.download-category {
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

.download-category:hover {
  color: white;
  background-color: var(--main-color);
  transition: all 0.5s;
}

.download-category.active {
  background-color: var(--main-color);
  color: #fff;
}

.share-btn {
  color: var(--main-color);
  background-color: #cbcbcb;
  border: none;
}

/* header search input */
.wrapper {
  margin: auto;
}

.wrapper .search-input {
  border-radius: 5px;
  background-color: #fff;
  height: 44px;
  position: relative;
}

.search-input input {
  border: 1px solid gray;
  height: 44px;
}

.search-input.active input {
  border-radius: 5px 5px 0 0;
}

.search-input .autocom-box {
  padding: 0;
  opacity: 0;
  pointer-events: none;
  max-height: 280px;
  overflow-y: auto;
  background-color: #fff;
  z-index: 999;
  position: relative;
  border: 1px solid gray;
  border-radius: 0 0 10px 10px;
}

.search-input.active .autocom-box {
  padding: 10px 8px;
  opacity: 1;
  pointer-events: auto;
}

.autocom-box li {
  list-style: none;
  padding: 8px 12px;
  display: none;
  width: 100%;
  cursor: default;
  border-radius: 3px;
  color: #000;
}

.search-input.active .autocom-box li {
  display: block;
}

.autocom-box li:hover {
  background: #efefef;
}
/* header search input */

.admin-iamges-box {
  background-color: #ededed;
  border: 1px solid #c4c4c4;
  border-radius: 10px;
}

.upload-pic {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
}

.uploaded-img {
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  border-radius: 50%;
  width: 200px;
  height: 200px;
}

@media screen and (max-width: 575px) {
  .footer-hr {
    border-top: 1px solid white !important;
  }

  .uploaded-img {
    width: 120px;
    height: 120px;
  }

  .pets-img {
    height: 40vh;
  }
}

.swiper-button-next,
.swiper-button-prev {
  background-color: white;
  padding: 18px;
  border-radius: 5px;
  color: #000 !important;
  width: 30px !important;
  height: 30px !important;
}

.swiper-button-next {
  right: 5px !important;
}

.swiper-button-prev {
  left: 5px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 25px !important;
}

/* ------------ pagination ------------ */

.pages {
  display: flex;
  flex-direction: row;
}

.page.active {
  background-color: var(--main-color);
  color: #fff !important;
}

.page {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.5s;
}

.page:hover {
  background-color: var(--main-color);
  color: #fff;
}

.page.active {
  background-color: var(--main-color);
  color: #fff !important;
}

.btn_page {
  background-color: #fff;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
}

.next,
.prev {
  border: none;
}

.btn_page:hover {
  background-color: var(--main-color);
  color: #fff;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c4c4c4;
  width: fit-content;
  border-radius: 20px;
  padding: 7px;
}

.pagination .pages a {
  color: #000;
  text-decoration: none;
}

.pagination .pages a:hover {
  color: #fff;
}

.btn_page {
  background-color: #fff;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
}

.btn_page:hover {
  background-color: var(--main-color);
  color: #fff;
}
/* ------------ pagination ------------ */

.accordion-button {
  padding: 0;
  margin: 5vh;
  padding-right: 0;
  width: 80%;
}

aside ul a li:hover,
aside .accordion a:hover {
  color: #0d6efd !important;
}
