* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', sans-serif;
}

html {
  overflow-x: hidden;
}

.section-main {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.hero-container {
  width: 100%;
  padding: 15rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background-color: black;
}

.hero-container h1 {
  font-size: 3rem;
  font-weight: bolder;
  color: #ffffff;
  text-align: center;
}

.hero-container p {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: rgb(189, 189, 189);
}

.hero-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.hero-button a {
  font-size: 1.1rem;
  padding: 0.4rem 1rem;
  color: rgb(39, 39, 39);
  font-weight: 500;
  border-radius: 0.4rem;
  text-decoration: none;
  background-color: rgb(255, 255, 255);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-button a:last-child {
  border: 1px solid white;
  color: white;
  background-color: transparent;
}

.hero-button a:hover {
  background-color: rgba(255, 255, 255, 0.788);
}

.hero-button a:last-child:hover {
  background-color: white;
  color: black;
}


/*ESTILO DOS BOTÕES*/
.btn{
margin-top: 3rem;
color: #000000;
display: inline-block;
font-size: 1.4rem;
background: var(--main-color);
padding: 0.9rem 3rem;
cursor: pointer;
border-radius: 2rem;
}


/*PSEUDO CLASSE COM AS VARIÁVEIS DOS PADRÕES DE CORES*/
:root{
  --main-color: #828282;/*COR PRINCIPAL*/
  --bg: #171717; /*COR DE FUNDO */
  --bg-card: #ffffff; /*COR DE FUNDO DO CARD*/
  --cor-border: 0.1rem solid rgba(0, 0, 0, 0.3);/*COR E ESTILO DA BORDA*/
}

.menu .container-menu{
  display: grid;

  /*DEFINIÇÃO DE LINHAS E COLUNAS. O AUTO-FIT: CRIA AUTOMÁTICAMENTE AS COLUNAS QUE CABERÃO DENTRO DO CONTAINER. DEFINIDO EM UM TAMANHO MÁXIMO DE 30REN E UM MÍNIMO DE 1 FRAÇÃO*/
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  
  gap: 1.5rem;/*define os espaços (gutters) entre as linhas e colunas*/
}

.menu .container-menu .box{
  padding: 3rem;
  text-align: center;
  border: var(--cor-border);
  background-color: var(--bg-card);
}

.menu .container-menu .box img{
  height: 18rem;
  border-radius: 5%;
}
.menu .container-menu .box h3{
color: #181818;
font-size: 2rem;
padding: 1rem ;
}
.menu .container-menu .box .price{
color: #000000;
font-size: 2.45rem;
padding: 0.5rem 0;
}
.menu .container-menu .box .price span{
font-size: 2.45rem;
text-decoration: line-through; /*TACHADO*/
font-weight: lighter;/*NEGRITO LEVE - COR SUAVE*/
}
.menu .container-menu .box:hover {
background: #616161;
}
/*UTILIZANDO OUTRO PSEUDO CLASSE QUE TODO (*) O ELEMENTO FILHO (<) QUE ESTIVER DENTRO DA CLASSE BOX*/
.menu .container-menu .box:hover > * {
color: rgb(255, 245, 245);
}

/*CENTRALIZA E ESTILIZA A TABELA*/
.tabela-centro {
  max-width: 500px;
  margin: 100px auto;
  border: 3px solid #000000;
}

/*ESTILIZAÇÃO DE BORDAS NA PARTE INTERNA DA TABELA*/
.tabela-centro th,
.tabela-centro td {
  border: 2px solid #ff0000;
  text-align: center;
  align-items: center;
  vertical-align: middle;
}


        body {
          font-family: Arial, sans-serif;
          background-color: #f9f9f9;
          margin: 0;
        }
    
        .header {
          background-color: #343a40;
          color: white;
          padding: 20px 30px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          flex-wrap: wrap;
        }
    
        .header .logo h1 {
          font-size: 24px;
          margin: 0;
        }
    
        .navbar-pc a {
          color: white;
          margin-left: 20px;
          text-decoration: none;
          font-weight: bold;
        }
    
        .navbar-pc a:hover {
          text-decoration: underline;
        }
    
        .cart-icon {
          position: relative;
          cursor: pointer;
        }
    
        .cart-icon .fa-shopping-cart {
          font-size: 24px;
          color: white;
        }
    
        .cart-count {
          position: absolute;
          top: -8px;
          right: -12px;
          background-color: red;
          color: white;
          font-size: 12px;
          padding: 2px 6px;
          border-radius: 50%;
        }
    
        .title {
          text-align: center;
          margin: 40px 0 20px;
          font-size: 32px;
        }
    
        .title span {
          color: #007bff;
        }
    
        .container-menu {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
          gap: 30px;
          padding: 20px 40px;
          max-height: 70vh;
          overflow-y: auto;
          scroll-behavior: smooth;
        }
    
        .box {
          background-color: #fff;
          border-radius: 8px;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          padding: 15px;
          text-align: center;
          transition: transform 0.2s ease;
        }
    
        .box:hover {
          transform: scale(1.03);
        }
    
        .box img {
          width: 100%;
          height: 180px;
          object-fit: cover;
          border-radius: 6px;
        }
    
        .box h3 {
          margin: 15px 0 10px;
          font-size: 18px;
        }
    
        .price {
          font-size: 20px;
          font-weight: bold;
          color: #28a745;
          margin-bottom: 10px;
        }
    
        .btn {
          background-color: #007bff;
          color: white;
          padding: 10px 15px;
          text-decoration: none;
          border-radius: 5px;
          display: inline-block;
        }
    
        .btn:hover {
          background-color: #0056b3;
        }
    
        footer {
          background: #343a40;
          color: white;
          text-align: center;
          padding: 15px;
          margin-top: 40px;
        }
    
        /* Imagem no carrinho */
        #cart-items img {
          width: 50px;
          height: 50px;
          object-fit: cover;
          border-radius: 4px;
          margin-right: 10px;
        }