@import url("https://fonts.googleapis.com/css2?family=Calistoga&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
body {
  font-family: "inter";
  font-size: 18px;
  background-color: #141414;
  color: #fff;
}
.container {
  width: 100%;
  margin: auto;
  max-width: 1200px;
  padding: 0 20px;
}
.logo a {
  font-family: "calistoga";
  font-size: 38px;
  color: #fff;
  text-decoration: none;
}
.logo span {
  color: #fe6a07;
}
/*header*/
header .container {
  display: flex;
  align-items: center;
  padding-top: 45px;
  padding-bottom: 45px;
  gap: 50px;
}
header nav {
  flex: 1;
  display: flex;
  align-items: center;
}
header nav .lado-esquerdo {
  display: flex;
  flex: 1;
}
header nav li {
  margin: 0 30px;
}
header nav li a {
  text-decoration: none;
  color: #fff;
}
header nav li a:hover {
  color: #fe6a07;
  transition: color 0.5s;
}
header .button {
  display: block;
  border: 1px solid white;
  padding: 20px;
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
}
header .button:hover {
  background-color: #fe6a07;
  transition: all 0.5s;
}
header .menu {
  display: none;
  flex: 1;
  justify-content: flex-end;
}
header .menu-icon {
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
header .menu-icon div {
  height: 6px;
  background-color: #fff;
}
/*hero*/
.hero .container {
  display: flex;
}
.hero .hero-image,
.hero .hero-text {
  flex: 1;
}
.hero .hero-text {
  padding-bottom: 150px;
}
.hero .hero-image {
  text-align: center;
}
.hero .hero-image img {
  width: auto;
  height: 600px;
}

.hero h1 {
  font-family: "calistoga";
  font-size: 60px;
  line-height: 74px;
  margin-top: 50px;
}
.hero p {
  font-size: 15 px;
  line-height: 26px;
  margin: 45px 0;
}
.hero .button {
  display: inline-block;
  background-color: #fe6a07;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  padding: 15px 80px;
  border-radius: 5px;
  text-decoration: none;
}
.hero .button:hover {
  opacity: 0.8;
}

/*search*/

.search {
  background-color: #1f1f1f;
  padding: 80px 0;
  margin-top: -100px;
}

.search .title {
  font-size: 32px;
  font-weight: 500;
}
.search .sides {
  display: flex;
  margin-top: 30px;
  gap: 100px;
}
.search .lado-esquerdo,
.search .lado-direito {
  flex: 1;
}
.search input,
.search select {
  width: 100%;
  padding: 20px;
  border-radius: 5px;
  border: none;
  outline: none;
  background-color: #2b2b2b;
  color: #fff;
  font-size: 20px;
}
.search input {
  background-image: url("/assets/img/searchIcon.png");
  background-repeat: no-repeat;
  background-position: 20px center;
  padding-left: 60px;
}
.search select {
  border-right: 20px solid transparent;
}

/*Produtos*/

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.produto-item {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
}
.produto-item:hover {
  opacity: 0.8;
}
.produto-item .warning {
  position: absolute;
  top: 30px;
  left: 30px;
  background-color: #fe6a07;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  padding: 10px 15px;
  border-radius: 4px;
}
.produto-item .foto {
  text-align: center;
  background-color: #2b2b2b;
  padding-top: 30px;
}
.produto-item .foto img {
  max-width: 100%;
}
.produto-item .info {
  background-color: #1f1f1f;
  padding: 60px 30px 30px 30px;
  margin-top: -50px;
}
.produto-item .produto-categoria {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}
.produto-item .produto-nome {
  font-family: "calistoga";
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  margin: 10px 0;
}
.produto-item .produto-preco {
  font-size: 32px;
  font-weight: bold;
  color: #fe6a07;
}

/*footer*/

footer {
  background-color: #1f1f1f;
  color: #5f5f5f;
}
footer .container {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .copyrigth {
  font-size: 24px;
  color: #5f5f5f;
}
footer .copyrigth a {
  color: #5f5f5f;
  text-decoration: none;
}
footer .copyrigth a:hover {
  color: #fe6a07;
  text-decoration: underline;
  transition: all 0.5s;
}
@media (max-width: 820px) {
  header nav {
    display: none;
  }
  header .menu {
    display: flex;
  }
  .hero .container {
    flex-direction: column;
    align-items: center;
  }
  .hero .hero-text {
    text-align: center;
    padding-bottom: 40px;
  }
  .hero .hero-image {
    padding-bottom: 50px;
  }
  .hero .hero-image img {
    height: 300px;
  }
  .hero h1 {
    font-size: 47px;
    line-height: 45px;
  }
  .search {
    padding-bottom: 30px;
  }
  .search .title {
    text-align: center;
  }
  .search .sides {
    flex-direction: column;
    gap: 30px;
  }
  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  footer .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
@media (max-width: 500px) {
  .produtos-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
