* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: row;
  height: 100vh;
  color: #333;
  background: linear-gradient(to right, #e8f0ff, #f0f4ff);
  overflow: hidden;
}

.sidebar {
  width: 300px;
  min-width: 250px;
  background-color: #ffffffcc;
  padding: 30px 20px;
  border-right: 1px solid #ccc;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar img {
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.sidebar img:hover {
  transform: scale(1.05);
}

.sidebar h1 {
  font-size: 22px;
  margin-bottom: 15px;
  text-align: center;
}

.sidebar .info p {
  margin-bottom: 8px;
  font-size: 14px;
  text-align: center;
}

.tab-buttons {
  margin-top: 20px;
  width: 100%;
}

.tab-button {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 12px;
  background-color: #dce8ff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  color: #003366;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.tab-button:hover {
  background-color: #a5c8ff;
  transform: translateY(-2px);
}

.tab-button.active {
  background-color: #4b91f1;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.main {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content {
  display: none;
  animation: fadeIn 0.6s ease;
}

.tab-content.active {
  display: block;
}

h2 {
  margin-bottom: 20px;
  color: #2a4e96;
  font-size: 24px;
}

h3 {
  margin-top: 25px;
  margin-bottom: 12px;
  color: #1f3c70;
}

p,
li {
  font-size: 15px;
  margin-bottom: 6px;
  line-height: 1.5;
}

ul {
  margin-left: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .main {
    padding: 20px;
  }

  .tab-button {
    font-size: 14px;
    padding: 10px;
  }
}

/* Animação de fadeIn */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
