
 .container{
min-height: 100vh;  
max-width: 100%;
gap:10px;
}


body::before {
  background-image: url('bkrnd.avif');
  background-size: 200px;
  background-repeat: repeat;
}



.box {
  background-color: hsl(270, 48%, 83%);
  padding: 5%;
  height: fit-content;
  border-radius: 20px;
  box-shadow: 10px 10px 9px #cdecd0;
  border-right: solid #fdfffe;
  border-bottom: solid #fdfffe;

  
}

.title-box {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.title {
  max-width: 50%;
 margin: 0 auto;
 
}


h1 {
  text-align: center;
}

.filters {
  text-align: center;
  margin-bottom: 20px;
}

.filters button {
  padding: 10px 15px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #333;
  color: white;
}

.swap {
  padding: 10px 15px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #333;
  color: white;
  text-decoration: none;
}

.swapbutton {
   display: flex;
    justify-content: center;
    margin-bottom: 20px;
}


.filters button.active {
  background: #591183;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}
