* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  letter-spacing: 1px;
}

body {
  overflow-y: auto;
  background: rgb(116, 215, 232);
  background-image: linear-gradient(-45deg, rgb(156, 240, 255), rgb(149, 255, 239));
}

h1 {
  color: white;
  text-align: center;
  margin: 20px 0;
  letter-spacing: 2px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.486);
}

.card-container {
  display: flex;
  padding: 10px;
  flex-wrap: wrap;
  gap: 15px;
}

.card {
  width: calc(50% - 10px);
  /*min-width: 200px;
  */
  max-width: 250px;
  /*height: 200px;
  */
  padding: 10px;
  padding-bottom: 20px;
  background: rgb(255, 255, 255);
  /*margin: 5px;
  */
  text-align: center;
  border-radius: 10px;
  box-shadow: 5px 7px 5px rgba(0, 0, 0, 0.1);
}
.card .img {
  position: relative;
  width: 100%;
  height: 150px;
  /* background: rgb(0, 0, 0); */
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-image: var(--b); */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.card .img::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  /* background: navy; */
}
.card .img img {
  max-height: 100%;
  max-width: 100%;
}
.card .name {
  font-size: 1rem;
  margin-top: 10px;
}
.card .btn {
  display: inline-block;
  text-decoration: none;
  color: black;
  position: relative;
  font-size: 0.8rem;
  padding: 7px 12px;
  margin-top: 10px;
  border: none;
  background: rgb(156, 237, 255);
  border-radius: 7px;
  border: 1.5px solid rgb(61, 156, 164);
  transform-style: preserve-3d;
}
.card .btn::before {
  position: absolute;
  content: "";
  top: 0;
  left: -1.2px;
  right: -1.2px;
  bottom: 0;
  background: rgb(130, 206, 223);
  border-radius: inherit;
  border: inherit;
  transform: translate3d(0, 6px, -0.1px);
  -webkit-transform: translate3d(0, 6px, -0.1px);
  -moz-transform: translate3d(0, 6px, -0.1px);
  -ms-transform: translate3d(0, 6px, -0.1px);
  -o-transform: translate3d(0, 6px, -0.1px);
  -webkit-border-radius: inherit;
  -moz-border-radius: inherit;
  -ms-border-radius: inherit;
  -o-border-radius: inherit;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.201);
}
.card .btn:active {
  transform: translateY(2px);
}
.card .btn:active:before {
  transform: translate3d(0, 3px, -0.1px);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.201);
}
