html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  background-color: black;
  color: white;
  font-family: "MS UI Gothic", "Times New Roman", Times, serif;
  font-size: 12px;
  vertical-align: middle;
  animation: fade2 0.5s ease 0s 1 normal forwards;
}

main {
  flex: 1;
  max-width: 960px;
}

footer {
  margin-top: auto;
}

.text-center {
  text-align: center;
}

.p-1 {
  padding: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-100{
  width: 100%;
}

#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding: 2rem;
}

#gallery a {
  display: block;
  text-decoration: none;
}

#gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s;
}

#gallery img:hover {
  transform: scale(1.05);
}

@keyframes fade2 {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}
