@import url('https://fonts.googleapis.com/css2?family=Lato&family=Roboto+Mono:wght@400;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Mono', monospace;
    background-color: #16161a;
    color: #fffffe;
    display: flex;
}

p,
li {
    font-family: 'Lato', sans-serif;
    color: #94a1b2;
    font-size: 18px;
    line-height: 1.5;
}

h2 {
    font-size: 21px;
}

#navbar {
    min-width: 250px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

#logo {
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: bold;
}

.nav-link {
    margin: 5px 0;
    padding: 10px;
    background-color: #035aa6;
    color: #fffffe;
    font-size: 18px;
    border-radius: 5px;
    text-decoration: none;
}

.nav-link:hover {
    opacity: 0.5;
}


#main-doc {
    flex: 1;
    height: 100vh;
    overflow-y: scroll;
    padding: 30px;
}

.header__title {
    font-size: 32px;
    text-align: center;
}

code {
    color: #e7305b;
    background-color: #242629;
    display: block;
    font-size: 18px;
    white-space: pre-wrap;
    text-align: left;
    line-height: 1.6;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
}


@media only screen and (max-width: 768px) {
    body {
        flex-direction: column;
    }

    #logo {
        margin-bottom: 20px;
    }

    #navbar {
        height: 200px;
        width: 100%;
        overflow-y: scroll;
    }

    #main-doc {
        height: auto;
        width: 100%;
    }

}