@import url("https://fonts.googleapis.com/css2?family=Biryani:wght@200;300;400;600;700;800;900&display=swap");

@font-face {
    font-family: DSEG7Classic-Bold;
    src: url(/fonts/DSEG7Classic-Bold.woff);
}
@font-face {
    font-family: DSEG7 Classic;
    src: url(/fonts/DSEG7Classic-Regular.woff);
}

body {
  margin: 0;
  font-family: "Biryani", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

#sapper {
  overflow: hidden;
}

svg {
  cursor: move;
}

.wire-connection {
  cursor: pointer !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em 0;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 2em;
}

a {
  color: inherit;
}

code {
  font-family: menlo, inconsolata, monospace;
  font-size: calc(1em - 2px);
  color: #555;
  background-color: #f0f0f0;
  padding: 0.2em 0.4em;
  border-radius: 2px;
}

@media (min-width: 400px) {
  body {
    font-size: 16px;
  }
}

button {
  float: right;
}
button:first-of-type {
  margin-left: 20px;
}
button:active {
  transform: scale(0.9);
}

.row {
  margin-top: 10px;
}

body {
  overflow: hidden;
}

/** This prevents the popup when a block is click on from showing the scroll bar. **/
.blocklyWidgetDiv .blocklyMenu {
    overflow-y: hidden; 
}