/*chefesemacasa*/

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

header {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 70px 0px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: realtive; /* para alterar a barra para fixar fixa*/
  top: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  width: 230px;
  height: auto;
}

header nav {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 20px;
}

header nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  position: relative;
}

header nav ul li {
  margin: 0 20px;
  position: relative;
}

header nav ul li a {
  text-decoration: none;
  color: #000;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  display: flex;
  align-items: center;
}

header nav ul li a.receitas {
  color: #aa6459;
}

header nav ul li a .seta {
  width: 16px;
  height: 16px;
  margin-left: 5px;
}

header nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  width: 228px;
  background: #f5f5f5;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
}

header nav ul li .dropdown.show {
  display: block;
}

header nav ul li .dropdown li {
  margin: 0;
  padding: 10px;
}

header nav ul li .dropdown li a {
  color: #000;
  font-size: 16px;
  text-decoration: none;
}

header nav ul li:hover .dropdown,
header nav ul li .dropdown:hover {
  display: block;
}

header .search-bar {
  width: 368px;
  height: 52px;
  background: #ffffff;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 10px;
  margin-right: 70px;
}

header .search-bar form {
  display: flex;
  align-items: center;
  width: 100%;
}

header .search-bar input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.3);
  padding-right: 10px; /* Adiciona espaço para a imagem */
}

header .search-bar .search-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .search-bar .search-icon img {
  width: 100%;
  height: 100%;
}

/* Título Almoço de Domingo */
.almoço-de-domingo {
  position: relative;
  width: 490px;
  height: 56px;
  margin-left: 77px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  color: #000000;
  margin-top: 40px; /* Adiciona uma margem superior */
}

/* Título Petiscos e Aperitivos */
.petiscos-e-aperitivos {
  position: relative;
  width: 490px;
  height: 56px;
  margin-left: 77px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  color: #000000;
  margin-top: 70px; /* Adiciona uma margem superior */
}

/*pratos de carne*/
/* Estilo para .hero-content-carne */
.hero-content-carne {
  text-align: left;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content-carne h1,
.hero-content-carne p {
  font-family: "Roboto", sans-serif;
}

/* Tamanhos de tela maiores */
.hero-content-carne h1 {
  font-size: 48px;
  line-height: 56px;
  margin: 10px 0;
}

.hero-content-carne p {
  font-size: 32px;
  line-height: 38px;
  margin: 20px 0;
}

/* Ajustes para telas médias */
@media (max-width: 1200px) {
  .hero-content-carne h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .hero-content-carne p {
    font-size: 28px;
    line-height: 34px;
  }
}

/* Ajustes para telas pequenas */
@media (max-width: 900px) {
  .hero-content-carne h1 {
    font-size: 32px;
    line-height: 38px;
  }

  .hero-content-carne p {
    font-size: 24px;
    line-height: 30px;
  }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 600px) {
  .hero-content-carne h1 {
    font-size: 24px;
    line-height: 28px;
  }

  .hero-content-carne p {
    font-size: 18px;
    line-height: 22px;
  }
}

/* Hero Section para a página Pratos de Carne */
.hero-pratos-carne {
  width: 100%;
  height: 454px;
  background: url("img/pratoscarne.jpeg") no-repeat center center/cover;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  display: flex;
  align-items: center;
  color: #ffffff;
  margin-top: 0px;
  position: relative;
  margin-bottom: 40px; /* Adiciona uma margem inferior */
}

.hero-pratos-carne .hero-content {
  position: absolute;
  left: 96px;
  text-align: left;
}

.hero-pratos-carne .hero-content h1 {
  width: 528px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  margin: 0;
  color: #ffffff;
}

.hero-pratos-carne .hero-content p {
  width: 748px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 38px;
  margin-top: 20px;
  color: #ffffff;
}

/* Hero Section */
.hero {
  width: 100%;
  height: 454px;
  background: url("img/home.jpeg") no-repeat center center/cover;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  margin-top: 0px;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  width: 100%;
  max-width: 589px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px; /* Ajuste o tamanho da fonte */
  line-height: 56px; /* Ajuste a altura da linha */
  margin: 0 auto;
}

.hero h2 {
  width: 100%;
  max-width: 589px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px; /* Aumenta o tamanho da fonte */
  line-height: 56px; /* Ajusta a altura da linha */
  margin: 10px auto; /* Ajusta a margem para espaçamento */
}

.hero p {
  width: 100%;
  max-width: 459px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 32px; /* Ajustar o tamanho da fonte */
  line-height: 38px; /* Ajustar a altura da linha */
  margin: 20px auto; /* Ajustar a margem para espaçamento */
}

.hero .buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center; /* Centraliza os botões */
  gap: 65px; /* Ajusta o espaçamento entre os botões */
}

