@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0px;
    background-color: #dcf5c0;
    line-height: 1.6;
    align-items: center;
    text-align: justify;
     text-justify: inter-word;
}

#splash-screen {
  font-family: 'Courier New', Courier, monospace;
  position: fixed;
  top: 0; 
  left: 0;
  width: 100vw; height: 100vh;
  background: #014421;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  color: #ffffff;
  overflow: hidden;
  animation: fadeOutSplash 5s forwards 4s; /* espera 4s, depois some em 5s */
}

@keyframes fadeOutSplash {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.splash-text {
  text-align: center;
}

.linha1 {
  font-size: 2em;
  margin-bottom: 0.3em;
  opacity: 0;
  transform: scale(0.8);
  filter: blur(4px);
  animation: fadeZoomIn 1.8s ease forwards 0s;
}

.linha2 {
  font-size: 3em;
  color: #a8ffbf;
  text-shadow: 0 0 12px #79d997;
  letter-spacing: 1px;
  opacity: 0;
  transform: scale(0.8);
  filter: blur(4px);
  animation: fadeZoomIn 1.8s ease forwards 1s;
}

@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(4px);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}


header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 20vh;
  box-sizing: border-box;
  padding: 0 20px;
  gap: clamp(1rem, 10vw, 4rem); 
  background-color: rgb(128, 187, 112);
  color: rgb(24, 66, 12);
  border: 3px solid rgb(74, 141, 67);
  position: relative;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    height: auto;
    gap: 0.5rem;
  }

  header h1 {
    text-align: center;
    width: 100%;
  }
}

 header h1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(1.5em, 5vw, 2.5em); 
  margin: 0 auto;
  text-align: center;
  word-wrap: break-word;
  max-width: calc(100% - 40px);
  overflow: hidden; 
  max-width: 50vw; 
}

header.menu-aberto {
  height: 30vh;
}


.Logo{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  transition: transform 0.3s ease;
}

.Logo:hover{
transform: scale(1.2);
cursor: pointer;
}

.Logo img{
  width: 50px;
  height: 50px;
  border-radius: 100%;
  border: 3px solid rgb(12, 51, 9);
}

.acessibilidade {
  position: relative;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.acessibilidade p {
  margin: 4px 0 0 0;
  font-size: 5px;
  text-align: center;
  line-height: 1.2;
}

.creditos {
  font-size: 10px;
  margin-top: 6px;
  max-width: 120px;
  line-height: 1.2;
}

.creditos a {
  color: inherit;
  text-decoration: none;
}

.acessibilidade button {
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.abnace {
   all: unset;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
  transition: transform 0.3s ease;
  max-width: 120px;
  text-align: center;
}

.abnace button{
    background-color:transparent;
}

.abnace:hover{
transform: scale(1.2);
cursor: pointer;
}
.abnace img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgb(52, 78, 50);
  border: 1px solid rgb(31, 77, 37);
  border-radius: 100%;
}


.menu {
  margin-top: 30px;
  display: none;
  position: absolute;
  background-color: #f0fff0;
  border: 2px solid #2d551d;
  padding: 20px;
  padding-left: 20px;
  padding-right: 40px;
  border-radius: 12px;
  z-index: 1000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  width: max-content;
  overflow: hidden;
}

.menu.ativo {
  display: block;
}

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  background-color: rgb(45, 94, 45); 
  color: white;
  width: 100%;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.botao:hover {
  background-color: rgb(34, 72, 34); 
}

.botao img {
  margin-right: 6px;
  width: 18px;
  height: 18px;
}

.acessibilidade p {
  margin-top: 6px;
  font-size: 5px;
  line-height: 1.4;
  text-align: center;
  color: #333;
}

#toggleMenu:checked ~ .acessibilidade #menuAcessibilidade {
  display: block;
}

.PRINCIPAL {
  font-size: 20px;
}

#aumentar:checked ~ .PRINCIPAL {
  font-size: 18px;
}

#diminuir:checked ~ .PRINCIPAL {
  font-size: 12px;
}

#normal:checked ~ .PRINCIPAL {
  font-size: 14px;
}


#contraste:checked ~ .PRINCIPAL {
  background-color: black !important;
  color: rgb(251, 255, 0) !important;
}

