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

}
 


body { 
  
background-image:url(bg%204.png);
    background-size: 900px;
    background-repeat: repeat;
  background-position-x: right;
  color: #000;
  
font-family: sans-serif;
padding-bottom: 150px;}




header {
   display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
   border:1px solid #000;
  background-color: black;
  color:#ffffff;
  padding:40px;
font-size: 20px;
  
  
}

.logo {
  font-size: 40px;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 300;
}

nav a:hover {
  color: #00debf;
}

.side {
  font-weight: 300;
  color: #888;
}


/* ----- Gallery ----- */

.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
  

}

.image-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1; /* keep images square */
  object-fit: cover;
  filter: grayscale(100%); /* start grayscale */
  transition: filter 0.3s ease, transform 0.3s ease;
  
}

.image-gallery img:hover {
  filter: grayscale(0%); /* color on hover */
  transform: scale(1.05);
  z-index: 1;
}

 footer a {
  color: #000000; /* Default text color */
  text-decoration: none; /* Removes default underline */
  padding: 10px; 
   background-color: transparent;
}

/* Styles applied when hovering over an anchor tag */
footer a:hover { 
  text-decoration:double; 
    background-color: #000000;
    color: #ffffff;
  
}
footer {
    grid-area:footer;
    font-size: 10pt;
  text-align-last: center;
    padding:85px;
    color:#000000;
    display:grid;
  grid-template-columns: 1fr 1fr;}
 



.controls {
  margin-bottom: 20px;
}

.color-toggle {
  padding: 20px;
  font-size: 1rem;
  background: #000000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.color-toggle:hover {
  background: #000000;
}

@media (max-width: 900px) {
  .gallery {
    column-count: 2;
  }
}
a {text-decoration: none;
  color: white;
}
@media (max-width: 600px) {
  .gallery {
    column-count: 1;
  }


}
