* {
    box-sizing: border-box;
  }
  
  html,
  body {
    color: #444;
    font-family: 'Montserrat', sans-serif; /* Set Montserrat as the default font */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  html {
    overflow: hidden;
  }
  
  body {
    align-content: stretch;
    align-items: stretch;
    background: #ececec;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  
  /**
   * Header
   */
  
  .header {
    align-content: center;
    align-items: stretch;
    background: #333f48;
    color: #fff;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 20px;
    height: 56px;
    justify-content: flex-start;
    padding: 16px 16px 0 16px;
    position: fixed;
    transition: transform 0.233s cubic-bezier(0, 0, 0.21, 1) 0.1s;
    width: 100%;
    will-change: transform;
    z-index: 1000;
  }
  
  .header h1 {
    flex: 1;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
  }
  
  /**
   * Main body
   */
  
  .main {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 70px;
    padding-left: 1em;
    padding-right: 1em;
  }
  
  .hidden {
    display: none;
  }
  
  .container {
    display: flex;
  }
  
  .configurator {
    text-align: right;
    padding-right: 50px;
  }
  
  .console {
    height: 50%;
    width: 100%;
    border: 1px solid #ccc;
    overflow: auto;
    display: flex;
    flex-direction: column-reverse;
    white-space: pre;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    background-color: #202020;
    color: white;
  }
  
  .textfield {
    padding-right: 20px;
  }
  
  #notSupported {
    padding: 1em;
    background-color: red;
    color: white;
    margin-top: 1em;
    margin-bottom: 1em;
  }
  
  #microbit {
    display: flex;
  }
  
  .mb-button {
    /* align-self: center;
    background-color: #666;
    border-radius: 100%;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 2px 9px 1px rgba(0, 0, 0, 0.12),
      0 4px 2px -2px rgba(0, 0, 0, 0.2);
    height: 30px;
    width: 30px; */
    font-family: 'Montserrat', sans-serif; /* Ensure Montserrat font for buttons */
  }
  
  .mb-matrix {
    margin-left: 10px;
    margin-right: 10px;
  }
  
  .pressed {
    background-color: #d81b60;
    box-shadow: inset 0px 0px 5px #c1c1c1;
    outline: none;
  }