body {
    background-color: rgb(5, 5, 5);
    font-family: 'Merriweather Sans', -apple-system, BlinkMacSystemFont,
    'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    
}
#navbar {
    overflow: hidden;
    background-color: #ffffff;
    padding: 20px 10px;
    transition: 0.4s;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
  
  }
  
  #navbar a {
    float: left;
    color: black;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    font-size: 18px; 
    line-height: 25px;
    border-radius: 4px;
  }
  
  #navbar #logo {
    font-size: 35px;
    font-weight: bold;
    transition: 0.4s;
  }
  
  /* #navbar a:hover {
    background-color: #ddd;
    color: black;
  }
  
  #navbar a.active {
    background-color: dodgerblue;
    color: white;
  } */
  
  
  #navbar-right {
    float: right;
   margin-right: 40px;
  }

  #array-container {
    height: 350px;
    margin-top: 3em;
    display: flex;
    flex-direction: column-reverse;
}


#array {
    margin: 1em auto;
}

.display-none {
    display: none;
    
   
}

.display-flex {
    display: flex;
    
}

.element {
    display: inline-block;
    border-radius: 5px;
    background-color: red;
  

}


#randomize {
      
  background-color: rgb(13, 236, 13);
  margin: 5px 2px;
  padding: 5px 20px;
  color: rgb(3, 3, 3);
  font-size: 1.2em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}
.slider-container label {
  
  border: 10px;
  font-size: 1.2em;
  padding: 5px 5px;
  color: rgb(238, 235, 235);
  cursor: pointer;
}
.slider-container
{
  margin-top: 10px;
}
#size-slider, #speed-slider
{
  cursor: pointer;
}


.slider:disabled {
  opacity: 0.5;
}

.algo-btn {
  align-items: center;
  appearance: none;
  background-color:   #3D72A4;
  border-radius: 24px;
  border-style: none;
  box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  fill: currentcolor;
  font-family: "Google Sans",Roboto,Arial,sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 48px;
  justify-content: center;
  letter-spacing: .25px;
  line-height: normal;
  max-width: 100%;
 
  padding: 2px 24px;

  text-align: center;
  text-transform: none;
  transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;

  will-change: transform,opacity;
  z-index: 0;
}

.algo-btn:hover {
  cursor: pointer;
  transform: scale(1.1);
  color: #fafcff;
}

.algo-btn:active {
  box-shadow: 0 4px 4px 0 rgb(60 64 67 / 30%), 0 8px 12px 6px rgb(60 64 67 / 15%);
  transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;
   background: #c3144b;
  outline: none;
}

.algo-btn:focus {
  outline: none;
  border: 2px solid #050505;
  background: #c3144b;
}

.algo-btn:not(:disabled) {
  box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
}

.algo-btn:not(:disabled):hover {
  box-shadow: rgba(60, 64, 67, .3) 0 2px 3px 0, rgba(60, 64, 67, .15) 0 6px 10px 4px;
}

.algo-btn:not(:disabled):focus {
  box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
}

.algo-btn:not(:disabled):active {
  box-shadow: rgba(60, 64, 67, .3) 0 4px 4px 0, rgba(60, 64, 67, .15) 0 8px 12px 6px;
}

.algo-btn:disabled {
  box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;
}

.slider:disabled::-webkit-slider-runnable-track {
  cursor: not-allowed;
}

  #change-container{
  display: flex;
  flex-wrap: wrap;
  }
  
  #center-btn {
    margin-left: auto;
  }
 
  #no-algo-warning {
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 250px;
    height: 50px;
    text-align: center;
    background-color: rgba(255, 13, 13, 0.8);
    border: 1px solid #ccc;
    border-radius: 5px;
    color: black;
}
  #sort ,#randomize 
  {
  display: inline-block;
  outline: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  border-radius: 500px;
  transition-property: background-color,border-color,color,box-shadow,filter;
  transition-duration: .3s;
  border: 1px solid transparent;
  letter-spacing: 2px;
  min-width: 160px;
  text-transform: uppercase;
  white-space: normal;
  font-weight: 700;
  text-align: center;
  /* padding: 10px 48px; */
  color: rgb(0, 0, 0);
  background-color: #1ED760;
  height: 48px;
  margin-right: 10px;
  
}
#sort:hover,#randomize:hover{
  transform: scale(1.04);
  background-color: #21e065;
}














 