* {
    margin: 0;
    padding: 0;
}

.webgl {
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    z-index: 100;
}
canvas {
    background: black;
    width: 100vw;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -9999;
    background: white;
}
video {
  object-fit: cover;
  object-position: bottom right; 
  width: 100vw;
  height: 100vh;
  position: fixed;
  bottom: 10%;
  right: 0;
}

html, body {
  height: 100%;
}
html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 150%;
  line-height: 1.4;
}
body {
  margin: 0;
}

.aphysique {
    position: relative;
    width: 60vw;
    max-width: 650px;
    top: -15vh;
}
.viewport-header {
  position: relative;
  height: 90%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

h1 {
  font-family: 'Syncopate', sans-serif;
  color: white;
  text-transform: uppercase;
  letter-spacing: 3vw;
  line-height: 1.2;
  font-size: 3vw;
  text-align: center;
  span {
    display: block;
    font-size: 10vw;
    letter-spacing: -1.3vw;
}
}

main {
  background-color: rgba(255,255,255, 1)!important;;
  color: black;
  position: relative;
  padding: 1rem;

}
p {
  max-width: 900px;
  margin: 1rem auto;
}

ul {
    align-items: center;
}

.logo a{
    position: absolute;
    display: block;
    z-index: 99;
    left: 1%;
    top: 1%;
    font-family: 'Poppins', sans-serif; 
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: -0.06rem;
    text-decoration: none;
    opacity: 1;
    -moz-transition: opacity 0.75s ease-in-out, -moz-transform 0.75s ease-in-out;
    -webkit-transition: opacity 0.75s ease-in-out, -webkit-transform 0.75s ease-in-out;
    -ms-transition: opacity 0.75s ease-in-out, -ms-transform 0.75s ease-in-out;
    transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out;
}

h1 {
    font-family: 'Poppins', sans-serif; 
    font-weight: 900;
    text-transform: uppercase;

}
p {
    font-family: 'Poppins', sans-serif!important; 
    font-weight: 300!important;
    font-size: 0.65rem!important;
    text-align: left!important;
}

p.major {
    font-weight: 700!important;
    font-size: 1rem!important;
    text-transform: uppercase!important;
    line-height: 1!important;
    letter-spacing: -1.5px;
}
strong {
    font-weight: 700!important;
}

#overlay button {
    background: transparent;
    border: 0;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 4px;
    color: #ffffff;
    padding: 12px 18px;
    text-transform: uppercase;
    cursor: pointer;
}
.button {
    font-family: 'Poppins', sans-serif;
    border-radius: 0!important;
    font-weight: 700;
    letter-spacing: 0;
    margin-right: 10px;
    display: flex-inline;
}

#startButton { 
    box-shadow: inset 0 0 0 3px rgb(0 0 0 / 0%);
    background: #000;
    color: white!important;
}

#startButton:hover {
    box-shadow: inset 0 0 0 3px #000;
    color: #000!important;
    background: #FFF;
}

#mail { 
    box-shadow: inset 0 0 0 3px #000;
    background: #FFF;
    color: black!important;
}

#mail:hover {
    box-shadow: inset 0 0 0 3px #000;
    color: #FFF!important;
    background: #000;
}
#insta {
    position: absolute!important;
    display: block!important;
    z-index: 99;
    right: 2.5%;
    top: 1%;
    opacity: 0.25;
}

.loading-bar
{
        position: absolute;
    display: block;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    background: #000000;
    transform: scaleX(0.3);
    transform-origin: top left;
    transition: transform 0.5s;
}

.loading-bar.ended
{
    transform: scaleX(0);
    transform-origin: 100% 0;
    transition: transform 1.5s ease-in-out;
}
.instructions_m {
   position: absolute;
   display: block;
   background: #000;
   width: 100%;
   height: 100%;
   z-index: 99;
   color: #FFF;
   opacity: 0.75;
}
.instructions_m p {

    position: absolute;
    left: 5vw;
    top: 40vh;
    font-family: 'Poppins', sans-serif!important; 
    font-weight: 700!important;
    font-size: 2rem!important;
    text-transform: uppercase!important;
    line-height: 1!important;
    letter-spacing: -1.5px;
}
#instructions {
    position: absolute;
    display: block;
    z-index: 99;
    float: right;
    right: 15px;
    bottom: 0;
    opacity: 0.35;
}
#keyboard {
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 98;
}