@font-face {
    font-family: Abcdiatype Medium Trial;
    src: url(abcdiatype-medium-trial.woff);
}

body {
  font-family: Abcdiatype Medium Trial;
  font-size: 50px;
  color: #ffffff;
  line-height: 1.1;
}

div.canvas-holder canvas {
  pointer-events: none;
}

.canvas-holder {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.canvas-holder canvas {
  height: 70vh;
  width: auto;
  display: block;
  pointer-events: none;
  border-radius: 5px;
}

a {
  text-decoration: none;
  color: #000000;
}

.ip-text {
  margin-top: 120px;
  max-width: 100vw;
  padding: 0 20px;
  z-index: 100; /* must be higher than canvas */
  color: #000000;
}

.ip {
  color: #000000;
}

.indent {
  text-indent: 80px;
}

header h1 {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 50;
}

a.description {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 50;
}

nav {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

header span {
  font-style: italic;
  margin-right: 0.1em;
}



nav a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.25s;
  
  padding: 20px;
}

.nav-left,
.nav-right {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 50vw;
  z-index: 10;
  cursor: w-resize;
}

.nav-right {
  left: 50%;
  cursor: e-resize;
}

.nav-left {
  left: 0;
}

.bottom-bar {
  z-index: 50;
  align-items: baseline;
}

/* Modal Styles */
/* Hidden by default */
.modal {
  display: none;
  position: fixed;
  z-index: 60;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #000000;
}

.modal-content p {
  max-width: 85vw;
}

/* Modal Content */
.modal-content {
    padding: 20px;
    height: 100%;
    width: 100%;
    color: white;
}

/* Show the modal */
.modal.open {
  display: block;
  z-index: 60;
}

.close-btn {
  color: #ffffff;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

@media (max-width: 800px) {
	
  a.description, header h1, a {
    font-size:  40px;
  }
  
  div.canvas-holder canvas {
    width: 100vw;
    max-width: 800px;
/*     transform: translateY(-5vh); */
    border-radius: 10px;
  }

}

@media (max-width: 500px) {
	
  a.description, header h1, a, p, .close-btn {
    font-size:  18px;
  }
  
  body {
  	line-height: 1.4;
	}
 

}

@media (max-width: 300px) {
	
  a.description, header h1, a, p, .close-btn {
    font-size:  14px;
  }
  
  body {
 		line-height: 1.4;
	}

}







