html {
  scroll-behavior: smooth;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
header {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}
nav {
  background-color: #444;
  color: #fff;
  padding: 10px;
  text-align: center;
  position: relative;
  z-index: 1000;
}
nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-size: 18px;
}
nav a:hover {
  text-decoration: underline;
}
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
}
.menu-toggle span {
  background-color: #fff;
  display: block;
  height: 3px;
  margin: 5px 0;
  width: 25px;
}
.menu-links {
  display: block;
}
.container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
h1 {
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}
h2 {
  color: #444;
  border-bottom: 2px solid #444;
  padding-bottom: 5px;
}
.content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.example {
  background: #eef;
  padding: 10px;
  margin: 10px 0;
  border-left: 5px solid #36f;
}
.junior-readings {
  background: #eaf3f3;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}
.junior-readings h2 {
  color: #007b7f;
}
@media (max-width: 768px) {
  nav {
    padding: 20px 0px;
  }

  .menu-toggle {
    display: block;
  }
  .menu-links {
    display: none;
    background-color: #444; /* Corrige a cor de fundo */
    text-align: left;
    padding-top: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }
  .menu-links.active {
    display: block;
  }
  nav a {
    display: block;
    margin: 10px 0;
    padding: 10px 20px;
  }
  .content,
  .junior-readings {
    padding: 15px;
  }
}
h1 {
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}
.category {
  margin-bottom: 40px;
}
.category h2 {
  color: #444;
  border-bottom: 2px solid #444;
  padding-bottom: 5px;
  margin-bottom: 20px;
  font-size: 22px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: bold;
  display: block;
  margin-top: 10px;
}
