/* global styles */

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: var(--bs-body-line-height);
  color: black;
  background-color: white;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Addtional styles */

.bg-design {
  background: url('../images/bg-design1.png') no-repeat center center;
}

.cursor-pointer {
  cursor: pointer;
}

.form-check-label {
  cursor: pointer;
}

.form-check-input {
  cursor: pointer;
  width: 1.5em;
  height: 1.5em;
  border-color: gray;
}

.navbar-logo {
  height: 4.7rem;
}

.text-secondary-dark {
  color: #464646;
}

.nm-1 {
  margin-top: -130px;
}

.nm-2 {
  margin-left: -20px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.text-gradient {
  background: linear-gradient(to right, #56b327, #ca750c, #56b327);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textAnim 2s ease-in-out infinite alternate;
}

@keyframes textAnim {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.bg-light-warning {
  background: #fef6ed;
}

.bottom-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 60%);
}

.navbar-nav .nav-link {
  color: black;
}

.card-tabs {
  border: none;
  gap: 15px;
}

.card-tabs .nav-link {
  background: transparent;
  font-weight: 500;
  padding-bottom: 5px;
  border: none;
  border-bottom: 2px solid var(--bs-primary);
  padding-right: 5px;
  padding-left: 5px;
}

.card-tabs .nav-link.active {
  color: var(--bs-warning);
  border-bottom: 2px solid var(--bs-warning);
}

.donate-tabs .nav-link {
  border-radius: 0 !important;
  border: none !important;
  padding-top: 12px;
  padding-bottom: 12px;
}

.donate-tabs.light-nav .nav-link {
  background: var(--bs-light);
}

.donate-tabs .nav-link.active {
  color: white;
  background: var(--bs-primary);
}

.bg-hero {
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nav-link {
  font-weight: 500;
}

.font-bree {
  font-family: 'Bree Serif', serif;
}

.header-shadow {
  box-shadow: 0 5px 10px rgba(0, 149, 194, 0.15);
}

.btn-primary,
.btn-warning {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
}

/* custom classes */

.smaller {
  font-size: 0.75rem;
}

.mini {
  font-size: 0.65rem;
}

.micro {
  font-size: 0.5rem;
}

.reset-input {
  border: none;
  outline: none;
  background-color: transparent;
  padding: 0;
  color: inherit;
}

.reset-input::placeholder {
  color: inherit;
  opacity: 0.5;
}

.filter-btn {
  border: 1px solid gray;
}

.filter-btn.active {
  background: var(--bs-primary);
  color: var(--bs-white);
}

.slideUP {
  animation: slideUP 0.5s ease-in-out;
}

.filter-box {
  display: flex;
}

/* media classes */

@media (max-width: 1200px) {

  /* large screens */
  .navbar-logo {
    height: 3rem;
  }

}

@media (max-width: 992px) {

  /* medium screens */
  .md-small {
    font-size: 0.8rem;
  }

  .card-tabs .nav-link {
    font-size: 0.8rem;
  }

  .bg-design,
  .md-bg {
    background: transparent !important;
  }

  .filter-box {
    display: none;
    box-shadow: 0 -10px 10px rgba(138, 157, 255, 0.3);
    background: white;
    width: 100%;
    height: 70%;
    overflow: auto;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1000;
  }

}

@media (max-width: 768px) {

  /* small screens */
  .nm-1 {
    margin-top: -50px;
  }

  .nm-2 {
    margin-left: inherit;
  }

}

@media (max-width: 576px) {
  /* extra small screens */
}