@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Poppins:wght@300;400;500;700&family=Roboto:wght@700&display=swap");

:root {
  --cor-fundo: #2f3540;
  --laranja: #f28705;
  --verde: #a0a603;
  --branco: #ffffff;
  --vermelho: #f23e05;
  --fonte: "Roboto", sans-serif;
  --cinza: #f6f6f6;
  --cinza-medio: #d9d9d9;
  --cinza-medio-escuro: #959595;
}

* {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: var(--fonte);
}

.conteudo {
  background: var(--branco);
  height: 100%;
  background-image: none;
  display: flex;
  margin-left: 200px;
  padding: 1.5em 1em;
  flex-direction: column;
}

.menu__navegacao {
  position: relative;
  width: 100%;
  height: 100vh;
}

.menu__icone {
  position: absolute;
  right: 10px;
  display: flex;
  gap: 1rem;
}

.icone__botao {
  width: 1.5rem;
  cursor: pointer;
}

.container__lateral {
  height: 100%;
  width: 200px;
  position: fixed;
  z-index: 1;
  background-color: var(--cor-fundo);
  overflow-x: hidden;
  padding-top: 20px;
}

.container__lateral a {
  text-decoration: none;
  padding: 6px 6px 6px 32px;
  display: block;
  color: var(--branco);
  font-weight: 700;
  font-family: var(--fonte);
}

.menu__botao {
  margin: 0px;
  padding: 0px;
}

.lateral__img {
  width: 60%;
  padding: 0 3em;
}

.container__menu {
  display: flex;
  color: black;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.pesquisa {
  align-items: center;
  width: 390px;
  border-radius: 20px;
  border: 1px transparent;
  padding: 0.4em;
  background-color: var(--cinza);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.pesquisa::placeholder {
  text-align: center;
  background: url("../assets/Lupa.svg") no-repeat;
  background-size: 4%;
  background-position: 1em;
  color: var(--cor-fundo);
  font-family: var(--fonte);
}

.receitas {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  gap: 2em;
}

.icon {
  height: 1.5em;
}

.receita__rating {
  display: flex;
  justify-content: space-between;
}

.receita__card {
  width: 390px;
}

.card__img {
  width: 390px;
  margin-bottom: 0.7em;
}

.comments {
  position: relative;
}

@media (max-width: 902px) {
  .menu__icone {
    flex-direction: column;
    top: 0.1;
    right: 10px;
  }
}

@media (max-width: 698px) {
  .container__lateral {
    width: 100%;
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .lateral__img {
    width: 8rem;
  }

  .conteudo {
    display: flex;
    height: 100%;
    display: flex;
    margin: 0;
    padding: 1.5em 1em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .menu_lateral {
    display: flex;
  }

  .menu__navegacao {
    position: static;
  }

  .menu__icone {
    position: static;
    flex-direction: row;
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
  }
}

@media (max-width: 419px) {
  .receita__card {
    width: 250px;
  }

  .menu__icone {
    gap: 2rem;
  }

  .card__img {
    width: 250px;
    margin-bottom: 0.7em;
  }

  .pesquisa {
    width: 250px;
    padding: 0.4em;
    background-color: var(--cinza);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
}
@import url("./style.css");

.principal-receita {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 3rem;
}

.principal-receita > img {
  width: 100%;
}

.infos-receita {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin-top: 0.6rem;
}

.rating-receita {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding-top: 0.6rem;
  font-size: 22px;
}

.infos-user-receita {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  gap: 0.6rem;
}

.infos-user-receita > img {
  width: 38px;
}

.title-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 0.6rem;
}

.title-options-more {
  display: flex;
  gap: 1.8rem;
}

#show-more {
  transition: all 0.3s;
}

.inverterBotao {
  transform: scaleY(-100%);
}

.title-text {
  position: relative;
}

.title-text p {
  display: inline;
}

.title-text::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: 0;
  width: 60%;
  height: 2px;
  background-color: var(--laranja);
}

.fc-format {
  font-family: Arial, Helvetica, sans-serif;
  color: #525151;
  text-align: justify;
}

.mostrar {
  display: grid;
  opacity: 1;
  width: 95%;
  height: 100vh;
  margin-top: 2rem;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  font-family: Arial, Helvetica, sans-serif;
}

.container-infos-receita {
  display: none;
  opacity: 0;

  width: 95%;
  height: 100vh;
  margin-top: 2rem;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  font-family: Arial, Helvetica, sans-serif;
}

#mostrarBtn {
  border: none;
  align-items: center;
  background-color: transparent;
  cursor: pointer;
}

.resumo-ingredientes {
  display: flex;
  flex-direction: column;
  align-items: right;
  gap: 3rem;
}

.resumo {
  display: flex;
  flex-flow: column wrap;
  gap: 0.5em;
}

.ingredientes {
  display: flex;
  flex-flow: column wrap;
  gap: 1rem;
}

.ingredientes > ul {
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modo-preparo-coments {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.coments-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.title-coments {
  position: relative;
}

.title-coments h2 {
  display: inline;
}

.title-coments::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10%;
  width: 22%;
  height: 3px;
  background-color: var(--laranja);
}

#comments {
  display: flex;
  flex-direction: column;
}

.comentar-container {
  position: relative;
  display: flex;
  width: 350px;
  align-items: flex-end;
}

.comments {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#texto-contador {
  position: absolute;
  bottom: 5px;
  right: 8px;
  font-size: 14px;
  color: var(--cinza-medio-escuro);
}

#enterMsg {
  width: 18px;
  position: absolute;
  bottom: 8px;
  left: 6px;
  cursor: pointer;
}

