@keyframes flutuar {
  0% {
    bottom: 0px;
    opacity: 1;
  }

  50% {
    bottom: 20px;
    opacity: 0.3;
  }

  100% {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes piscar-cyborg {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 0.02;
  }

  10% {
    opacity: 0;
  }

  15% {
    opacity: 0.03;
  }

  25% {
    opacity: 0;
  }

  30% {
    opacity: 0.04;
  }

  55% {
    opacity: 0;
  }

  56% {
    opacity: 1;
  }

  57% {
    opacity: 0;
  }

  60% {
    opacity: 0.1;
  }

  65% {
    opacity: 0;
  }

  66% {
    opacity: 1;
  }

  67% {
    opacity: 0;
  }

  68% {
    opacity: 1;
  }

  69% {
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  71% {
    opacity: 0;
  }

  75% {
    opacity: 0.5;
  }

  85% {
    opacity: 0;
  }

  93% {
    opacity: 0.04;
  }

  100% {
    opacity: 0.5;
  }
}

@keyframes crescer-php {
  0% {
    width: 0%;
  }

  100% {
    width: 80%;
  }
}

@keyframes crescer-html {
  0% {
    width: 0%;
  }

  100% {
    width: 90%;
  }
}

@keyframes crescer-css {
  0% {
    width: 0%;
  }

  100% {
    width: 90%;
  }
}

@keyframes crescer-javascript {
  0% {
    width: 0%;
  }

  100% {
    width: 80%;
  }
}

@keyframes crescer-python {
  0% {
    width: 0%;
  }

  100% {
    width: 75%;
  }
}

@keyframes crescer-photoshop {
  0% {
    width: 0%;
  }

  100% {
    width: 90%;
  }
}

@keyframes crescer-premiere {
  0% {
    width: 0%;
  }

  100% {
    width: 85%;
  }
}

@keyframes crescer-after-effects {
  0% {
    width: 0%;
  }

  100% {
    width: 80%;
  }
}

@keyframes crescer-illustrator {
  0% {
    width: 0%;
  }

  100% {
    width: 75%;
  }
}

.top-nav {
  background-color: var(--color-background);
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  position: fixed;
  width: 100%;

  top: 0px;
  /* Posição inicial acima do navegador */
  left: 50%;
  transform: translateX(-50%);
  animation-name: null;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: forwards;

  z-index: 10;
}

#eu {
  top: unset;
  right: 0rem;
  bottom: -2rem;
  left: unset;
  animation-name: null;
  transform: scale(100%);

  animation-name: piscar-cyborg;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: 2;
  animation-direction: reverse-alternate;
  animation-fill-mode: backwards;
}

#c4d-azul {
  top: 23rem;
  right: unset;
  bottom: unset;
  left: -33rem;

  transform: rotate(45deg);

  animation-name: aparecer-opacidade;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: backwards;
}

#c4d-roxa {
  top: -41rem;
  right: unset;
  left: 0rem;
  bottom: unset;

  animation-name: aparecer-opacidade;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: backwards;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  overflow: hidden;
  height: 100vh;
  width: 100vw;

}

.content h1 {
  font-family: 'logo', sans-serif;
  font-size: 3rem;
  color: var(--color-primary);
  z-index: 9;
  text-align: left;
  width: 50%;
}

.imagens-home {
  position: absolute;
}

.box {
  display: flex;
  flex-direction: column;
  background: rgba(0, 186, 248, 0.3);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  width: 50%;
  height: auto;
  z-index: 10;
}


.linha {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.icon-skill {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-skill img {
  width: 42px;
}

.graph-fundo {
  height: 2rem;
  width: 100%;
  border-radius: 12px;
  background-color: var(--color-background);
  padding: 6px;
  box-sizing: content-box;
}

.graph-color {
  height: inherit;
  width: 0%;
  background-image: linear-gradient(to right, var(--color-primary), var(--color-primary-variant));
  border-radius: 7px;
}

.php {
  animation-name: crescer-php;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: forwards;
}

.html {
  animation-name: crescer-html;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 0.2s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: forwards;
}

.css {
  animation-name: crescer-css;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 0.4s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: forwards;
}

.javascript {
  animation-name: crescer-javascript;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 0.6s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: forwards;
}

.python {
  animation-name: crescer-python;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 0.8s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: forwards;
}

.photoshop {
  animation-name: crescer-photoshop;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 1s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: forwards;
}

.premiere {
  animation-name: crescer-premiere;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 1.2s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: forwards;
}

.after-effects {
  animation-name: crescer-after-effects;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 1.4s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: forwards;
}

.illustrator {
  animation-name: crescer-illustrator;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 1.6s;
  animation-iteration-count: 1;
  animation-direction: reverse-alternate;
  animation-fill-mode: forwards;
}

#bola-glitch-azul {
  bottom: 0px;
  left: 3rem;

  animation-name: flutuar;
  animation-duration: 4s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: reverse-alternate;
  animation-fill-mode: backwards;
}

@media screen and (max-width: 1920px) {
  .content {
    overflow: clip;
  }
}

@media screen and (max-width: 1440px) {/*até 1440*/
  .content {
    overflow: hidden;
  }

  #eu {
    transform: scale(70%);

    right: -9rem;
    bottom: -11rem;
  }

  .icon-skill {
    height: 42px;
  }

}

@media screen and (max-width: 1366px) {/*até 1366*/
  .content {
    overflow: hidden;

  }

  #eu {
    transform: scale(70%);

    right: -9rem;
    bottom: -11rem;
  }

  .icon-skill {
    height: 42px;
  }

}

@media screen and (max-width: 1280px) {/*até 1280*/

  .content {
    overflow: hidden;
  }

  #eu {
    transform: scale(70%);
    right: -9rem;
    bottom: -11rem;
  }

  .icon-skill {
    height: 42px;
  }

}


@media screen and (max-width: 1024px) {/*telas pequenas, laptops*/
  .content {
    overflow: hidden;
  }

}/*fim telas pequenas, laptops*/

@media screen and (max-width: 800px) {/*kindle*/
  .content h1 {
    text-align: center;
    top: -10rem;
    position: relative;
  }

  #c4d-azul {
    top: 48rem;
  }

  .box {
    width: 80%;
    top: -10rem;
  }
}/*fim kindle*/

@media screen and (max-width: 768px) {/*smartphones iPads, tablets*/
  .content {
    overflow: hidden;
  }

  .content h1 {
    text-align: center;
    top: -3rem;
    position: relative;
    text-align: center;
    width: 80%;
  }

  .box {
    top: -3rem;
  }

}

@media screen and (max-width: 480px) {/*dispositivos móveis*/
  #eu {
    transform: scale(50%);
    right: -17rem;
    bottom: -25rem;
  }

  .content h1 {
    text-align: center;
    top: 0rem;
    position: relative;
    text-align: center;
    width: 80%;
  }

  .box {
    top: 0rem;
  }

  #bola-glitch-azul {
    left: -8rem;
    top: 39rem;
  }

  #c4d-azul {
    top: 32rem;
    left: -45rem;
  }

  .content {
    overflow: auto;
  }
}

@media screen and (max-width: 375px) {/*dispositivos móveis*/
  .icon-skill {
    height: 24px;
  }

  .content h1 {
    font-size: 22pt;
  }

}