@font-face {
  font-family: 'MinhaFonte';
  src: url('../assets/fonts/Rubik.woff2') format('woff2');
}

@font-face {
  font-family: 'Forte';
  src: url('../assets/fonts/Rubik-SemiBold.woff2') format('woff2');
}

body {
  font-family: 'MinhaFonte', sans-serif;
}
.md-ellipsis, .md-nav__list{
  font-family: 'Forte', serif;
}

h1, h3, h2{
  font-family: 'Forte', serif;
}

h3, h4{
  text-decoration: underline;
}

.img-padrao {
  width: 700px;
  max-width: 100%;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

.zoom-hover {
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  text-align: center;
}

.zoom-hover img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.2s ease;
  display: block;
}

.zoom-hover figcaption {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
  font-style: italic;
}

.md-nav__list .md-nav__list {
  border-left: 1px solid #bdbdbd; 
  margin-left: 0.6rem; 
  padding-left: 0.6rem; 
}

.md-nav__item:hover > .md-nav__list {
  border-left-color: #8f8f8f; 
  transition: border-color 0.3s ease;
}

/* Tela de REGRAS */

.search-container {
  margin-bottom: 1rem;
}

#input-busca-regras {
  width: 100%;
  padding: 0.5rem;
  font-size: 0.6rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #333333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#input-busca-regras:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.lista-regras {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-regra {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 0.2rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 0.1rem;
}

.card-title {
  font-weight: 500;
  font-size: 0.7rem;
  color: #1a1a1a;
  line-height: 1.1;
}

.card-badge {
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 0.10rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 300;
}

.card-body p {
  margin: 0;
  color: #4a4a4a;
  font-size: 0.7rem;
  line-height: 1.2;
  word-wrap: break-word;
}

.card-body strong {
  color: #2d3748;
}

/*Botão*/

.btn-link {
  background-color: #007bff; /* Cor de fundo */
  color: #ffffff;            /* Cor do texto */
  font-size: 16px;           /* Tamanho da fonte */
  font-weight: bold;         /* Peso da fonte */
  padding: 12px 24px;        /* Espaçamento interno */
  border: none;              /* Remove a borda padrão */
  border-radius: 8px;        /* Cantos arredondados */
  cursor: pointer;           /* Muda o cursor para mãozinha */
  transition: all 0.3s ease; /* Transição suave */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra leve */
}

/* Efeito ao passar o mouse */
.btn-link:hover {
  background-color: #0056b3; /* Cor mais escura no hover */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Sombra maior */
  transform: translateY(-2px); /* Efeito de levitação */
}

/* Efeito ao clicar */
.btn-link:active {
  transform: translateY(0); /* Volta à posição normal */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra menor */
}