@import url("../fonts/fantasque-sans/FantasqueSans-decl.css");
/*@import url("../fonts/fantasque-sans/FantasqueSansMono-Regular-decl.css");*/

p, .pseudonym {
  font-family: "Source Serif Pro", "Garamond", serif;
}
.tagline-alt {
  font-family: "FantasqueSans", "Comic Sans MS", sans-serif;
  letter-spacing: 0.3pt;

  position:relative;

  top: 1.2em;
  margin: 0;
  height: 0;

  opacity: 0;
  transform: translateY(-1em);

     -moz-transition: opacity 0.15s ease-out, transform 0.15s ease-out;
  -webkit-transition: opacity 0.15s ease-out, transform 0.15s ease-out;
          transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.taglines:hover .tagline-alt {
  /*display: block;*/
  opacity: 1;
  transform: translateY(0em);
}

.tagline {
     -moz-transition: opacity 0.15s ease-out, transform 0.15s ease-out;
  -webkit-transition: opacity 0.15s ease-out, transform 0.15s ease-out;
          transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.taglines:hover .tagline {
  pointer-events: none;
  opacity: 0;

  transform: translateY(1em);
}

invert .tagline-alt {
  text-shadow: 0px 0px 0 #000;
}
header, footer, .hr-fancy {
  text-align: center;
}

.fold {
  padding: 40px 40px 0 40px;
  min-height: 100vh;
}
.below-the-fold {
  padding: 0 40px 40px;
}

.pseudonym {
  opacity: 0.4;
}
h1.pseudonym {
  margin-bottom: 0em;
}
h1 + h1 {
  margin-top: 0em;
}


body {
     -moz-transition-duration: 1s;
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
}
body.invert {
     -moz-filter: invert(100%);
  -webkit-filter: invert(100%);
          filter: invert(100%);
  background-color: black;
}
body.noanimate {
     -moz-transition-duration: 0s;
  -webkit-transition-duration: 0s;
          transition-duration: 0s;
}

.invert .logo {
  opacity: 1;
}

.logo {
  width: 60%;
  max-width: 256px;
  min-width: 128px;
  opacity: 0.7;
}

.hr-fancy {
  min-width: 80%;
}
.hr-fancy svg {
  margin: 0 6px;
  padding: 0;
}
.hr-fancy hr {
  margin: 5px 0;
  padding: 0;
  display: inline-block;
  width: 20%;
  border-top: black 2px solid;
  border-bottom: none;
}
.subfooter {
  opacity: 0.2;
}

.links-whoami li {
  display: inline-block;
}

ul.links-whoami {
  list-style-type: none;
  padding: 0;
}

footer {
  margin-top: 1em;
}

/* CLOCK - adapted from momentjs.com */
.clock {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  position: relative;
  border: 8px solid black;
  border-radius: 50%;
}
.clock {
     -moz-transition-duration: 1s;
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
}
.invert .clock {
     -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
}
.clock-face {
  width: 100%;
  height: 100%;
}
.clock-face:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  background: black;
  border-radius: 6px;
  content: "";
  display: block;
}
.clock-hand-container {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
.clock-hour {
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -35% -2px 0;
  padding: 35% 2px 0;
  background: black;
     -moz-transform-origin: 50% 100%;
  -webkit-transform-origin: 50% 100%;
          transform-origin: 50% 100%;
  border-radius: 4px 0 0 4px;

     -moz-animation: time 86400s infinite linear;
  -webkit-animation: time 86400s infinite linear;
          animation: time 86400s infinite linear;
}

.clock-minute {
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -40% -3px 0;
  padding: 40% 3px 0;
  background: black;
     -moz-transform-origin: 50% 100%;
  -webkit-transform-origin: 50% 100%;
          transform-origin: 50% 100%;
  border-radius: 3px 3px 0 0;
     -moz-animation: time 3600s infinite linear;
  -webkit-animation: time 3600s infinite linear;
          animation: time 3600s infinite linear;
}

.clock-second {
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -40% -1px 0 0;
  padding: 40% 1px 0;
  background: black;
     -moz-transform-origin: 50% 100%;
  -webkit-transform-origin: 50% 100%;
          transform-origin: 50% 100%;
  /**/
     -moz-animation: time 60s infinite linear;
  -webkit-animation: time 60s infinite linear;
          animation: time 60s infinite linear;
  /** /
     -moz-animation: time 0.6s infinite linear;
  -webkit-animation: time 0.6s infinite linear;
          animation: time 0.6s infinite linear;
  /**/
}

@keyframes time {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
