*{
  margin:0;
  padding:0;
}

body{
  background-color: black;
}

#main-frame{
  overflow: hidden;
  width: 1920px;
  height: 1200px;
  position: relative;
}

.flash{
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(255, 255, 255,0);
  opacity: 0.5;
  pointer-events: none;
  z-index: 100;
  
}
.flash.is-active{
  pointer-events: all;
  animation:flash forwards linear 3.5s;
}
@keyframes flash{
  0%{background-color:rgba(255, 255, 255,0);}
  15%{background-color: rgba(255, 255, 255,1);}
  30%{background-color: rgba(255, 255, 255,0);}
  45%{background-color: rgba(255, 255, 255,1);}
  60%{background-color: rgba(255, 255, 255,0);}
  80%{background-color: rgba(255, 255, 255,1);}
  100%{background-color: rgba(255, 255, 255,0);}
}

#main-image{
  position: absolute;
}

#gauge-container{
  width: auto;
  height: auto;
  display: flex;
  position: absolute;
  flex-flow:column;
}
#life-frame,#vit-frame,#res-frame,#com-frame{
  margin-left: 100px;
  margin-top: 120px;
  height: 50px;
  width:600px;
  background-color: rgba(27, 25, 113,0.6);
  display:flex;
  border-style: solid;
  border-color: rgb(0, 0, 0);
}

#life-bar,#vit-bar,#res-bar,#com-bar{
  height:10px;
  background-color: rgba(0,255,255,0.7);
  transition:300ms; 
  align-self: center;
  border-radius: 2px;
}

#life-mark,#vit-mark,#res-mark,#com-mark{
  width:1px;
  height:10px;
  border-radius:3px;
  background-color: rgb(255,255,255);
  filter: saturate(500%);
  box-shadow: 0 0 5px 3px rgb(200,255,255),
              0 0 7px rgb(100,255,255);
  align-self: center;
}

#text-frame{
  top: -28px;
  position: absolute;
}

#life-text,#vit-text,#res-text,#com-text{
  margin-left: 100px;
  margin-top: 90px;
  color: rgb(236, 236, 236);
  font-size: 60px;
}

#text-frame2{
  width: 500px;
  top: -25px;
  left:200px;
  position: absolute;
}

#life-text2,#vit-text2,#res-text2,#com-text2{
  text-align: right;
  margin-top: 95px;
  color: rgb(173, 173, 173);
  font-size: 55px;
  font-style: italic;
}

#flake-frame{
  width: 1400px;
  height: 1400px;
  top:40px;
  position: absolute;
  right: -300px;
  scale: 120%;
  animation-name: move;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  transition: 0.2s;
}

#flake{
  user-select: none;
  cursor: pointer;
  -webkit-user-drag: none;
}

@keyframes move{
  0%{
    transform:none;
    animation-timing-function: linear;
  }
  20%{
    transform:translateY(8px);
    animation-timing-function: linear;
  }
    25%{
    transform:translateY(10px);
    animation-timing-function: linear;
  }
  50%{
    transform:translateY(0px);
    animation-timing-function: linear;
  }
  70%{
    transform:translateY(-8px);
    animation-timing-function:linear;
  }
  75%{
    transform:translateY(-10px);
    animation-timing-function:linear;

  }
  100%{
    animation-timing-function: linear;
    transform:translateY(0px);
  }
}

#flake:active{
  transform: scale(0.95);
}

#forbidden{
  pointer-events: none;
  top:550px;
  left:550px;
  position:absolute;
  scale:70%;
  z-index: 99;
}