body {
    background-color: #19191b;
    padding: 0;
    margin: 0;
    color: aliceblue;
    font-size: 12pt;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    height: 100vh;
    min-height: 100vh;
    min-height: 100dvh;
}

a {
    color: aliceblue;
    text-decoration: none;
}

main {
    height: 100%;
    display: flex;
}

.left-sidebar {
    width: 20vw;
    min-width: min-content;
    border-right: 1px solid aquamarine;
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem 2rem 2rem;
    gap: 2rem;
    height: 100%;
    flex: 0 1 auto;
    font-size: 16pt;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.sidebar-top-group {
    gap: 2rem;
    display: flex;
    flex-direction: column;
    height: 24rem;
    justify-content: space-between;
}

.sidebar-header {
    color: aquamarine;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-header-img {
    max-width: 8rem;
    border-radius: 0.5rem;
    box-shadow: 2px 2px 0px 0px aquamarine;
    margin-bottom: 1rem;
}

.sidebar-username {
    color: gray;
    font-size: 11pt;
    margin-top: 0.4rem;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    min-height: 8rem;
    max-height: 14rem;
    font-family: 'Courier New', Courier, monospace;
}

.sidebar-content a:hover {
    text-decoration: underline;
}

.sidebar-footer, .sidebar-footer a {
    color: gray;
    font-size: 8pt;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 5rem 4rem 2rem 4rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow-y: auto;
}

.main-header {
    font-family: 'Courier New', Courier, monospace;
}

.main-text p a {
    color: gray;
}

.button-grid {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.button-grid a {
    color: aliceblue;
}

.grid-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border-radius: 0.5rem;
    padding: 1.5rem 4rem;
    background-color: rgb(46, 144, 111);
    border: none;
    outline: none;
    cursor: pointer;
    color: aliceblue;
    box-sizing: border-box;
    width: 11rem;
}

.grid-button-icon {
    height: 1.5rem;
    object-fit: contain;
}

.grid-button-label {
    font-size: 11pt;
}

.grid-button:hover, .project-display:hover {
    filter: brightness(85%);
    transition: ease-in 0.1s;
}

.project-display {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.4rem;
    background-color: rgb(46, 46, 46);
    border-radius: 0.5rem;
    gap: 1.4rem;
    color: aliceblue;
    border: 2px solid darkslategray;
    width: 42rem;
    align-items: center;
    margin-bottom: 1rem;
}

.project-display-icon {
    width: 4rem;
}

.project-display-text {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.project-display-title {
    font-size: 16pt;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

.project-display-description {
    color: gray;
    font-size: 11pt;
}


@media screen and (min-width: 1998px) {
    .sidebar-header-img {
        max-width: 12rem;
    }

    .left-sidebar {
        width: 16vw;
    }

    .sidebar-header {
        gap: 1.6rem;
    }

    .sidebar-top-group {
        gap: 3rem;
    }
}

@media screen and (max-width: 700px) {
    main {
        flex-direction: column;
        width: 100%;
    }

    .sidebar-content {
        flex-direction: row;
    }

    .left-sidebar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100vw;
        height: min-content;
        border-right: none;
        border-bottom: 1px solid aquamarine;
        vertical-align: middle;
        gap: 2rem;
        padding: 1.6rem;
    }

    .sidebar-top-group {
        display: contents;
    }

    .sidebar-content {
        display: none;
    }

    .sidebar-header-img {
        max-width: 3rem;
        margin: 0;
    }

    .sidebar-header span {
        display: none;
    }

    .sidebar-footer {
        display: none;
    }

    .main-content {
        padding: 1.5rem;
        width: 100%;
        min-width: 0;
    }

    .button-grid {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .button-grid a, .grid-button {
        width: 100%;
    }

    .project-display {
        align-items: flex-start;
        gap: 0rem;
        width: unset;
    }

    .project-display-icon {
        width: 3rem;
    }
}
