/*
 *	GLOBAL
 *  =============================================
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font: 100%/1.125 'Roboto Condensed', 'Helvetica Neue', sans-serif;
  background: #f2f2f2;
  color: #999;
}

::selection {
	background: #e93d45;
	color: #f2f2f2;
}

::-moz-selection {
	background: #e93d45;
	color: #f2f2f2;
}

:focus {
  outline: 0;
}

a:link, a:visited {
  display: inline-block;
  position: relative;
  padding-bottom: .125em;
  text-decoration: none;
  color: #999;
  transition: color 300ms;
}

a:after {
  display: block;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #e93d45;
  transition: width 300ms;
}

a:hover,
a:focus {
  color: #e93d45;
}

a:hover:after,
a:focus:after {
  width: 100%;
}

a:focus {
  border-bottom: 1px solid;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
  line-height: 1.325em; /* Align w/ links that have bottom padding */
}

/*
 *	UTILITIES
 *	---------------------------------------------
 */

/* Accessibly hide visually */
.sr-only {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute !important;
}

.clear:after, .clear::after {
  content: "";
  display: table;
  clear: both;
  width: 100%;
}

/*
 *	LAYOUT
 *	---------------------------------------------
 */

.site-header {
  position: absolute;
  top: 2em;
  left: 3.75em;
}

.page-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  padding: 4em 3.75em 2em;
}

.tagline {
  flex: 1;
}

@media (max-width: 38em) {
  .page-content {
    padding: 2em 1em;
  }
}

@media (max-width: 850px) {
  .site-header {
    z-index: 3;
    left: 0;
    width: 100%;
    text-align: center;
  }

  .logo {
    display: inline-block;
  }

  .page-content {
    padding: 0 2em;
  }
}

/*
 *	TAGLINE
 *  =============================================
 */

.tagline {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .5em 0;
  margin-right: .5em;
  font: 6em "Pragati Narrow", "Arial Narrow", sans-serif;
  font-size: 7vw;
  font-size: 10vmin;
  line-height: 1;
  color: #303133;
}

.tagline__content {
  display: block;
  position: relative;
}

#tagline-source {
  color: #f2f2f2;
}

#tagline-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#tagline-anim:after {
  display: inline-block;
  vertical-align: top;
  content: '';
  margin-left: 4px;
  width: 2px;
  height: 1em;
  background: #000;
}

#tagline-anim.blink-cursor:after {
  animation: blink 1000ms 5;
  animation-delay: 400ms;
}

@keyframes blink {
  to, from {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

#tagline-anim.reached-end:after {
  display: none;
  animation-play-state: paused;
  opacity: 0;
  transition: opacity 400ms;
}

@media (max-width: 850px) {
  .tagline {
    position: relative;
    top: -1em;
    z-index: 1;
    font-size: 8vmin;
    line-height: 1.1;
  }
}
/*
 *	INFO
 *  =============================================
 */

.info {
  position: relative;
  margin-right: -1em;
  margin-left: -1em;
}

.info__section {
  float: left;
  padding: 0 1em;
  width: 33%;
}

.info__tagline {
  position: absolute;
  top: 50%;
  margin-top: -.5em;
  right: .25em;
  font: 1em "Roboto Condensed", "Arial Narrow", sans-serif; /* 62px */
  line-height: 1;
  text-transform: uppercase;
  text-align: right;
}

.coming-soon {
  position: fixed;
  top: 45%;
  right: -1em;
  transform: rotate(90deg);
  transform-origin: center;
  color: red
}

@media (min-width: 65em) {
  .info__tagline {
    font-size: 3.875em;
  }
}

@media (max-width: 850px) {
  .info {
    position: fixed;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 4em 1em 7em; /* Space for button etc */
    text-align: center;
    background: #f2f2f2;
    opacity: 0;
    transition: opacity 400ms;
  }

  .info__section {
    float: none;
    padding: 0;
    width: 100%;
    color: #000;
  }

  .info__section + .info__section {
    margin-top: 6vh;
  }

  a:link, a:visited {
    color: #000;
  }

  a:hover,
  a:focus {
    color: #e93d45;
  }

  .coming-soon {
    position: absolute;
    top: auto;
    margin-top: 0;
    right: 0;
    bottom: 5.875em;
    width: 100%;
    transform: none;
  }

  .info__tagline {
    display: none;
  }

  .info[aria-hidden="true"] {
    padding: 0;
    height: 0;
    overflow: hidden;
  }

  .info[aria-hidden="true"] .coming-soon {
    display: none;
  }
}

/*
 *	TOGGLE BUTTON
 *  =============================================
 */

.toggle-btn {
  position: absolute;
  z-index: 4;
  bottom: 2em;
  bottom: 2rem;
  left: 50%;
  margin-left: -18px;
  border: 0;
  outline: 0;
  width: 35px;
  height: 35px;
  background: transparent;
}

.toggle-btn .open {
  display: block;
}

.toggle-btn .close {
  display: none;
}

.toggle-btn:hover {
  cursor: pointer;
}

.toggle-btn:hover circle,
.toggle-btn:focus circle {
  stroke: #000;
}

.toggle-btn:hover path,
.toggle-btn:focus path {
  fill: #000;
}

.toggle-btn[aria-expanded="true"] .open {
 display: none;
}

.toggle-btn[aria-expanded="true"] .close {
 display: block;
}

.toggle-btn[aria-expanded="true"]:hover path,
.toggle-btn[aria-expanded="true"]:focus path {
  stroke: #000;
}

@media (min-width: 851px) {
  .toggle-btn {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    overflow: hidden;
    position: absolute !important;
  }
}

/*
 *	VERY SMALL SCREENS
 *  =============================================
 */

@media (max-width: 850px) and (max-height: 30em) {
  .info {
    padding: 4em 1em;
  }

  .coming-soon {
    display: none;
  }
}

@media (max-width: 850px) and (max-height: 22.5em) {
  .site-header {
    top: 1em;
  }

  .social li {
    display: inline-block;
    margin: 0 .5em;
  }

  .toggle-btn {
    bottom: 1em;
  }
}
