*{
    font-family: 'Linux Libertine';
}

body,html{
    background-color: rgb(37, 37, 37);
    color: rgb(199, 199, 199);
    text-align: center;
    margin: 0;
    font-size: 25px;
}
body{
    display: flex;
    flex-direction: column;
}

h1{
    text-align: left;
}

h2{
    text-align: left;
    color: rgb(216, 216, 216);
}

h1,h2,h3,h4,h5,h6{
    text-align: left;
    padding-bottom: 15px;
    border-bottom: 1px solid rgb(255,255,255);
    font-weight: bold;
}

img{
    max-width: 100%;
}
nav{
    display: flex;
    background-color: rgb(24, 24, 24);
    width: 100%;
    border-bottom: 1px solid rgb(255,255,255);
}

nav div{
    margin-left: 5px;
    margin-right: 5px;
    width: 100%;
}

footer{
    text-align: center;
    background-color: rgb(24, 24, 24);
    width: 100%;
    border-top: 1px solid rgb(255,255,255);
}

main{
    flex: 1;
    margin: 0 auto;
    width: 98%;
    text-align: left;
}

a,a:visited{
    color: rgb(40, 84, 149);
    font-weight: bold;
}

nav a,nav a:visited{
    color: rgb(255,255,255);
    height: 30px;
    font-weight: normal;
    text-decoration: none;
}

.error{
    color: #ff5555;
    margin-bottom: 10px;
}

#content{
    display: flex;
    gap: 15px;
    width: 100%;
    height: 100%;
}

.page{
    margin-top: 15px;
    margin-bottom: 15px;
    width: 80%;
    padding-left: 15px;
    padding-right: 15px;
    background-color: rgb(25, 25, 25);
}
#sidebar{
    width: 20%;
    height: calc(100vh);
    overflow-y: auto;
    position: sticky;
    top: 0;
    left: 0;
    background-color: rgb(25, 25, 25);
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}

#sidebar a, #sidebar a:visited{
    text-decoration: none;
    color: rgb(207, 207, 207);
}

.file,.current_file{
    margin-top: 15px;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.current_file{
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.icon{
    image-rendering: pixelated;
    width: 20px;
}

.search-result{
    margin-bottom: 15px;
}

.search-result a, .search-result a:visited{
    text-decoration: none;
}

.search-result p{
    font-size: 16px;
}