@charset "UTF-8";

@media all and (max-width: 850px) {
  main #home {
    height: auto;
    display: block;
  }

  main #home div {
    width: 100%;
  }

  main #about {
    height: auto;
  }

  main #about article {
    display: block;
  }

  main #about aside .slide-bar {
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
  }

  main #about aside .slide-bar .bar {
    width: 2rem;
    height: 2rem;
  }
}

@media all and (max-width: 650px) {
  header {
    width: 100%;
    height: 100dvh;
    padding: 0;
    z-index: 2;
    transition: all 0.3s ease;
    flex-direction: column;
    position: absolute;
    left: -100%;
    background-color: var(--dark-blue);
  }

  header .container {
    width: 100%;
    height: 100dvh;
    padding: 1rem 0;
    flex-direction: column;
  }

  header .left-side {
    width: 100%;
    height: 4rem;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  header .container .left-side h1 {
    font-size: 1.6rem;
    color: var(--white);
  }

  header .container .left-side #btn-close {
    font-size: 2.5rem;
    transition: all 0.3s ease;
    display: block;
    cursor: pointer;
    color: var(--white);
  }

  header .container .left-side #btn-close:hover {
    opacity: 0.8;
  }

  header .container nav {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  header .container nav a {
    width: 100%;
    height: 3.5rem;
    margin: 0.5rem 0;
    padding: 0 1rem;
    border-radius: 0.3rem;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
  }

  header .container nav a:hover {
    text-decoration: none;
    background-color: var(--white);
    color: var(--dark-blue);
  }

  header .container .download {
    width: 100%;
    border: 0;
  }

  header .container .download .button {
    margin: auto;
    border-radius: 1rem;
    border: 0.1rem solid var(--white);
    transition: all 0.3s ease;
    color: var(--white);
  }

  header .container .download .button:hover {
    background-color: var(--white);
    color: var(--dark-blue);
  }

  main .header {
    display: block;
  }
}

@media all and (max-width: 400px) {

  main .container form div input,
  main .container form textarea {
    width: 100%;
  }
}