* {
  padding: 0;
  margin: 0;
  font-family: monospace;
  box-sizing: border-box;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  /* background-color: rgb(9, 74, 136); */
  background-color: white;
}
.card {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 20px;
}

.card .face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.5s;
}

.card .front {
  transform: perspective(600px) rotateY(0deg);
  box-shadow: 0 5px 10px #000;
  justify-items: center;
  align-content: center;
}

.card .front img {
  /* position: absolute; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 5px;
  /* justify-content: center; */
  /* justify-items: center; */
  /* justify-self: center; */
}

/* .card .front h3 {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 45px;
  line-height: 45px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
} */

.card .back {
  transform: perspective(600px) rotateY(180deg);
  background: rgb(3, 35, 54);
  padding: 15px;
  color: #f3f3f3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 5px 10px #000;
  align-items: center;
}

.card .back .link {
  border-top: solid 1px #f3f3f3;
  height: 50px;
  line-height: 50px;
}

.card .back .link a {
  color: #f3f3f3;
}

.card .back h3 {
  font-size: 12px;
  /* margin-top: 20px; */
  letter-spacing: 1px;
}

/* .card .back p {
  letter-spacing: 1px;
} */

.card:hover .front {
  transform: perspective(600px) rotateY(180deg);
}

.card:hover .back {
  transform: perspective(600px) rotateY(360deg);
}

.icon-css {
  display: flex;
  height: 80px;
  width: 80px;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0.2rem;
  border-radius: 12.5%;
  border-top-left-radius: 0;
  background-color: #673499;
  color: #fefefe;
  font-family: Impact;
  font-size: 22px;
  &::before {
    content: "CSS";
  }
}
