body {
    background-color: plum;
    font-family: 'Quicksand', sans-serif;
    max-width: 100%;
    overflow-x: hidden;  
}

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

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 10px rgba(255, 42, 138, 0.5),
    0 0 25px rgba(185, 79, 227, 0.3);
}

.gallery {
  text-align: center;
  color: rgb(255, 253, 254);
    font-family: 'Confortaa', sans-serif;  
}

.gallery h2 {
  margin-bottom: 20px;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 200px;
  }
}

.polaroid {
  background: white;
  padding: 10px 10px 20px 10px;
    color: rgb(238, 62, 91);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-2deg);
  transition: 0.3s;
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow:
    0 0 10px rgba(255, 42, 138, 0.4),
    0 0 25px rgba(185, 79, 227, 0.3);
}

.navbar nav {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(215, 101, 219, 0.6);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-radius: 999px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: 0;
    padding-right: 60px;
    box-sizing: border-box;
    animation: breatheGlow 3s ease-in-out infinite;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.navbar nav a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #821faa;
    transition: 0.3s;
    box-shadow: 0 0 0 rgba(185, 79, 227, 0);
    font-family: 'Quicksand', sans-serif;
    
}

.navbar nav a::before {
    content:"";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(185, 79, 227, 0.5),
        transparent
    );
    transition: 0.5s;
}

.navbar nav a:hover::before {
    left: 100%;
}

.navbar nav a:hover {
    color: #b94fe3;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(185, 79, 227, 0.4);
    transform: translateY(-2px);
    animation: ledPulse 1.2s infinite;
    background: rgba(185, 79, 227, 0.15);
    transform: translateY(-2px);
}

@keyframes ledPulse {
    0% {
        box-shadow: 0 0 5px rgba(226, 68, 145, 0.703);
    }
    50% {
        box-shadow: 0 0 15px rgba(231, 53, 162, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(238, 5, 145, 0.766);
    }
}

@keyframes breatheGlow {
    0% {
        box-shadow: 0 0 10px rgba(185, 79, 227, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(185, 79, 227, 0.35);
    }
    100% {
        box-shadow: 0 0 10px rgba(185, 79, 227, 0.15);
    }    
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px 20px;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

 .navbar a {
    margin-left: 0;
  }
} 

.footerglry {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 12px;
  background-color: #d57bc791;
  width: 90%;
  max-width: 800px;
  margin: 30px auto;
}

h3 {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  margin-left: 12px;
  border-radius: 30px;
  background-color: rgba(211, 116, 208, 0.751);
  max-width: 800px;
  margin: 30px auto;
  width: 90%;
  margin-bottom: 5px;
}
