
/* default values set as CSS variables */
:root {
  --wrapper-height: 99%;
  --image-max-width: 300px;
  --image-margin: 3rem;
  --font-family: Orbitron;
  --body-font-family: "Open Sans";
  --surround-color: #773C1a;
  --bg-color: #f3f4f0;
  --line-color-1: #e4e4e0;
  --line-color-2: #e4e4e0;
  --text: #5C5854;
  --link: #fff7b1;
  --link-hover: #FFEE50;
}

/* Basic page style resets */
*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}
 

body {
  font-family: var(--body-font-family);
  background: var(--surround-color);
  line-height: 2.1rem;
  padding: 0.2rem;
}


.graph-paper {
  all: inherit;
  padding: 1rem;
  margin: 1rem;
  background-color: var(--bg-color);
  background-image: linear-gradient(var(--line-color-1) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--line-color-1) 1.5px, transparent 1.5px), linear-gradient(var(--line-color-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-color-2) 1px, transparent 1px);
  background-position: -1.5px -1.5px, -1.5px -1.5px, -1px -1px, -1px -1px;
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; 
  color: var(--text);
}

.box {
  all: inherit;
  background-color: var(--bg-color);
  border-radius: 8px;
  margin: 0px;
}

/* heading */
h1 {
  color: var(--text);
  font-family: var(--font-family);
  font-style: oblique;
}

h2 {
  font-family: var(--font-family);
  color: var(--text);
  font-size: 110%;
  font-weight: normal;
  display: inline;
}

h3 {
  font-family: var(--font-family);
  color: var(--text);
  font-size: 105%;
  font-weight: normal;
  display: inline;
}

/* link */
/* a {
  text-decoration: underline dotted;
}
 */
a {
    text-decoration: underline;
    text-decoration-color: var(--link);
    text-decoration-skip-ink: none;
    text-decoration-thickness: .5em;
    text-underline-offset: -.25em;
    transition: text-decoration .3s;
    color: inherit;
}

a:hover {
  text-decoration-color:var(--link-hover)
}

ul {
  list-style: square inside;
}

.responsive-object {
  position: relative;
  padding-top: 56.5%;
  padding-bottom: 35px;
  border-radius: 8px;
}


iframe {
  aspect-ratio: 4/3 auto;
  position: absolute; inset: 10px;
  width: 80%; 
}


footer {
  font-family: var(--font-family);
  text-align: center;
  font-size: smaller;
}

details {
  margin-bottom: 1rem;
}

summary {
  cursor: pointer;
  font-weight: bold;
  padding: 0.2rem;
}

details[open] summary {
  margin-bottom: 0.5rem;
}

summary::marker {
  color: var(--surround-color);
}

/* Page structure */
.wrapper {
  min-height: var(--wrapper-height);
  display: grid;
  place-items: center;
  margin: 0 1rem;
}

.content {
  display: grid;
  flex-direction: column;
}

pre {
  font-size: small;
}

.code-header {
  margin-left: 1.5rem;
  font-size: small;
  font-weight: bold;
  color: var(--surround-color);
}

.hashtag {
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--surround-color);
}

.image-container {
  width: 100%;
  max-width: 600px; /* Adjust this value based on your preference */
  margin: 20px auto;
  text-align: center;
}

.responsive-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}