body {
    font-family: 'Roboto', sans-serif;
    margin:0;
    padding:0;
    background:#f0f0f0;
}

header {
    text-align: center;
    padding: 5px;
    background:#A1C2BD;
    color:#000;
    border-bottom:1px solid #000000;
}

header a {
    display:block;
    margin-top:5px;
    color:#000;
    text-decoration:none;
}

.container {
    display:flex;
    height: 80vh;
}

.left-panel {
    width: 40%;
    padding: 20px;
    box-sizing: border-box;
    background:#fafafa;
    border-right:1px solid #ccc;
    overflow: scroll;
}

.left-panel input, .left-panel select, .left-panel button {
    margin:10px 0;
    padding:8px;
    width:90%;
    font-size:1rem;
    box-sizing:border-box;
    cursor:pointer;
}

.left-panel button {
    width:45%;
    margin-right:5px;
}

#current-array {
    background:#fff;
    padding:10px;
    border:1px solid #ccc;
    min-height:50px;
    font-family: monospace;
    white-space: pre-wrap;
}

.right-panel {
    width: 60%;
    padding:20px;
    box-sizing:border-box;
    display:flex;
    flex-direction: column;
    align-items:center;
    overflow-x:auto;
    background:#fff;
}

#array-container {
    display:flex;
    align-items:flex-end;
    justify-content:flex-start;
    width:100%;
    height:80%;
    background:#f9f9f9;
    border:1px solid #ccc;
    padding:20px 10px;
    position:relative;
}

.bar {
    margin:0 5px;
    background-color:#000000;
    width:40px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    font-size:14px;
    color:white;
    transition: all 0.4s ease;
}

.bar.active {
    background-color:#f44336;
}

.bar.found {
    background-color:#2196F3;
}

#search-target-display {
    margin-top:10px;
    font-weight:bold;
    font-size:1.1rem;
}

.btn{
    border: none;
    border-radius: 20px;
    height: 50px;
    background-color: #97c1e4;
    font-weight: 700;
    display: inline;
}

.btn:hover{
    border: 2px solid #2196F3;
    background: transparent;
    color: #2196F3;
    font-weight: 700;
    transform: scale(0.9);
    box-shadow:2px 2px 10px #2196F3;
}


.document{
    width: 100%;
}

.pseudo-code{
    height: fit-content;
    padding: 10px;
    box-shadow: 2px 2px 20px #4CAF50;
    border-radius: 20px;
}

.input-feild{
    border-radius: 12px;
    border: 1px solid black;
}

