/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografia global */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Cabeçalho */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(90deg, #f50707, #f50707);
  color: white;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  width: 45px;
  height: auto;
  border-radius: 5px;
}

/* Botão do menu */
.menu-toggle {
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.menu-toggle:hover {
  transform: scale(1.1);
}

/* Menu de navegação */
.nav-links {
  display: none;
  position: absolute;
  top: 70px;
  right: 20px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-links ul {
  list-style: none;
}
.nav-links li {
  margin: 12px 0;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: #f50707;
}
.nav-links.active {
  display: block;
}

/* Conteúdo principal */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Títulos */
main h1, main h2 {
  color: #f50707;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Parágrafos */
main p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Links internos */
main a {
  color: #f50707;
  text-decoration: underline;
}
main a:hover {
  color: #f50707;
}

/* Rodapé */
footer {
  text-align: center;
  padding: 20px;
  background: #eee;
  color: #555;
  font-size: 0.9rem;
  margin-top: 40px;
  border-top: 1px solid #ddd;
}

/* Responsivo */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    position: absolute;
    top: 15px;
    right: 20px;
  }

  .nav-links {
    right: 10px;
    top: 60px;
    width: 220px;
  }

  main {
    margin: 20px;
    padding: 15px;
  }
}
/*css para os posts */
.postagens article {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 6px solid #f50707;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.postagens article img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
