body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  background-color: black;
  /*height: 2000px;*/
  overflow: hidden; /*prevents scrolling*/
}

.buttons{
  position: fixed;
  right: 0;
  z-index: 10;
}

#skip{
  background-color: rgba(255, 255, 255, 0);
  border-style: none;
  outline: none;
  color: #545454;
  font-size: 1.1em;
  letter-spacing: 0.1em;
  text-decoration: none;
}

#skip:hover{
  color: #757575;
}

#sound{
  background-color: rgba(255, 255, 255, 0);
  border-style: none;
  outline: none;
  color:black;
  font-size: 1.5em;
  line-height: 1.5em;
}


#myVideo {
  position: absolute;
  left: 0;
  top: -1vh;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#myImage {
  display: none;
  position: absolute;
  left: 0;
  top: -1vh;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@media (max-width: 850px) {

#myVideo {
  display: none;
}

#myImage {
  display: block;
}

}

.ratio{
  width: 100vw; 
  height: 56.25vw; /* height:width ratio = 9/16 = .5625  */
  max-height: 100vh;
  max-width: 177.78vh; /* 16/9 = 1.778 */
  margin: auto;
  position: absolute;
  top:0;bottom:0; /* vertical center */
  left:0;right:0; /* horizontal center */
}

.ratioouter{
  width: 100%;
  height: 100%;
  position: relative;
}

.fs-container {
  display: grid;
  grid-template-columns: 2fr 4fr 1fr 1fr;
  grid-template-rows: 1fr 4fr 1fr;
  z-index: 5;
  width: 100vw; 
  height: 56.25vw; /* height:width ratio = 9/16 = .5625  */
  max-height: 100vh;
  max-width: 177.78vh; /* 16/9 = 1.778 */
  margin: auto;
  position: absolute;
  top:-1.5vh; /* vertical center */
  left:0;right:0; /* horizontal center */

}

.empty{
  grid-area: 1/1/1/5
}

#toolcontainer{
  grid-column: 1/2;
  position: relative;
}

.centertools{
  width: 80%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.toolset {
 /* margin: 1rem;*/
}

/*.toolclear {
  background: hsla(199, 26%, 44%, 0.5);
  padding: 0.25rem;
  margin: 0.25rem;
  border-radius: 0.25rem;
  color: #000;
  text-align: center;
  text-decoration: none;
  position: relative; // give after context later
}*/

.tool img{
  width: 4.5vw;
}

.tool img:hover {
  transition: 0.2s;
  width: 5vw;
}

/*.tool.current img{
  width: 75px;
}*/

/*.tool.current {
  color: #fff;
  background: hsla(199, 26%, 44%, 1);
}
*/



.toolclear:hover {
  text-decoration: underline;
  background: hsla(199, 26%, 44%, 0.75);
}

/*
.toolLabel {
  font-size: 1.25rem;
}*/

.canvascontainer {
  grid-column: 2/3;
  background-color: 'rgba(255, 255, 255, 0)';
}

.canvasinner{
  height: 60vh;
  overflow: hidden;
}

.literally img.background, .literally > canvas {
  position: absolute;
}

.tabletools{
  grid-column: 3/4;
  position: relative;
}

.tabletools2{
  grid-column: 4/5;
  position: relative;
}
 

#tool-pencil > img{
width: 25%;
position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#tool-pencil > img:hover{
width: 27%;
transition: 0.2s;
}

#tool-eraser > img{
  width: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#tool-eraser > img:hover{
  width: 52%;
  transition: 0.2s;
}

.next{
 position: absolute;
 left: 80%;
 bottom: 15%;
}

.next a{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: grey;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
    letter-spacing: 0.1em;
  line-height: 2em;
}

.next a:hover{
  color: #545454;
}

.nextshow{
  display: none;

}

.clearshow{
  display: none;
  margin-right: 15px;
}

@media (max-width: 850px) {

.literally {
  height: 200px;
  min-height: 250px !important;
}

.next a{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: grey;
  text-decoration: none;
  font-size: 1em;
  line-height: 1.5em;
}

}


/*.tool2 img{
   width: 100%;
  height: 100%;
  object-fit: contain;
}*/
/*
.tool2 img:hover {
  transition: 0.2s;
  width: 50%;
}

.tool2.current img{
  width: 50%;
}*/
