

body {
  font-family: 'Segoe UI', sans-serif;
}

header {
  background-color: #121212;
  color: white;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.logo {
  flex: 1;
}

.logo img {
  height: 130px;
  width: auto;
}

.titulo-centro {
  flex: 2;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: white;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo, .titulo-centro, nav {
    flex: unset;
    margin: 10px 0;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}