html{overflow: hidden;}
body {
  height: 100vh;
  width: 100vw;
  background-color: hsla(228, 45%, 44%, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-family:sans-serif;
}
main {
  height: 27.5rem;
  width: 18rem;
  border: 1px solid white;
  text-align: center;
  background-color: rgb(255, 255, 255);
  border: 1px solid transparent;
  border-radius: 5%;
  padding: 0.5rem;
  box-shadow:0 1rem 1rem 0 rgba(0, 0, 0, 0.033);
}
h1{
    font-size: 1.25rem;
    text-align: center;
}
figure img {
  border: 1px solid transparent;
  border-radius: 12.5px;
  transform: translate(-2rem,-0.3rem);
  width: 130%;
  height: auto;
  margin-bottom:0.5rem;
  filter: brightness(0.9);
}
figcaption{
    transform:translateY(-1.5rem);
    margin:1rem;
    font-weight: bolder;
    filter: brightness(2);
}
figcaption p {
  font-size: 11px;
  font-weight: 700;
  text-align: center,justify;
  line-height:1rem;
  color:hsla(228, 43%, 32%, 0.643);
  filter: brightness(0.5) ;
}
@media(min-width: 320px){
  main{
    max-width:70%;
    height:auto;
  }
  figure img {
    width:140%;
  }
}
@media(min-width: 375px){
  main {
    max-width: 60%;
    height: 27.5rem;
  }
  figure img {
    width: 140%;
  }
}
@media(min-width: 425px){
 main{
    max-width: 65%;
    height: 27.5rem;
  }
  figure img {
    width: 130%;
  }
}
@media (min-width: 768px) {
  main{
    max-width: 100%;
    height: 27.5rem;
  }
  figure img {
    width: 130%;
  }
}
