body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* NAVIGATION */
.navbar {
  background-color: #2196F3;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows wrapping on small screens */
}

.nav-left a {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-right {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.navbar a {
  color: white;
  text-decoration: none;
}

.navbar a:hover {
  text-decoration: underline;
}

/* MOBILE NAVIGATION */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-right {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav-right a {
    padding: 5px 0;
  }
}

/* GENERAL MOBILE STYLES */
.content {
  padding: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

.page, .post, .book {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

td, th {
  padding: 8px;
}

@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
}


/* FOOTER */
.footer {
  background-color: #f2f2f2;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
