header img {
  position: fixed;
  right: .5rem;
  top: 1rem;
  z-index: 2;
}

nav {
  background-color: var(--blue);
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem .5rem;
  left: 0;
}

.closed {
  top: -100%;
}

nav ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

.presentation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4.5rem;
  margin-top: 3rem;
}

.presentation h1, .about-me h2, .technologies h2, .contact-me h2 {
  font-size: 1rem;
  color: var(--blue);
  font-weight: 600;
}

.presentation p,.about-me p , .contact-me p{
  font-size: .875rem;
}

.presentation img {
  width: 14rem;
  border-radius: 50%;
}

main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

main h2 {
  font-size: .875rem;
  font-weight: 400;
  color: var(--blue);
}

main ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.75rem;
}

main ul li.project-1,main ul li.project-2, main ul li.project-3, main ul li.project-4  {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

main ul li.project-1 {
  background-image: url("https://github.com/wendelsilva/ignite-lab-design-system/blob/main/ignitelab-design-system.png?raw=true");

}

main ul li.project-2 {
  background-image: url("https://github.com/wendelsilva/tokenlab-challenge/blob/main/web/web-calendar/src/assets/login-screen.png?raw=true");
}

main ul li.project-3 {
  background-image: url("https://github.com/wendelsilva/nlw-esports/blob/main/capa-nlw-esports.png?raw=true");
}

main ul li .project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: #3a3a3a;
  opacity: .85;
  border-radius: .25rem;
  padding: 2rem;
  color: var(--white);
  text-align: center;
  height: 100%;
}

main ul li .title {
  font-size: 1.25rem;
  font-weight: 600;
}

main ul li .description {
  font-size: .875rem;
  margin-bottom: 1rem;
}

main ul li .categories {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

main ul li .categories .category {
  background-color: var(--white);
  padding: 0 .5rem;
  border-radius: 1rem;
  color: var(--gray);
  font-size: .875rem;
}

main ul li .actions {
  display: flex;
  gap: 2rem;
}

main ul li .actions a {
  background-color: var(--blue);
  padding: .5rem 1rem;
  border-radius: .25rem;
  outline: none;
  border: none;
  color: var(--white);
}

main ul li .actions a:hover {
  background-color: var(--white);
  color: var(--blue);
  border: 1px solid var(--blue);
}

.about-me {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.75rem;
}

.about-me img {
  width: 12rem;
  border-radius: .25rem;
}

.technologies ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 6rem;
  margin-top: 2rem;
}

.technologies ul .technology {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
}

.technologies ul .technology img {
  width: 2rem;
}

.technologies ul .technology span {
  font-size: .875rem;
}
.contact-me h2, .contact-me p {
  margin-bottom: 1rem;
}

.contact-me .social-medias ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 1rem;
}

.contact-me form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-me form input {
  border: 1px solid var(--blue);
  border-radius: .25rem;
  padding: .5rem 1rem;
  background-color: transparent;
}

.contact-me form button {
  padding: .5rem 1rem;
  background-color: var(--blue);
  border-radius: .25rem;
  border: none;
  width: 50%;
}

.contact-me form button:hover {
  background-color: transparent;
  border: 1px solid var(--blue);
}

@media (min-width: 1280px) {
  .presentation {
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
  }

  .presentation h1 {
    font-size: 2rem;
  }

  .presentation p {
    font-size: 1rem
  }

  main ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  main ul li {
    max-width: 30rem;
  }

  main h2 {
    font-size: 1rem;
  }

  .about-me {
    flex-direction: row;
    justify-content: space-between;
  }

  .about-me h2, .technologies h2, .contact-me h2 {
    font-size: 1.5rem;
  }

  .technologies {
    width: 100%;
  }

  .technologies ul {
    gap: 2.5rem;
  }

  .technologies ul .technology img {
    width: 2.5rem;
  }

  .contact-me {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8rem;
  }

  .contact-me .wrapper {
    max-width: 19rem;
  }

  .contact-me form {
    width: 100%;
  }

}