#codeContainer {
    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 5px;

    flex: 1;

    display: flex;
    flex-direction: row;
    position: relative;

    width: 100%;
    height: 100%;
    flex-wrap: wrap;
    align-content: flex-start;

    overflow: hidden;
}

.codeEditorContainer {
    position: relative;
    top: 0;

    flex: 1;
    display: grid;
    gap: 10px;
    grid-template-columns: max-content auto;

    overflow-y: auto;
    overflow-x: hidden;


    scrollbar-color: var(--secondary-color) rgba(0, 0, 0, 0);
    scrollbar-width: thin;

    height: 100%;
}

div#lineNumbers {
    width: fit-content;
    padding-top: 0.5vh;
    padding-bottom: 1vh;
    font-family: monospace;
    color: rgb(90, 90, 90);
    font-size: medium;
}

div#lineNumbers .line{
    width: 100%;
    display: block;
    padding-left: 10px;
    background-color: transparent;
    white-space: pre;
}

div#lineNumbers .line:hover{
    background-color: rgba(0, 0, 0, 0.314)
}

#codeEditor {
    color: var(--text-color);
    text-shadow: 0 0 0 #000; /* This will make the cursor visible */
    font-size: medium;
    font-family: monospace;

    height: fit-content;
    /* width: 100%; */

    padding-top: 0.5vh;
    padding-bottom: calc(1vh + 20rem);
    margin: 0;

    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

i.fa {
    position: relative;
    top: 0;
    color: black;
    right: 1.5%;
    font-size: 17px !important;
    padding-top: 1%;
}

div#animGear {
    position: absolute;
    top: 0;
    right: 0;

    padding-top: calc(1px + 0.4%);
    margin-right: 0.4%;
    align-self: flex-end;
}

i.fa-gear {
    color: gray;
    font-size: 20px !important ;
}

i.fa-gear.animateGear {
    animation-name: rotate360;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
        color: rgb(84, 84, 84);
    }
    to {
        transform: rotate(360deg);
        color: gray;
    }
}

#themeWindow {
    position: absolute;
    top: 0;
    right: 0;

    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    width: 200px;
    height: 25%;
    margin-top: calc(1px + 0.2%);
    margin-right: 0.2%;
    position: absolute;
    overflow-y: auto;
    scrollbar-color: var(--secondary-color) rgba(0, 0, 0, 0);
    scrollbar-width: thin;
    align-self: flex-end;
    font-family: monospace;
    display: none;
}
