@font-face {
    font-family: 'Noto Mono';
    src: url("noto-mono.ttf") format("truetype");
}

body {
    font-family: 'Noto Mono';
    background: #ddd;
    color: #333;
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    font-family: 'Noto Mono', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #666;
}

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

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* SIDEBAR STYLE */

.wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 280px;
    max-width: 280px;
    background: #34495e;
    color: #fff;
    transition: all 0.3s;
    position: fixed;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 2; 
}

#sidebar.active {
    margin-left: -280px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #22313f; 
}

#sidebar .sidebar-author {
    padding: 2px;
    font-size: small;
}

#sidebar ul p {
    color: #ffffff;
    padding: 10px;
}

#sidebar ul li a,
#sidebar ul li form {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #fff;
    transition: all 0.3s;
}

#sidebar ul li a:hover {
    background: #8dc6ff; 
    color: #333;
}

#sidebar ul li form:hover {
    background: #8dc6ff; 
    color: #333;
}

ul ul a {
    background: #666;
}

ul ul [active="true"] {
    background: #fff !important;
    color: #333 !important;
}

ul.CTAs {
    padding: 10px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.start {
    background: #fff !important;
    color: #333 !important;
}

a.shuffle,
a.shuffle:hover {
    background: #666 !important;
    color: #fff !important;
    box-shadow: 0 0 10px #666;
}

/* CONTENT STYLE */

#content {
    margin-left: 280px;
    padding: 30px;
    min-height: 100vh;
    transition: all 0.3s;
    flex: 1;
    z-index: 1; 
}

#meta-content {
    width: 100%;
    position: fixed;
    transition: all 0.3s;
    top: 0;
    left: 0;
    z-index: -1;
    padding-left: 280px;
    height: 8%;
}

#meta-content .table {
    margin: 0 0 40px 0;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: table;
    table-layout: fixed;
    border-collapse: collapse;
}

#meta-content .table .row {
    display: table-row;
    background: #f6f6f6;
}

#meta-content .table .header {
    font-weight: 900;
    color: #ffffff;
    background: hwb(210 20% 63%); 
}

#meta-content .table .row .cell {
    padding: 6px 12px;
    display: table-cell;
    text-align: center;
}

#meta-content .table .row .g {
    background: rgb(76, 121, 76); 
}

#meta-content .table .row .n {
    background: rgb(179, 179, 107); 
}

#meta-content .table .row .b {
    background: rgb(231, 115, 115); 
}

.chartHTML div {
    font-size: 12px;
    background: #8dc6ff;
    color: rgb(170, 90, 90);
    text-align: center;
    margin: 0.1%;
    transition: 0.1s;
    width: 3%;
    height: 0px;
    display: inline-block;
    opacity: 0.8;
    border: 0px solid brown;
}

.chartHTML {
    transition: 0.1s;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: flex-end;
    height: 50vh;
}

.half {
    display: inline-block;
    width: 49%;
}

.chartSVG rect {
    fill: blue;
}

.chartSVG rect:hover {
    fill: orange;
}

.chartSvg text {
    fill: rgb(226, 53, 53);
    text-anchor: end;
}

/* MEDIAQUERIES */

@media (max-width: 768px) {
    .wrapper {
        flex-direction: column;
        align-items: center; /* Center items vertically */
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    #sidebar {
        position: relative;
        width: 100%;
        max-width: none; /* Remove max-width to fill the space */
        height: auto;
        margin-left: 0;
        text-align:center ;
    }


    #content {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }

    #meta-content {
        padding-left: 0;
        position: relative;
        height: auto;
        margin-top: 20px;
    }

   
}