.hero .buttons a {
  text-decoration: none; /* Remove underline */
}

.hero .buttons button {
  width: 140px; /* Ajustar a largura do botão */
  height: 50px; /* Ajustar a altura do botão */
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px; /* Ajustar o tamanho da fonte do botão */
  line-height: 22px; /* Ajustar a altura da linha do botão */
  text-align: center;
  border-radius: 6px;
  border: none; /* Remove a borda */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombreado suave */
  cursor: pointer;
}

.hero .buttons .log-in {
  background: #ebebeb;
  color: #000000;
}

.hero .buttons .register {
  background: #aa6459;
  color: #ffffff;
}

/* Rectangle login */
.position-login {
  position: absolute;
  width: 187px;
  height: 61px;
  left: 482px;
  top: 592px;
  background: #ebebeb;
  border: none; /* Remove a borda */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombreado suave */
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  color: #000000;
  cursor: pointer;
}

.login-button {
  display: inline-block;
  width: 100%;
  height: 79px;
  background: #aa6459;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.09);
  border-radius: 20px;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  text-decoration: none; /* Remove underline */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-top: 20px;
}

/* Rectangle registar */
.position-register {
  position: absolute;
  width: 187px;
  height: 61px;
  left: 775px;
  top: 592px;
  background: #aa6459;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombreado suave */
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
}

/* Remove the absolute positioning from the buttons */
.position-login,
.position-register {
  position: static; /* Remove absolute positioning */
  display: inline-flex; /* Use inline-flex for proper button alignment */
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombreado suave */
  cursor: pointer;
  width: 140px; /* Ajustar a largura do botão */
  height: 50px; /* Ajustar a altura do botão */
}

.position-login {
  background: #ebebeb;
  color: #000000;
}

.position-register {
  background: #aa6459;
  color: #ffffff;
}

/* Hero Section específico para agradecer.html */
.agradecimento-hero {
  width: 100%;
  height: 100vh; /* Faz com que a seção cubra a altura total da janela */
  background: url("img/home.jpeg") no-repeat center center/cover;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

.agradecimento-content {
  text-align: center;
}

.agradecimento-content h1 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  color: #ffffff; /* Texto branco */
  margin-bottom: 20px;
}

.agradecimento-content p {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 28px;
  color: #ffffff; /* Texto branco */
  margin: 20px 0;
}

.agradecimento-content .edit-profile-button {
  width: 410px;
  height: 79px;
  background: #aa6459;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.09);
  border-radius: 20px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 38px;
  text-align: center;
  color: #ffffff;
  border: none;
  cursor: pointer;
  margin-top: 75px;
}

/* Seção As Mais Cozinhadas */

.most-cooked {
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.most-cooked h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  text-align: left; /* Alinhar à esquerda */
}

.most-cooked .view-more {
  float: right;
}

.most-cooked .view-more img {
  width: 120px;
  height: auto;
  cursor: pointer;
}

.most-cooked .recipes {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Define quatro colunas fixas */
  gap: 40px; /* Ajuste o espaço entre os cartões conforme necessário */
  width: 100%;
  box-sizing: border-box;
}

/* Responsividade */
@media (max-width: 1200px) {
  .most-cooked .recipes {
    grid-template-columns: repeat(3, 1fr); /* Define três colunas fixas */
  }
}

@media (max-width: 900px) {
  .most-cooked .recipes {
    grid-template-columns: repeat(2, 1fr); /* Define duas colunas fixas */
  }
}

