body {
    background-color: #001d3d;
    display: flex;
    flex-direction: row;
    margin: auto;
    font-family: "Roboto", sans-serif;
}

html {
    scroll-behavior: smooth;
}

#navbar {
    border-right: 2px solid black;
    min-width: 190px;
    width: 200px;
    height: 100vh;
    position: fixed;
    top: -1px;
    left: -1px;
    padding: 10px 10px;
}

#navbar header {
    margin: 0;
    padding: 10px 20px;
    text-align: center;
}

#navbar header {
    background-image: linear-gradient(rgb(250, 121, 0), rgb(47, 47, 235));
    color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 20px;
}

#navbar li {
    list-style: none;
    position: relative;
    width: 220px;
    border: 1px solid rgb(0, 0, 0);
    margin: 0 20px 0 -50px;
    border-right: none;
    font-size: 20px;
}

#navbar a {
    color: #000;
    padding: 2px 2px 2px 2px;
    margin: 20px 20px 20px 15px;
    display: block;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
    width: 150px;
    text-align: left;
    color: #e9ecef;
}

#navbar a:hover {
    color: #8d99ae;
}

#main-doc {
    width: 100%;
    height: 100%;
    margin-left: 225px;
    margin-top: 5px;
    padding: 10px;
    line-height: 2;
    color: #cfd2cd;
}

#main-doc header {
    background-image: linear-gradient(rgb(250, 50, 0), rgb(47, 47, 235));
    color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 30px;
}

.resource-link {
    color: #1b98e0;
}

.alpha {
    list-style-type: circle;
}

.square {
    list-style-type: square;
}

code {
    display: block;
    width: 92%;
    text-align: left;
    padding: 15px;
    margin: 10px;
    line-height: 2;
    border: 1px groove gray;
    border-radius: 10px;
    background-color: #000000;
    color: white;
}

h3 {
    color: #e9ecef;
}

footer {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.705);
    text-align: center;
}

@media (max-width: 768px) {
    #navbar {
        display: none;
    }

    #main-doc {
        margin-left: 0; 
        margin-top: 10px;
        width: 100%; 
    }
    code {
        width: 80%;
    }
}

#navbar {
    top: 0;
    left: 0;
    margin: 0;
}

.social {
    color: #ffffff;
}
