body {
  background-color: black;
}


.page-wrap {
  align-items: center;
  padding: 100px 0 0;
}

.btn-skill {
  margin: 20px auto;
  padding: 20px 50px;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  align-items: center;
  background: transparent;
  border: 0;
  font-size: 1.5em;
  position: relative;
  transition: all .25s;
  text-decoration: none;
  font-weight: bold;
  color: #fafafa;
}

.btn-skill::after,
.btn-skill::before {
  border: 3px solid #fafafa;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: all .25s;
}

.btn-skill:hover::after {
  transform: translate(-5px, -5px);
}

.btn-skill:hover::before {
  transform: translate(5px, 5px);
}

.skill {
  display: flex;
  justify-content: center;
}

.competences {
  z-index: 2;
  text-align: center;
}

.all-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  padding: 20px 0;
  gap: 20px;
}

.box {
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  padding: 50px 40px;
  background-color: #1c1f2b;
  border-radius: 20px;
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
  width: 270px;
}

.box:hover {
  transform: scale(1.03);
}

.box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 20px;
  background: linear-gradient(#00ff80, #001aff);
  width: 170px;
  height: 100%;
  translate: -50% -50%;
  animation: rotate 4s linear infinite;
}

.box::before {
  filter: blur(20px);
  opacity: 0.5;
}

.box::after {
  content: '';
  position: absolute;
  background: #1c1f2b;
  inset: 8px;
  border-radius: 20px;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media screen and (orientation: portrait) {
  .all-box {
    display: table;
    padding: 20px 0;
    margin: 0 auto;
  }

  .box {
    margin: 20px;
  }
}