html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  color: #fff;
  overflow: hidden;
  background-color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: #fff;
}
a,
img {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
#container {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#container.hidden {
  opacity: 0;
}
.cube .sticker {
  transition: background-color 0.2s ease-in-out;
}
.cube .sticker.yellow,
.cube .sticker.green {
  -webkit-transform: rotateZ(90deg);
  transform: rotateZ(90deg);
}
#guide {
  position: absolute;
  z-index: 2;
  width: 100px;
  top: 100px;
  right: 50px;
  transition: all 0.75s ease-in-out;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
#guide.hidden {
  z-index: -1;
  pointer-events: none;
  transition-duration: 0.2s;
  opacity: 0;
}
#guide.side {
  -webkit-transform: translate3d(150px, 0, 0);
  transform: translate3d(150px, 0, 0);
}
#info-button {
  position: absolute;
  z-index: 3;
  padding: 18px;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: opacity 0.4s cubic-bezier(0.2, 0.33, 0.33, 1);
  opacity: 0.75;
}
#info-button:hover {
  opacity: 1;
}
#info-button.hidden {
  opacity: 0;
  pointer-events: none;
}
#info-panel {
  position: absolute;
  z-index: 4;
  font-weight: 700;
  background-color: rgba(0,173,239,0.85);
  text-transform: uppercase;
  width: 100%;
  max-width: 400px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  top: 0;
  left: 0;
  opacity: 1;
  transition: all 0.36s cubic-bezier(0.2, 0.33, 0.33, 1);
  -webkit-transition: all 0.36s cubic-bezier(0.2, 0.33, 0.33, 1);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  overflow: hidden;
}
#info-panel.mobile {
  max-width: none;
}
#info-panel.mobile .content {
  width: 100%;
  left: 0;
}
#info-panel.mobile .buttons {
  bottom: 30px;
}
#info-panel.hidden {
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translate3d(-120px, 0, 0);
  transform: translate3d(-120px, 0, 0);
}
#info-panel.submission {
  background-color: rgba(0,0,0,0.75);
}
#info-panel.submission .content.shareaway #share-link {
  background-color: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.75);
  color: rgba(255,255,255,0.75);
}
#info-panel .content {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 5%;
  width: 90%;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.2, 0.33, 0.33, 1);
  opacity: 1;
}
#info-panel .content:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}
#info-panel .content.before {
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translate3d(-30px, 0, 0);
  transform: translate3d(-30px, 0, 0);
}
#info-panel .content.after {
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translate3d(30px, 0, 0);
  transform: translate3d(30px, 0, 0);
}
#info-panel .inner {
  font-size: 30px;
  text-align: center;
  width: 90%;
  margin-left: 5%;
  display: inline-block;
  vertical-align: middle;
}
#info-panel .close,
#info-panel .back {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  padding: 18px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
#info-panel .close img,
#info-panel .back img {
  display: block;
  width: 18px;
  height: 18px;
}
#info-panel .close:hover,
#info-panel .back:hover {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
#info-panel .back {
  right: auto;
  left: 0;
}
#info-panel .back.hidden {
  opacity: 0;
  pointer-events: none;
}
#info-panel .buttons {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 0;
  width: 100%;
  z-index: 999;
  text-align: center;
  font-size: 13px;
  transition: all 0.5s ease-out;
}
#info-panel .buttons.hidden {
  pointer-events: none;
  opacity: 0;
  -webkit-transform: translate3d(0, 20px, 0);
  transform: translate3d(0, 20px, 0);
}
#info-panel .buttons a {
  cursor: pointer;
  font-weight: 700;
  display: inline-block;
  text-align: center;
  width: 100px;
  transition: all 0.5s ease-out;
  opacity: 0.75;
  vertical-align: top;
}
#info-panel .buttons a.hidden {
  opacity: 0;
  -webkit-transform: translate3d(0, 20px, 0);
  transform: translate3d(0, 20px, 0);
}
#info-panel .buttons a:hover {
  transition-duration: 0.25s;
  transition-delay: 0;
  opacity: 1;
}
#info-panel .buttons img {
  display: inline-block;
  width: 45px;
  margin-bottom: 6px;
}
#info-panel h2 {
  font-size: 30px;
}
#info-panel .content.signin .orient {
  display: none;
}
#info-panel .content.signin.orient .normal {
  display: none;
}
#info-panel .content.signin.orient .orient {
  display: block;
}
#info-panel .content.signin input[type="text"] {
  display: inline-block;
  width: 100%;
  border: none;
  background-color: rgba(255,255,255,0.65);
  color: #00adef;
  font-size: 14px;
  font-family: Montserrat, Arial, sans-serif;
  padding: 15px 18px;
  outline: none;
  margin-bottom: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
