@font-face {
  font-family: '1403_vintage_mono_proregular';
  src: url('/1403vintagemonopro-regular-webfont.woff2') format('woff2'),
       url('/1403vintagemonopro-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

.ibm1403{
  font-family: '1403_vintage_mono_proregular', fixed;
}

input, select, textarea, button{font-family:inherit;}

.radiobutton:checked + .radiobutton-wrapper {
  background-color: #fff;
}

.radiobutton:checked + .radiobutton-wrapper div { 
  border-color: chartreuse; 
}

.term::after {
  content:'_';
  display:inline;
  line-height:inherit;
  position:relative;
  bottom: .1em;
  color:chartreuse;
  animation: cursor-blink 1.5s steps(2) infinite;
}

.alt-term::before{
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  color:chartreuse;
  animation: cursor-blink 1.5s steps(2) infinite;
}

@keyframes cursor-blink {
  0% {
    opacity: 0;
  }
}


/*
input[type=file]::file-selector-button {
  border: 2px solid #6c5ce7;
  padding: .2em .4em;
  border-radius: .2em;
  background-color: #a29bfe;
  transition: 1s;
}

input[type=file]::file-selector-button:hover {
  background-color: #81ecec;
  border: 2px solid #00cec9;
}
*/

.lato {
  font-family: 'lato', sans-serif;
}

.rb {
  font-family: 'Roboto', sans-serif;
}

.rbc{
  font-family: 'Roboto Condensed', sans-serif;
}

.rbs{
  font-family: 'Roboto Slab', serif;
}

.dark-pink-trans{
  color: rgba(213, 0, 143, 0.1)
}

.fade-bottom:after{
  content: "";
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  height: 30%;
  background-image: linear-gradient(to top, rgba(0,0,0,1.0), rgba(0,0,0,0.0));
}

.sideline{
  transform: translateX(-100%) rotate(-90deg);
  transform-origin: top right;
}

.bg-fixed{
  background-attachment: fixed;
}

.bg-clip-text{
  -webkit-background-clip: text;
  color: transparent !important;
}

.clip-text{
  -webkit-text-fill-color: transparent;
}

.sticky{
  position: -webkit-sticky;
  position: sticky;
}

.top-200{
  top: 200px
}

.bar{
  height: 1px;
  width: 8rem;
}

.f-super{
  font-size: 14rem;
}

@media screen and (min-width: 48em){
  .f-super-ns{
    font-size: 14rem;
  }
}

.f-xsuper{
  font-size: 40rem;
}

#reader{
  transition: all 0.5s;
}

.vis-hide{
  visibility: hidden;
}

.vis{
  visibility: visible;
}

.flex-shrink-0{
  flex-shrink: 0;
}

.mxhi-75{
  max-height: 75%;
}

.mxhi-100{
  max-height: 100%;
}

.h0{
  height: 0;
}

.trans-all{
  transition: all .5s linear;
}

.acenter{
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.vcenter{
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (min-width: 48em){
  .vcenter-ns{
    position: relative;
    top: 50%;
    transform: translateY(-50%);  
  }
}

.bg-fixed{
  background-attachment: fixed;
}

.fancy::before{
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background-color: black;
  width: 100%;
}

.ofc{
  object-fit: contain;
}

.opl{
  object-position: 0% 50%;
}

.bq::before{
  content: open-quote;
}

.bq::after{
  content: close-quote;
}

/* Experimental css grid stuff */

.hscroll-gallery{
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1rem 100% repeat(var(--total), 100%) 1rem;
  grid-template-rows: minmax(200px, 1fr);
  overflow-x: scroll;
  scroll-snap-type: x proximity;
}

@media screen and (min-width: 48em){
  .hscroll-gallery{
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1rem 50% repeat(var(--total), 50%) 1rem;
    grid-template-rows: minmax(200px, 1fr);
    overflow-x: scroll;
    scroll-snap-type: x proximity;
  }
}

.hscroll-gallery:before,
.hscroll-gallery::after{
  content: '';
}

/* CMS stuff */

.content p{
  margin-top: 0;
  margin-bottom: 2rem;
}

.content a{
  text-decoration: none;
  color: #19A974;
}

.content a:hover{
  color: black;
  text-decoration: underline;
}

.content a:visited{
  text-decoration: none;
  color: #137752;
}

.content sup{
  font-feature-settings: "sups", "sups"
}

.content blockquote{
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  border-left: 1px solid ;
  padding-left: 1rem;
  margin: 0;
}



.content cite{
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500
}

.content cite:before{
  content: "\2014 \2009";
}

@media screen and (min-width: 48em){
  .content blockquote{
    font-size: 1.5rem;
    padding-left: 2rem;
    font-weight: 100;
  }
}

/* overlay menu stuff */

#menu-overlay-switch {
  display: none;
}

#menu-overlay-switch:checked~#menu-overlay {
  opacity: 100;
  transform: scale(1);
  z-index: 9999;  
}

#menu-overlay-switch:not(:checked)~#menu-overlay {
  /*animation: overlay 0.5s linear 1s 1 reverse;*/
}

