* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cinzel", serif;
}

body,
html {
  background-color: #222;
  color: white;
  font-size: 20px;
}

header {
  background-image: url(../images/react.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 15rem;
  border-bottom: 0.1rem solid #5f358f;
}

section.nav-bar-mobile {
  border-bottom: 0.1rem solid #5f358f;
  display: none;
}

section.nav-bar-mobile i {
  margin: 0.2rem 0 0 0.2rem;
  color: #5f358f;
  font-size: 2rem;
  cursor: pointer;
}

#display-none {
  display: none;
}

section.nav-bar-mobile ul {
  position: absolute;
  z-index: 999;
  left: 0;
  background-color: rgba(95, 53, 143, 0.8);
  text-align: center;
  min-width: 40%;
  min-height: 15rem;
}

section.nav-bar-mobile li {
  display: flex;
  margin-bottom: 2rem;
}

section.nav-bar-mobile .nav-bar-single .tecnologias {
  margin-left: 1rem;
  display: none;
}

section.nav-bar-mobile li:hover .tecnologias {
  display: block;
}

section.nav-bar {
  background-color: #36cae0;
}

section.nav-bar ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

section.nav-bar ul li {
  margin: 0.5rem 1rem;
  height: 1.5rem;
}

section.nav-bar .nav-bar-single {
  width: 16.6%;
  text-align: center;
}

section.nav-bar .nav-bar-single:hover {
  background-color: #5f358f;
}

section.nav-bar .nav-bar-single:hover .tecnologias {
  display: block;
}

section.nav-bar ul li .tecnologias {
  margin: 0.65rem 0 0 -0.99rem;
  padding-bottom: 0.5rem;
  background-color: #5f358f;
  display: none;
  position: absolute;
  width: 16.6%;
  font-size: 0.7rem;
}

section.nav-bar ul li .tecnologias p {
  margin-bottom: 0.2rem;
}

section.nav-bar ul li .tecnologias a,
section.nav-bar-mobile ul li .tecnologias a {
  color: white;
  text-decoration: none;
  background-color: #36cae0;
  border-radius: 2rem;
  padding: 0.1rem 0.3rem;
}
section.text {
  height: 2.5rem;
  width: 100%;
  text-align: center;
}

section.text h2 {
  margin-top: 1rem;
  font-size: 2rem;
}

section.container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

section.container .single-project {
  width: 300px;
  padding: 0 2rem;
  text-align: center;
}

.container img {
  width: 100%;
  height: 400px;
}

footer {
  border-top: 0.1rem solid #5f358f;
  width: 100%;
  max-height: 15rem;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
}

footer .flex {
  display: flex;
  justify-content: space-between;
}

footer .links {
  margin-left: 2rem;
}

footer .links a img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.75rem;
}

footer .danki {
  margin: 1rem 2rem 1rem 0;
}

footer .direitos-responsivo {
  display: none;
}

@media screen and (max-width: 930px) {
  section.nav-bar {
    display: none;
  }

  section.nav-bar-mobile {
    display: block;
  }

  section.nav-bar-mobile h2 {
    font-size: 1rem;
  }

  section.nav-bar-mobile strong,
  section.nav-bar-mobile p,
  section.nav-bar-mobile a {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 640px) {
  footer .direitos {
    display: none;
  }

  footer .flex {
    justify-content: space-around;
  }

  footer .direitos-responsivo {
    display: block;
  }
}

@media screen and (max-width: 500px) {
  section.text h2 {
    font-size: 1.4rem;
  }
}
