/* You CSS goes in here */
/* You CSS goes in here */

.container {
    margin-top: 1%;
  }
  
  .column {
    text-align: center;
  }
  
  .window { z-index:20; }
  .jtk-connector { z-index:4; }
  .jtk-endpoint { z-index:5; }
  .jtk-overlay { z-index:6; }
  
  /* disabling text selection */
  body {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }
  
  text {
    pointer-events:none;
  }
  

  .components-list {
    padding: 2% 5%;
    text-align: center;
    height: 100%;
    overflow-y: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: start;
    justify-content: center;
    padding: 10px;
  }
  
  #circuit-board {
    position: relative;
    width: 100%;
    height: 100%;
    border: 0.2rem solid black;
  }
  
  #working-area {
    position: absolute;
    width: 95%;
    height: 95%;
    margin: 2%;
  }
  
  .menu {
    width: 120px;
    z-index: 1;
    box-shadow: 0 4px 5px 3px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    position: fixed;
    display: none;
    transition: 0.2s display ease-in;
  }
  
  .menu-options {
    list-style: none;
    padding: 10px 0;
    z-index: 1;
  }
  
  .menu-option {
    font-weight: 500;
    z-index: 1;
    font-size: 14px;
    padding: 10px 40px 10px 20px;
  }
  
  .menu-option:hover {
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }
  
  .drag-drop {
    display: inline-block;
    position: absolute;
    top: 0px;
    width: auto;
    height: auto;
    border-radius: 10em;
    border: 0.1rem solid #17202A;
    z-index: 1;
    background-size: 100%;
    font-weight: bold;
  }
  

  .component-button{
    width: auto;
    height: auto;
    padding: 20px 20px;
    border-radius: 10em;
    border: 0.1rem solid #17202A;
    margin: 0.5rem 0.5rem;
    font-weight: bold;
    /* font-size: 0.8rem; */
    text-align: center;
    color: black;
    background-color: #29e;
    background-repeat: no-repeat;
    background-position: center;
    overflow: auto;
  }
  
  @media screen and (max-width: 600px) {
    .component-button {
      width: 60px;
      height: 60px;
      background-size: 100%;
    }
  }
  
  .component-button::after {
    display: block;
    padding-bottom: 100%;
  }
  
  .component-button:hover {
    border: 0.2rem solid rgb(157, 210, 248);
    cursor: pointer;
  }
  
  
  
  .success-message {
    font-size: 1.2rem;
    color: rgb(31, 170, 31);
    font-weight: bold;
  }
  
  .failure-message {
    font-size: 1.2rem;
    color: rgb(228, 23, 23);
    font-weight: bold;
  }
  
  .highlight {
    border:3px solid red;
    box-shadow: 0 0 10px #719ECE;
  }
  
  /* for dropping instruction box  */
  
  .instructions-box {
    max-height: 70px;
    overflow: hidden;
    transition: all .5s ease;
  }
  
  .node{
    background-color: #E59866;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    padding: 20px 20px;
    overflow: auto;
    /* Added recently */
    font-size: small;
  }
  
  .success-message {
    font-size: 1.2rem;
    color: rgb(31, 170, 31);
    font-weight: bold;
  }
  
  .failure-message {
    font-size: 1.2rem;
    color: rgb(228, 23, 23);
    font-weight: bold;
  }
  
  .highlight {
    border:3px solid red;
    box-shadow: 0 0 10px #719ECE;
  }
  

  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 20%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    font-weight: bold;
  }
  .successmodal {
    background-color: rgb(98, 199, 98);      
  }

  .failuremodal{
    background-color: rgb(243, 115, 115);  
  }
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