#info-panel .content.signin .check {
  font-size: 10px;
  text-align: left;
  position: relative;
  padding-left: 30px;
  margin-top: 20px;
  color: rgba(255,255,255,0.65);
  text-transform: none;
}
#info-panel .content.signin .check a {
  color: #fff;
}
#info-panel .content.signin .signin-buttons a {
  font-size: 11px;
  background-color: rgba(255,255,255,0.85);
  color: #00adef;
  display: inline-block;
  padding: 12px 15px;
  border-radius: 1px;
  margin-right: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
#info-panel .content.signin .signin-buttons a:hover {
  background-color: #fff;
}
#info-panel .content.signin .signin-buttons a:last-child {
  margin-right: 0;
}
#info-panel .content.signin .signin-buttons a.disabled {
  background-color: rgba(255,255,255,0.25);
  cursor: default;
}
#info-panel .content.signin .please {
  font-size: 12px;
  text-transform: none;
}
#info-panel .content.loading.before img,
#info-panel .content.loading.after img {
  display: none;
}
#info-panel .content.loading img {
  width: 200px;
  height: 200px;
}
#info-panel .content.loading p {
  font-size: 12px;
  margin-top: -20px;
}
#info-panel .content.shareaway #share-link {
  text-transform: none;
  width: 100%;
  border: 1px solid #00adef;
  background-color: rgba(255,255,255,0.65);
  color: #00adef;
  font-size: 16px;
  font-family: Montserrat, Arial, sans-serif;
  padding: 15px 18px;
  cursor: pointer;
  overflow-x: scroll;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
#info-panel .content.shareaway #share-link.zeroclipboard-is-hover {
  border: 1px solid #fff;
}
#info-panel .content.shareaway .hint {
  color: rgba(255,255,255,0.65);
  font-size: 12px;
}
#info-panel .content.shareaway .social > div,
#info-panel .content.shareaway .social > iframe {
  text-align: left;
  width: 60px !important;
}
#preview-dump {
  display: none;
}
#progress {
  position: absolute;
  z-index: 999;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background-color: rgba(0,173,239,0.85);
  transition: all 0.3s cubic-bezier(0.2, 0.33, 0.33, 1);
  opacity: 1;
}
#progress.hidden {
  opacity: 0;
}
#policy-confirm {
  width: 10px;
  height: 10px;
  padding: 10px;
  position: absolute;
  top: -10px;
  left: -5px;
  text-align: center;
  cursor: pointer;
}
#policy-confirm .box {
  position: absolute;
  border: 2px solid rgba(255,255,255,0.75);
  top: 10px;
  left: 10px;
  width: 10px;
  height: 10px;
}
#policy-confirm .checkmark {
  font-size: 18px;
  position: relative;
  top: -6px;
  left: 0;
  color: #fff;
  display: none;
  cursor: pointer;
}
#policy-confirm.confirmed .checkmark {
  display: inline-block;
}
#policy-confirm.ios .checkmark {
  top: -8px;
  left: -3px;
}
::-webkit-input-placeholder {
  color: #00adef;
}
::-moz-placeholder {
  color: #00adef;
}
.fb-share-button {
  display: inline-block !important;
}
.fb-share-button > span {
  vertical-align: baseline !important;
}
#tag {
  position: absolute;
  bottom: 10px;
  right: 15px;
  z-index: 3;
}
#tag img {
  width: 170px;
  height: 32px;
}

#cube-icon-holder {
  position: absolute;
  width: 100vw;
  /*height: 100vh;*/
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cube-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.paused {
  -webkit-animation-play-state: paused !important;
  -moz-animation-play-state: paused !important;
  -o-animation-play-state: paused !important;
  animation-play-state: paused !important;
}

#cube-icon .message {
  text-shadow: 0 4px 3px rgba(0,0,0,0.4),
  0 8px 13px rgba(0,0,0,0.1),
  0 18px 23px rgba(0,0,0,0.1);
  font-weight: bold;
}