* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('45-degree-fabric-dark.png'), linear-gradient(120deg, #16012a 0%, #1e0245 100%);
    color: #2c3e50;
    line-height: 1.6;
    background-attachment: fixed;
  }
  
  header {
    background: linear-gradient(to right, #1e272e, #2f3640);
    padding: 20px;
    text-align: center;
    color: #6b59d3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    position: relative;
  }
  
  header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    animation: fadeInDown 1s ease-in-out;
  }
  
  nav {
    margin-top: 10px;
    position: relative;
    z-index: 1;
  }
  
  nav a {
    color: #6b59d3;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: #ffd700;
  }
  
  section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 40px auto;
    background-color: rgba(20, 42, 63, 0.95);
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(10, 1, 1, 0.2);
    animation: fadeInUp 1s ease-in-out;
  }
  
  section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 25px;
    color: #6b59d3;
  }

  section p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-align: center;
    color: #f5ebeb;
  }
  
  section a {
    color: #6b59d3;
    text-decoration: none;
    font-weight: bold;
  }
  
  section a:hover {
    text-decoration: none;
    color: #ffd700;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 600px) {
    header h1 {
      font-size: 2rem;
    }
  
    nav a {
      display: block;
      margin: 10px 0;
    }
  
    section {
      padding: 20px;
      margin: 20px 10px;
    }
  }
  
  .brasao {
    display: block;
    margin: 30px auto;
    max-width: 300px;
    border-radius: 12px;
    transition: transform 0.3s ease;
  }

  .brasao:hover {
    transform: scale(1.05);
  }

  footer {
    background-color: rgba(20, 42, 63, 0.95);
    padding: 20px;
    text-align: center;
    margin-top: 50px;
  }

  footer p, footer a {
    color: #ffffff;
    font-size: 0.95em;
  }

  footer a {
    color: #4b2e83;
    text-decoration: none;
    margin: 0 12px;
  }

  .footer-icons a {
    margin: 0 10px;
    font-size: 1.2em;
    color: #6b59d3;
  }

  .footer-icons a:hover {
    color: #ffd700;  }

  a[target="_blank"] {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background-color: #3d3d5c;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
}

a[target="_blank"]:hover {
  background-color: #5e5e8a;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1f1f2e;
  padding: 15px;
  border-radius: 20px;
}

.logo {
  color: #f0c84b;
  font-size: 1.5em;
  margin: 0;
}

.hamburger {
  font-size: 1.8em;
  color: #c3b1ff;
  cursor: pointer;
  display: none;
}

#sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 230px;
  height: 100%;
  background-color: #1f1f2e;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: left 0.3s ease;
  z-index: 1000;
}

#sidebar.show {
  left: 0;
}

#sidebar a {
  color: #c3b1ff;
  text-decoration: none;
  font-weight: bold;
}

#sidebar a:hover {
  color: gold;
}

.close-btn {
  align-self: flex-end;
  font-size: 1.5em;
  cursor: pointer;
  color: #aaa;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    display: block;
  }
}

.resumos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
}

.card {
  background-color: #1e1e2e;
  padding: 30px;
  border-radius: 16px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.card h3 {
  color: #d1b3ff;
  margin-bottom: 15px;
}
