#skills {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: space-between;
  padding: 0% 1.2% 3% 1.2%;
  h2 {
    padding: 1%;
    color: white;
    margin: 0;
    color: rgba(0, 0, 0, 0.8);
    font-weight: bolder;
    text-align: left;
  }
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.flex-item {
  background-color: rgba(255, 255, 255, 0.5);
  position: relative;
  border: 1px rgba(0, 0, 0, 0.5) solid;
  border-radius: 8px;
  margin: 10px;
  height: 215px;
  padding: 5px;
  flex: 1 17%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease-in-out;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: 1s;
}

.flex-item p {
  font-weight: bolder;
  font-size: larger;
}

.flex-item span {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

@media (max-width: 1024px) {
  .flex-item {
    flex-basis: 30%;
  }
  .rotated-text {
    font-size: 1rem !important;
  }
}

.rotated,
.rotated-text {
  transform: rotateY(180deg);
  font-size: medium !important;
  color: darkgrey;
  span {
    transform: rotate(360deg);
    transition: 3s;
  }
}

.hidden {
  display: none;
}
