*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial, sans-serif;
  background:#111;
  color:white;
  text-align:center;
  padding:20px;
}

h1{
  margin-bottom:20px;
}

/* Buttons */

.buttons{
  margin-bottom:20px;
}

.buttons button{
  padding:10px 20px;
  margin:5px;
  border:none;
  border-radius:8px;
  background:#333;
  color:white;
  cursor:pointer;
  transition:0.3s;
}

.buttons button:hover{
  background:#555;
}

/* Gallery */

.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:15px;
}

.gallery img{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  transition:0.4s;
}

.gallery img:hover{
  transform:scale(1.05);
  filter:brightness(80%);
}

/* Lightbox */

.lightbox{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  display:none;
  justify-content:center;
  align-items:center;
}

.lightbox img{
  max-width:80%;
  max-height:80%;
  border-radius:10px;
}

.close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:40px;
  cursor:pointer;
}

.prev,
.next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:none;
  border:none;
  color:white;
  font-size:40px;
  cursor:pointer;
}

.prev{
  left:30px;
}

.next{
  right:30px;
}