@font-face {
    font-family: 'MicroFLF-Bold';
    src:url('MicroFLF-Bold.ttf.woff') format('woff'),
        url('MicroFLF-Bold.ttf.svg#MicroFLF-Bold') format('svg'),
        url('MicroFLF-Bold.ttf.eot'),
        url('MicroFLF-Bold.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

body {
  font-family: system-ui, sans-serif;
  margin: 0;
  background: #f8f8f8;
  color: #222;
}

header {
  background-color: #2d2d2d;
  color: white;
  padding: 2rem;
  display: grid;
  grid-template-columns: 128px 60% auto;
}

.yellow {
	color: yellow;
}

.red {
	color: red;
}

header > #left {
}

header > #center {
	align-self: center;
	text-align: right;
}

header > #right {
  background-image: url('icon_small.png');
  background-repeat: no-repeat;
  background-position: top left;
  padding-left: 0;
  min-height: 150px;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-family: 'MicroFLF-Bold';
  -webkit-text-stroke: 1px white;
}

header p {
  margin-top: 0.5rem;
  max-width: 800px;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
  background: white;
}

.hero {
  position: relative;
  margin: 2rem 0;
  height: 300wpx;
  overflow: hidden;
}

.hero-strip {
  position: absolute;
  top: 0;
  left: 0;
  height: 256px;
  animation: carousel 30s linear infinite;
}

.hero-strip img {
  display: block;
  height: 256px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  display: block;
  z-index: 2;
  cursor: default;
}

/* optional debugging */
.hotspot:hover {
  outline: 2px solid rgba(255,255,0,0.7);
}

.hotspot::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: 6px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.85);
  color: white;
  white-space: nowrap;
  font-size: 0.85rem;
  line-height: 1.2;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.hotspot:hover::after {
  opacity: 1;
}

.hotspot:hover::after {
  opacity: 1;
}

@keyframes carousel {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-1024px);
  }
}

section {
  margin-top: 2rem;
}

h2 {
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
}

code {
  background: #eee;
  padding: 2px 4px;
}

footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #666;
}

img#overleafbtn {
     opacity: 0.9;
}

img#overleafbtn:hover {
     opacity: 1;
}