body {
  /* font-family: IBM Plex Mono, helvetica, sans-serif; */
  font-family: Hack, monospace;
  font-weight: 400;
  font-style: normal;
  background-color: #222;

}

.aboutme {
  background: linear-gradient(rgba(0, 0, 0, 0.269), rgba(0, 0, 0, 0.5)) no-repeat;
  background-size: cover;
}

video#bgvid {
  position: fixed;
  top: 50%;
  left: 50%;
  overflow: hidden;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

h1 {
  color: #b3c2bf;
  font-weight: bold;
}

p {
  font-size: 20px;
  color: #e9ece5;
}

/* LOADER */
#loader {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 100ms ease-out;
}

#loader.active {
  opacity: 1;
}

#initial-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 1;
  transition: opacity 300ms ease-out;
}

#initial-loader.hidden {
  opacity: 0;
}

.header-text {
  position: absolute;
  top: 58%;
  top: -o-calc(50% + 3em);
  top: calc(50% + 3em);
  left: 0;
  right: 0;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.p-none {
  pointer-events: none;
}

@media only screen and (max-width: 641px) {
  .case-study-head .header-text {
    top: 45%;
  }
}

#canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  min-width: 100%;
}

#canvas canvas {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

#loader-text {
  color: #1ff042;
  display: block;
  font-family: Hack, monospace;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.7em;
  letter-spacing: 0.15em;
  text-shadow: 0 0 2px rgba(31, 240, 66, 0.75);
}

#loader-text:before {
  content: '> ';
}

#loader-text:after {
  display: inline-block;
  vertical-align: -0.15em;
  width: 0.75em;
  height: 1em;
  margin-left: 5px;
  background: #1ff042;
  box-shadow: 1px 1px 1px rgba(31, 240, 66, 0.65), -1px -1px 1px rgba(31, 240, 66, 0.65), 1px -1px 1px rgba(31, 240, 66, 0.65), -1px 1px 1px rgba(31, 240, 66, 0.65);
  -webkit-animation: cursor-blink 1.25s steps(1) infinite;
  animation: cursor-blink 1.25s steps(1) infinite;
  content: '';
}

@media only screen and (max-width: 641px) {
  #loader-text {
    font-size: 0.5em;
  }
}

#loader,
#initial-loader {
  z-index: 999;
}

.content-text {
  color: #EAE9DD;
}

.accordion {
  margin: auto;
  width: 300px;
  float: left;
}

.accordion input {
  display: none;
}

.box {
  position: relative;
  background: transparent;
  height: 64px;
  transition: all .15s ease-in-out;
}

.box::before {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  box-shadow: 0 -1px 0 transparent, 0 0 2px rgba(0, 0, 0, .12), 0 2px 4px rgba(0, 0, 0, .24);
}

.box-title {
  width: calc(100% - 40px);
  height: 64px;
  line-height: 64px;
  padding: 0 20px;
  display: inline-block;
  cursor: pointer;
  color: #DFF8D5;
  font-size: 10pt;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.box-content {
  width: calc(100% - 40px);
  padding: 6px 12px;
  font-size: 8pt;
  color: #EAE9DD;
  display: none;
}

.box-close {
  position: absolute;
  height: 64px;
  width: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  display: none;
}

input:checked+.box {
  height: auto;
  margin: 16px 0;
  box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32);
}

input:checked+.box .box-title {
  border-bottom: 1px solid rgba(0, 0, 0, .18);
}

input:checked+.box .box-content,
input:checked+.box .box-close {
  display: inline-block;
}

.arrows section .box-title {
  padding-left: 44px;
  width: calc(100% - 64px);
}

.arrows section .box-title:before {
  position: absolute;
  display: block;
  content: '\203a';
  font-size: 14pt;
  left: 2px;
  top: -2px;
  transition: transform .15s ease-in-out;
  color: #1ff042;
}

input:checked+section.box .box-title:before {
  transform: rotate(90deg);
}