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


#heading{
    height: 100px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #4CAF50;
    margin-top: 0;
    color: #f7f7f7;
}

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

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


.container {
    display: flex;
    width: 100%;
    height: 80vh;
}

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

.left-panel label {
    margin-top: 10px;
}

.left-panel input[type="number"],
.left-panel input[type="text"],
.left-panel select {
    width: 90%;
    padding: 5px;
    margin-bottom: 10px;
}

.left-panel button {
    padding: 10px;
    margin: 5px 5px 15px 0;
    cursor: pointer;
}

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

.right-panel {
    width: 60%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

#array-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 500px;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.bar {
    margin: 0 2px;
    width: 50px;
    background-color: #000000;
    transition: all 0.3s ease;
}

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

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

#heap-tree, #heap-title {
    display: none;
}

#heap-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    border: 1px solid gray;
}

.heap-level {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.heap-node {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 25px;
    transition: all 0.3s ease;
}

.heap-node.active {
    background-color: #f44336;
}

.heap-node.sorted {
    background-color: #2196F3;
}


.document{
    width: 100%;
    margin-top: 10px;
    height: 20%;
}

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

.input-feild{
    border-radius: 12px;
    height: 100px;
}


.btn{
    border: none;
    border-radius: 20px;
    height: 80px;
    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;
}

.know-more-btn{
    height: 100px;
    width: 100px;
}

.more{
    height: 100px;
    background-color: green;
}