/* Elements style */

body {
  background-color: #f5f5f5;
  color: #212121;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
}

nav {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0 40px 0;
  height: 100%;
  position: sticky;
  top: 50px;
}

p {
  font-size: 16px;
  text-align: justify;
  line-height: 2;
}

a {
  color: #959595;
  margin-bottom: 20px;
}

a:hover {
  color: #121212;
  text-decoration: none;
}


/* Personalized style */

.active {
  color: #212121;
  text-decoration: none;
}

.post-title {
  font-size: 18px;
}

#category-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.tab-button {
  padding: 10px 20px;
  cursor: pointer;
}

.tab-button.active {
  background-color: #333;
  color: #fff;
}

#category-content article {
  margin-bottom: 20px;
}

.tab-button.active {
  background-color: #ccc; /* Or any style you prefer */
  font-weight: bold;
}


/* Section style */

#homepage {
  width: 100%;
  /* height: 100vh; */
  display: flex;
}

#homepage .content {
  width: 90%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#homepage .content div {
  width: 500px;
}

#blog {
  width: 100%;
  /* height: 100vh; */
  display: flex;
}

#blog .content {
  width: 90%;
  display: flex;
  justify-content: center;
  padding: 50px 0;
}

#blog .content div {
  width: 500px;
}
