
.gallery-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
}

.gallery-container h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: aliceblue;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #f0f0f0;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}

.gallery-item img:hover {
  filter: brightness(1.1);
}


@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .gallery-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .gallery-item img {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-container {
    padding: 1rem;
  }

  .gallery-item img {
    aspect-ratio: 1 / 1;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
  background-image: url(https://nebula.wsimg.com/b2cdfcbf923d624b6ea1cc4987cf0c10?AccessKeyId=7948507CADA3976E4232&alloworigin=1);
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  color: #fff;
  padding: 1rem;
}

nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
}

nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #f9c23c;
}


.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

div:hover {
  transform: translateY(-5px);
}

footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

label.required::after {
  content: " *";
  color: red;
}

input, textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 0.7rem;
  background-color: #f9c23c;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #ffb300;
}


@media (max-width: 410px) {
  header, nav ul {
    flex-direction: column;
    text-align: center;
  }
  main {
    grid-template-columns: 1fr;
  }
}
a{
  color: cornflowerblue;
}
a:hover{
  color: orange;
}
img, video{
  border-radius: 10px;
}
img{
    height: fit-content;
}


@media (max-width: 410px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .gallery-item img { aspect-ratio: 4 / 3; }
}

@media (min-width: 411px) and (max-width: 1023px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gallery-item img { aspect-ratio: 4 / 3; }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .gallery-item img { aspect-ratio: 1 / 1; }
}
*{
    color: aliceblue;
}