@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap');


html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #0f0f0fef;
    font-family: 'Inconsolata', monospace;
    overflow: hidden;
    overflow-x: hidden;
}


a,
a:hover,
a:focus,
form,
form:hover {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/* Navbar */
nav {
    margin: 0;
    padding: 0;
    background-color: #000000;
    position: fixed;
    top: 0;
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-between;
    box-shadow: 0px 2px 3px #3ab1ad, -1px -2px 3px #3ab1ad;
    z-index: 1;
}

.left-nav {
    margin: 0;
    padding: 0% 2% 0% 2%;
    width: 15%;
}

.right-nav {
    margin: 0;
    width: 15%;
    padding: 0% 2% 0% 2%;
    display: flex;
    justify-content: space-evenly;
}

.logo {
    padding-top: 2%;
    width: 100%;
}

.SignIn {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.SignIn>a {
    color: black;
    background-color: #00FFFF;
    text-decoration: none;
    margin-top: 5%;
    padding: 10%;
    border-radius: 20px;
    font-family: 'Inconsolata', monospace;
    font-weight: 700;
    font-size: medium;
}

.SignIn>a:hover {
    color: #00FFFF;
    background-color: #000000;
    border: 2px solid #00FFFF;
}

.github {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.github>img {
    width: 50px;
}


/* Footer */
footer {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #000000;
    position: fixed;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    justify-content: space-between;
    box-shadow: 0px 2px 3px #3ab1ad, -1px -2px 3px #3ab1ad;
    z-index: 1;
}

h3 {
    margin: 3px;
    color: #00FFFF;
    font-family: 'Inconsolata', monospace;
    font-size: medium;
    text-align: center;
}

p {
    margin: 1px;
    color: #00FFFF;
    font-family: 'Inconsolata', monospace;
    font-size: small;
    text-align: center;
}

.Language>p {
    margin: 5px 0px 0px 0px;
    font-family: 'Inconsolata', monospace;
    font-size: large;
    font-weight: 800;
    font-stretch: extra-expanded;
}

.icon {
    margin: 0% 40% 0% 40%;
    display: flex;
    justify-content: space-evenly;
}

.icon>img {
    width: 8%;
    padding: 3px;
}

.footer-middle {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
}

.footer-middle>div {
    width: 20%;
}

.fa {
    width: 100%;
    display: flex !important;
    justify-content: center;
    gap: 5%;
}

.fa>a {
    color: #00FFFF;
    font-size: 120%;
    text-decoration: none;
}

.Support {
    display: flex;
    flex-direction: column;
}

.Support>form>input {
    width: 60%;
    border-radius: 5px;
}

.Support>form>button {
    font-size: 80%;
    width: 30%;
    background-color: #00FFFF;
    color: black;
    border-radius: 5px;
}

.Support>form>button:hover {
    color: #00FFFF;
    background-color: #000000;
    border: 2px solid #00FFFF;
}

/* Sidebar */
.wrapper {
    display: flex;
    flex-direction: row;
    margin-top: 3.6%;
}

#sidebar {
    width: 17%;
    background: #000000;
    color: #00FFFF;
    transition: all 0.3s;
    height: 1000px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.algos {
    font-family: 'Inconsolata', monospace;
    margin: 25px 0px 25px 0px;
    font-size: 2rcap;
    font-weight: bold;
    font-stretch: wider
}

#sidebar div ul div a {
    display: flex;
    justify-content: center;
    padding: 4px 0px 4px 0px;
    font-family: 'Inconsolata', monospace;
    font-size: larger;
    border-radius: 20px;
}

#sidebar div ul {
    padding: 5px 40px 5px 40px
}

#sidebar div form {
    display: flex;
    flex-direction: row;
    padding: 0px 30px 0px 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
    font-size: large;
}

.CTAs p {
    padding: 3px 50px 3px 50px;
    font-size: large;
    background-color: #000000;
    color: #00FFFF;
    border-radius: 5px;
}

.CTAs p {
    border-radius: 10px;
}

.CTAs p a {
    font-weight: 900;
    font-size: medium;
}

.CTAs p a:hover {
    background-color: #00FFFF;
    color: #000000;
    padding: 5px;
    border-radius: 10px;

}


div ul [active="true"] {
    background: #00FFFF !important;
    color: #000000 !important;
}

/* Content */
#meta-content {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    width: 80%;
}

#meta-content .table {
    position: fixed;
    margin: 0px;
    width: 80%;
    display: flex;
    flex-direction: column;
}

.row {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    background: #00FFFF;
    color: #000000;
}

.header {
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: space-evenly;
    color: #00FFFF;
    background: #000000;

}

.complex {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #000000;
    color: #00FFFF;
    text-align: center;
    font-size: larger;
    font-weight: bolder;
}

.hcell {
    width: 10%;
    padding: 2px 5px 2px 5px;
    font-size: medium;
    font-weight: 400;
    font-family: 'Inconsolata', monospace;
    text-align: center;
}