/* MENU TOGGLE ICON */

#menu-over-lay-toggle:focus {
  outline: none;
}

#menu-overlay-toggle {
  display: inline-block;
  position: fixed;
  width: 51px;
  height: 51px;
  cursor: pointer;
  border: none;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  background: #fff;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

#menu-overlay-toggle:before,
#menu-overlay-toggle:after {
  position: absolute;
  content: "";
  background-color: #232629;
}

#menu-overlay-toggle:before {
  top: 12px;
  left: 25px;
  width: 1px;
  height: 27px;
}

#menu-overlay-toggle:after {
  top: 25px;
  left: 12px;
  width: 27px;
  height: 1px;
}

#menu-overlay-switch:checked~#menu-overlay-toggle {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.overlay-menu{
  z-index: -1;
  opacity: 0;
  transform: scale(2);
  transition: all 0.5s linear;
}

.menu-overlay-in{
  opacity: 100;
  transform: scale(1);
  z-index: 9999;
}

.menu-overlay-out{
  opacity: 0;
  transform scale: (2);
}

/* Animations */

@keyframes overlay {
  0% { transform: scale(2); opacity: 0; }
  100%   { transform: scale(1); opacity: 1;  z-index: 9999   }
}

@keyframes fade-in {
  from {opacity: 0;}
  to {opacity: 1;}
}

.fade-in-element {
  animation: fade-in 1.4s;
}

/* Navigation */

:focus {
  outline: 0;
}

#menu-switch {
  display: none;
}

#menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  padding: 50px 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  transition: all .3s ease-in;
  text-align: center;
  background-color: #fff;
}

#menu .brand {
  height: 51px;
  font-size: 70px;
  font-weight: 900;
  line-height: .6;
  color: #ddd;
}

#menu ul {
  padding: 0;
  margin-top: 30px;
}

#menu ul li a {
  display: block;
  font-weight: 900;
  line-height: 50px;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  text-decoration: none;
  text-transform: uppercase;
  color: #232629;
  border-top: 1px solid #eee;
}

#menu ul li:last-child a {
  border-bottom: 1px solid #eee;
}

#menu ul li a:hover {
  letter-spacing: 1px;
}

#menu-switch:checked~#menu {
  left: 0;
}

.page-wrap {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  transition: all .3s ease-in;
}

#menu-switch:checked~.page-wrap {
  margin-left: 300px;
}

/* MENU TOGGLE ICON */

#menu-toggle:focus {
  outline: none;
}

#menu-toggle {
  display: inline-block;
  position: fixed;
  width: 51px;
  height: 51px;
  cursor: pointer;
  border: none;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  background: #fff;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

#menu-toggle:before,
#menu-toggle:after {
  position: absolute;
  content: "";
  background-color: #232629;
}

#menu-toggle:before {
  top: 12px;
  left: 25px;
  width: 1px;
  height: 27px;
}

#menu-toggle:after {
  top: 25px;
  left: 12px;
  width: 27px;
  height: 1px;
}

#menu-switch:checked~#menu-toggle {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Spinner */

.spinner {
  width: 50px;
  height: 40px;
  text-align: center;
  font-size: 10px;
}

.spinner>div {
  background-color: #333;
  height: 100%;
  width: 6px;
  display: inline-block;
  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4)
  }
  20% {
    -webkit-transform: scaleY(1.0)
  }
}

@keyframes sk-stretchdelay {
  0%,
  40%,
  100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }
  20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

/* Custom Sizes */

.left-50{
  left: 50%;
}

.ml--28{
  margin-left: -28px;
}

.ml--40{
  margin-left: -40px;
}