@charset "UTF-8";
html {
  background: #000000;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

span {
  padding: 2px 5px;
  border-radius: 1px;
}

.alive span {
  color: #B8BFCA;
}

.alive:hover span {
  color: #FFFFFF;
}

.dead span {
  color: #c44556;
}

.dead {
  color: #627386;
}

.ww span {
  color: #ffcd48;
}

aside {
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}

aside, article {
  height: calc(100vh - 40px);
  width: calc(50vw - 40px);
  padding: 40px;
  box-sizing: border-box;
}

article {
  overflow-y: scroll;
  padding: 40px 80px;
}

section {
  background-color: black;
  width: 100%;
  margin-bottom: 40px;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  top: -40px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  z-index: 10;
}

section a {
  margin-right: 20px;
  color: #7C8D9F;
}

section .selected {
  color: #D5DAE0;
}

.anim-start {
  opacity: 0;
  transform: translateX(-200px);
}

.anim-mid {
  opacity: 0;
  transform: translateX(200px);
}

.anim-end {
  opacity: 1;
  transform: translateX(0);
}

.container {
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

p {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  padding: 15px 0;
  margin-top: 0;
  margin-bottom: 0;
  border-bottom: 1px solid #1B2025;
  color: #B8BFCA;
  position: relative;
}

p:hover {
  color: #FFFFFF;
}

h3 {
  color: #B8BFCA;
  margin-top: -20px;
  font-family: 'Cinzel', serif;
  font-weight: 400;
  line-height: 1.2;
}

a {
  margin-left: -12px;
  padding: 2px 12px;
  border-radius: 20px;
}

a:hover {
  background-color: #22272E;
  cursor: pointer;
  color: white;
}

h1 {
  font-size: 42px;
  font-family: 'Cinzel', serif;
  font-weight: 400;
  line-height: 1.2;
}

.incorrect::after {
  content: '❌';
  position: absolute;
  right: -1px;
  top: 14px;
}

.correct::after {
  content: '😀';
  position: absolute;
  right: -1px;
  top: 14px;
}

h4 {
  font-weight: 400;
  color: #B8BFCA;
  line-height: 1.5;
}

.link kbd, .link span {
  color: #B8BFCA;
}

.link:hover {
  color: #22A5F7;
  cursor: pointer;
}

.link:hover kbd, .link:hover span {
  color: #22A5F7;
  cursor: pointer;
}

.link:first-of-type {
  color: #ffcd48;
}

.link:first-of-type kbd, .link:first-of-type span {
  color: #ffcd48;
}

.link:first-of-type ::after {
  content: 'Has won! Congratulations 👑';
  position: absolute;
  right: -1px;
  top: 14px;
}

.link:first-of-type:hover {
  color: #e69a0a;
}

.link:first-of-type:hover kbd, .link:first-of-type:hover span {
  color: #e69a0a;
}

code {
  color: #ffcd48;
}

@media only screen and (max-width: 800px) {
  section {
    height: 100px;
    position: fixed;
    top: 0;
  }
  body {
    padding: 0;
  }
  aside {
    display: none;
  }
  article {
    width: 100vw;
    height: calc(100% - 120px);
    margin-top: 60px;
    padding: 20px;
  }
}
