/* filepath: e:\mipPonjave_new\mip-ponjave\src\styles\global.css */
@import "https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/css/bootstrap.min.css";
/* Add your custom global styles below */
/* General styles */
html,
body {
  height: 100%;
  font-family: 'Roboto', sans-serif;
}

#page-content {
  flex: 1 0 auto;
  overflow-x: hidden;
}

a {
  cursor: pointer;
  color: white;
}

.noborder:hover {
  text-decoration: none;
}

.invsible {
  opacity: 0;
}

.navbar-nav .nav-link {
  color: white;
}

.bg-lblue {
  background: #29abe2;
}

.active {
  background: #1b1464;
}

/* Cards layout */
@media (min-width: 768px) {
  #cards .col-md-3 {
    width: 30%;
  }
  .brands_slider_container {
    padding-left: 70px;
    padding-right: 70px;
  }
}

/* Image fill */
.fill {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.fill img {
  flex-shrink: 0;
  min-width: 100%;
  min-height: 100%;
}


/* Brands section */
.brands {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}

.brands_slider_container {
  border: solid 1px #e8e8e8;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.brands_slider {
  height: 100%;
  margin-top: 30px;
}

.brands_item {
  height: 100%;
}

.brands_item img {
  max-width: 100%;
}

.brands_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px;
  cursor: pointer;
}

.brands_nav i {
  color: #e5e5e5;
  transition: all 200ms ease;
}

.brands_nav:hover i {
  color: #676767;
}

.brands_prev {
  left: 40px;
}

.brands_next {
  right: 40px;
}

/* Footer styles */
.shfooter .collapse {
  display: inherit;
}

      /* Automatically resize images inside swiper-slide */
    swiper-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* Ensures the image covers the slide while maintaining aspect ratio */
    }

  swiper-slide img {
    height: 100%;
    object-fit: cover;
  }


@media (max-width: 767px) {
  .shfooter ul {
    margin-bottom: 0;
  }

  .shfooter .collapse {
    display: none;
  }

  .shfooter .collapse.show {
    display: block;
  }

  .shfooter .title .fa-angle-up,
  .shfooter .title[aria-expanded='true'] .fa-angle-down {
    display: none;
  }

  .shfooter .title[aria-expanded='true'] .fa-angle-up {
    display: block;
  }

  .shfooter .navbar-toggler {
    display: inline-block;
    padding: 0;
  }
}

/* Utility classes */
.bg-primary {
  background-color: #29abe2 !important;
}

.bgc-secondary {
  background-color: #1b1464 !important;
}

.resize {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.25rem;
}

/* Animation */
.fa-angle-double-right {
  animation: rightanime 1s linear infinite;
}

.fa-angle-double-left {
  animation: leftanime 1s linear infinite;
}

.pb-4rem {
  padding-bottom: 4rem;
}


@keyframes rightanime {
  50% {
    transform: translateX(10px);
    opacity: 0.5;
  }
  100% {
    transform: translateX(10px);
    opacity: 0;
  }
}

@keyframes leftanime {
  50% {
    transform: translateX(-10px);
    opacity: 0.5;
  }
  100% {
    transform: translateX(-10px);
    opacity: 0;
  }
}
