@keyframes move {
  from {
    background-position-y: -100%;
  }

  to {
    background-position-y: 0%;
  }
}

@keyframes blink {
  from {
    opacity: 0;
  }

  to {
    opacity: 100;
  }
}

@font-face {
  font-family: "SpaceMono";
  src: url("fonts/SpaceMono-Regular.ttf");
  font-weight: normal;
}

@font-face {
  font-family: "SpaceMono";
  src: url("fonts/SpaceMono-Bold.ttf");
  font-weight: bold;
}

body {
  transition: 0.5s background-color;
}

body.theme-conferences {
  background-color: #180f26;
}

body.theme-conferences * {
  color: #9d6eff;
}

body.theme-articles * {
  color: #6ea3ff;
}

body.theme-cta * {
  color: #ffb86e;
}

body.theme-videos * {
  color: #09c209;
}

body.theme-articles {
  background-color: #0f1c26;
}

body.theme-videos {
  background-color: #0a1a0f;
}

body.theme-cta {
  background-color: #1a120a;
}

h1,
h2,
p,
a,
span,
li,
b {
  font-family: "SpaceMono";
  transition: 0.5s color;
}

body,
html,
div,
article {
  box-sizing: content-box;
}

.tabs {
  width: 100%;
}

.tabs ul {
  display: flex;
  width: 100%;
  padding: 0;
  justify-content: center;
}

.tabs li {
  margin-right: 5px;
  margin-left: 5px;
  list-style: none;
  padding: 5px 20px;
  border-radius: 3px;
  background-color: #000000;
  cursor: pointer;
}

.tabs li:nth-child(1).active {
  background-color: #ffffff;
  font-weight: bold;
  color: rgb(102, 0, 88);
  box-shadow: #ff00ee 0px 0px 15px;
}

.tabs li:nth-child(2).active {
  background-color: #ffffff;
  font-weight: bold;
  color: rgb(0, 66, 70);
  box-shadow: #00d0ff 0px 0px 15px;
}

.tabs li:nth-child(3).active {
  background-color: #ffffff;
  font-weight: bold;
  color: rgb(48, 102, 0);
  box-shadow: #2fff00 0px 0px 15px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.tab-content .page-title {
  width: 100%;
}

.tab-content article {
  width: 100%;
  margin-bottom: 35px;
}

.tab-content article .location {
  display: block;
  color: #c22f8e;
}

.tab-content article .reference {
  margin-right: 10px;
}

.tab-content article .event-link {
  color: #9d6eff;
}

.video-card .date {
  color: #ffff2a;
  display: block;
}

.publications-card .date {
  color: #dddddd;
  display: block;
}

.primary,
.tabbed-content,
.footer {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.header-link {
  font-weight: bold;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-image: url(./scan-lines-2.png);
  opacity: 30%;
  pointer-events: none;
  animation-duration: 100s;
  animation-name: move;
  background-size: 50%;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

h2 .cursor {
  color: white;
  animation-duration: 1s;
  animation-name: blink;
  background-size: 50%;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: alternate;
}

.disable-scanlines {
  cursor: pointer;
  text-decoration: underline;
}
