* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f7f7f7;
  color: #333;
}

header {
  background: #FFFFFF;
  color: #00004C;
  padding: 20px;
  text-align: center;
  font-size: 0.75em;
}

.navbar {
  background-color: #3EA7E3;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.navbar a {
  color: white;
  margin: 0 20px;
  text-decoration: none;
  font-weight: bold;
}

.navbar a:hover {
  text-decoration: underline;
}

.top-buttons {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  gap: 15px;
}

.top-buttons button {
  padding: 10px 20px;
  font-size: 1em;
  background-color: #4e73df;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.top-buttons button:hover {
  background-color: #2e59d9;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  padding: 20px;
}

.gallery-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.title {
  padding: 10px;
  text-align: center;
  font-weight: bold;
  background: #e9ecef;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-img {
  max-width: 90%;
  max-height: 80%;
  margin-bottom: 10px;
}

.modal-title {
  color: white;
  font-size: 1.5em;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

footer {
  background-color: #3EA7E3;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}