@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

.container {
  text-align: center;
  width: 90%;
  max-width: 800px;
  padding: 20px;
  background: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  margin-top: 20px;
}

h1 {
  margin: 10px 0 20px;
  font-size: 2rem;
}

.gallery {
  column-count: 3;
  column-gap: 15px;
  margin-top: 40px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  break-inside: avoid;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-decoration: none;
  background: #2a2a2a;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s;
}

.back-link:hover {
  background: #3a3a3a;
}

.back-link i {
  margin-right: 8px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #1e1e1e;
  margin: auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 70%;
  text-align: center;
}

.modal-content img {
  max-width: 40%;
  border-radius: 5px;
  margin-bottom: 15px;
  margin-left: 14px;
}

.modal-content p {
  color: #b0b0b0;
  max-width: 50%;
  margin: 0 auto;
}

.close {
  color: #e0e0e0;
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

.close:hover {
  color: #ff5252;
}