*{
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    box-sizing: border-box;
    transition: 3s all ease;
}

body{
    min-height: 100vh;
}
header{
    display: flex;
    width: 100%;
    height: 250px;
    align-items: center;
    justify-content: center;
}
 h1{
text-align: center;
font-size: 38px;
font-weight: 800;
text-decoration: underline;

}

header img{
    height: 250px;
    width: 350px;
}

.container{
    position: relative;
    max-width: 1350px;
    width: 100%;
background: aliceblue;
    backdrop-filter: blur( 3px );
    margin: 50px auto;
    padding: 20px;
    border-radius: 20px;
}
.filter-btn{
    display: flex;
    align-items: center;
    gap: 10px;
}
button{
    padding: 10px 20px;
    font-size: 18px;
    background: #ffffff;
    border: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 5px;
    border: 2px dashed gray;
    color: #000000;
}

button.active{
    background: #fb208a;
    color: #fff;

}

.filter-cards{
    display: flex;
    margin-top: 25px;
    gap: 20px;
    flex-wrap: wrap;

}
.card{
    flex-basis: 300px;
    background: #e7f2fd;
    padding: 3px;
    border-radius: 8px;
    border: 2px dashed gray;
    transition: 1s all ease;
    overflow: hidden;
}
.card:hover{
    transform: translateY(-10px);
    transition: 1s all ease;
}
.card:hover img{
width: 105%;
}
.card:hover .buy-btn{
    display: flex;
    transition: 1s all ease;
}
.card img{
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;

    transition: 0.3s all ease;
}
.card-body{
    padding: 15px 20px 20px ;
}

.card-title{
    font-size: 20px;
    font-weight: 500;
    color: #333;
}
.filter-cards a{
    text-decoration: none;
}
.card-text{
    font-size: 16px;
    color: #333;
}
.card.hide{
    display: none;
}

html {
    height:100%;
  }
  
  
  .bg {
    animation:slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, #6c3 50%, #09f 50%);
    bottom:0;
    left:-50%;
    opacity:.5;
    position:fixed;
    right:-50%;
    top:0;
    z-index:-1;
  }
  
  .bg2 {
    animation-direction:alternate-reverse;
    animation-duration:4s;
  }
  
  .bg3 {
    animation-duration:5s;
  }
  
  h1 {
    font-family:monospace;
  }
  
  @keyframes slide {
    0% {
      transform:translateX(-25%);
    }
    100% {
      transform:translateX(25%);
    }
  }

  .buy-btn{
    display: none;
    height: 40px;
    width: 90px;
    outline: none;
    border: none;
    background: rgb(251, 118, 2);
    color: #ffffff;
    margin-top: 10px;
    font-weight: 600;
    transition: 0.3s all ease;
  }
  .buy-btn:hover{
transform: translateY(-5px);
background: rgb(219, 102, 12);
  }
