.projects-section {
  margin-top: 100px;
  padding-top: 60px;
  user-select: none;
}
.projects-section .images-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 60px;
  padding: 0 35px;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.projects-section .images-container .box {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 0 8px var(--main-color);
  padding: 4px;
  /* border: 3px solid white; */
}
.projects-section .images-container .box:hover .caption {
  bottom: 0;
}
.projects-section .images-container .box:hover img {
  transform: rotate(3deg) scale(1.1);
}

@media (min-width: 500px) {
  .projects-section .images-container .box {
    max-width: 220px;
    /* flex-basis: 50%; */
  }
  .projects-section .images-container {
    padding-inline: 20px;
    column-gap: 20px;
    justify-content: space-evenly;
    row-gap: 40px;
  }
  .projects-section .images-container .box:hover .caption {
    padding: 8px;
  }
}

/* @media (min-width: 768px) {
  .projects-section .images-container .box {
    flex-basis: 50%;
  }
}
@media (min-width: 1199px) {
  .projects-section .images-container .box {
    flex-basis: 25%;
  }
} */
.projects-section .images-container .box img {
  max-width: 100%;
  transition: var(--main-transition);
}
.projects-section .images-container .box .caption {
  position: absolute;
  left: 0;
  padding: 20px;
  background-color: var(--background-color);
  width: 100%;
  transition: var(--main-transition);
  bottom: -100%;
}
.projects-section .images-container .box .caption h4 {
  font-weight: bold;
  margin-bottom: 10px;
  transition: var(--main-transition);
  cursor: default;
}
.projects-section .images-container .box .caption h4:hover {
  color: var(--main-color);
  text-shadow: 0 0 8px var(--main-color);
}
.projects-section .images-container .box .details-holder {
  display: flex;
  justify-content: space-between;
}

.projects-section .images-container .box .details-holder a {
  color: var(--main-color);
  transition: var(--main-transition);
}
.projects-section .images-container .box .details-holder a:hover {
  text-shadow: 0 0 8px var(--main-color);
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* From Uiverse.io by Navarog21 */
.btn-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.show-more-btn {
  width: 10em;
  position: relative;
  height: 3.5em;
  border: 3px ridge var(--main-color);
  outline: none;
  background-color: transparent;
  color: var(--color-white);
  transition: 1s;
  border-radius: 0.3em;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin: auto;
}

.show-more-btn::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 3%;
  width: 95%;
  height: 40%;
  background-color: var(--background-color);
  transition: 0.5s;
  transform-origin: center;
}

.show-more-btn::before {
  content: "";
  transform-origin: center;
  position: absolute;
  top: 80%;
  left: 3%;
  width: 95%;
  height: 40%;
  background-color: var(--background-color);
  transition: 0.5s;
}

.show-more-btn:hover::before,
.show-more-btn:hover::after {
  transform: scale(0);
}

.show-more-btn:hover {
  box-shadow: inset 0px 0px 25px var(--main-color-fade);
}