#contraste:checked ~ .PRINCIPAL a,
#contraste:checked ~ .PRINCIPAL span {
  color: rgb(251, 255, 0) !important;
}

#contraste:checked ~ .PRINCIPAL button {
  background-color: #1d1919 !important;
  color: rgb(238, 255, 0) !important;
}

#contraste:checked ~ .PRINCIPAL h1,
#contraste:checked ~ .PRINCIPAL h2,
#contraste:checked ~ .PRINCIPAL h3,
#contraste:checked ~ .PRINCIPAL p {
  color: white !important;
}


#btnTopo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  border: 2px solid rgb(37, 77, 33);
  border-radius: 100%;
  background-color: #91db7a;
  color: #11380a;
  display: block; 
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

#btnTopo:hover {
  background-color: #66bd63;
}

nav ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  position: relative; 
}

nav ul li {
  margin-bottom: 10px;
}

nav ul li a {
  display: inline-block;
  color: rgb(29, 75, 25);
  text-decoration: none;
  font-size: 1em;
  padding: 3px 6px;
  background-color: rgb(81, 156, 74);
  border: 2.5px solid rgb(74, 141, 67);
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

nav ul li a:hover {
  background-color: rgb(58, 119, 51);
  border-color: rgb(52, 78, 50);
  color: rgb(21, 51, 12);
  transform: scale(1.2);
  cursor: pointer;
}

.titulo-principal {
  text-align: center;
  color: #16380e;
  font-size: 2.2em;
  margin: 30px 0 20px 0;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.INICIO, .AGROHIST, .Sitezinho, .Final {
  display: flex;
  gap: 10px;
  max-width: 800px;
  margin: 20px auto;
  padding: 10px;
  background-color: #92c08b;
  border: 3px solid #265326;
  border-radius: 10px;
  color: #0b3006;
  align-items: flex-start;
  box-shadow: 10px 5px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.INICIO p,.AGROHIST p, .Sitezinho p, .Final p {
  margin: 0;
  padding: 0;
  font-size: 1.2em;
}

.INICIO:hover, .AGROHIST:hover, .Sitezinho:hover, .Final:hover{
 transform: scale(1.03);
  cursor: pointer;
}

.Reserva, .AGRINHO, .Brasil {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 40px auto;
  padding: 15px;
  background-color: #92c08b;
  border: 3px solid #265326;
  border-radius: 10px;
  color: #0b3006;
  box-shadow: 10px 5px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  text-align: justify;
  align-items: center;
}

.Reserva:hover, .AGRINHO:hover, .Brasil:hover {
  transform: scale(1.03);
  cursor: pointer;
}

.Reserva p, .AGRINHO p, .Brasil p {
  font-size: 1.2em;
  margin: 0;
  color: #0b3006;
  text-align: justify;
}

.AGRINHO img{
  width: 100%;
  max-width: 250px;
  border-radius: 8px;
  margin-top: 8px;
}

.Reserva img{
  width: 180px;
  max-width: 250px;
  border-radius: 8px;
  margin-top: 8px;
}

.Reserva a, .AGRINHO a, .Brasil a {
  text-decoration: none;
  border: none;
  font-size: 0.9em;
  margin: 0;
  color: #0b3006;
}

.Reserva .comdes {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Rolandinho {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 40px auto;
  padding: 15px;
  background-color: #92c08b;
  border: 3px solid #265326;
  border-radius: 10px;
  color: #0b3006;
  box-shadow: 10px 5px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  text-align: justify;
  align-items: center;
}

.Rolandinho h2{
  font-size: 1.2em;
}



.Rolando {
  width: 800px;
  overflow: hidden;
  margin: 60px auto;
  border: 3px solid #276d1e;
  border-radius: 6px;
  background-color: #c3ddbb;
  box-shadow: 10px 5px 10px rgba(0, 0, 0, 0.4);
}

.Rolando p {
  font-size: 0.8em;
  text-align: center;
  color: #0b3006;
}

.Fotos {
  display: flex;
  width: max-content;
  animation: slide 40s linear infinite;
  will-change: transform;
}

.Fotos img {
  width: calc(800px / 4 - 15px); /* 4 imagens no container, menos margem */
  flex-shrink: 0;
  object-fit: cover;
  border: 3px solid #265326;
  margin-right: 20px;
  border-radius: 6px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Animação: move a largura total das 8 imagens originais + margens */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * ( ( (800px / 4 - 15px) + 20px ) * 8 )));
  }
}


.Wiki {
  color: #16380e;
  font-weight: bold;
  font-size: 1em;  
  text-decoration: underline dashed #65915f;
}


.Wiki:hover {
  color: #082c08;
  text-decoration: underline solid #2c5f2c;
}

.Brasil .comdes p{
  text-decoration: underline;
  text-decoration-color: #0b3006;
}

.Brasil .comdes, .comdes p {
  color: #0b3006;
  font-size: 1em;
  word-break:break-word;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Brasil img{
  align-self: center;
  width: 100%;
  max-width: 250px;
  border-radius: 8px;
  margin-top: 8px;
}


.FooterCon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start; 
  width: 100%;
  min-height: 10px;
  padding: 10px 10px; 
  background-color: rgb(128, 187, 112);
  color: rgb(24, 66, 12);
  box-sizing: border-box;
  gap: 30px;
  border: 3px solid rgb(74, 141, 67);
  text-align: center;
}

.contatos {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.contato-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contato-item:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
}

.contatos a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contatos a img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.2));
  cursor: pointer;
}

