body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

header {
  background: linear-gradient(to bottom, rgb(0, 0, 139), rgb(0, 0, 139), rgba(0, 6, 67));
  color: white;
  text-align: center;
  padding: 20px 0;
}

.abas {
  display: flex;
  justify-content: center;
  background-color: transparent;
  padding: 15px 0;
  gap: 10px;
}

.abas button {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  padding: 8px 12px;
  border: none;
  background-color: rgb(0, 0, 139);
  color: white;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  white-space: nowrap;
  word-break: break-word;
  transition: background-color 0.3s;
}

.abas button:hover {
  background-color: #234bff;
}

.busca {
  text-align: center;
  margin: 5px;
}

.busca input {
  padding: 10px;
  width: 60%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.busca button {
  padding: 10px 20px;
  margin-left: 10px;
  background-color: #00027c;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 5px; /*isso empurra o botão um pouco para baixo */
}

main {
  padding: 20px;
}

.conteudo-aba {
  display: none;
}

.conteudo-aba.ativo {
  display: block;
}

.noticia {
  background-color: white;
  border-left: 5px solid #004d99;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.noticia h3 {
  background: linear-gradient(to right, rgb(0, 0, 139), rgb(0, 0, 139), rgba(25, 0, 255, 0));
  color: white;
  padding: 12px 16px;
  margin-bottom: 12px;
  font-size: 1.3em;
  border-radius: 8px 8px 0 0;
  backdrop-filter: blur(2px);
}

.noticia-conteudo {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.noticia img {
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: 5px;
}

.noticia p {
  flex: 1;
  margin: 0;
}

.data {
  font-size: 0.9em;
  color: gray;
  margin-top: 10px;
}

footer {
  background-color: #004d99;
  color: white;
  text-align: center;
  padding: 10px 0;
}

.redes-sociais {
  margin-top: 10px;
}

.redes-sociais a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}

.redes-sociais a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .abas {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
  }

  .abas button {
    font-size: 0.7em;
    padding: 6px;
  }

  .busca input {
    width: 80%;
  }

  header h1 {
    font-size: 1.4em;
  }

  .noticia h3 {
    font-size: 1em;
  }

  .noticia p {
    font-size: 0.9em;
  }

  .redes-sociais {
    font-size: 0.85em;
  }

  .noticia-conteudo {
    flex-direction: row;
    align-items: flex-start;
  }

  .noticia img {
    max-width: 120px;
    width: 100%;
    height: auto;
    margin: 0;
  }
}

.link-noticia {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-noticia:hover .noticia {
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.noticia {
  background-color: white;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  transition: transform 0.2s ease;
}

/* Layout sessão fotos de camisas de time */
.anuncio {
  background-color: #f8f8f8;
  padding: 20px;
}

/* Container que alinha logo e carrossel lado a lado */
.linha-loja {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap; /* permite quebrar em telas pequenas */
  padding: 15px;
  margin: 1px;
  margin-top: 13px;
}

/* Container com rolagem horizontal */
.carousel-container {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background-color: #04003d;
  padding: 20px;
  white-space: nowrap;
  border-radius: 8px;
  margin-top: 0; /* removido o -9px para alinhamento melhor */
}

/* Imagens dentro do carrossel */
.carousel-track img {
  height: 120px;
  margin-right: 10px;
  border-radius: 4px;
}

.carousel-track {
  display: flex;
  gap: 10px;
  animation: scrollSlow 80s linear infinite; /* ⏱️ velocidade lenta e constante */
}

.carousel-track img {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.carousel-track img:hover {
  transform: scale(1.05);
}

.carousel-track img.zoom {
  transform: scale(1.15);
}

