* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  padding: 20px;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
  text-align: center;
}

.input-section {
  margin-bottom: 20px;
}

input,
button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

#arrayTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

#arrayTable td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.highlight {
  background-color: rgb(0, 255, 221);
  transition: 0.35s;
}

.found {
  background-color: rgb(0, 255, 0);
  transition: 0.35s;
  
}



@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  .blink {
    animation: blink 0.1s ease-in-out 3; /* Blinks for 0.5s, 3 times */
  }
  

.result-section {
  margin-top: 20px;
  text-align: center;
}

.complexity-section {
  margin-top: 20px;
  text-align: center;
}
