.custom-bg {
  background-color: #d1c3e6;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.custom-span {
  font-size: 35px;
  font-weight: 600;
  color: #7b28ae;
  position: relative;
  margin-bottom: 80px;
}

.custom-span::after {
  position: absolute;
  content: " ";
  width: 50%;
  height: 4px;
  left: 50%;
  bottom: -5px;
  background-image: linear-gradient(to right, #7b28ae, #ba12aa);
  transform: translateX(-50%);
}

.img-gallery {
  padding-top: 10px;
  padding-bottom: 60px;
  width: 80%;
  margin: 100px auto 50px;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
}

.img-gallery img {
  max-width: 250px;
  max-height: 250px;
  cursor: pointer;
}

.img-gallery img:hover {
  transform: scale(1.1);
  border-radius: 20px;
  box-shadow: 0 32px 75px rgba(68, 77, 136, 0.2);
}

.square-image {
  width: 250px;
  height: 250px;
  object-fit: cover;
}

.full-img {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.full-img img {
  width: 90%;
  max-width: 800px;
  max-height: 300px;
}

.full-img span {
  position: absolute;
  top: 15%;
  right: 5%;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.full-img .bi {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 2em;
  color: white;
}

.galerie-3 {
  padding-bottom: 100px;
}

.full-img .bi-arrow-left {
  left: 25px;
}

.full-img .bi-arrow-right {
  right: 25px;
}

@media (max-width: 1250px) {
  .img-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .img-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .full-img .bi {
    top: 95%;
  }

  .full-img .bi-arrow-left {
    left: 100px;
  }

  .full-img .bi-arrow-right {
    right: 100px;
  }

  .img-gallery {
    grid-template-columns: repeat(1, 1fr);
    justify-content: center;
    justify-items: center;
  }
}

/* Footer */

.footer-ribbon {
  position: relative;
  background-color: #fff;
  height: 0px;
}

.ribbon-wrapper {
  position: absolute;
  top: 0%;
  left: 30%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.ribbon {
  position: relative;
  background-color: #7b28ae;
  padding: 15px 40px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  display: inline-block;
  text-align: center;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.ribbon-text {
  font-family: "Verdana", sans-serif;
  font-style: italic;
  color: #fff;
  letter-spacing: 1px;
}

.ribbon-shadow {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  height: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
  .ribbon-wrapper {
    left: 50%;
  }
  .ribbon {
    font-size: 15px;
  }
}
