body{
  font-size: 25px;
  font-family: "Grenze Gotisch", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.navbar_mobile{
  background-color: #023047;
}

.navbar_mobile a{
  color: black;
}

.caixas-texto{
  width: 50%;
}

/* Container que alinha todos os cartões */
.container {
  display: flex;
  flex-wrap: wrap; /* Permite que os cartões quebrem para a próxima linha */
  justify-content: center; /* Centraliza os cartões na página */
  gap: 30px; /* Espaço entre os cartões */
  padding: 40px 20px; /* Espaçamento geral */
  background-color: #f0f0f0; /* Cor de fundo suave para a página */
  flex-direction: column;
  width: 90%;
  height: auto;
  margin: 40px auto;
  position: relative;
}

.typewriter{
  width: fit-content;
}

.typewriter h1{
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .15em solid #2c79b1; /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .15em; /* Adjust as needed */
  animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #2c79b1; }
}

.menu_textos{
  display: flex;
  flex-direction: column;
}

.menu_textos a{
  padding: 10px;
  color: black;
  text-decoration-line:none ;
}

.menu_textos a:hover{
    color: #155ac4;
    text-shadow: 0px 0px 10px #00f1ff, 0 0 2em #f6eef0, 0 0 0.2em #88dea5;
}

.destaque{
    display: flex;
    margin: auto;
    color: #0e0012;
    background: #d6469794;
    text-decoration-line: underline;
    text-decoration-color: #43055c;
    border: 7px black;
    border-style: double;
    width: fit-content;
    padding: 10px;
}

.side-itens{
   display: flex;
    margin: 15px;
    flex-direction: column;
}

.collapsible {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  font-weight: bold;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
  background-color: #ccc;
}

/* Style the collapsible content. Note: hidden by default */
.content {
  flex-direction: column;
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #e8e7e7;
}

/* CSS para a navegação entre textos */
.navegacao-textos {
  display: flex;
  justify-content: space-between; /* Espaça os itens igualmente */
  align-items: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  max-width: 800px; /* Mesma largura do container de texto, talvez */
  margin-left: auto;
  margin-right: auto;
}

.nav-link, .nav-download {
  color: #75391c;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-download:hover {
  background-color: #f0f0f0;
  border-color: #ddd;
}

.nav-download {
  background-color: #75391c;
  color: white;
}
.nav-download:hover {
  background-color: #fcbf49;
  color: #333;
  border-color: transparent;
}

/* Classe para esconder os botões de início/fim da lista */
.nav-link.hidden {
  visibility: hidden; /* Mantém o espaço do botão, mas o deixa invisível */
  pointer-events: none; /* Impede que seja clicado */
}


.rosalia{
  width: 500px;
  margin: auto;
  display: flex;
}

@media (max-width: 768px) {
  
  
body{
  font-size: 18px;
  
}

.typewriter{
 margin: 30px 0px;
}

.typewriter h1{
  font-size: 30px;
  animation: none; /* Keeps the content on a single line */
  white-space: normal;
  border: none;
  
}
.caixas-texto{
  width: 100%;;
}

.sword{
      height: 50px;
    }
.container{
  width: 80%;
  padding: 60px 40px; /* Espaçamento geral */
}
  
  
}