.skills {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  background-image: linear-gradient(
      180deg,
      hsla(0, 0%, 0%, 0.39),
      hsla(0, 0%, 0%, 0.815)
    ),
    url(../img/skills/);
  background-repeat: repeat, no-repeat;
  background-size: cover;
  background-position: center center, center bottom;
  margin: 0%;
  padding: 4% 0%;
}

.skills-title {
  font-size: 1.3rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 0;
  margin-bottom: 0%;
}

.skills-skill {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 2px 10px var(--shadow-color);
  border-radius: 42px;
  padding: 0.5em 0.7em;
  margin: 10px;
}

.skills-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.magic-card-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid white;
  border-radius: 15px;
  padding-bottom: 10px;
  overflow: hidden;
  position: relative;
  width: 250px;
  transition: all 0.3s ease;
  box-shadow: 0 60px 60px -60px rgba(0, 30, 255, 0.5);
}

.magic-card-container img:first-child {
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
}

.magic-card-container img:last-child {
  position: absolute;
  width: 200px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transition: translateY(25%);
  transition: 0.3s ease;
  opacity: 0;
}

.magic-card-container:hover {
  transform: perspective(250px) rotateX(10deg) translateY(-5%) translateZ(0);
}

.magic-card-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(
    to bottom,
    transparent 10%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0) 95%
  );
  opacity: 0;
  transition: all 0.3s ease;
}

.magic-card-container:hover::before {
  opacity: 1;
}

.magic-card-container:hover img:last-child {
  opacity: 1;
  transform: translateY(10%);
}

.magic-card-images {
  width: 90%;
}

.whatsapp-icon {
  height: 100%;
  width: 100%;
  transition: ease 1s;
}

@media (min-width: 950px) {
  .skills-title {
    font-size: 50px;
  }

  .skills-skill {
    font-size: 30px;
    margin: 20px;
  }
}
