html * {
  box-sizing: border-box;
}

html, body {
  font-size: 9px;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  color: #333;
  border: 0;
  outline: 0;
}

:focus {
  outline: none;
}

::-moz-focus-inner {
  border: 0;
}

p {
  margin: 0;
  padding: 0;
}

.not-active {
  pointer-events: none;
  cursor: default;
}

.btn {
  position: absolute;
  cursor: pointer;
  background-color: transparent;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

#main-container {
  display: none;
  overflow: hidden;
  position: relative;
  width: 300px;
  height: 250px;
  background: white;
}

.frames {
  position: absolute;
  width: 100%;
  height:100%;
}

#legal-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 100%;
  left: 0;
  background-color: rgba(0,0,0,.9);
  transition: top .3s cubic-bezier(0.465, 0.183, 0.153, 0.946);
}

#legal-checkbox {
  display: none;
}

#legal-checkbox:checked ~ #legal-content {
  top: 0;
}

#legal-checkbox ~ #legal-content > div {
  opacity: 0;
  transition: .3s opacity;
}

#legal-checkbox ~ #legal-content > div:nth-child(1) {
  transition-delay: .2s;
}

#legal-checkbox ~ #legal-content > div:nth-child(2) {
  transition-delay: .3s;
}

#legal-checkbox ~ #legal-content > div:nth-child(3) {
  transition-delay: .4s;
}

#legal-checkbox ~ #legal-content > div:nth-child(4) {
  transition-delay: .4s;
}

#legal-checkbox:checked ~ #legal-content > div {
  opacity: 1;
}

.sprite-background {
  opacity: 0;
}

.copies {
  transform-origin: top center;
}

#bg-exit {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#legal-btn {
  top:240px;left:267px;
}
#f5-legal-1 {
  position: absolute;
  top:240px;left:267px;
  width:25px;height:10px;
  cursor: pointer;
}

/* Frame 1 */
.bg-mask {
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  position: absolute;
}

/*Fixes Frame1*/
#f1-line-bottom {
  transform-origin: bottom;;
}
/*Fixes frame 2*/

#f2-copy-2,
#f2-copy-3 {
  transform-origin: left;
}
