img.logo {
    position: relative;
    left: -7px;
    top: 0;
    width: 70px;
    height: 70px;
}

.sidebar {
    margin: 0;
    box-sizing: border-box;
    font-family: Courier;
    position: absolute;
    top: 0;
    left: 0;
    min-height: 1100px;
    height: 100%;
    width: 80px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: .4rem .8rem;
    transition: all 0.5s ease;
    opacity: 1;
    z-index: 6;
}

.sidebar.active {
    width: 250px;
    z-index: 1;
    opacity: 1;

}

.sidebar #btn {
    position: absolute;
    color: rgb(105, 240, 105);
    top: 0px;
    left: 50%;
    font-size: 1.2rem;
    line-height: 50px;
    transform: translateX(-50%);
    cursor: pointer;
}

.sidebar.active #btn {
    left: 90%;
}

.sidebar .top .name {
    color: rgb(105, 240, 105);
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center;
    pointer-events: none;
    opacity: 0;
}

.sidebar.active .top .name {
    opacity: 1;
}

.sidebar ul li {
    position: relative;
    right: 38px;
    list-style-type: none;
    height: 50px;
    width: 50px;
    margin: 0.8rem auto;
    color: rgb(105, 240, 105);
    line-height: 50px;
}

.sidebar ul li a {
    color: rgb(105, 240, 105);
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    text-align: center;
    text-decoration: none;
    border-radius: 0.8rem;
    vertical-align: center;
    line-height: 50px;

}

.sidebar ul li a:hover {
    background-color: rgb(105, 240, 105);
    color: #02353c;
}

.sidebar.active ul li {
    right: 80px;
}

.sidebar.active ul li a {
    width: 160px;
    padding: 2px;
}

.sidebar ul li a i {
    position: relative;
    min-width: 50px;
    text-align: center;
    height: 50px;
    border-radius: 2px;
    vertical-align: center;
    line-height: 42px;
}

.sidebar .sidebar-item {
    opacity: 0;
}

.sidebar.active .sidebar-item {
    opacity: 1;
}

.sidebar ul li .tooltip {
    position: absolute;
    left: 125px;
    top: 50%;
    color: black;
    background-color: rgb(105, 240, 105);
    transform: translate(-20%, -50%);
    box-shadow: 0 0.5rem 0.8rem rgba(0, 0, 0, 0.3);
    border-radius: 0.6rem;
    padding: 0.4rem 1.2rem;
    line-height: 1.8rem;
    z-index: 20;
    opacity: 0;
}

.sidebar ul li:hover .tooltip {
    opacity: 1;
}

.sidebar.active ul li .tooltip {
    display: none;
}

button.nav {

    background-color: transparent;
    color: rgb(105, 240, 105);
    border: 3px outset;
    border-radius: 0.8rem;
    border-color: rgb(105, 240, 105);
    width: 130px;
    height: 55px;
    font-size: large;
    margin-left: 30px;
    float: right;
    margin-right: 10px;
    margin-top: 10px;
    cursor: pointer;
}

button.nav:hover {
    background-color: rgb(105, 240, 105);
    color: #02353c;
    border-radius: 5px;
    border-color: rgb(105, 240, 105);

    font-size: large;

}

#projects {
    position: absolute;
    top: 400px;
    right: 500px;

}

body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#background {

    position: absolute;
    top: 0;
    left: 0;
    min-width: 2000px;
    width: 100%;
    min-height: 1100px;
    height: 100%;
    background: linear-gradient(to bottom, #2236c7 0%, #ee072d 100%);
    z-index: -1;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Ensure it stays behind the content */

}

#topbar {
    position: absolute;
    top: 0px;
    width: 2000px;
    background-color: rgb(4, 21, 122);
    border-bottom: solid rgb(143, 15, 6);
    z-index: -1;
}

.page_header {
    position: relative;
    text-align: center;
    font-family: courier;
    color: rgb(60, 183, 60)
}

.logistic_regression {
    position: absolute;
    left: 90px;
    top: 110px;
    width: 500px;
    border: 2px groove rgb(3, 7, 73);
    ;
    border-radius: 5px;
}

.logistic_regression:hover {
    background-color: rgb(87, 10, 46);
}


.qmnist_NN {
    position: absolute;
    left: 630px;
    top: 110px;
    width: 500px;
    border: 2px groove rgb(3, 7, 73);
    ;
    border-radius: 5px;
}

.qmnist_NN:hover {
    background-color: rgb(87, 10, 46);
}

.writing {
    position: relative;
    top: 0px;
    left: 0px;
    text-align: center;
    font-size: small;
    font-family: courier;
    color: #95AA15;
}

.CKD_battery_dataset {
    position: relative;
    top: 0px;
    left: 75px;
    width: 350px;
    border-radius: 5px;

}

.qmnist_mix {
    position: relative;
    top: 0px;
    left: 25px;
    width: 450px;
    border-radius: 5px;

}