/* Ajustes gerais para dispositivos móveis */
@media (max-width: 900px) {
  header nav ul {
    flex-direction: column;
    width: 100%;
  }

  header nav ul li {
    margin: 10px 10px;
    width: 100%;
  }

  header .search-bar {
    width: 100%;
    margin: 10px 0;
  }
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 10px 0px;
  }

  header .logo img {
    width: 180px;
    flex-direction: column;
    align-items: center;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  header nav ul li {
    margin: 20px 10px;
  }

  header .search-bar {
    width: 90%;
    margin: 10px 10px;
  }

  .hero {
    height: auto;
    padding: 20px 10px;
  }

  .hero-content {
    width: 95%;
    flex-direction: column;
    align-items: center;
  }

  .hero h1,
  .hero h2 {
    font-size: 32px;
    line-height: 38px;
  }

  .hero p {
    font-size: 18px;
    line-height: 22px;
  }

  .hero .buttons {
    flex-direction: column;
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }

  .most-cooked .recipes {
    grid-template-columns: 1fr;
  }

  .subscribe form {
    flex-direction: column;
    align-items: center;
    width: 100%; /* Garante que o formulário ocupe toda a largura disponível */
  }

  .subscribe form input,
  .subscribe form button {
    width: 100%; /* Garante que o input e o botão ocupem toda a largura */
    margin-bottom: 10px; /* Adiciona espaçamento entre os itens */
    border-radius: 9px; /* Ajustar borda para corresponder ao design móvel */
    box-sizing: border-box; /* Garante que padding e border sejam incluídos na largura e altura */
    max-width: 100%; /* Garante que o input e o botão não excedam a largura do contêiner */
  }

  .popular-categories .categories {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .recipe-details {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .recipe-content {
    flex-direction: column;
    align-items: center;
  }

  .ingredients,
  .preparation {
    width: 90%;
  }
}

/*responsividade register-content*/
@media (max-width: 600px) {
  .register-content {
    width: 90%;
    padding: 20px;
    margin: 200px auto 100px; /* Ajusta as margens para centralizar */
    box-sizing: border-box; /* Garante que o padding seja incluído na largura total */
  }

  .register-content h2 {
    top: -50px; /* Ajusta a posição do título */
    font-size: 24px; /* Ajusta o tamanho da fonte */
    line-height: 28px; /* Ajusta a altura da linha */
    padding: 0 10px; /* Ajusta o padding */
  }

  .register-form {
    width: 100%;
    max-width: 100%;
  }

  .register-form label {
    font-size: 24px;
    line-height: 28px;
  }

  .register-form input {
    font-size: 16px;
    padding: 8px;
  }

  .register-button {
    width: 100%;
    height: 50px;
    font-size: 18px;
  }
}

/* FIM Responsividade */

.recipe-card {
  width: 100%;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 12px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0);
  overflow: hidden;
  margin-bottom: 50px;
}

.recipe-card img {
  width: 100%;
  height: 229px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.recipe-card a {
  text-decoration: none; /* Remove o sublinhado dos links */
  color: inherit; /* Garante que o link herde a cor do texto */
}

.recipe-card .recipe-info {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12);
  border-radius: 0px 0px 12px 12px;
  padding: 10px;
}

.recipe-card .recipe-info p {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: #a4a4a4;
  margin: 10px 0;
}

.recipe-card .rating {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.recipe-card .rating .star {
  width: 25px;
  height: 25px;
  background-color: #aa6459;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.recipe-card .rating .star.empty {
  background-color: #d9d9d9;
}

/* Seção de Inscrição */

.subscribe {
  width: 100%;
  background: #fdf1ed;
  text-align: center;
  padding: 60px 20px;
  box-sizing: border-box;
}

.subscribe h2 {
  font-family: "Roboto", sans-serif;
  font-size: 36px;
  line-height: 42px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.subscribe p {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  line-height: 28px;
  color: #a4a4a4;
  margin-bottom: 40px;
}

.subscribe form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.subscribe form input {
  width: 435px;
  height: 59px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 9px 0px 0px 9px;
  padding: 10px;
  font-size: 18px;
  box-sizing: border-box;
}

.subscribe form button {
  width: 217px;
  height: 59px;
  background: #aa6459;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 0px 9px 9px 0px;
  color: #fff;
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  cursor: pointer;
}

/* Categorias Populares */

.popular-categories {
  text-align: center;
  padding: 60px 20px;
}

.popular-categories h2 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 36px;
  line-height: 42px;
  color: #000000;
  margin-bottom: 40px;
  text-align: left; /* Alinhar à esquerda */
}

.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.category-card {
  width: 253px;
  text-align: center;
}

.category-card img {
  width: 253px;
  height: 253px;
  border-radius: 50%;
  object-fit: cover;
}

.category-card p {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: #a4a4a4;
  margin-top: 10px;
}

/* Footer */
/* Footer */
footer {
  width: 100%;
  background: #f5f5f5;
  padding: 5px 0; /* Reduzir o padding */
}

.footer-content {
  width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0; /* Reduzir o padding interno */
}

.footer-logo img {
  width: 150px; /* Ajustar a largura da imagem conforme necessário */
  height: auto;
  margin-bottom: 5px; /* Reduzir a margem inferior */
  margin-top: -20px;
}

.footer-description p {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  color: #a4a4a4;
  margin-top: -40px; /* Ajustar a margem superior */
  margin-bottom: 10px; /* Ajustar a margem inferior */
}

.footer-links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px; /* Reduzir a margem inferior */
}

.footer-links div {
  text-align: left;
}

.footer-links h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  color: #000;
  margin-bottom: 5px; /* Reduzir a margem inferior */
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #a4a4a4;
  margin: 3px 0; /* Ajustar a margem */
}

