:root{
  --base: 1.3rem;
}

@font-face {
  font-family: "sf-reg";
  src: url("fonts/sf/sf-reg.woff");
}

@font-face {
  font-family: "sf-light";
  src: url("fonts/sf/sf-light.woff");
}

html{
  scroll-behavior: smooth;
  background-color: black;
}

html, body {
  overflow-x: hidden;
  overflow-y: hidden;
}


body{
  position: relative;

  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  /* overflow-y: hidden; */
  font-size: var(--base);
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */
  overflow-x: hidden;
  overflow-y: hidden;
  margin: 0;
  background-color: white;
  font-family: "sf-reg";
}

header{
  display: flex;
  justify-content: center;
  vertical-align: middle;
  align-items: center;
  height: 100vh;

  /* background-color: grey; */

  padding: 1rem;
}

.upper{
  font-variant:small-caps;
}

header h1{
  font-size: var(--base);
  font-weight: normal;
  padding: .5rem 1.5rem .5rem;
  margin: 0rem .1rem 4rem;
  color: rgb(255, 0, 0);
  /* border: 1px solid black; */


}

header a{
  color: forestgreen;
  border: 1px solid black;
  padding: .5rem 1.5rem .5rem;
  /* color: white; */
  /* color: black; */
  border-radius: .2rem;
  text-decoration: none;
  margin-bottom: 4rem;
}

main{
  height: 100vh;
  width: 100vw;
  background-color: grey;

  display: flex;
  align-items: center;
  text-align: center;
  padding-left: 1rem;
  justify-content: center;
}

main h1{
  text-align: center;
  padding-bottom: 3rem;

}

#wrapper{
  /* position: rela tive; */
  height: 100vh;
  width: 100vw;
  /* padding: 1rem; */
  font-family: "sf-light";
}

#current-caption {
  z-index: +1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: calc(var(--base) + 1rem);
  /* background-color: darkblue; */
  margin-top: 48vh;
  color: white;
  overflow-y: hidden;


  left: 50%;
  position: absolute;
  font-variant-alternates: historical-forms;
}

.direct-message{
  /* background-color: red; */
  display: block;
  position: relative;
  bottom: 0;
  margin-top: 0rem;
  margin-bottom: .2rem;
  line-height: 1.8rem;
  max-width: 800px;
}

.direct-message{
  animation: fadeOut 5s forwards;
  animation-delay: 1s;
  transition-timing-function: ease-out;
}

@keyframes fadeOut {
  from {opacity: 1;}
  to {
    opacity: 0;
  }
}

i{
  text-transform: lowercase;
  font-style: normal;
}

a-scene{
  /* z-index: -1; */
}

@media screen and (max-width: 600px) {
  #current-caption {
    left: 1rem;
    width: 100%;
  }
}
