/*  style10c.css  20251210 */
body {
  font-family: Arial, sans-serif;
  background: #9bc2cd;
  margin: 0;
  padding: 20px;
}

* {
  box-sizing: border-box;
}

/* HEADER EM FLEX */
.Linha-topo {
  display: flex;   /* lado a lado */
  align-items: center;   /* alinhamento vertical */
  gap: 106px;   /* espaço entre imagem e texto */
  padding: 5px;   border: 5px solid #985a5a;
  /* só para visualizar limites */
}

.logo {
  width: 120px;   /* ajusta conforme precisares */
  height: auto; 
  flex-shrink: 0; /* evita que a imagem encolha demasiado */
  display: block;
}

.texto-inline {
  /* garante que é um bloco ao lado */
  display: block;
  flex-direction: column;   /* empilha h1 e p */
  justify-content: center;  /* centra verticalmente */
  text-align: center;  /* centra horizontalmente */
  min-width: 0;  /* permite que o texto encolha sem quebrar layout */
}


/* 🔧 Responsividade: em telas pequenas */
@media (max-width: 150px) {
  .linha-topo {
    flex-direction: column;
    /* empilha imagem e texto */
    align-items: center;
    /* centraliza tudo */
    text-align: center;
  }

  .logo {
    width: 100px;
    /* ajusta o tamanho da imagem */
    height: auto;
  }

}


.caixa-texto {
  width: 300px;
  /* Largura da caixa */
  height: 150px;
  /* Altura da caixa */
  padding: 20px;
  /* Espaçamento interno */
  border: 2px solid #333;
  /* Borda sólida */
  margin: 25px;
  /* Espaçamento externo */
  background-color: #e98989;
  /* Cor de fundo */
  box-sizing: border-box;
  /* Garante que padding e border estejam dentro da largura/altura definidas */
  font-family: sans-serif;
  color: #000;
  text-align: justify;
  /* Alinha o texto */
}

 

ch1 {
  background-color: #666;
  color: rgb(194, 169, 174);
  position: absolute;
  left: 8px;
  top: 16%;

}
 
.timeline-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.timeline {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px;
  border-top: 10px solid #b00b2c;
}

.event {
  flex: 0 0 auto;
  width: 450px;
  margin-right: 40px;
  text-align: center;
  position: relative;
}

.event::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  background: #5f6977;
  border-radius: 50%;
}

.date {
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}

.event img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Botões fixos */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 214, 121, 0.8);
  color: #e10e0ed3;
  border: none;
  font-size: 48px;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.nav-btn.left {
  left: 10px;
}

.nav-btn.right {
  right: 10px;
}

.nav-btn:hover {
  background: rgba(135, 83, 83, 0.9);
}