@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Chango&family=Fredoka:wght@300..700&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Shadows+Into+Light&family=Sniglet:wght@400;800&display=swap");
@import url(home.css);

* {
  box-sizing: border-box;

  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  background-color: bisque;
  transition: background-color 0.5s ease;
  font-size: 16px;
}

/*----vercarrinho----*/

.vercarrinho {
  border: 1px solid #bb501b;
  border-radius: 50%;
  width: 2em;
  position: fixed;
  top: 19rem;
  left: 1rem;
  padding: 0.5em 1.5em;
  background-color: bisque;
  box-shadow:
    rgba(187, 81, 28, 0.5) 0px 54px 55px,
    rgba(187, 81, 28, 0.5) 0px -12px 30px,
    rgba(187, 81, 28, 0.5) 0px 4px 6px,
    rgba(187, 81, 28, 0.5) 0px 12px 13px,
    rgba(187, 81, 28, 0.5) 0px -3px 5px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 3s cubic-bezier(0.25, 1, 0.5, 1);

  @media (hover: hover) {
    &:hover {
      transform: rotate(10deg) scale(1.1);
      transition: 0.5s ease-in-out;
    }
  }

  i {
    font-size: 2em;
  }
}

/*----vercarrinho----*/

.content-aviso {
  background-image: url(../imagens/estrelas.png);
  border: 4.5px double #bb501b;
  color: bisque;
  display: flex;
  align-items: center;
  justify-content: start;
  font-family: sniglet, sans-serif;
  text-align: center;
  font-size: 1.2em;
  width: 99.5%;
  margin: -1.7em auto;
  height: 190px;
  padding: 0em 0.5em;
  text-shadow: 2px 2px 0 #bb501b;
}

/* --------cards-------- */

#cards-container {
  display: grid;
  grid-template-columns: repeat(1, 200px);
  gap: 48px;
  justify-content: center;
  align-items: center;
  margin-top: 2em;
  height: auto;
  padding: 5em 0;
}

.card {
  border-top-left-radius: 1.2em;
  border-top-right-radius: 1.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  height: 335px;
  padding: 0.1em;
  font-family: sniglet;
  box-shadow:
    rgba(187, 81, 28, 0.5) 0px 54px 55px,
    rgba(187, 81, 28, 0.5) 0px -12px 30px,
    rgba(187, 81, 28, 0.5) 0px 4px 6px,
    rgba(187, 81, 28, 0.5) 0px 12px 13px,
    rgba(187, 81, 28, 0.5) 0px -3px 5px;
}

.card-preco {
  margin-top: -0.7em;
}

.img {
  width: 100%;
  height: 200px;
}

.img img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}

@media (hover: hover) {
  .img img:hover {
    cursor: pointer;
    transform: rotate(-5deg) scale(0.8);
    border-radius: 100%;
    transition: 1.5s;
  }
}

.info {
  position: relative;
  background-color: transparent;
  width: 100%;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;

  h1 {
    color: #bb501b;
    font-size: 2.1em;
    margin-top: 0.09em;
    text-shadow: 4px 3px 0 #722701;
  }
}

.carrinho {
  text-align: center;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  height: 4em;
  margin-top: -1em;

  p {
    padding: 0.2em;
    color: #bb501b;
    border: 1px dashed #bb501b;
    border-radius: 0.3em;
    background-color: transparent;
  }

  & .card-preco p:nth-child(1) {
    margin-top: 2em;
  }

  & .card-preco p:nth-child(2) {
    margin-top: -0.8em;
  }
}

.estrela2 {
  position: absolute;
  top: 0.2em;
  right: 0.2em;
  font-size: 1.3em;
}

.estrela2 i {
  animation: flutuarEGirar360 3s ease-in-out infinite;
}

.icon {
  background-color: transparent;
  cursor: pointer;
  border: none;
  border-radius: 0.5em;
  height: 44%;
  margin-top: 0.8em;
  box-shadow:
    rgba(187, 81, 15, 0.5) 0px 54px 55px,
    rgba(187, 81, 28, 0.5) 0px -12px 30px,
    rgba(187, 81, 28, 0.5) 0px 4px 6px,
    rgba(187, 81, 28, 0.5) 0px 12px 13px,
    rgba(187, 81, 28, 0.5) 0px -3px 5px;

  @media (hover: hover) {
    &:hover {
      transform: rotate(-10deg) scale(1.1);
      transition: 1s ease-in-out;
      background-color: bisque;
    }
  }
  a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  i {
    font-size: 2em;
  }
}

.pensando img {
  position: fixed;
  top: 47%;
  right: 5%;
  display: none;

  animation: flutuar 6s ease-in-out infinite;
}

/* --------fim cards-------- */

/*---- carrinho-content -----*/

.carrinho-content {
  height: 100vh;
  width: 100%;
  background-color: #bb501b;
  position: fixed;
  right: 100%;
  top: 0;
  z-index: 8;
  border: 8px double #722701;
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.carrinho-content.ativo {
  right: 0;
  transition: all 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.vercarrinho.ativo {
  top: 1rem;
  left: 1rem;
  transform: rotate(-360deg) scale(1.2);
  z-index: 12;

  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow:
    rgba(114, 39, 1, 0.5) 0px 54px 55px,
    rgba(114, 39, 1, 0.5) 0px -12px 30px,
    rgba(114, 39, 1, 0.5) 0px 4px 6px,
    rgba(114, 39, 1, 0.5) 0px 12px 13px,
    rgba(114, 39, 1, 0.5) 0px -3px 5px;
}

/*---- carrinho-content -----*/

/* ----responsividade----- */

@media screen and (orientation: landscape) {
  .vercarrinho {
    top: 14rem;
  }
}

@media screen and (max-width: 320px) {
  .vercarrinho {
    left: 0.5rem;
  }
  .vercarrinho.ativo {
    left: 1rem;
    top: 1rem;
  }
}

@media screen and (min-width: 625px) {
  #cards-container {
    grid-template-columns: repeat(2, 200px);
  }
}

@media screen and (min-width: 865px) {
  #cards-container {
    grid-template-columns: repeat(3, 200px);
  }
}

@media screen and (min-width: 1100px) {
  #cards-container {
    grid-template-columns: repeat(4, 200px);
  }

  .content-aviso {
    padding: 0 7em;
  }
}

@media screen and (min-width: 1380px) {
  .vercarrinho {
    left: 2rem;
  }

  .pensando img {
    display: block;
  }
  #cards-container {
    justify-content: flex-start;
    padding-left: 6em;
  }
}

@media screen and (min-width: 1550px) {
  .content-aviso {
    padding: 0 26em;
  }
}

@media screen and (min-width: 1700px) {
  .vercarrinho {
    left: 4rem;
  }

  #cards-container {
    padding-left: 10em;
  }
}

/* ----fim responsividade----- */
