@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@500;700;800&display=swap");
* {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
}
html, body {
  margin: 0;
  padding: 0;
}
.__content__ {
  position: fixed;
  bottom: 0;
  z-index: 9999999;
  left: 50%;
  transform: translate(-50%, 0px);
  background: #b8e3ff;
  background: linear-gradient(150deg, #b8e3ff 0%, white 35%, #b5f2ff 100%);
  width: 728px;
  height: 90px;
}
.__content__ a {
  width: 100%;
  height: 100%;
  display: block;
}
.__content__ a img {
  width: 100%;
}
.canvas_bug_countermeasure_button {
  border-radius: 5px;
  transform: scale(0);
  position: absolute;
  pointer-events: none;
  top: -300px;
}
.ui-resizable-e {
  width: 17px !important;
  right: -8px !important;
}
.ui-resizable-s {
  height: 17px !important;
  bottom: -8px !important;
}
.ui-resizable-s {
  height: 17px !important;
  bottom: -8px !important;
}
.ui-resizable-se {
  width: 26px !important;
  height: 26px !important;
  right: -7px !important;
  bottom: -7px !important;
  background-position: -77px -222px !important;
}
.appContainer {
  height: 100vh;
  background-color: #efefef;
  padding: 0px;
  display: grid;
  grid-template: "A   A" 24px "B   C" minmax(200px, auto) "D   C" minmax(200px, 1fr) / minmax(200px, auto) 1fr;
  grid-gap: 0px;
}
.appContainer .appHeader {
  background-color: #f1f1f1;
  grid-area: A;
  font-size: 12px;
  line-height: 24px;
  display: flex;
}
.appContainer .appHeader .siteTitle {
  height: 24px;
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
  font-size: 12px;
  line-height: 24px;
  cursor: pointer;
}
.appContainer .appHeader .description {
  pointer-events: none;
  position: fixed;
  left: 0;
  top: 0;
  opacity: 0.001;
}
.appContainer .appHeader #about {
  height: 24px;
  padding: 0 10px;
  cursor: pointer;
}
.appContainer .appHeader #about:hover {
  background-color: #ad8e00;
  color: #fff;
}
.appContainer .appHeader #save {
  height: 24px;
  padding: 0 10px;
  cursor: pointer;
}
.appContainer .appHeader #save:hover {
  background-color: #0059ad;
  color: #fff;
}
.appContainer .appHeader #load {
  height: 24px;
  padding: 0 10px;
  cursor: pointer;
}
.appContainer .appHeader #load:hover {
  background-color: #bb0000;
  color: #fff;
}
.appContainer .appHeader #fileName {
  height: 24px;
  padding: 0 10px;
  color: #999;
}
.appContainer .about {
  position: fixed;
  overflow-y: scroll;
  overflow-x: hidden;
  width: 85vw;
  height: 85vh;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 1000;
  background: #fff;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  padding: 20px;
  border-radius: 10px;
  opacity: 1;
  transition: 0.2s all ease;
  padding-bottom: 80px;
  box-sizing: border-box;
}
.appContainer .about #closeAboutBtn {
  font-size: 20px;
  position: fixed;
  right: 30px;
  top: 20px;
  background-color: #004d77c0;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
}
.appContainer .about.hide {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.1);
  pointer-events: none;
}
.appContainer .appBlockly {
  background-color: yellowgreen;
  grid-area: B;
  position: relative;
}
.appContainer .appBlockly #runButton {
  z-index: 1;
  position: absolute;
  padding-top: 36px;
  width: 70px;
  height: 70px;
  margin: 0;
  font-size: 18px;
  right: 10px;
  top: 10px;
  padding: 0 8px;
  outline: none;
  display: inline-block;
  box-sizing: border-box;
  text-align: center;
  line-height: 40px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 0 0 #7d0c0c;
  background-color: #C31313;
  color: #fff;
}
.appContainer .appBlockly #runButton:hover {
  box-shadow: 0 2px 0 0 #7d0c0c;
  transform: translateY(2px);
}
.appContainer .appBlockly #runButton:hover img {
  opacity: 1;
}
.appContainer .appBlockly #runButton:active {
  box-shadow: 0 0 0 0 #090101, 0 3px 0 0 transparent, 0 4px 16px transparent, 0 1px 2px 1px #7d0c0c inset, 0 -18px 32px -2px rgba(255, 255, 255, 0.1) inset;
  transform: translateY(4px);
}
.appContainer .appBlockly #runButton img {
  position: absolute;
  left: calc(70px/2 - 30px/2);
  width: 30px;
  top: 8px;
  display: block;
  opacity: 0.8;
}
.appContainer .appBlockly #runButton span {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0px);
}
.appContainer .appBlockly #blocklyArea {
  height: 100%;
  width: 100%;
  background: #fff;
  text-align: center;
}
.appContainer .appCode {
  background-color: yellow;
  grid-area: C;
  background-color: #23241f;
  color: #fff;
  overflow: scroll;
}
.appContainer .appCode .wrap {
  width: calc(100% - 20px);
  padding: 10px 0;
  margin: 0 auto;
}
.appContainer .appCode pre {
  margin: 0;
}
.appContainer .appCode code.hljs {
  padding: 0 0 20px !important;
}
.appContainer .appCode.Javascript #showJavascriptButton {
  opacity: 0.2;
}
.appContainer .appCode.Javascript #previewPythonCodeArea {
  display: none;
}
.appContainer .appCode.Python #showPythonButton {
  opacity: 0.2;
}
.appContainer .appCode.Python #previewJavascriptCodeArea {
  display: none;
}
.appContainer .appCode .switchCodeWrap {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  font-size: 16px;
  gap: 4px;
}
.appContainer .appCode .switchCodeWrap div {
  cursor: pointer;
  transition: 0.2s all ease;
  height: 24px;
  padding: 0 8px;
  background-color: #fff;
  border-radius: 20px;
  color: #090101;
}
.appContainer .appResult {
  background-color: #fff;
  grid-area: D;
  border-top: 5px solid #23241f;
  position: relative;
  overflow: hidden;
}
.appContainer .appResult .label {
  background-color: #23241f;
  color: #fff;
  position: absolute;
  right: 0;
  top: -3px;
  padding: 2px 10px;
  font-size: 10px;
  pointer-events: none;
}
.appContainer .appResult #Result {
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  overflow: scroll;
}
.appContainer #deleteAllBtn {
  display: none;
  border: 0;
  outline: none;
  background-color: transparent;
  opacity: 0.5;
  height: 60px;
  width: 50px;
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 32px;
  cursor: pointer;
}
.injectionDiv > .blocklyToolboxDiv {
  background: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
}
.blocklyZoom {
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}
.injectionDiv > .blocklyFlyout {
  display: block !important;
  transform: translate(-600px, 0px);
  backdrop-filter: blur(2px);
}
.injectionDiv > .blocklyFlyout .blocklyFlyoutBackground {
  fill: #004d77;
  fill-opacity: 0.1;
}
.injectionDiv > .blocklyFlyout[style*="none"] {
  transform: translate(-600px, 0px) !important;
}
.blocklyToolboxCategory > .blocklyTreeRow {
  height: 28px;
  line-height: 24px;
  cursor: pointer;
}
.blocklyToolboxCategory > .blocklyTreeRow:hover {
  background-color: #efefef;
}
#blocklyDiv .blocklyTreeLabel {
  font-weight: 700;
}
#blocklyDiv .blocklyText {
  font-weight: 700;
  transform: translate(0px, 1px);
}
.blocklyZoom {
  cursor: pointer;
}
