/* Estilo global */
body {
    font-family: 'Caviar Dreams', sans-serif;
    margin: 0;
    background-color: #eeebd9;
    color: #D2AF26;
  }

  .container {
    width: 80%;
    margin: 0 auto; /* Centraliza o conteúdo */
}

header {
    background-color: #ffffff;
    color: #D2AF26;
    padding: 2%;
}

header .logo img {
    display: block;
    width: 10%;
    height: auto; /* Mantém a proporção da imagem */
    margin: auto;
}

header .logo {
    display: flex;
    align-items: center;
}

header .texto_logo h1 {
    text-align: center;
    margin: auto;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #eeebd9;
    gap: 2%;
    position: relative;
    z-index: 10;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    text-align: center;
    color: #D2AF26;
    background-color: transparent;
    display: block;
    padding: 15px 20px;
    border-radius: 10%;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 1.2vw; /* Tamanho do texto relativo à largura da tela */
}

nav ul li a:hover {
    color: #eeebd9;
    background-color: #D2AF26;
}

/* Ajustes para janelas menores */
@media (max-width: 768px) {
    nav ul li a {
        padding: 10px 15px; /* Reduz o padding */
        font-size: 1.5vw; /* Aumenta um pouco o tamanho da fonte para telas pequenas */
    }
}

@media (max-width: 480px) {
    nav ul li a {
        padding: 8px 12px; /* Reduz ainda mais o padding */
        font-size: 2vw; /* Aumenta o tamanho da fonte para telas muito pequenas */
    }
}
  
.submenu {
    list-style: none;
    position: absolute; /* Posiciona o submenu abaixo do item principal */
    top: 100%; /* Coloca o submenu logo abaixo do item principal */
    left: 0;
    width: 100%; /* Submenu herda a largura do item principal */
    background-color: #eeebd9; 
    z-index: 20; /* Coloca o submenu acima de outros elementos */
    padding: 0;
    margin: 0;
    display: none; /* Oculta o submenu inicialmente */
    border-radius: 10px; 
    box-shadow: 0 4px 6px #9995951a; /* Sombra para destaque */
}
  
.submenu li a {
    color: #D2AF26;
    padding: 10px 15px;
    display: block;
    text-align: left; 
    transition: all 0.3s ease; /* Animação suave no hover */
}

.submenu li a:hover {
    background-color: #D2AF26; 
    color: #eeebd9; 
}

nav ul li:hover .submenu {
    display: block; /* Exibe o submenu ao passar o mouse sobre o item principal */
}
  
main {
    text-align: center;
    margin-bottom: 5%;
    
}
  
.slideshow-container {
    width: 70%;
    margin: 0 auto; /*centrar o slide*/
    position: relative;
    border-radius: 5%;
    color: #D2AF26;
    background-color: #eeebd9;
    aspect-ratio: 16 / 9; /* Mantém uma proporção fixa (exemplo: 16:9) */
    overflow: hidden;
}
  
.mySlides {
    width: 100%; 
    height: 100%; 
    display: flex;
    justify-content: center;
    align-items: center; 
    overflow: hidden; /* Garante que a imagem não transborde do container */
}
  
.mySlides img {
    width: 90%; 
    height: auto; 
    object-fit: cover; /* Garante que a imagem preencha o espaço definido */
    border-radius: 5%;
}
  
.text {
    color: #D2AF26;
    font-size: 18px;
    position: absolute;
    bottom: 1%;
    width: 100%;
    text-align: center;
    background: #eeebd9da;
    
}
  
.active {
  background-color: #D2AF26;
  color: #eeebd9;
}
  
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
  
@keyframes fade {
  from {
    opacity: 0.2;
    }
  to {
    opacity: 1;
  }
}

  

footer {
    background-color: #ffffff;
    color:#D2AF26;
    padding: 1%;
    overflow: hidden;
  }

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 0 2%;
    max-width: 100vw;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    white-space: nowrap;
    width: 20%; /* Reduz a largura para ocupar menos espaço */
}

.back-to-top {
    text-decoration: none;
    color: #D2AF26;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.back-to-top img {
    width: 10%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-right {
    color: #D2AF26;
    white-space: nowrap;
    margin-right: 2%;
    flex-grow: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


.back-to-top:hover {
    opacity: 0.8; /* Efeito ao passar o mouse */
}

.lista {
    text-align: left;
    list-style-position: inside;
    font-size: inherit;
    line-height: 1.6;
}


.montserrat-underline-unique {
    font-family: "Montserrat Underline", sans-serif;
    font-weight: 500;
    font-style: normal;
}

#datetime-container {
    margin-top: 1%;
}
  
#datetime {
    font-weight: bold;
}

/* Estilo da caixa de texto */
.textbox {
  border: 2px solid #ccc; 
  padding: 2%; 
  overflow: hidden; 
  background-color: #f9f9f9;
  border-radius: 10px;
  width: 90%; 
  margin: 0 auto; /* Centraliza a caixa de texto na página */
  margin-top: 1%;
}

/* Estilo da imagem */
.left-image {
  float: left; 
  margin-right: 2%;
  margin-top: 2%; 
  width: 25%; 
  height: auto; 
  border-radius: 10px;
}

/* Estilo do texto */
.textbox p {
  margin: 0; 
  text-align: justify; 
  line-height: 1.6; 
  font-size: 1.1em; 
}



  /* Estilização para o formulário */


  .form-group {
    display: flex;
    flex-direction: column;
    color: #D2AF26;
    font-weight: bold; /* deixa o texto mais destacado */
    margin-top: 1%;
    margin-bottom: 2%;
    align-items: center;
    justify-content: center;
  }

  textarea {
    background-color: #f9f9f9;
    border: solid black;
  }

  input, textarea {
    width: 50%;
    padding: 1%;
    margin-top: 1%;
    border: 1px solid #D2AF26;
    border-radius: 5px;
    
  }

  button {
    display: block;
    margin: 10px auto; /* Centraliza horizontalmente */
    padding: 1% 2%;
    background-color: #D2AF26;
    color: #eeebd9;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

  button:hover {
    background-color: #98801e;
  }
