body {
    background-color: black;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 0;
    color: white;
}

h1 {
    color: yellow;
    text-align: center;
    margin-bottom: 1em;
}

h2 {
    color: lime;
    border-bottom: 1px solid lime;
    padding-bottom: 4px;
    margin-top: 2em;
}

h3 {
    border-bottom: 1px solid gray;
    border-top: 1px solid gray;
    padding: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    width: 60%;
}

p, li {
    color: white;
    line-height: 1.6;
}

a {
    color: lightblue;
    text-decoration: underline;
}

.content {
    padding: 0 10vw;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

section {
    margin-bottom: 2em;
}

/* Terminal style code blocks */
code {
    background-color: #6f6f6f;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: #0f0;
    font-weight: bold;
}
code:hover {
    background-color: #e5e5e5;
    color: black;
}

ul, ol {
    padding-left: 2em;
}

.caption {
    font-size: 0.9rem;
    color: lightblue;
    font-weight: bold;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5em;
}

.image-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #333;
    padding: 1em;
    gap: 1em;
    flex-wrap: wrap;
}

.image-row img {
    height: 250px;
    object-fit: cover;
    border: 2px solid #555;
    border-radius: 6px;
    transition: transform 0.3s ease-in-out;
}
.image-row img:hover {
    transform: scale(1.2);
    border-color: lime;
}

/* for smaller screens*/
@media all and (max-width: 500px) {
    .image-row {
        flex-direction: column;
    }

    .content {
        padding: 0 5vw;
    }

    h3 {
        width: 100%;
    }

    .empathy-box {
    flex: 1 1 100%;
  }


}




.easteregg {
  position: relative;
  display: inline-block;
  color: #ff00ff;
  font-weight: bold;
  font-family: monospace;
}

/* from https://muffinman.io/blog/css-image-glitch/ */
.easteregg::before,
.easteregg::after {
 content: attr(txt); /* https://developer.mozilla.org/en-US/docs/Web/CSS/attr */
  position: absolute;
  left: 0;
  width: 100%;

  color: #00ffff;
  z-index: -1;
}

.easteregg::before {
  animation: glitchTop 1s infinite linear alternate-reverse;
  top: -1px;
}

.easteregg::after {
  animation: glitchBottom 1s infinite linear alternate-reverse;
  top: 1px;
}


@keyframes glitchTop {
  0% {
    clip-path: inset(0 0 80% 0);
    transform: translate(-1px, -1px);
  }
  100% {
    clip-path: inset(0 0 50% 0);
    transform: translate(1px, 1px);
  }
}

@keyframes glitchBottom {
  0% {
    clip-path: inset(50% 0 0 0);
    transform: translate(1px, 1px);
  }
  100% {
    clip-path: inset(80% 0 0 0);
    transform: translate(-1px, -1px);
  }
}

/* table */

/* .empathy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  background-color: #111;
  border: 1px solid #333;
  font-family: monospace;
}

.empathy-table th,
.empathy-table td {
  border: 1px solid #444;
  padding: 1em;
  vertical-align: top;
  color: white;
}

.empathy-table th {
  background-color: #222;
  color: lime;
  text-align: left;
}

.empathy-table ul {
  margin: 0;
  padding-left: 1.5em;
}

.empathy-table code {
  background-color: #000;
  color: #0f0;
  padding: 2px 4px;
  border-radius: 3px;
} */
/* 
.empathy-flex h2 {
  color: lime;
  margin-bottom: 1em;
  border-bottom: 1px solid lime;
  padding-bottom: 5px;
} */

.empathy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: space-between;
  background-color: #111;
  padding: 1em;
  border: 1px solid #333;
  border-radius: 8px;
}

.empathy-box {
  flex: 1 1 45%;
  background-color: #000;
  padding: 1em;
  border: 1px solid #333;
  border-radius: 4px;
  min-width: 250px;
}

.empathy-box h3 {
  color: yellow;
  margin-bottom: 0.5em;
}

/* .empathy-box ul {
  padding-left: 1.2em;
} */

/* .empathy-box li {
  color: white;
  margin-bottom: 0.5em;
} */

.empathy-box code {
  background-color: #000;
  color: #0f0;
  padding: 2px 4px;
  border-radius: 3px;
}


