* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Heitz-Regular';
  src: url('fonts/Heitz-Regular.woff2') format('woff2'),
       url('fonts/Heitz-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Heitz-Regular', sans-serif;
}

html, body {
  font-size: 62.5%;
  height: 100%;
  margin: 0;
  padding: 0;
}

p {
margin: 0;
}

a:link, a:active, a:visited {
    color: black;
    text-decoration: none;
}

.tab {
      display: inline-block;
      margin-left: 60.4px;
  }

article {
  margin: 0 auto;
  max-width: 65ch;
}

.main {
  display: flex;
  flex-direction:column;
  justify-content: center;
  min-height: 100vh; /* Ensures the content is centered vertically */
  padding: 16px 0 16px 0;
}

@media screen and (max-width: 600px) {
  .main {
  min-width: 100%;
  }
}

article div {
  padding: 16px;
}

body {
  font-family: 'Heitz-Regular', sans-serif;
  word-break: keep-all;
  font-size: 1.4rem;
  line-height: 2.45rem;
  text-align: left;
  word-spacing: 0.02em;
}

.link {
  text-decoration: none; /* Remove default underline */
  border-bottom: 1px dashed; /* Add dashed underline */
  padding-bottom: 2px;
}

.link:hover {
  border-bottom: 1px solid; /* Change to solid underline on hover */
  padding-bottom: 2px;
}

.header{
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  gap: 10px;
  align-items: center;
  height: auto;
  padding: 0px 0px 0px 0px;
}

.header-text-blur {
  word-break: break-word; /* Allows long words to break and wrap to the next line */
  display: inline-block; /* To ensure the text is treated as an inline block */
}

.header-text-blur span {
  display: inline-block;
  filter: blur(4px);
  transition: filter 0.3s ease;
}

.header-text-blur span:hover {
  filter: blur(0px);
}

.header-text-link{
  padding: 16px 16px 16px 0px;
}

.post-header{
  display: grid;
  grid-template-columns: auto 1fr auto;
  width: 100%;
  gap: 10px;
  align-items: center;
  height: auto;
  padding: 0px 0px 16px 0px;
}

.post-header-category {
  border: 1px black dashed;
  border-radius: 24px;
  width: fit-content;
  padding: 4px 10px 4px 10px;
  justify-self: start;
}

.post-header-category:hover {
  border: 1px black solid;
  border-radius: 24px;
  width: fit-content;
  padding: 4px 10px 4px 10px;
  justify-self: start;
}

.post-header-title {
  text-align: left;
  padding: 5px 0px 5px 16px;
  justify-self: start;
}

.post-header-date {
  text-align: right;
  max-width: 100%;
  padding: 5px 16px 5px 0px;
  justify-self: end;
}

.post-text {
  padding: 0 0 0 0;
}

#pagination{
  display: grid;
  grid-template-columns: auto 1fr auto;
  width: 100%;
  gap: 10px;
  align-items: center;
  text-align: center;
  height: auto;
  padding: 0 0 0 0;
}

#header{
  padding: 16px 16px 32px 16px;
}

#footer{
  padding: 48px 16px 16px 16px;
}

.pagination-newpage{
  padding: 16px 16px 16px 16px;
}
.pagination-number{
  padding: 16px 16px 16px 16px;
}
.pagination-oldpage{
  padding: 16px 16px 16px 16px;
}