.cell {
    justify-content: center;
    padding: 2px 5px 2px 5px;
    display: flex;
    border: 3px solid black;
    width: 10%;
}

.chartHTML div {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 8px;
    color: white;
    text-align: center;
    margin: 0.1%;
    transition: 0.1s;
    width: 2%;
    max-height: 380px;
    opacity: 0.8;
    border-radius: 100px;
    color: #00FFFF !important;
    display: flex;
    align-items: center;
    /* Center the text vertically */
    justify-content: center;
    /* Center the text horizontally */
}


.chartHTML {
    margin-bottom: 8px;
    position: relative;
    padding: 0;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: flex-end;
    height: 525px;
    /* Set a fixed height */
    overflow-y: auto;
    /* Enable scrolling if content overflows */
}

.chartSVG rect {
    fill: #00FFFF
}

.chartSVG rect:hover {
    fill: orange
}

.chartSvg text {
    fill: white;
    text-anchor: end;
}

.toggle-button {
    margin: 0;
    padding: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    display: block;
    width: 100%;
    background-color: #00FFFF;
    color: rgb(0, 0, 0);
    cursor: pointer;
    border: 1px solid black;
    text-align: center;
}


/* Container for the content */
.content-container {
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    width: 100%;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    border-radius: 5px;
}

/* Content within the container */
.content {
    margin: 0;
}

/* When the container is active, set max-height to a large enough value to show content */
.content-container.active {
    max-height: 200px;
    /* Adjust based on content height */
}

.code-container {
    display: flex;
    flex-direction: row;
}

.about {
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: yellow;
}

.complexity {
    background-color: green;
    border: 1px solid balck;
    width: 35%;
}

.program {
    width: 65%;
    background-color: red;
}

@media (max-width: 1150px) {

    .left-nav {
        width: 60%;
    }

    .right-nav {
        width: 30%;
        display: flex;
        justify-content: space-evenly;
    }

    .logo {
        width: 50%;
    }

    .SignIn>a {
        font-size: medium;
    }
}

@media (max-width: 760px) {
    .left-nav {
        width: 60%;
    }

    .right-nav {
        width: 30%;
        display: flex;
        justify-content: space-evenly;
    }

    .logo {
        width: 50%;
    }

    .SignIn>a {
        font-size: medium;
    }

    h3 {
        font-size: 16px;
        font-weight: 800;
    }

    p {
        font-size: 13px;
    }

    .fa {
        gap: 5%;
    }

    .fa>a {
        font-size: xx-larger;
    }

    form {
        display: flex;
        flex-direction: row;
    }


    .footer-middle {
        height: 35px;
    }

    .fa>a {
        font-size: large;
    }

    .footer-middle>div {
        width: 30%;

    }

    .footer-middle {

        margin: 0%;
        margin-bottom: 2%;
    }

    .Support>form {

        width: 80%;
        display: flex;
        justify-content: center;
    }

    .Support>form>input {
        margin: 0% 6% 0% 0%;
        width: 50%;
        font-size: 13px;
    }

    .Support>form>button {
        width: 40%;
        font-size: 13px;
    }
}

@media (max-width:395px) {

    .left-nav {
        width: 100%;
    }

    .logo {
        margin-top: 1.45%;
        width: 68%;
    }

    .right-nav {
        width: 60%;
        padding: 0%;
    }

    .SignIn>a {
        font-size: small;
    }



    footer {
        position: fixed;
        bottom: 0;
    }

    .footer-middle>div {
        width: 30%;

    }

    .footer-middle {

        margin: 0%;
        margin-bottom: 2%;
    }


    .fa>a {
        font-size: large;
    }

    .Support>form {

        width: 100%;
        display: flex;
        justify-content: center;
    }

    .Support>form>input {
        margin: 0% 6% 0% 0%;
        width: 50%;
        font-size: 8px;
    }

    .Support>form>button {
        width: 40%;
        font-size: 8px;
    }

    h3 {
        font-weight: 600;
        font-size: 11px;
        padding: 0%;
        margin-bottom: 2px;
    }

    p {
        font-size: 10px;
    }

    .wrapper {
        width: 100%;
        margin-top: 40px;
    }

    #sidebar {

        width: 35%;
        height: 600px;
    }


    #algorithmSubmenu {
        padding: 0 !important;
        margin: 0;
        width: 100%;
        font-size: x-small !important;
        text-align: start;
    }

    .form-label {
        font-size: small;
    }

    .form-range {
        width: 80%;
    }

    form {
        padding: 3px 0px 3px 0px !important;
    }

    .CTAs>p {
        padding: 0 !important;
    }

    .meta-content {
        width: 100%;
    }

    .header,
    .row {
        width: 85%;
        padding: 0;

    }

    .hcell {
        font-size: x-small;
        font-weight: 400;
        font-family: 'Inconsolata', monospace;
        text-align: center;
    }

    .cell {
        font-size: xx-small;
        justify-content: center;
        display: flex;
        border: 2px solid black;
    }

    .complex {
        margin-top: 10px;
        font-size: medium;
    }
}