.footer-links ul li a {
  text-decoration: none;
  color: #a4a4a4;
}

.footer-social {
  display: flex;
  justify-content: center;
  margin-bottom: 10px; /* Reduzir a margem inferior */
}

.footer-social a {
  margin: 0 5px; /* Ajustar a margem */
}

.footer-social img {
  width: 24px;
  height: 24px;
}

.footer-line {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.11);
  transform: rotate(0.2deg);
  margin-top: 5px; /* Reduzir a margem superior */
}

/* Responsividade do footer */
@media (max-width: 1200px) {
  .footer-content {
    width: 90%;
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px; /* Diminuir espaçamento entre os grupos de links */
  }

  .footer-links div {
    margin-bottom: 10px;
    width: 100%; /* Certifica que todos os blocos de links têm a mesma largura */
    max-width: 300px; /* Defina um valor máximo se necessário */
  }

  .footer-description p {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .footer-social {
    margin-bottom: 20px;
  }

  .footer-line {
    margin-top: 20px;
  }
}

@media (max-width: 992px) {
  .footer-content {
    width: 100%;
    padding: 0 20px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links div {
    margin-bottom: 15px;
    width: 100%; /* Certifica que todos os blocos de links têm a mesma largura */
    max-width: 300px; /* Defina um valor máximo se necessário */
  }

  .footer-description p {
    margin-top: 0;
    margin-bottom: 15px;
  }

  .footer-social {
    margin-bottom: 15px;
  }

  .footer-line {
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    width: 90%;
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px; /* Diminuir espaçamento entre os grupos de links */
  }

  .footer-links div {
    margin-bottom: 10px;
    width: 100%; /* Certifica que todos os blocos de links têm a mesma largura */
    max-width: 300px; /* Defina um valor máximo se necessário */
  }

  .footer-description p {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .footer-social {
    margin-bottom: 20px;
  }

  .footer-line {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .footer-content {
    width: 90%;
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px; /* Diminuir espaçamento entre os grupos de links */
  }

  .footer-links div {
    margin-bottom: 10px;
    width: 100%; /* Certifica que todos os blocos de links têm a mesma largura */
    max-width: 300px; /* Defina um valor máximo se necessário */
  }

  .footer-description p {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .footer-social {
    margin-bottom: 20px;
  }

  .footer-line {
    margin-top: 20px;
  }
}
/* fim da responsividade */

/* footer final*/

/* Estilos da Página de  Receita - RECEITAS */
/* Barra castanha */
.brown-bar {
  width: 80%; /* Ajuste a largura conforme necessário */
  height: 10px;
  background: #aa6459;
  margin: 40px auto; /* Centraliza a barra horizontalmente */
  border-radius: 10px; /* Cantos arredondados */
}

/* Estilo da seção de avaliação */
.container {
  text-align: center;
  margin-top: 80px;
}

.container h3 {
  font-weight: normal;
}

.recipe-rating {
  display: inline-block;
}

.stars {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.star {
  font-size: 30px;
  color: #dadada;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: none;
}

.star.filled {
  color: #aa6459;
}

.recipe-rating .rating-value {
  display: flex;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px; /* Ajuste o tamanho conforme necessário */
  line-height: 28px; /* Ajuste a altura da linha conforme necessário */
  color: #a4a4a4;
  margin-left: 10px; /* Ajuste a margem conforme necessário */
}

.static-stars {
  display: flex;
  margin-right: 10px;
}

.static-stars .star {
  width: 45.57px;
  height: 45.57px;
  background-color: #aa6459;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.static-stars .star.empty {
  background-color: #d9d9d9;
}

/* Estilo da seção de inscrição */
.subscribe {
  width: 100%;
  background: #fdf1ed;
  text-align: center;
  padding: 60px 20px;
  box-sizing: border-box;
}

.subscribe h2 {
  font-family: "Roboto", sans-serif;
  font-size: 36px;
  line-height: 42px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 10px;
}

.subscribe p {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  line-height: 28px;
  color: #a4a4a4;
  margin-bottom: 40px;
}

.subscribe .buttons {
  display: flex;
  justify-content: center;
  gap: 90px; /* Espaço maior entre os botões */
}

.subscribe .position-login,
.subscribe .position-register {
  width: 140px;
  height: 50px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  border-radius: 6px;
  border: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.subscribe .position-login {
  background: #ebebeb;
  color: #000000;
}

.subscribe .position-register {
  background: #aa6459;
  color: #ffffff;
}

/* Seção de receitas que vai gostar */
.recipe-page-related-recipes {
  width: 100%;
  padding: 60px 50px;
  box-sizing: border-box;
  position: relative;
}

.recipe-page-related-recipes h2 {
  font-family: "Roboto", sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #000;
  margin-bottom: 60px;
  margin-top: 80px;
  text-align: center;
}

.recipe-page-slider {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.recipe-page-arrow {
  background-color: transparent;
  border: none;
  font-size: 36px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200; /* Garanta que a seta esteja acima de outros elementos */
  color: #aa6459;
}

.recipe-page-arrow.left {
  left: 10px;
}

.recipe-page-arrow.right {
  right: 10px;
}

.recipe-page-recipes {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.recipe-page-recipe-card {
  min-width: 358px;
  flex-shrink: 0;
  margin: 0 10px; /* Ajusta a margem entre os cartões */
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12);
}

.recipe-page-recipe-card a {
  text-decoration: none; /* Remove o sublinhado dos links */
  color: inherit; /* Mantém a cor do texto */
}

.recipe-page-recipe-card a:hover {
  color: #aa6459; /* Adiciona um efeito de hover opcional */
}

.recipe-page-recipe-img {
  width: 100%;
  height: 255px;
  background-size: cover;
  background-position: center;
  border-radius: 12px 12px 0 0;
}

.recipe-page-recipe-img.sopa {
  background-image: url("img/Sopa.jpeg");
}

.recipe-page-recipe-img.caril {
  background-image: url("img/Caril.jpeg");
}

.recipe-page-recipe-img.lasanha {
  background-image: url("img/Lasanha.jpeg");
}

.recipe-page-recipe-img.salada {
  background-image: url("img/Vegetariano.jpeg");
}

.recipe-page-recipe-img.lombinhos {
  background-image: url("img/Lombinhos.jpeg");
}

.recipe-page-recipe-img.cheesecake {
  background-image: url("img/Cheesecake.jpeg");
}

.recipe-page-recipe-img.hamb {
  background-image: url("img/Hamburguer.jpeg");
}
.recipe-page-recipe-img.entrecosto {
  background-image: url("img/Entrecosto.jpeg");
}

.recipe-page-recipe-info {
  background: #ffffff;
  padding: 10px;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recipe-page-recipe-info p {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  line-height: 28px;
  color: #a4a4a4;
  margin: 10px 0;
  text-align: center;
}

.recipe-page-rating {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.recipe-page-star {
  width: 20px;
  height: 20px;
  background-color: #aa6459;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  margin-right: 5px;
}

.recipe-page-star.empty {
  background-color: #d9d9d9;
}

/*a*/
/* Seção de Receita Hero */
.recipe-hero {
  width: 90%;
  max-width: 1280px;
  height: auto;
  margin: 160px auto 0;
  background: #f5f5f5;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  display: flex;
  position: relative;
  flex-direction: column; /* Flex direction column por padrão */
}

.recipe-hero .recipe-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recipe-hero .recipe-info h1 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  color: #000000;
  display: flex;
  align-items: center;
}

.recipe-hero .recipe-info h1 img {
  margin-left: 20px;
  width: 34px;
  height: 42px;
}

/* Estilo da seção de avaliação */
.recipe-hero .recipe-info .rating {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.recipe-hero .recipe-info .rating .stars {
  display: flex;
  margin-right: 10px;
  align-items: center; /* Garantir que as estrelas estejam alinhadas ao centro verticalmente */
}

.recipe-hero .recipe-info .rating .stars .star {
  width: 45.57px;
  height: 45.57px;
  background-color: #aa6459;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.recipe-hero .recipe-info .rating .stars .star.empty {
  background-color: #d9d9d9;
}

.recipe-hero .recipe-info .rating .rating-value {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 38px;
  color: #a4a4a4;
  display: flex;
  align-items: center; /* Garantir que o valor da classificação esteja alinhado ao centro verticalmente */
}

.recipe-hero .recipe-image {
  width: 100%;
  height: 428px;
  border-radius: 0px 0px 20px 20px;
  background: url("img/Lasanha.jpeg") no-repeat center center/cover;
}

/* Media Queries */
@media (min-width: 768px) {
  .recipe-hero {
    flex-direction: row; /* Altere a direção do flex para linha */
  }

  .recipe-hero .recipe-image {
    width: 50%; /* Ajuste a largura para 50% */
    border-radius: 0px 20px 20px 0px;
  }
}
@media (max-width: 600px) {
  .recipe-hero {
    flex-direction: column; /* Alinhar os elementos em coluna */
    align-items: center; /* Centralizar os itens */
  }

  .recipe-hero .recipe-image {
    width: 100%;
    height: 300px; /* Ajustar altura da imagem conforme necessário */
    border-radius: 0; /* Remover bordas arredondadas para um visual mais coeso */
  }

  .recipe-hero .recipe-info {
    width: 100%;
    padding: 20px;
    text-align: center; /* Centralizar o texto */
  }

  .recipe-hero .recipe-info h1 {
    font-size: 24px; /* Ajustar o tamanho da fonte conforme necessário */
    line-height: 28px; /* Ajustar altura da linha */
  }

  .recipe-hero .recipe-info .rating .stars .star {
    width: 25px; /* Ajustar o tamanho das estrelas */
    height: 25px; /* Ajustar o tamanho das estrelas */
  }

  .recipe-hero .recipe-info .rating .rating-value {
    font-size: 18px; /* Ajustar o tamanho da fonte conforme necessário */
  }

  .recipe-details {
    flex-direction: column; /* Alinhar os elementos em coluna */
    align-items: center; /* Centralizar os itens */
    padding: 20px 0;
  }

  .recipe-details .detail-item {
    margin-bottom: 20px; /* Adicionar espaço entre os itens */
  }

  .recipe-details .divider {
    display: none; /* Esconder os divisores em telas pequenas */
  }

  .recipe-content {
    flex-direction: column; /* Alinhar os elementos em coluna */
    align-items: center; /* Centralizar os itens */
    margin: 20px auto;
    gap: 20px; /* Espaçamento entre os blocos */
  }
}

/* Responsividade adicional para a seção Modo de Preparação e Ingredientes */

/* Ajustes gerais para dispositivos móveis menores que 600px */
@media (max-width: 600px) {
  .ingredients,
  .preparation {
    width: 100%; /* Fazer com que ocupem toda a largura */
    padding: 20px;
    box-sizing: border-box; /* Garantir que o padding seja considerado no tamanho total */
    margin: 0 auto; /* Centralizar a seção */
  }

  .ingredients h2,
  .preparation h2 {
    font-size: 24px; /* Ajustar o tamanho da fonte conforme necessário */
    text-align: center; /* Centralizar os títulos */
    line-height: 28px; /* Ajustar a altura da linha */
    margin-bottom: 20px; /* Ajustar a margem inferior */
  }

  .ingredients ul {
    padding-left: 20px; /* Ajustar padding conforme necessário */
  }

  .ingredients li,
  .preparation li {
    font-size: 16px; /* Ajustar o tamanho da fonte conforme necessário */
    line-height: 22px; /* Ajustar a altura da linha */
    padding-left: 20px; /* Ajustar padding conforme necessário */
    margin-bottom: 20px; /* Ajustar a margem inferior */
  }

  .preparation ol {
    padding-left: 0; /* Remover padding à esquerda */
  }

  .preparation li::before {
    left: 10px; /* Ajustar a posição do número */
    font-size: 16px; /* Ajustar o tamanho da fonte do número */
  }

  .preparation li p {
    font-size: 14px; /* Ajustar o tamanho da fonte conforme necessário */
    line-height: 20px; /* Ajustar a altura da linha */
    margin-top: 5px; /* Ajustar a margem superior */
  }
}

/* Fim da responsividade */
/*asas*/
.recipe-hero .entrecosto-image {
  width: 628px;
  height: 428px;
  border-radius: 0px 20px 20px 0px;
  background: url("img/Entrecosto.jpeg") no-repeat center center/cover;
}

.recipe-hero .sopa-image {
  width: 628px;
  height: 428px;
  border-radius: 0px 20px 20px 0px;
  background: url("img/Sopa.jpeg") no-repeat center center/cover;
}

.recipe-hero .caril-image {
  width: 628px;
  height: 428px;
  border-radius: 0px 20px 20px 0px;
  background: url("img/Caril.jpeg") no-repeat center center/cover;
}

.recipe-hero .bookmark {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #aa6459;
  width: 34px; /* Ajusta o tamanho do ícone */
  height: 42px; /* Ajusta o tamanho do ícone */
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bookmark-icon {
  width: 34px;
  height: 42px;
  cursor: pointer;
}

.recipe-details {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 0;
}

.recipe-details .detail-item {
  text-align: center;
}

.recipe-details .detail-item h3 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 38px;
  color: #bbbbbb;
  margin: 0 0 10px;
}

.recipe-details .detail-item p {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: #000000;
  margin: 0;
}

.recipe-details .divider {
  width: 2px;
  height: 50px;
  background: #bbbbbb;
}

.recipe-content {
  display: flex;
  justify-content: center; /* Centraliza os blocos na página */
  align-items: flex-start; /* Alinha os blocos ao topo verticalmente */
  margin: 40px auto;
  max-width: 1280px;
  gap: 50px; /* Espaçamento entre os blocos */
}

.ingredients {
  width: 350px;
  padding: 20px;
  background: #fdf1ed;
  border-radius: 15px;
  font-family: "Roboto", sans-serif;
  margin-bottom: 20px;
  padding-left: 30px; /* Adiciona padding à esquerda para centralizar texto */
}

.ingredients h2 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #000000;
  margin-bottom: 20px;
  padding-left: 0; /* Remove padding à esquerda do título */
}

.ingredients ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ingredients li {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px; /* Aumenta o espaçamento entre as linhas */
  color: #000000;
  margin-bottom: 10px;
}

.ingredients li span {
  display: block;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  color: #a4a4a4;
  margin-top: 5px;
}

.preparation {
  width: 800px;
  padding: 20px;
  margin-left: 20px;
  font-family: "Roboto", sans-serif;
}

.preparation h2 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: bold; /* Ajuste para negrito */
  font-size: 24px;
  line-height: 28px;
  color: #000000;
  margin-bottom: 20px;
  padding-left: 40px; /* Alinha o título com o texto dos passos */
}

.preparation ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.preparation li {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  color: #aa6459;
  margin-bottom: 10px;
  position: relative;
  padding-left: 40px; /* Espaço suficiente para o número do passo */
  margin-bottom: 20px; /* Adiciona espaçamento entre os passos */
}

.preparation li::before {
  content: attr(data-step);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  width: 40px; /* Espaço suficiente para o número do passo */
}

.preparation li p {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 21px;
  color: #a4a4a4;
  margin: 0;
  margin-top: 5px; /* Adiciona espaçamento entre o título e o texto do passo */
}

/* fim das receitas */

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}

.register-hero {
  position: relative;
  width: 100%;
  background: url("img/home.jpeg") no-repeat center center;
  background-size: cover; /* Faz com que a imagem cubra completamente a área */
  display: flex;
  justify-content: center;
  align-items: center;
}

.register-content {
  position: relative;
  width: 1000px;
  background: #ffffff;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 40px; /* Adiciona padding interno */
  margin-top: 350px;
  margin-bottom: 100px; /* Adiciona uma margem inferior para aumentar o espaço */
}

.register-content h2 {
  position: absolute;
  top: -270px; /* Ajusta a posição para cima */
  width: 100%; /* Ajusta a largura para 100% */
  max-width: 652px; /* Limita a largura máxima */
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  text-align: center;
  color: #ffffff;
  margin: 20px;
  padding: 0 20px; /* Adiciona padding para garantir que o texto não seja cortado */
}

.register-form {
  width: 80%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.register-form label {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 38px;
  color: #000000;
  text-align: left; /* Alinha o texto à esquerda */
}

.register-form input {
  width: 100%;
  height: 43px;
  background: #ffffff;
  border: 4px solid #aa6459;
  border-radius: 5px;
  font-size: 16px;
  padding: 10px;
  box-sizing: border-box;
}

.register-form p {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: #a4a4a4;
  margin: 10px 0;
  text-align: left; /* Alinha o texto à esquerda */
}

.button-container {
  display: flex;
  justify-content: center;
}

.register-button,
.login-button {
  width: 100%;
  max-width: 410px;
  height: 79px;
  background: #aa6459;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.09);
  border-radius: 20px;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  margin-top: 40px;
  box-sizing: border-box;
  border: none; /* Adiciona esta linha para garantir que não há borda */
}

/* Estilo para página de login */
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}

.login-page header nav ul li a.receitas {
  color: #000; /* Cor preta para o link "Receitas" na página de login */
}

.login-page header nav ul li a.conta-link {
  color: #aa6459; /* Cor castanha para o link "Conta" na página de login */
}

.login-hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh-50px); /* Altura mínima de 100% da visualização */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fdf1ed;
  padding: 20px;
  box-sizing: border-box;
}

.login-content {
  width: 100%;
  max-width: 800px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  text-align: center;
  margin-bottom: 150px; /* Adicione margem para evitar corte nas bordas */
  margin-top: 250px;
}

.login-content h2 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  text-align: center;
  color: #000000;
  margin-bottom: 20px;
  margin-top: 5px;
}

.login-content p {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  color: #a4a4a4;
  margin-bottom: 40px;
}

.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%; /* Garanta que o formulário ocupe toda a largura disponível */
}

.login-form label {
  width: 100%;
  max-width: 717px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 38px;
  color: #000000;
  text-align: left;
  box-sizing: border-box;
}

.login-form input {
  width: 100%;
  max-width: 717px;
  height: 43px;
  background: #ffffff;
  border: 4px solid #aa6459;
  border-radius: 5px;
  font-size: 16px;
  padding: 10px;
  box-sizing: border-box;
}

.login-button {
  width: 100%;
  max-width: 410px;
  height: 79px;
  background: #aa6459;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.09);
  border-radius: 20px;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  margin-top: 40px;
  box-sizing: border-box;
}

/* Estilos da página da conta */
.account-hero {
  text-align: center;
  margin-top: 200px;
}

.profile-picture {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.account-name {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 38px;
  color: #000000;
  margin-bottom: 40px;
}

.view-more-link {
  text-align: center;
  margin-top: 20px;
}

.view-more-link p {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 21px;
  color: #aa6459;
  cursor: pointer;
  text-decoration: none;
}

/* Ajustes para "As Minhas Receitas" */
.account-recipes {
  position: relative; /* Ajustado conforme necessário */
  width: 652px;
  height: 56px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 38px;
  text-align: center;
  color: #000000;
  margin-top: 30px; /* Ajusta a margem superior conforme necessário */
  margin-bottom: 40px; /* Adiciona uma margem inferior para espaçamento */
}

/* Estilo específico para a página conta.html */
.receitas-preto {
  color: #000000;
}

.conta-castanho {
  color: #aa6459;
}

/* Estilos para a página 404 */
main.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 100px);
  text-align: center;
  padding-top: 100px; /* Ajusta conforme necessário para espaço com o header fixo */
}

.error-image {
  width: 35%; /* Ajusta a largura da imagem para 50% do contêiner pai */
  height: auto; /* Mantém a proporção da imagem */
}

main.error-page h1 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  text-align: center;
  color: #000000;
  margin-top: 20px;
}

main.error-page p {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  text-align: center;
  color: #a4a4a4;
  margin-top: 10px;
}
