@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff !important;
  font-family: "Space Grotesk", sans-serif !important;
}

a {
  text-decoration: none !important;
}

a:visited {
  text-decoration: none;
  color: #030303;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #ffffff;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ffcd33;
}

/* Handle on hover */

header {
  width: 100% !important;
  background: #171717 !important;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  z-index: 998;
}

header .newNavbar {
  max-width: 1600px;
  margin: 0 auto;

  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  width: 100%;
  margin-left: -2rem;
}

.hamburguer {
  width: 30px;
  height: 30px;

  background-color: transparent;
  border-radius: 5px;
  border: 0;

  position: relative;
  cursor: pointer;

  display: none;
}

.hamburguer:after {
  content: "";

  position: absolute;
  top: 35%;
  left: 15%;

  width: 70%;
  height: 10%;
  border-radius: 5px;

  background: #fff;
}

.hamburguer::before {
  content: "";

  position: absolute;
  top: 55%;
  left: 15%;

  width: 70%;
  height: 10%;
  border-radius: 5px;

  background: #fff;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
}

.menu li {
  margin-left: 10px;
}

.entrar {
  color: #030303;
  border: 0;
  background: #ffcd33;
  width: 100%;
  padding: 0.4rem 2rem;
  transition: ease-in all 0.3s;
}

.entrar:hover {
  background: #fff;
}

.criarConta {
  color: #ffcd33;
  border: 0;
  background: none;
  border: 1px solid #ffcd33;
  width: 100%;
  padding: 0.4rem 2rem;
  transition: ease-in all 0.3s;
}

.criarConta:hover {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #8a8a8a;
  transition: ease-in all 0.1s;
}

.menu li a:hover {
  font-weight: 600;
  color: #fff;
}

@media screen and (min-width: 991px) and (max-width: 1199px) {
  .menu li a {
    padding: 0 0.3rem;
  }
}

@media screen and (max-width: 990px) {
  .hamburguer {
    display: block;
    z-index: 999;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034),
      0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06),
      0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086),
      0 100px 80px rgba(0, 0, 0, 0.12);
    height: 100vh;
    margin: 0;
    background-color: #222222;

    width: 100%;
    max-width: 250px;

    padding: 100px 20px;

    flex-direction: column;
    transition: ease all 0.5s;
  }

  .menu .entrar {
    margin-top: 10rem;
  }

  .menu.active {
    right: 0;
  }
}

main {
  width: 100%;
  padding-top: 9rem;
  padding-bottom: 9rem;
  background: url("../img/listraBackground.png"), #222222;
  background-repeat: no-repeat;
  background-size: 30% 100%, cover;
  background-position: right, center;
  color: #fff;
}

main h1 {
  font-weight: 300;
  width: 50%;
  font-size: 3rem;
}

section {
  width: 100%;
  padding-top: 9rem;
  padding-bottom: 9rem;
}

section .busca {
  text-align: left;
  padding-top: 0rem;
  padding-bottom: 3rem;
}

section form input {
  width: 80%;
  height: 4vh;
  padding-left: 1rem;
  outline: none;
}

section form button {
  width: 18%;
  border: 0;
  height: 4vh;
  background: #030303;
  color: #fff;
}

section .newCard {
  width: 100%;
  margin-top: 1rem;
  cursor: pointer;
}

section p {
  font-size: 1rem;
  color: #9e9e9e;
  width: 80%;
}

@media screen and (min-width: 991px) and (max-width: 1199px) {
  section .newCard {
    width: 90%;
  }

  section .newCard .imagem img {
    width: 100%;
  }
}

@media screen and (max-width: 990px) {
  main {
    background-size: 40% 100%, cover;
  }

  main h1 {
    width: 100%;
  }

  section {
    padding-top: 5rem;
  }

  section .busca {
    text-align: left;
  }

  section .busca input {
    width: 60%;
  }

  section .busca button {
    width: 30%;
  }

  section .cards {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  section .newCard .imagem {
    text-align: left;
  }

  section .newCard .imagem img {
    width: 100%;
  }

  section .newCard {
    width: 100%;
    margin-top: 3rem;
    cursor: pointer;
  }

  section .newCard p {
    text-align: left;

    width: 90%;
  }
}

footer {
  background-color: #181818;
  color: #efefef;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

footer .logo {
  padding-bottom: 2rem;
}

footer .logo img {
  width: 35%;
}

footer .links {
  text-align: right;
  display: flex;
  justify-content: right;
}

footer .links a {
  text-decoration: none;
  color: #fff;
  padding-right: 2rem;
  font-size: 1.1rem;
  transition: ease-in all 0.3s;
}

footer .links a:hover {
  color: #ffcd33;
}

footer .icons {
  text-align: right;
  padding-top: 2rem;
}

footer .icons a {
  padding-right: 2rem;
  text-decoration: none;
}

@media screen and (max-width: 990px) {
  footer {
    text-align: center;
  }

  footer .links {
    text-align: center;
    justify-content: center;
  }

  footer .icons {
    text-align: center;
  }

  footer .icons a {
    padding-right: 1rem;
  }
}
