* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: #333;
  line-height: 1.6;
}

:root {
    --bg-color: #F5F5F5;
    --second-bg-colour: #E0E0E0;
    --text-colour: #333333;
    --main-colour: #0077BE;
}


header {
  background-color: var(--second-bg-colour);
  color: var(--text-colour);
  padding: 20px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 2rem;
  font-weight: 300;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.image-item {
  margin-bottom: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.image-item:hover img {
  transform: scale(1.02);
}

/* Responsive design for tablets */
@media screen and (max-width: 1024px) {
  .gallery-container {
    max-width: 90%;
    padding: 15px;
  }
  
  header h1 {
    font-size: 1.8rem;
  }
  
  .image-item {
    margin-bottom: 25px;
  }
}

/* Responsive design for mobile devices */
@media screen and (max-width: 768px) {
  .gallery-container {
    max-width: 95%;
    padding: 10px;
  }
  
  header {
    padding: 15px 0;
  }
  
  header h1 {
    font-size: 1.5rem;
  }
  
  .image-item {
    margin-bottom: 20px;
    border-radius: 6px;
  }
  
  .image-item:hover {
    transform: none;
  }
  
  .image-item:hover img {
    transform: none;
  }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
  .gallery-container {
    padding: 5px;
  }
  
  header h1 {
    font-size: 1.3rem;
  }
  
  .image-item {
    margin-bottom: 15px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

