@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300&family=Roboto:wght@400;500;700;900&display=swap');

html,
body {
  margin: 0;
  background-color: #ffffff;
  touch-action: manipulation;
  -webkit-touch-callout: none; /* iOS Safari */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
  padding: 0px;
  font-family: Roboto;
  font-weight: 700;
  font-size: 24px;
  overflow-y: hidden;
  overflow-x: hidden;
}
.unruly-heading {
  font-size: 1rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem 0;
}
select{
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 95% 50%;
    -moz-appearance: none; 
    -webkit-appearance: none; 
    appearance: none;
    background-color:#ffffff;
}
img {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select:none;
    -webkit-touch-callout: none;
}
#page-wrapper, #workspace-wrapper {
  position: relative;
  height: 100vh;
  width: 100vw;
}
#blockly-container {
    margin-left: 15px;
    width: 100%;
    border: none;
}
#control-center{
    background-color: #0e65e5;
}
#javascript-container {
    background-color: #ffffff;
    padding: 10px;
    font-family: 'Roboto Mono';
    font-size: 10px;
    width: 350px;
    height: 200px;
    margin-left: 10px;
}
#javascript-container textarea {
    font-family: 'Roboto Mono';
    font-size: 10px;
}
#javascript-window {
    display:none;
    position: absolute;
    left: 500px;
    top: 400px;
}
#indicators {
    float: right;
    font-size: 20px;
    margin-top: 5px;
    margin-left: 40px;
    margin-right: 20px;
}
#sound-samples {
    display:none;
}
.control-button {
    border:2px solid #0e65e5;
}
#fullscreen-modal {
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 4;
} 
#app-loading-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  position:fixed; 
  top:0px; 
  left:0px; 
  width:100%; 
  height:100%; 
  z-index:2000; 
  background-color:#ffffff
}
#app-loading-animation-icon {
  width: 300px;
}
#app-container {
    z-index: 50000;
    background-color:#ffffff;
}    
#the-clipboard,  #my-project, #speed-wrapper,
#save-project-modal, #recordings-app {
    display:none;
}
#recordings-app {
    position:fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#fullscreen-playground-container {
    position: relative;
    background-image: url(../core-dev/web-components/images/space-background-letterbox.png);
    display: flex;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}
#notification-container {
  height: 30px;
  width: 100%;
  border: 1px dotted red;
}
#import-button {
    display:none;
}
#needs-saving {
    visibility: hidden;
    position: absolute;
    bottom: 50px;
    right: 90px;
    font-size: 12px;
    opacity:.25;
    pointer-events: none;
}
#project-name {
    position: absolute;
    bottom: 45px;
    right: 110px;
    color: #bbbbbb;
    font-size: 18pt;
    font-family: Roboto;
    font-weight: 700;
    pointer-events: none;
    max-width: 500px;
}
#menu-container {
  padding-right: 130px;
}
#unruly-home-elements {
  position: relative;
}
#carousel-controls {
  position: fixed;
  bottom: 20px;
  display: flex;
  width: 400px;
  z-index: 20;
  justify-content: space-between;
}
#app-carousel-section {
  position: absolute;
  top: 0px;
  left: 0px;
}
@-webkit-keyframes scale-out-right {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    opacity: 1;
  }
}
@keyframes scale-out-right {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    opacity: 1;
  }
}
.scale-in-right {
	-webkit-animation: scale-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: scale-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@-webkit-keyframes scale-in-right {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    opacity: 1;
  }
}
@keyframes scale-in-right {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    opacity: 1;
  }
}

#javascript-code-window {
    overflow-y: scroll;
}
#javascript-code {
    font-size: 10px;
    width:600px;
    height: 200px;
    padding: 5px;
    user-select: text; 
}
#dock {
    position: fixed;
    bottom:2px;
    right: 2px;
}
#sign-in-on {
    position: fixed;
    font-size: 8px;
    padding:5px;
    border: 1px solid black;
    background-color:#ffffff;
    bottom:2px;
    right: 35px;
}
#load-sounds-test {
    position: fixed;
    font-size: 8px;
    padding:5px;
    border: 1px solid black;
    background-color:#ffffff;
    bottom:2px;
    right: 200px;
}

