
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #f0f2f5;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    padding: 30px;
}

.folha-papel {
    background-color: white;
    width: 210mm;
    min-height: 297mm;
    padding: 15mm;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}

h2{
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
}

header {
    background-color: #d9d9d9;
    border: 1px solid #000;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.col-esquerda .img-geo { width: 80px; height: auto; display: block; }

.col-centro { text-align: center; flex-grow: 1; padding: 0 10px; }
.col-centro h1 { font-size: 20px; font-weight: normal; margin-bottom: 8px; color: #000; }
.col-centro p { font-size: 14px; }
.col-centro a { color: #0000EE; text-decoration: underline; }

.col-direita { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.direita-topo .img-ifrs { height: 40px; display: block; }
.direita-base { display: flex; gap: 10px; align-items: center; }
.direita-base .img-matec { height: 35px; }
.direita-base .img-comp { height: 35px; }


.slideshow-container {
  max-width: 70%; /* Ocupa 80% da largura da folha */
  position: relative;
  margin: auto;
  border: 1px solid #ddd; 
  
  padding-bottom: 10px;
}

.mySlides {
  display: none;
}

.mySlides img {
    vertical-align: middle;
    height: 300px; /* Altura fixa para não pular */
    object-fit: contain; /* Ajusta a imagem sem distorcer */
    background-color: #eeeeee00;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 40%; /* Posiciona no meio da imagem */
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  background-color: rgba(0,0,0,0.3); /* Fundo escuro transparente */
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Posiciona o botão 'next' à direita */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Hover nos botões */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


/* Número da página (1 / 10) */
.numbertext {
  color: #f2f2f2;
  background-color: rgba(0,0,0,0.5);
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}


.active, .dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media (max-width: 768px) {
    .folha-papel { width: 100%; padding: 10px; }
    .slideshow-container { max-width: 100%; }
    header { flex-direction: column; }
    .col-direita { align-items: center; }
}