@font-face {
    font-family: 'TimesNewRoman';
    src: url('./fontes/TimesNewRoman.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
  }
  
  body {
    background-color: #CBB994;
    background-image: url('./imagens/paper-fibers.png');
    background-repeat: repeat;
    font-family: 'TimesNewRoman', serif;
    color: #2D1F0C;
    line-height: 1.6;
    padding: 0 10px;
  }
  
  header {
    text-align: center;
    padding: 2em 1em;
    background-color: rgba(112, 66, 20, 0.8);
    color: #F1E0C6;
    border-bottom: 2px solid #704214;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  header h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 0.3em;
    color: #F1E0C6;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  }
  
  header p {
    font-style: italic;
    font-size: 1.2em;
    color: #F1E0C6;
  }
  
  
  nav {
    background-color: rgba(255, 248, 220, 0.9);
    border-top: 2px solid #d2b48c;
    border-bottom: 2px solid #d2b48c;
    padding: 1em 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  nav li {
    display: inline;
    margin-right: 1.5em;
  }
  
  nav a {
    color: #704214;
    font-size: 1.2em;
    text-decoration: underline;
    font-weight: bold;
    padding: 0.5em 0;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.2s ease;
  }
  
  nav a:hover,
nav a:focus {
  color: #b8860b;
}
  
  nav a:active {
    color: #8b5d33;
  }
  
  main {
    max-width: 800px;
    margin: 1em auto 1em auto;
    padding: 2em;
    background-color: rgba(255, 240, 200, 0.589);
    border: 1px solid #d2b48c;
    box-shadow: 0 0 15px rgba(112, 66, 20, 0.4);
  }
  
  section {
    margin-bottom: 3em;
  }
  
  h2 {
    color: #704214;
    border-bottom: 1px solid #d2b48c;
    padding-bottom: 0.3em;
    font-size: 1.7em;
  }
  
  img {
    max-width: 100%;
    height: auto;
    border: 1px solid #d2b48c;
    box-shadow: 0 0 5px rgba(112, 66, 20, 0.3);
  }
  
  footer {
    text-align: center;
    margin-top: 3em;
    font-size: 1em;
    color: #704214;
    background-color: #F1E0C6;
    padding: 1em;
  }
  
  footer p {
    font-style: italic;
  }
  

  #politica, #sociedade, #curiosidades, #intro, #regencial, #segundo-reinado, #fim-do-imperio, #paraguai {
    padding: 1em;
    border-radius: 10px;
    font-family: 'Georgia', serif;
  }
  
  #politica h2, #sociedade h2, #curiosidades h2, #intro h2, #regencial h2, #segundo-reinado h2, #fim-do-imperio h2, #paraguai h2 {
    color: #3b1d0e;
    font-size: 2.5em;
    margin-bottom: 1em;
    text-align: center;
  }
  
  #politica section, #sociedade section, #curiosidades section, #intro section, #regencial section, #segundo-reinado section, #fim-do-imperio section, #paraguai section {
    margin-bottom: 1em;
  }
  
  #politica h3, #sociedade h3, #curiosidades h3, #intro h3, #regencial h3, #segundo-reinado h3, #fim-do-imperio h3, #paraguai h3 {
    color: #5c2d10;
    margin-bottom: 0.5em;
    padding-left: 0.5em;
  }
  
  #politica p, #sociedade p, #curiosidades p, #intro p, #regencial p, #segundo-reinado p, #fim-do-imperio p, #paraguai p {
    text-align: justify;
    line-height: 1.6em;
    font-size: 1.1em;
  }
  
  #introducao {
    background-color: rgba(255, 248, 220, 0.9);
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(112, 66, 20, 0.4);
    margin-bottom: 2em;
  }