* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins", sans-serif;
}
body {
  background: #081b29;
  color: #ededed;
}

#services {
  color: aliceblue;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 4rem;
}
.container {
  padding: 90px;
}
.sub-title {
  font-size: 60px;
  text-align: center;
  padding-bottom: 70px;
}
.sub-title span {
  color: #0ef;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(259px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}
.services-list div {
  font-size: 13px;
  flex-direction: column;
  /* background: transparent; */
  padding: 40px;
  border-radius: 20px;
  transition: background 0.5s, transform 0.5s;
  box-shadow: 1px 1px 20px #012290f7, 1px 1px 40px #0053b8f7;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.5);
}

.services-list div::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 180%;
  background: linear-gradient(#00ccff, #d400d4);
  animation: animate 4s linear infinite;
}
.services-list div::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 16px;
  background: #081b29;
}
.services-list div i {
  font-size: 50px;
  margin-bottom: 30px;
  z-index: 10;
}
.services-list div h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 10px;
  z-index: 11;
}
.services-list div a {
  text-decoration: none;
  color: #000000;
  font-size: 12px;
  margin-top: 20px;
  display: inline-block;
  z-index: 10;
}
.read {
  padding: 12px 28px;
  background: #0ef;
  border-radius: 40px;
  font-size: 16px;
  color: #081b29;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 5px #0ef, 0 0 25px #0ef;
  z-index: 10;
}
.read:hover {
  box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan,
    0 0 200px cyan;
}
.services-list div:hover {
  transform: translateY(-10px);
}

@keyframes animate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 500px) {
    .container {
      padding: 20px;
      padding-top: 90px;
    }
  }

@media (max-width: 361px) {
  .container {
    padding: 10px;
    padding-top: 90px;
  }
}
