
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Arial, sans-serif;
  /* background: linear-gradient( #e86d9e, #38124A, #EE544A #FFFFFF); */
  /*background: -webkit-gradient(linear, left top, left bottom, color-stop(100%,#a459c7), color-stop(0%,rgba(0,0,0,0.7))); /* Chrome,Safari4+ */
  background:  #212833 ;
  box-shadow: inset 0 70px 80px rgb(0 0 0 / 21%);
  margin:auto;
  font-family: 'Poppins', sans-serif;
}      

h1 {
  margin-top: 20px;
  color:#f4f4f4
}

.controls {
  margin: 20px 0;
  display: flex;
  padding-left:10%;
  gap: 1.5%;
  width: 90%;
  align-items: center;
  color:#f4f4f4;
}

label {
  font-weight: bold;
}

select, input, button {
  padding: 5px;
  font-size: 16px;
}

button {
  cursor: pointer;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 400px;
  width: 80%;
  margin: 20px;
  border-bottom: 1px solid #ccc;
}

#array-container {
  display: flex;
  align-items: flex-end;
  height: 100%;
  width: 100%;
  gap:1%;
}

.bar {
  margin: 0 1px;
  background-color: #3498db;
  transition: all 0.3s;
}

.bar.highlight {
  background-color: #e74c3c;
}

#cpp-code-container {
  margin-top: 20px;
  width: 80%;
}

pre {
  background: #bad5dc;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
  overflow: auto;
  font-size: 1.2rem;
  font-family: 'Courier New', Courier, monospace;
  color:rgb(10, 9, 9);
  font-weight:lighter;
}

code {
  display: block;
  white-space: pre-wrap;
}
  

.highlight-line {
  background-color: #e2d412;
}

@media (max-width: 900px) {
  h1{
    font-size: 0px;
  }
  .controls
   {
    margin-top: 0px;
  }
}

