@media (min-width: 1201px) {
  img {
    width: 20%;
  }
}
@media (max-width: 1200px) {
  img {
    width: 30%;
  }
}
@media (max-width: 800px) {
  img {
    width: 40%;
  }
}

body {
  align-items: center;
  height: 100vh;
  margin: 0;
  background: #f0f0f0;
  font-family: Arial, sans-serif;
}

img {
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

img:hover {
  transform: perspective(1000px) rotateX(var(--upDown, 0deg))
    rotateY(var(--leftRight, 0deg));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-container,
.filtered-image-container {
  min-height: 100vh;
  box-sizing: border-box;
  padding: 16px;
  text-align: center;
  padding-top: 50px;
}

.filtered-image-container {
  display: none;
}

.reset {
  animation: returnToOriginal 0.5s forwards;
}

nav {
  display: flex;
  width: 100%;
  justify-content: center;
}

@keyframes returnToOriginal {
  0% {
    translate: var(--currentPosX, 0) var(--currentPosY, 0);
  }
  100% {
    translate: 0 0;
  }
}

.modal.fade.modal-static .modal-dialog-centered {
  transform: none;
}

.modal-header {
  border-bottom: none;
}

.modal-content {
  background-color: transparent;
  border: none;
}

.modal-body img {
  width: 100%;
}

.modal-footer {
  border-top: none;
}

.flipped.active {
  animation: flip 0.37s linear;
}

.flipReverse.active {
  animation: flipReverse 0.37s linear;
}

@keyframes flip {
  0% {
    transform: perspective(1000px) rotateY(0deg);
  }
  100% {
    transform: perspective(1000px) rotateY(-90deg);
  }
}

@keyframes flipReverse {
  0% {
    transform: perspective(1000px) rotateY(90deg);
  }
  100% {
    transform: perspective(1000px) rotateY(0);
  }
}

.scroll-down {
  transform: perspective(1000px) rotateX(-25deg) rotateY(0deg);
}

.scroll-up {
  transform: perspective(1000px) rotateX(25deg) rotateY(0deg);
}

.dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
}

.nameList {
  font-family: "Brush Script MT", cursive;
  height: fit-content;
  margin-bottom: 0;
  rotate: -45deg;
  text-align: center;
}

.nameHolder {
  background-color: #e7eee6;
  justify-content: center;
  height: 397px;
  align-items: center;
}
