@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Roboto&display=swap");

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

/* ----------------- Espaço em branco inferior ----------------- */
#espacoEmBrancoDeBaixo {
  position: relative;
  width: 100%;
  height: 20vw;
  max-height: 80px;
}
/* ----------------- Espaço em branco superior ----------------- */
#espaçoEmBranco {
  position: relative;
  /* background-color: #19d956; */
  width: 100%;
  height: 43vw;
  max-height: 135px;
  /* margin-bottom: 40px; */
}

body {
  background-color: #272727;
  color: aliceblue;
  font-family: "Open Sans", sans-serif;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 16px;
}

#container {
  position: relative;
  padding: 1rem;
}

/* Caixa de texto */
#caixaDeTexto {
  position: fixed;
  background-color: #1d1d1dc7;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  width: 100%;
  height: 40vw;
  max-height: 150px;
  top: 0;
  border-radius: 0 0 1rem 0;
  overflow: hidden;
  font-size: 1rem;
  z-index: 1;
  padding: 1rem;
}

#caixaDePreco {
  position: absolute;
  background-color: #0c0c0cc4;
  width: 40%;
  height: 40%;
  max-height: 100px;
  max-width: 600px;
  bottom: -6%;
  right: -4%;
  border-radius: 1rem 0 0 0;
  padding: 0.5rem 1rem;
}

/* Blocos */
.bloco {
  display: inline-block;
  width: calc(20% - 0.65rem);
  aspect-ratio: 1 / 1;
  background-color: #363636;
  overflow: hidden;
  margin: 0.3rem;
  border-radius: 10%;
  transition: 0.5s ease-in-out;
}

.blocoImagem {
  margin: 10% auto 0;
  width: 70%;
  height: 70%;
  border-radius: 20px;
}

.blocoTexto {
  margin-top: 5%;
  text-align: center;
  font-size: 1rem;
  transition: 0.5s ease-in-out;
}

/* Botões inferiores */
#botoesDeControle {
  position: fixed;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: #32323272;
  bottom: 0;
  width: 100%;
  height: 4rem;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.botoes {
  width: 30%;
  height: 3rem;
  background-color: #484848;
  border-radius: 0.5rem;
  font-size: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#resetar {
  background-color: #3997aa;
}

#finalizarPedido {
  background-color: #39aa46;
}

#apagar {
  background-color: #aa3939;
}

/* Tela Final */
#telaFinalizarPedido {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #363636;
  z-index: 2;
  user-select: none;
}

#telaFinalizarPedidoTexto {
  width: 100%;
  height: calc(100% - 240px);
  overflow-y: auto;
  font-size: 1.2rem;
  padding: 1rem;
}

#caixaTelaFinalizar {
  position: absolute;
  width: 100%;
  height: 80px;
  bottom: 100px;
  font-size: 1.5rem;
}

.botoes1 {
  position: absolute;
  width: 50%;
  height: 100%;
  padding: 1rem;
  overflow: hidden;
}

#caixaTotal {
  background-color: #9e9e9e;
  width: 100%;
}

#caixaTroco {
  display: none;
  background-color: #7d7d7d;
  right: 0;
  color: #86d9ff;
}

#inputPago {
  display: none;
  width: 100%;
  height: 3rem;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 1rem;
  font-family: "Open Sans", sans-serif;
}

#caixaBotoes {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 10px;
  height: 80px;
  width: 100%;
  padding: 0 1rem;
  gap: 8px;
}

.botoes2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  font-size: 1.2rem;
}

#botaoFechar {
  background-color: #aa3939;
}

#botaoEnviarZap {
  background-color: #39aa46;
}

#botaoCalcular {
  display: none;
  background-color: #3986aa;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .bloco {
    width: calc(25% - 0.65rem);
  }

  #botoesDeControle {
    height: 3rem;
  }

  .botoes {
    font-size: 0.9rem;
    height: 2.5rem;
  }

  #caixaTelaFinalizar {
    bottom: 80px;
  }

  #caixaBotoes {
    height: 80px;
  }

  .botoes2 {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 12px;
  }

  .bloco {
    width: calc(33.33% - 0.65rem);
  }

  .blocoTexto {
    margin-top: 5%;
    text-align: center;
    font-size: 0.8rem;
  }

  .blocoImagem {
    margin: 10% auto 0;
    width: 60%;
    height: 60%;
    border-radius: 10px;
  }

  #botoesDeControle {
    height: 5.5rem;
  }

  .botoes {
    font-size: 0.8rem;
    height: 3rem;
  }

  #caixaTelaFinalizar {
    position: absolute;
    width: 100%;
    height: 67px;
    bottom: 80px;
    font-size: 1.5rem;
  }

  #caixaBotoes {
    height: 60px;
  }

  .botoes2 {
    font-size: 0.9rem;
  }
}
