html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
  height: 100%;
}

body {
	margin: 0;
  padding: 0;
  background-color: #fba3a2;
  width: 100%;
  height: 100%;
  cursor: none;
  overflow:hidden;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #fff;
}

a {
  color: #fff;
}
a:hover {
  color: #f9a3a3;
}

/* deactivate image selection*/

img {
  user-drag: none; 
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* images placed by js */

.image {
  z-index: -1;
  position: absolute;
  transform-origin: top left;
  transform: scale(0.5);
  border-radius: 5px;
  min-width: 700px;
}

/* cursor */

.cursor,
.tap {
  position: absolute;
  backface-visibility: hidden;
}
.cursor,
.tap {
  width: 96px;
  height: 96px;
  background-image: url(images/cursors.png);
  background-size: 2016px 192px;;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cursor.click:before {
  position: absolute;
  bottom: 90px;
  left: 30px;
  width: 78px;
  height: 26px;
  background-image: url(images/click.png);
  background-size: 78px 26px;
  content: "";
}
.grace {
  animation: grace 1.2s steps(21) infinite;
}
.nicolas {
  animation: nicolas 0.9s steps(14);
}
@keyframes grace {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -2016px 0;
  }
}
@keyframes nicolas {
  0% {
    background-position: 0 -96px;
  }
  100% {
    background-position: -1344px -96px;
  }
}
.flex {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.tap {
  position: relative;
  transform: translate(0%, 0%);
  z-index: -2;
  display: none;
}
.tap:before {
  position: absolute;
  bottom: 90px;
  left: 30px;
  width: 78px;
  height: 26px;
  background-image: url(images/tap.png);
  background-size: 78px 26px;
  content: "";
}

/* header */

header {
  position: absolute;
  top: 23px;
  left: 24px;
  z-index: 1;
}
header img {
  height: 24px;
}

nav {
  position: absolute;
  top: 26px;
  right: 8px;
  line-height: 0px;
  z-index: 1;
}
nav span {
  padding-left: 20px;
}
nav img {
  height: 24px;
}
nav a:hover {
  opacity: .5;
}
.nav-close {
  display: none;
  position: relative;
  right: 40px;
}
.off {
  display: none;
}


/* about */

.about {
  position: absolute;
  top: 0px;
  background: #000;
  display: none;
  overflow: auto;
  align-content: flex-start;
  align-items: flex-start;
}

.bio {
  position: relative;
  margin: 50px 20px 20px 20px;
  width: 580px;
  z-index: 1;
}

table {
  position: relative;
  left:-3px;
  border: 0px;
  padding: 12px 0px;
}

td {
  border: 0px;
  vertical-align: top;
  padding-bottom: 30px;
}

td:first-child {
  width: 100px;
}

tr {
  padding-bottom: 10px;
}

p:last-child {
  position: relative;
  top: -20px;
}

/* mobile */

@media (max-width: 700px) {
  .cursor {
    display: none;
  }
  .tap {
    display: inline;
  }
  body {
    cursor: auto;
  }
}

@media (max-width: 500px) {
  header {
    left: auto;
    width: 100%;
    text-align: center;
    top: 18px;
  }
  nav {
    top: auto;
    right: auto;
    bottom: 16px;
    width: 100%;
    text-align: center;
  }
  .nav-close {
    position: fixed;
    top: 20px;
    right: 20px;
  }
  .bio {
    margin: 50px 20px 0px 20px;
  }
}

