

#editor {
    min-height: 100vh;
    width: 100%;
    /* border: solid 2px rgb(1, 1, 1, 0.2);
    border-radius: 5px; */
    display: flex;
    flex-direction: column;
  }
  
  #toolbar {
    width: 100%;
    height: 50px;
    border-bottom: solid 1px rgb(1, 1, 1, 0.2);
    padding: 0 10px; 
    display: flex;
  }
  
  .toolbar-section {
    padding: 0 5px;
  }
  
  #textbox {
    padding: 10px;
    flex: 1 1 auto;
    overflow: auto;
  }
  
  #textbox:focus {
    outline: none;
  }
  
  .format-select {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgb(1, 1, 1, 0.25);
    border-radius: 5px;
    padding: 5px;
  }
  
  .icon {
    height: 30px;
    width: 30px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px;
    cursor: pointer;
    color: rgb(1, 1, 1, 0.7);
    border: none;
    border-radius: 100%;
    background: none;
  }
  
  .icon:hover {
    background: rgb(1, 1, 1, 0.05);
  }
  
  .format-on {
    background: rgb(1, 1, 1, 0.05);
  }
  
  #arial {
    font-family: Arial, Helvetica, sans-serif;
  }
  
  #courier {
    font-family: 'Courier New', Courier, monospace;
  }
  
  #georgia {
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
  
  #helvetica {
    font-family: Helvetica, sans-serif;
  }
  
  #tahoma {
    font-family: Tahoma, Geneva, Verdana, sans-serif
  }
  
  #times {
    font-family: 'Times New Roman', Times, serif;
  }
  
  #trebuchet {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
  
  #verdana {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
  }
  
  /* ------- MEDIA QUERIES ------- */
  @media (max-width: 800px) {
    #toolbar {
      height: 120px;
    }
  
    #toolbar {
      display: block;
      text-align: center;
    }
  
    #toolbar-section2, #toolbar-section3, #toolbar-section4 {
      display: inline-block;
      margin-bottom: 5px;
    }
  
    #toolbar-section1 {
      margin-top: 10px;
      margin-bottom: 5px;
    }
  
    .format-select, .icon {
      top: 0;
      transform: none;
    }
  }