@font-face {
  font-family: Cothamsans;
  src: url(cothamsans.otf);
}

body {
  font-family: Cothamsans;
  font-size: 16px;
  line-height: 1.5;

  background-color: #ffffff;
  color: #333333;

  overflow-x: hidden;
  cursor: url(paintbrush-2.png) 2 30, pointer !important;
}

main {
  position: relative;
  z-index: 1;
  background-color: #778a83;
  min-height: 100vh;
  transition: transform 0.5s;
}

main.open {
  transform: translate(-100vw, 0);
}

nav {
  position: fixed;
  top: 0;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background-color: darkcyan;
  color: #ffffff;
  font-family: Young Serif;
  font-size: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.5s;
}

a.toggle-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  padding: 30px 50px 0px 0px;
  text-decoration: none;
  color: #2a2a2a;
}

main:active {
  cursor: url(paintbrush-2.png) 2 30, pointer !important;
}

h1 {
  font-size: 24px;
  color: #333333;
}

h2 {
  font-size: 15vw;
  color: #333333;
}

a {
  color: #333333;
  opacity: 1 !important;
}

div.loading.hidden {
  opacity: 0;
  pointer-events: none;
  opacity: 0;
  pointer-events: none;
}

div.loading {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  margin: auto;
  height: 100vh;
  background-color: #ffffff;
  z-index: 300;
  transition: opacity 1s;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#colors {
  position: fixed;
  top: 0px;
  right: 50px;
  z-index: 1;
  width: 30px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

/* Style the buttons */
.btn {
  border: 2px solid lightgray;
  outline: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  border-radius: 15px;
  transition: 0.5s;
}

/* Style the active class, and buttons on mouse-over */
.active,
.btn:hover {
  border: 2px solid darkgray;
}

button {
  display: inline-block;
  margin: 0 0 10px 0;
}

.details {
  position: fixed;
  z-index: 10;
  text-align: center;
  padding: 50px;
  pointer-events: none;
}

canvas {
  width: 100vw;
  height: 100vh;
  position: fixed;
}

img {
  width: 50vw;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  pointer-events: none;
}

.footer {
  font-size: 12px;
  left: 50px;
  bottom: 50px;
  position: fixed;
  opacity: 0.5;
  z-index: 10;
}

.footer-right {
  right: 50px;
  font-size: 12px;
  bottom: 50px;
  position: fixed;
  opacity: 0.5;
  z-index: 10;
}

.about {
  padding-left: 50px;
  padding-right: 50px;
  text-align: center;
}

h3 {
  font-family: Cothamsans;
  font-size: 5.5vw;
  line-height: 1.25;
}
