* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    background: hwb(240 87% 10%);
}

.menu-container {
  display: flex;
  justify-content: flex-end; /* Empurra todo o menu para a direita */
  align-items: center;       /* Alinha verticalmente os itens */
  gap: 15px;                 /* Controla o espaço entre as palavras */
  padding: 10px 20px;        /* Espaçamento interno para não grudar na borda da tela */
  width: 100%;               /* Garante que o container use a largura toda */
  box-sizing: border-box;
}

.menu-container a {
  text-decoration: underline;
  white-space: nowrap;       /* Impede que o texto quebre linha */
}



.card1, .card3 {
    display: flex;
    flex-grow: 1;
    /* ocupam o mesmo espaço */
    width: 1px;
}

.card2 {
    display: flex;
    flex-grow: 3;
    /* o dobro do espaço dos outros */
    width: 200px;
}

.card1 img, .card2 img, .card3 img, .card4 img, .card5 img, .card6 img, .card7 img {
    width: 100%;
}

.card8 {
    position: absolute;
    width: 150px;
    height: 60px;
    transform: rotate(-45deg);
    left: 0px;
    font-size: 18px;
    color: red;
    font-weight: bold;
  }
  
.cabecalho {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 10px;
}

.meio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 10px;
}

.rodape {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 10px;
}

.contato {
    display: flex;
    align-items: center;
    background: #55e755;
    width: fit-content;    /* O card terá a largura do texto */
    max-width: 90%;       /* Impede que o card saia da tela se o texto for gigante */
    border-radius: 25px;
    font-weight: bold;
    font-size: 15px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.contato a {
    color: white;
    margin-right: 5px;
}

.atendimento {
    display: flex;
    justify-content: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 15px;
    margin: 10px;
}

.card8 {
    position: absolute;
    width: 150px;
    height: 60px;
    transform: rotate(-45deg);
    left: 0px;
    font-size: 18px;
    color: red;
    font-weight: bold;
}

.card5 {
    width: 70px;
    height: 70px;
}

.card6, .card7 {
    width: 240px;
    height: 35px;
}

.direita {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card5, .card6, .card7 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coluna0, .coluna1, .coluna2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coluna0 {
    width: 120;
}

.coluna1, .card {
    width: 140px;
    border: 1px solid #ccc;
    font-size: 20px;
}

.coluna2 .card {
    width: 180px;
    border: 1px solid #ccc;
}

.fechado {
    color: red;
    font-weight: bold;
    /* opcional: deixa em negrito */
}

.card-atendimento {
    background-color: lab(20.62% -15.55 -4.62 / 0.425); /* Verde escuro */
    color: white;
    font-family: sans-serif;
    padding: 10px;
    border-radius: 8px;
    max-width: 400px;
}

.titulo {
    font-size: 1.2rem;
    margin-bottom: 10px;
    margin-top: 10px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    /*padding-bottom: 10px;*/
}

.tabela {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.2);
}

.linha {
display: grid;
grid-template-columns: 1fr 1fr 1fr; /* Divide em 3 colunas iguais */
border-bottom: 1px solid rgba(255,255,255,0.2);
}

.linha:last-child {
border-bottom: none;
}

.linha span {
padding: 5px;
border-right: 1px solid rgba(255,255,255,0.2);
font-size: 0.9rem;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

.linha span:last-child {
border-right: none;
}

.cabecalho {
background-color: rgba(255,255,255,0.05);
}

.linha.domingo {
    color: red;
    font-weight: bold;
}

  .linha-unica {
  padding: 10px;
  text-align: center;
  font-size: 0.8rem;
  background-color: rgba(0,0,0,0.2); /* Um fundo sutilmente diferente */
  border-top: 1px solid rgba(255,255,255,0.2);
}