
.icon {
  -webkit-user-select: none;
  user-select: none;
  display: inline-block;
}

.icon-offline {
  content: -webkit-image-set( url(../images/default_100_percent/100-error-offline.png) 1x, url(../images/assets/default_200_percent/200-error-offline.png) 2x);
  position: relative;
}

.hidden {
  display: none;
}


/* Offline page */

.offline .interstitial-wrapper {
  color: #2b2b2b;
  font-size: 1em;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 600px;
/*   padding-top: 100px; */
  width: 100%;
  position: relative;
}

.offline .interstitial-wrapper:focus {
  outline: none;
}

.offline .runner-container {
  position: relative;
  height: 150px;
  max-width: 600px;
  overflow: hidden;
/*   position: absolute; */
/*   top: 35px; */
  width: 44px;
}

.offline .runner-canvas {
  height: 150px;
  max-width: 600px;
  opacity: 1;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 2;
}

.offline .controller {
  background: rgba(247, 247, 247, .1);
  /* height: 100vh; */
  left: 0;
  position: absolute;
  top: 0;
  /* width: 100vw; */
  height: 100%;
  width: 100%;
  z-index: 1;
}

#offline-resources {
  display: none;
}

@media (max-width: 420px) {
  .suggested-left > #control-buttons, .suggested-right > #control-buttons {
    float: none;
  }
  .snackbar {
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
  }
}

@media (max-height: 350px) {
  h1 {
    margin: 0 0 15px;
  }
  .icon-offline {
    margin: 0 0 10px;
  }
  .interstitial-wrapper {
    margin-top: 5%;
  }
  .nav-wrapper {
    margin-top: 30px;
  }
}

@media (min-width: 600px) and (max-width: 736px) and (orientation: landscape) {
  .offline .interstitial-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 420px) and (max-width: 736px) and (min-height: 240px) and (max-height: 420px) and (orientation:landscape) {
  .interstitial-wrapper {
    margin-bottom: 100px;
  }
}

@media (min-height: 240px) and (orientation: landscape) {
  .offline .interstitial-wrapper {
/*     margin-bottom: 90px; */
  }
  .icon-offline {
/*     margin-bottom: 20px; */
  }
}

@media (max-height: 320px) and (orientation: landscape) {
  .icon-offline {
    margin-bottom: 0;
  }
  .offline .runner-container {
    top: 10px;
  }
}

@media (max-width: 240px) {
  .interstitial-wrapper {
    overflow: inherit;
    padding: 0 8px;
  }
}


.start-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  height: 100%;
  background: rgb(255 255 255 / 58%);
  padding: 0;
  text-align: center;
  z-index: 100;
  border-radius: 10px;
  font-family: 'Arial', sans-serif;
}

.start-screen .start-screen-title {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.start-screen p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #666;
    margin-top: 5px;
}

#playButton {
  padding: 10px 20px;
  font-size: 18px;
  background: #4285f4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

#playButton:hover {
  background: #3367d6;
}