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

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}
header{
  border-bottom: 2px solid black;
}

h1, h2, h3, p {
  margin-bottom: 1rem;
}




   /* Hamburger Menu */
   .hamburger {
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    margin-top:10 ;
  }
  .nav{
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-top: 10px;
  
  }
  .hamburger .line {
    width: 35px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
  
  }
  .hamburger.active span:nth-child(1){
    position: absolute;
    transform: rotate(45deg);
  }
  .hamburger.active span:nth-child(2){
    opacity: 0;
  }
  .hamburger.active span:nth-child(3){
    position: absolute;
    transform: rotate(-45deg);
  }
  .off-screen-menu{
    background-color:rgb(133, 203, 203);
    backdrop-filter: black;
    height: 100vh;
    width: 100%;
    max-width:450px;
    position: fixed;
    top: 0;
    gap: 10px;
    right: -450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    transition: 0.3s ease;
  }
  .off-screen-menu a{
    text-decoration: none;
    list-style: none;
    color: black;
    font-weight: 500;
  }
  .off-screen-menu ul li{
    list-style: none;
  }
  .off-screen-menu.active{
    right: 0;
  }

@media (max-width: 600px) {
  .social-icons img {
    width: 20px; 
    height: 20px;
  }
}


@media (min-width: 601px) and (max-width: 900px) {
  .social-icons img {
    width: 24px; 
    height: 24px;
  }
}

@media (min-width: 901px) {
  .social-icons img {
    width: 32px; 
    height: 32px;
  }
}


/* gallery.css */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 
header {
  background-color: #333;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.nav {
  display: none;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

.navbar a {
  text-decoration: none;
  color: white;
  font-weight: bold;
} */

.gallery-container {
  padding: 20px;
  text-align: center;
}

.gallery-container h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.gallery-container p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.5s ease-in-out;
  animation: fadeIn 1.5s ease-in-out;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.1);
  animation: bounce 1s ease-in-out infinite;
}
/* gallery.css */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.gallery-container {
  padding: 20px;
  text-align: center;
}

.gallery-container h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.gallery-container p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 150px; /* Ensures equal height */
  object-fit: cover; /* Ensures images fill the container without distortion */
  border-radius: 10px;
  transition: transform 0.5s ease-in-out;
  animation: fadeIn 1.5s ease-in-out;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.1);
  animation: bounce 1s ease-in-out infinite;
}

/* Keyframe animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}


/* Keyframe animations */
/* @keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
} */

/* Responsive Design */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    display: none;
  }

  .navbar ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .line {
  background-color: white;
  height: 3px;
  width: 25px;
  margin: 4px;
}
