.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.cube-top {
  perspective: 800px;
  position: absolute;
  top: 15rem;
  left: 50%;
  transform: translateX(-50%);
}
.cube {
  width: 200px;
  height: 200px;
  animation: rotate 10s infinite alternate;
  transform-style: preserve-3d;
}

.face {
  background: linear-gradient(45deg, #7cdf83, #801fb6);
  border: 2px solid #4fd1c5;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  font-weight: bold;
  color: #234e52;

  width: 200px;
  height: 200px;
  position: absolute;
}

.face--front {
  transform: translateZ(100px);
}

.face--right {
  transform: rotateY(90deg) translateZ(100px);
}

.face--back {
  transform: rotateY(180deg) translateZ(100px);
}

.face--left {
  transform: rotateY(-90deg) translateZ(100px);
}

.face--top {
  transform: rotateX(90deg) translateZ(100px);
}

.face--bottom {
  transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotate {
  from {
    transform: rotateX(-20deg) rotateY(-10deg);
  }

  50% {
    transform: rotateX(20deg) rotateY(320deg);
  }

  to {
    transform: rotateX(-20deg) rotateY(-20deg);
  }
}

/* Título Principal CSS */
.titulo-principal {
  max-width: 480px;
  text-align: center;
  position: absolute;
  top: 30rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  font-family: "Courier New", Courier, monospace;
  color: #000;
}
.titulo-principal:after {
  content: "|";
  margin-left: 5px;
  opacity: 1;
  animation: pisca 0.7s infinite;
}
@keyframes pisca {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@media screen and (max-width: 768px) {
  .cube {
    top: 7rem;
    left: 18rem;
  }

  .titulo-principal {
    top: 30rem;
    font-size: 1.5rem;
  }
}
@media (width > 1920px) {
  header {
    zoom: 1.4;
    margin-left: -20rem;
  }
  #skills {
    zoom: 1.4;
    padding: 5rem 10rem;
    width: 100%;
    max-width: 2000px;
    margin-left: 10rem;
  }
}
