/* Menu "Hamburguer" =========================================================== */
.mobile-menu {
  display: none;
}

.mobile-menu div {
  width: 25px;
  height: 3px;
  margin: 5px;

  background-color: var(--gray);
  transition: all 0.3s ease;
}

@media (max-width: 899px) {
  /* Menu Navbar =========================================================== */
  header .general-box {
    background-color: #000;
  }

  .nav-links .social-networks {
    display: none;
  }

  .nav-links ul {
    position: absolute;
    right: 0;
    top: 10vh;
    height: 50vh;
    width: 100vw;
    background-color: #000;

    flex-direction: column;
    align-items: center;
    justify-content: space-around;

    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }

  .nav-links ul li {
    opacity: 0;
  }

  .mobile-menu {
    display: block;
    cursor: pointer;
  }

  /* Section ABOUT =========================================================== */
  #myInformations {
    display: block;
    text-align: center;
  }

  #myInformations img {
    width: 35vw;
    margin-bottom: 4rem;
  }

  #description {
    width: 95%;
    margin: auto;
    text-align: left;
  }

  /* Section SKILLS =========================================================== */
  #skills .logo-box {
    grid-template-columns: 1fr 1fr;
  }
}

.nav-active ul {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Phones =========================================================== */
@media (max-width: 599px) {
  .introduction {
    text-align: center;
  }

  #description {
    width: 90%;
    padding: 1em;
  }

  .scrollUp {
    display: none;
  }
}
