html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.hidden {
  display: none;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Responsive Design - Website */
@media (min-width: 768px) {

  .container {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
  }
  .content {
    margin-left: 0;
  }

  .post-content {
    font-size: 1.1rem;
    line-height: 1.8;
  }

  header h2{
    margin: 0;
    font-size: clamp(0.6rem, 0.7vw, 1rem);
  }

}

/*- Responsive Design - Mobile */
@media (max-width: 767px) {

  .container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .post-content {
    font-size: 1rem;
    line-height: 1.8;
  }

  header h2{
    margin: 0;
    font-size: 0.5rem;
  }
}

/* Sidebar */
.sidebar {
  transform: translateX(-100%);
  position: fixed;
  width: 250px;
  background: #333;
  color: white;
  padding: 20px;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  transition: transform 0.3s ease-in-out;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar h2 {
  font-size: 1.5rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 10px 0;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
}

.sidebar-toggle {
  position: fixed;
  top: 10px;
  left: 10px;
  background: #444;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1000;
}

.sidebar-toggle:hover {
  background: #555;
}

/* Menu toggle */
.menu-toggle {
  display: block;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.25rem 0.6rem;
  margin: 0.25rem auto 0;
}

.menu-toggle:hover {
  opacity: 0.75;
}

/* Menu */
.menu {
  display: none;
  background: #c3c0b2;
  text-align: center;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .menu {
    display: block;
  }

  .menu ul {
    display: flex;
    justify-content: center;
  }

  .menu ul li {
    margin: 0 0.25rem;
    padding: 0.15rem 0;
  }
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu ul li {
  padding: 0.5rem;
}

.menu ul li a {
  color: white;
  text-decoration: none;
  display: block;
}

/* Header */
header {
  background-color: #c3c0b2;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 3rem);
}



/* Main Content */


.post-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.post-meta {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}


/* Tags */
.tags {
  margin-top: 30px;
}

.tags span {
  display: inline-block;
  background-color: #e0e0e0;
  color: #333;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 10px;
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

/* Footer */
footer {
  text-align: center;
  background-color: #333;
  color: white;
  margin-top: 40px;
  padding: 0.5rem;
  width: 100%;
  bottom: 0;
}

footer a {
  color: #fff;
  text-decoration: none;
}


main {
  padding: 20px;
  text-align: center;
}
