.gallery img {
display: flex;
flex-wrap: nowrap;
justify-content: center;
gap: 10px;
max-width: 350px;
max-height:200px;
margin: 10px;
cursor: pointer;
border-radius: 20px;
border-style:solid;
border-width:25px
border-color:black;
box-shadow: 6px 6px 10px #561A0B;
transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.35);
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  animation: fadeIn 3.3s;
}
.lightbox img {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 30px;
border-style:outset;
border-width:20px;
border-color:white;
  animation: popUp 0.14s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popUp {
  0% { transform: scale(0.7); opacity: 0; }

  40% { transform: scale(1.05); opacity: .01; }
 60% { transform: scale(1.05); opacity: .001; }
 80% { transform: scale(1.05); opacity: .0001; }
  100% { transform: scale(1); }
}

body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}

.flex-container{
display:flex;
}
.flex-container > div{
margin:auto;
flex-wrap:nowrap;
}
header {
  text-align: center;
  padding: 2rem 0 1rem 0;
//background: #222;
background:#020f33;
  color: #fff;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 2rem;
}

.gallery-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s;
  width: 200px;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.caption {
  padding: 0.5rem;
  text-align: center;
  font-size: 1rem;
  color: #333;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  margin: 5% auto;
  display: block;
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 10px;
}

#caption {
  text-align: center;
  color: #fff;
  margin-top: 10px;
  font-size: 1.2rem;
}

.close {
  position: absolute;
  top: 90px;
  right: 350px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
