:root {
  --max-width: 640px;
  --body-padding: 20px;
  --font-color: #333;
  --bg-color: #fff;
  --link-color: #0066cc;
  --link-hover-color: #004080;
  --code-bg-color: #eeeeee;
  --code-border-color: #dddddd;
}

body {
  font-family: 'Arial', 'FreeSans', sans-serif;
  line-height: 1.6;
  color: var(--font-color);
  background-color: var(--bg-color);
  margin: 0;
  padding: var(--body-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.75em; }
h4 { font-size: 1.5em; }
h5 { font-size: 1.25em; }
h6 { font-size: 1em; }

p, ul, ol {
  margin-bottom: 1em;
}

/* Links */
a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover, a:focus {
  color: var(--link-hover-color);
  text-decoration: underline;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}


/* Container for content */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0; /* Remove horizontal padding */
}

/* days-since placement */
#days-since {
  position: relative;
  bottom: 5.05rem;
  left: 27.91rem;
  font-size: 2rem;
}

/* Code blocks and inline code */
pre {
  background-color: var(--code-bg-color);
  border: 1px solid var(--code-border-color);
  border-radius: 6px;
  padding: 16px;
  overflow: auto;
  line-height: 1.45;
  margin: 1em 0; /* Add vertical margin, remove horizontal margin */
  max-width: 100%; /* Ensure pre doesn't overflow its container */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

code {
  background-color: var(--code-bg-color);
  border-radius: 3px;
  margin: 0;
  padding: 0.2em 0.4em;
}

pre > code {
  background-color: transparent;
  border: 0;
  display: inline;
  line-height: inherit;
  margin: 0;
  overflow: visible;
  padding: 0;
  word-wrap: normal;
}



/* Responsive design */
@media (max-width: 600px) {
  body {
    font-size: 16px;
    padding: 10px;
  }

  h1 { font-size: 2em; }
  h2 { font-size: 1.75em; }
  h3 { font-size: 1.5em; }
  h4 { font-size: 1.25em; }
  h5 { font-size: 1.1em; }
  h6 { font-size: 1em; }

  pre {
    margin: 1em 0px;
  }
  #days-since {
	 position: relative;
	 bottom: 4.15rem;
	 left: 22.8rem;
	 font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
	#days-since {
	  	position: relative;
	  	bottom: 3.5rem;
	  	left: 18.58rem;
	  	font-size: 1.5rem;
	}
}

@media (max-width: 420px) {
	#days-since {
	  	position: relative;
	  	bottom: 3.22rem;
	  	left: 17rem;
	  	font-size: 1.35rem;
	}
}

@media (max-width: 360px) {
	#days-since {
	  	position: relative;
	  	bottom: 2.78rem;
	  	left: 14.58rem;
	  	font-size: 1.2rem;
	}
}

@media (max-width: 260px) {
	#days-since {
	  	position: relative;
	  	bottom: 1.86rem;
	  	left: 9.28rem;
	  	font-size: 0.8rem;
	}
}
