@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:300,400,500,700');

body {
  overflow-x: hidden;
  font-family: 'IBM Plex Sans', sans-serif;
  color: #505962;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}

/* navbar viver */
.navbar .navbar-nav .nav-link:hover {
  background-color: #7a49a5;
  color: #fff;
}

.carousel-inner img {
  width: 100%;
  height: 100%;

}

.card:hover {
  transform: scale(1.02);
  background-color: #0c2872;
  color: aliceblue;
  transition: all 0.8s;
}


.card {
  box-shadow: 0 4px 6px 0 rgba(22, 22, 26, 0.18);
  border-radius: 5px;
  border: 10px;
  padding: 0.5rem;
  transition: transform 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card h4 {
  color: #7a49a5;

}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* rozciaganie cards do tej samej wysokosci */

#karty>div {
  display: flex;
  align-items: stretch;
}


.form-control::placeholder {
  color: rgba(12, 40, 114, 0.5);
}

/* gallery
.gallery-block {
  padding-bottom: 60px;
  padding-top: 60px;
} */

.gallery-block .heading {
  margin-bottom: 50px;
  text-align: center;
}

.gallery-block.compact-gallery .item {
  overflow: hidden;
  margin: 0;
  /* Remove any margin between items */
  padding: 0;
  /* Ensure no internal padding */
  position: relative;
  /* Keep items relative for hover effects */
}

.gallery-block.compact-gallery .item .image {
  transition: 0.8s ease;
  width: 100%;
  /* Ensure image takes full width of the item */
  height: auto;
  /* Maintain image aspect ratio */
}

.gallery-block.compact-gallery .item .info {
  position: relative;
  display: inline-block;
}

.gallery-block.compact-gallery .item .description {
  display: grid;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  padding: 10px;
  font-size: 17px;
  line-height: 18px;
  width: 100%;
  opacity: 1;
  color: #fff;
  transition: 0.8s ease;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.39));
}

.gallery-block.compact-gallery .item .description .description-heading {
  font-size: 1em;
  font-weight: bold;
}

.gallery-block.compact-gallery .item .description .description-body {
  font-size: 0.8em;
  margin-top: 10px;
  font-weight: 300;
}

/* Hover zoom effect */
.gallery-block .zoom-on-hover {
  overflow: hidden;
  /* Ensure images don't overflow the container */
}

.gallery-block .zoom-on-hover .image {
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.gallery-block .zoom-on-hover:hover .image {
  transform: scale(1.3);
  opacity: 0.7;
  cursor: pointer;
}

/* Ensuring no space between items */
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.row.no-gutters>[class^="col-"] {
  padding-right: 0;
  padding-left: 0;
}


footer {
  background-color: #2B3035;
  background-size: cover;
  color: white;
}

footer .row {
  padding: 1.5rem 0 4rem;
  line-height: 2rem;
}

footer img {
  margin: 1.5rem 0;
}

footer h3 {
  margin: 1.5rem 0;
}

/* zaufali nam img */
@media (max-width: 576px) {
  .custom-img {
    width: 80%;
    padding-left: 50px;


  }
}


/*-- Extra Bootstrap Column Padding --*/

[class*="col-"] {
  padding: 1rem;
}