.cards {
  margin: 0 auto;
  margin-bottom: 2em;
  max-width: inherit;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.card {
  background: rgb(205, 230, 255);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.1s ease 0s;
  display: flex;
  flex-direction: column;
}

.card:hover{ 
  &:not(.disabled) {
    transform: translateY(-8px);
  }
}

.selected {
  outline: 5px auto black;
  outline-offset: 5px;
}

.card__image-container {
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  position: relative;
  border-bottom: 3px solid rgb(0, 120, 255);
  border-top: 3px solid rgb(0, 120, 255);
}

.card__image-container img {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.spacer {
  flex-grow: 1;
}

.card p {
  text-align: center;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 1em;
  padding-right: 1em;
  margin: 0px;
}

.card p:first-of-type {
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 1em;
}

.card p:last-of-type {
  background: rgb(0, 120, 255);
  color: white;
  font-weight: bold;
  padding-top: 0.6em;
  padding-bottom: 0.6em;
  margin-top: 1em;
}