.contatos a:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
}

.atributo {
  margin-top: 2px;
  font-size: 8px;
  line-height: 1.1;
  margin-top: 3px;
  text-align: center;
  max-width: 70px;
  opacity: 0.5;
  user-select: none;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.atributo a {
  color: rgb(24, 66, 12);
  text-decoration: none;
}


.Ops {
  font-size: 15px;
  font-style: italic;
  color: rgb(24, 66, 12);
  width: 100%;
  margin-top: 0px;
  user-select: none;
  font-weight: bold;
}


@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 10px;
    text-align: center;
    gap: 20px;
  }

  header h1 {
    font-size: 1em;
  }
nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 5px 0;
  }
h2, h3 {
    font-size: 1em;
  }
}

@media screen and (max-width: 480px) {
  header h1 {
    font-size: 2em;
  }

  .Logo img {
    max-height: 7vh;
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
@media (min-width: 769px) {
  nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
}


@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }
}


@media (max-width: 480px) {
  header h1 {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .titulo-principal {
    font-size: 1em;
    text-align: center;
    word-break: break-word;
    padding: 0 10px;
  }

  .INICIO, .AGROHIST, .Sitezinho, .Final {
    flex-direction: column;
    width: 60%;
    max-width: 60%;
    padding: 20px;
    margin: 10px 0;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
    align-self: center;
  }

  .INICIO p,
  .AGROHIST p,
  .Sitezinho p,
  .Final p {
    font-size: 1em;
    line-height: 1.5em;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .Reserva p, .AGRINHO p, .Brasil p {
  font-size: 1em;
    line-height: 1.5em;
    word-break: break-word;
    overflow-wrap: break-word;
}

  .Reserva, .AGRINHO, .Brasil {
    flex-direction: column;
    width: 60%;
    max-width: 60%;
    padding: 20px;
    margin: 10px 0;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
    align-self: center;
  }

  .Rolandinho{
    flex-direction: column;
    width: 30%;
    max-width: 30%;
    padding: 20px;
    margin: 10px 0;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
    align-self: center;
  }
}


@media (max-width: 1024px), (max-width: 480px){



  .Rolando {
    width: 90%;
    max-width: 250px;
    margin: 5px auto;
    overflow: hidden;
  }

  .Fotos {
    display: flex;
    width: 300%; 
  }

.Fotos img {
  width: calc(33.33% - 4px);  
  margin-right: 4px;           
  max-height: 150px;
  object-fit: contain;
  border-radius: 15px;
  border: none;
}

.Fotos img:last-child {
  margin-right: 0;
}
}

@media (max-width: 1024px), (max-width: 768px), (max-width: 480px) {

  .PRINCIPAL {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    min-width: 320px;
  }

  .Reserva, .AGRINHO, .Brasil, .INICIO, .AGROHIST, .Sitezinho, .Final, .Rolandinho {
    width: 90%;
    max-width: 700px;
    padding: 20px;
    margin: 10px auto;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-top: 20px;
    margin-bottom: 2;
  }
}
