* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
}
body {
    text-align: center;
    background-color: #eee1ea;
}
#link {
    padding: 10px 30px;
    font-size: 2.4em;
    background: #F497CA;
    border-radius: 20px;
    border: none;
    box-shadow: 10px 10px 20px #BC8EE5;
    cursor: pointer;
    display: inline-block;
}

#cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.44rem;
    padding: 1.44rem 0.833rem; 
  }
#cards figure{
    position: relative;
}
#cards a{
    border: solid 1px pink;
    border-radius: 0.5rem;
    overflow: hidden;
    text-decoration: none;
}
#cards img {
    width: 100%;
    aspect-ratio: 16/6;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
  }
  #cards section{
    padding: 0.833rem;
  }