@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

body{
  background-color: #171622;
}
.title-area h2{
  font-family: 'Lobster', cursive;
  font-size: 50px;
  text-shadow: 3px 3px rgb(141, 12, 12);
}
.title-area img{
  width: 60px;
}
.card{
  border-radius: 20px;
}
.card img{
  max-height: 300px;
  width: 200px;
  margin: auto;
}
.custom-card{
  width: 90%;
  height: 90%;
  position: fixed;
  z-index: 1;
  max-width: 640px;
  max-height: 550px;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  overflow-y: scroll;
  background-image: linear-gradient(-20deg, rgb(163, 84, 173) , rgba(206, 204, 65, 0.527));
}
.custom-card::-webkit-scrollbar{
  display: none;
}
.custom-card img{
  max-height: 500px;
}
.icon{
  width: 50px;
  height: 50px;
  top: 2%;
  right: 0;
  position: absolute;
  font-size: 40px;
  cursor: pointer;
  color: red;
}

@media only screen and (max-width: 720px){
  .input-box{
    width: 80% !important;
  }
  .title-area h2{
    font-size: 35px;
  }
  .title-area img{
    width: 40px;
  }
} 

@media only screen and (max-width: 767px){
  .custom-card{
    width: 80%;
    height: 90%;
    max-width: 400px;
    max-height: 550px;
  }
  .custom-card img{
    max-height: 200px;
    max-width: 200px;
  }
}

@media only screen and (max-width: 500px){
  .custom-card{
    width: 80%;
    height: 90%;
    max-width: 300px;
  }
  .custom-card img{
    max-height: 150px;
    max-width: 130px;
  }
}
@media only screen and (max-width: 350px){
  .custom-card{
    width: 80%;
    height: 90%;
  }
}