#analytics-queue {
  position: fixed;
  font-size: 20px;
  bottom:2px;
  right: 175px;
}
#set-queue-speed {
  position: fixed;
  font-size: 13px;
  padding:5px;
    border: 1px solid black;
    background-color:#ffffff;
  bottom:2px;
  right: 95px;
}
#testers {
    display:none;
}
#import-button-field {
  display:none;
}
.slide {
  transition: 0.5s ease-in-out;
}
#home-wrapper {
  position: relative;
  background-color: #ffffff;
  overflow-y: scroll;
  overflow-x:hidden;
  height: 100vh;
  width: 100vw;
}
#math-lesson-finder-wrapper, #math-resource-preview-wrapper, #math-arranger {
  display: none;
}
#app-header {
  background-color: rgb(255, 255, 255, 100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
#header-logo {
  background-color: #ffffff;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  /*border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;*/
  border: solid 10px #b902f3;
  z-index: 3;
  position: relative;
  top: -70px;
  left: -10px;
}
#header-logo img {
  width: 160px;
}
#header-settings {
  display: flex;
}
#header-settings img {
  height: 50px;
  margin-left: 10px;
}
#header-sign-out {
  background-color: #ffffff;
  width: 120px;
  height: 40px;
  margin-right: 20px;
}
#hero-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #e7198b;
  width: 100%;
  height: 235px;
}
#header-tabs {
  display: flex;
}
#header-math-tab, #header-code-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 10px 20px;
  margin-bottom: -7px;
  color: #ffffff;
  border-top: solid 10px #aaaaaa;
  border-left: solid 10px #aaaaaa;
  border-right: solid 10px #aaaaaa;
  background-color: #aaaaaa;
}
#header-math-tab.selected, #header-code-tab.selected {
  border-top: solid 10px #b902f3;
  border-left: solid 10px #b902f3;
  border-right: solid 10px #b902f3;
  background-color: #b902f3;
}
#math-home, #code-home {
  display: flex;
  width: 100vw;
}
#code-home {
  flex-direction: column;
}
/* default to show code home */
#math-home {
  padding-top: 10px;
  display: none;
  flex-direction: row;
}
#math-resources-wrapper {
  display: flex;
  justify-content: center;
}
#math-resources {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-start;
  max-width: 1280px;
  padding-bottom: 100px;
}
#courses-container {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  max-width: 1280px;
}
.dummy-resource-collection {
  width: calc(100vw - 40px);
  background-color: #ffffff;
  height: 220px;
  margin: 10px 0px;
}
#math-playground-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items:center;
  overflow-y: hidden;
  overflow-x: hidden;
  background-image: url(../../../../core-dev/web-components/images/space-background.png);
}
#math-playground {
  position: relative;
  width: 1080px;
  height: 100vh;
  background-image:url(../../../../core-dev/web-components/images/space-background.png);
  background-size: cover;
  user-select: none;
}
.home-switcher {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #B902F3;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
#home-switcher-math {
  padding-left: 5px;
  bottom: 10px;
  left: 0px;
  width: 80px;
  height: 80px;
}
#home-switcher-editor {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  bottom: 10px;
  width: 80px;
  height: 80px;
}
#playground-switcher {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 10px;
  right: 0px;
  width: 80px;
  height: 80px;
  background-color: #B902F3;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
#playground-switcher img {
  height: 60px;
}
#home-switcher img {
  height: 60px;
}
#home-switcher-editor img {
  height: 50px;
}
#math-lesson-finder-wrapper {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: rgba(255, 255, 255, 0.5);
}
#math-lesson-finder {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 95vw;
  height: 95vh;
  background-color: #ffffff;
  border: solid 10px #D802CA;
  border-radius: 24px;
}
#code-switcher {
  position: absolute;
  display: none; /* set to flex to show */
  align-items: center;
  justify-content: center;
  bottom: 10px;
  right: 0px;
  width: 80px;
  height: 80px;
  background-color: #0e65e5;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
#code-switcher img {
  width: 40px;
}
#banner-wrapper {
  min-height: 200px;
}
#device-controller-wrapper {
 width: 235px;
}
#workspace-wrapper {
  display: flex;
  padding-left: 10px;
  background-color: #0e65e5;
}
/* FIXME: newlogin - remove code-menu when newlogin is default */
#code-menu {
  display: none;
}
@media only screen and (max-height: 710px) {
  #control-center {
    transform-origin: 0 0;
    transform: scale(85%);
    width: 205px;
  }
  #device-controller {
    transform: scale(90%);
    grid-gap: 0px 2px;
  }
  #code-device-controller {
    width: 195px;
  }
}

@media only screen and (max-height: 660px) {
}

@media only screen and (max-height: 620px) {
    #control-center {
      transform-origin: 0 0;
      transform: scale(78%);
      width: 195px;
  }
  #code-device-controller {
    width: 180px;
  }
}