#comentar {
  height: 100px;
  min-width: 350px;
  font-size: 16px;
  resize: none;
  border: none;
  background-color: var(--cinza-medio);
  border-radius: 10px;
  padding-top: 5px;
  padding-left: 4px;
  box-shadow: 4px 6px 8px var(--cinza-medio-escuro);
}

#comentar:focus {
  outline: none;
}

.comentarios {
  display: flex;
  flex-flow: column wrap;
  gap: 0rem;
  justify-content: center;
  width: 68%;
}

.userComents {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.userComents > img {
  width: 28px;
}

.userComents > input {
  border: none;
  background-color: var(--cinza-medio);
  border-radius: 1px;
  padding: 2px 1px;
  width: 70%;
}

@media (max-width: 1104px) {
  .mostrar {
    width: 95%;
    grid-template-columns: 1fr;
  }

  .comentar-container {
    width: 350px;
  }

  .icon {
    width: 16px;
  }

  .infos-user-receita img {
    width: 28px;
  }
}

@media (max-width: 902px) {
  .menu__icone {
    flex-direction: column;
    top: 0.1;
    right: 10px;
  }
}

@media (max-width: 765px) {
  .title-options {
    flex-direction: column-reverse;
    gap: 1rem;
  }
}

@media (max-width: 698px) {
  .container__lateral {
    width: 100%;
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .lateral__img {
    width: 8rem;
  }

  .conteudo {
    display: flex;
    height: 100%;
    display: flex;
    margin: 0;
    padding: 1.5em 1em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .menu_lateral {
    display: flex;
  }

  .menu__navegacao {
    position: static;
  }

  .menu__icone {
    position: static;
    flex-direction: row;
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
  }
}

@media (max-width: 419px) {
  .menu__icone {
    gap: 2rem;
  }

  .pesquisa {
    width: 250px;
    padding: 0.4em;
    background-color: var(--cinza);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  .principal-receita > img {
    width: 300px;
  }

  .infos-receita {
    flex-direction: column-reverse;
  }

  .rating-receita {
    gap: 0.8rem;
  }

  .icon {
    width: 10px;
  }

  .title-text > h2 {
    font-size: 18px;
  }

  .title-options-more {
    justify-content: space-evenly;
    align-items: center;
  }

  #mostrarBtn > img {
    width: 18px;
  }

  .comentar-container {
    width: 250px;
    padding-top: 1rem;
  }

  #comentar {
    height: 100px;
    min-width: 100%;
    font-size: 16px;
    resize: none;
    border: none;
    background-color: var(--cinza-medio);
    border-radius: 10px;
    padding-top: 5px;
    padding-left: 4px;
    box-shadow: 4px 6px 8px var(--cinza-medio-escuro);
  }
}
.remover__comentario {
  display: none;
}
