@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@700&family=Red+Hat+Mono:ital,wght@0,300..700;1,300..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

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

body {
  font-family: "Space Mono", monospace;
  background-color: #F1FAEF;
  color: #333;
  line-height: 1.6;
  background-image: url("/assets/background.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: #333;
  margin-bottom: 0.5em;
}

ul, ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1em;
}

ul li, ol li {
  margin-bottom: 0.5em;
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  margin-bottom: 20px;
}

.header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.7rem;
  font-weight: 400;
  margin-bottom: 5px; 
}

.header-title a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.header-title a:hover {
  text-decoration: none;
}

.header-tulip {
  background-image: url('/assets/Tulip.png');
  background-size: contain; 
  background-repeat: no-repeat; 
  background-position: center;
  width: 70px; 
  height: 70px;
  margin-right: 20px;
  display: inline-block; 
}

.black-line {
  width: 100%;
  height: 1px;
  background-color: #333;
}

.bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.bio p {
  font-size: 1.2rem;
  text-align: center;
}

.post-container {
  position: relative; 
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px; 
  width: 100%;
  margin:0 auto;
  border-radius: 10px; 
  z-index: 1; 
}

.post-page-container {
  position: relative; 
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px; 
  width: 100%;
  margin: 10px auto;
  border-radius: 10px;
  z-index: 1; 
}

.post-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.post-meta {
  color: #777;
  font-size: 0.9em;
  display: block;
  width: 100%;
}

.post-meta-main {
  text-align: center;
}

.post-category {
  background-color: hsla(293, 30%, 54%, 0.75);
  padding: 3px 6px;
  color: #fff;
  border-radius: 10px;
  margin-top: 10px;
  margin-right: 5px;
}

.block-cat {
  margin-top: 10px;
  display: block;
}

.post-content {
  margin-top: 10px;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  width: 100%;
  padding: 0 15px; 
}

.back-link {
  text-align: center;
  margin-top: 30px;
  width: 100%;
}


.post-section-title,
.post-section-content {
  width: 100%;
  text-align: left;
  margin: 0;
  padding-bottom: 10px;
}

.post-container ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}

.post-container li {
  background-color: transparent;
  border: 1px solid #0F1020;
  border-radius: 20px;
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.post-container a {
  color: #A465AC;
  font-size: 1.5em;
  text-decoration: none;
}

.post-container a:hover {
  text-decoration: underline;
}

.post-meta-index {
  display: block;
  margin-top: 5px;
  font-size: 0.9em;
  color: #333;
}


@media (min-width: 1200px) {
  .post-container { 
    width: 80%;

  }
  .post-page-container {
    max-width: 80%;
  }
  .header-title {
    font-size: 3.3rem;
  }

  .post-title {
    font-size: 2.5rem;
  }

  .post-content {
    font-size: 1.2rem;
  }

  .post-container ul {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}


.post-page-container a {
  color: #A465AC!important;
  text-decoration: none;
}

.post0-page-container a:hover {
  text-decoration: underline;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: #A465AC!important;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.post-content p {
  margin-bottom: 1em;
  line-height: 1.6;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 1em;
}

.post-content blockquote {
  border-left: 4px solid #cfbbce;
  padding-left: 1em;
  color: #443444;
  margin: 1.5em 0;
  font-style: italic;
}

.post-content pre {
  background-color: hsl(0, 0%, 100%, 0.2);
  padding: 1em;
  overflow-x: auto;
  border-radius: 5px;
  margin-bottom: 1em;
  border: 1px solid #ddd;
  backdrop-filter: blur(30px);
}

.post-content code {
  padding: 0.2em 0.4em;
  border-radius: 3px;
}

.post-content table {
  background-color: #F1FAEF;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}

.post-content th,
.post-content td {
  border: 1px solid #6a7f65;
  padding: 0.8em;
  text-align: left;
}

.post-content th {
  background-color: #f2f2f2;
}

.post-content hr {
  border: none;
  border-top: 1px solid #a85a9f;
  margin: 2em 0;
}

.post-content ul,
.post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.post-content ul li,
.post-content ol li {
  margin-bottom: 0.5em;
}
