@import url("https://fonts.google.com/specimen/Poppins");
* {
  box-sizing: border-box;
}
body {
  background-color: rgb(250, 250, 250);
  font-family: "poppins,sans-serif";
}
header {
  margin: 50px auto;
  max-width: 400px;
  text-align: center;
}

h1 {
  font-weight: 600;
  margin: 0;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  max-width: 1140px;
}

.box {
  background-color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 6px rgba(0, 0, 0, 0.01);
  border-radius: 15px;
  padding: 10px;
  position: relative;
  overflow: hidden;
  margin: 15px;
  width: 350px;
}
.box::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 10px;
  width: 100%;
}
.box-cyan::after {
  background-color: rgba(69, 211, 211);
}
.box-red::after {
  background-color: rgba(234, 83, 83);
}
.box-blue::after {
  background-color: rgba(84, 158, 242);
}

.box-orange::after {
  background-color: rgba(252, 175, 74);
}
.box-push {
  transform: translateY(50%);
}
.box:hover h2.box-cyan {
  margin: 0;
  color: rgba(69, 211, 211);
}
.box:hover h2.box-red {
  color: rgba(234, 83, 83);
}
.box:hover h2.box-blue {
  color: rgba(84, 158, 242);
}
.box:hover h2.box-orange {
  color: rgba(252, 175, 74);
}
.box p {
  font-size: 14px;
  margin: 15px 0 10px;
}
.box:hover p {
  color: rgb(88, 87, 87);
}
.box img {
  display: block;
  margin-left: auto;
}
.box:hover img {
  transform: scale(1.1);
}
@media (max-width: 775px) {
  .box-push {
    transform: translateY(0);
  }
}
p {
  color: rgba(0, 0, 0, 0.3);
}
