html, body {
    height: 100%;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #1e1e1e;
    font-family: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
}

.main {
    width: 80%;
    height: 80%;
    color: #ebebeb;
    display: flex;
    flex-direction: row;
}

.display, .main > nav {
    height: 100%;
    color: #ebebeb;
    background-color: #1a1a1a;
    border: solid 1px #c8cacc;
    line-height: 1.4;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    overflow-wrap: break-word;
}

.display {
    
}

.main > nav > p{
    margin: 5px 10px;
}

.display > p {
    padding-top: 0.5em;
}

#pageTitle textarea {
    width: 100%;
    max-width: 100%;
    height: 12em;
    min-height: 12em;
    box-sizing: border-box;
    background: transparent;
    color: inherit;
    border: none;
    outline: none;
    resize: none;
    padding: 10px;
    margin: 0;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.05;
    overflow-y: hidden;
}

.prompt {
    color: #00aaff;
    font-weight: bold;
}

.success {
    color: #00ff88;
}

.error {
    color: #ff4444;
}

.info {
    color: #ffaa00;
}

body > div:last-child {
    font-size: small;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #ebebeb;
    padding-top: 10px;
}

.menu-button {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 60;
    background: #1a1a1a;
    color: #ebebeb;
    border: 1px solid #c8cacc;
    padding: 6px 10px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 4px;
}

.nav-overlay {
    display: none;
}

@media (max-width: 700px) {
    body {
        display: flex;
        flex-direction: row;
    }

    .main {
        width: 95%;
        height: 90%;
        flex-direction: column;
        align-items: stretch;
    }

    .menu-button {
        display: inline-block;
    }

    .nav-overlay.show {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 40;
    }

    .main > nav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 75%;
        max-width: 320px;
        transform: translateX(-110%);
        transition: transform 0.25s ease;
        z-index: 50;
        height: 100%;
    }

    .main > nav.open {
        transform: translateX(0);
    }

    .display {
        margin-left: 0;
        width: 95%;
    }

    #footer {
        display: none;
        justify-content: space-between;
    }
}

.pageContent {
    padding: 10px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#clockFace {
    height: 100%;
}

.pageContent > * {
    margin-bottom: 1em;
}

.pageContent table {
    border-collapse: collapse;
    width: 100%;
    border: #ebebeb 1px solid;
}

.pageContent td {
    border: #ebebeb 1px solid;
    padding: 10px;
}

.pageContent td > p {
    line-height: 1.4;
    margin: 5px 0;
}

a {
    color: #ebebeb;
}

.aboutPage {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    overflow-x: scroll;
    width: max-content;
    height: 85%;
}

.horizontalBanner {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.card {
    border: #ebebeb 1px solid;
    margin: 5px;
    padding: 5px;
}

.card > *{
    margin-top: 10px;
}

#display {
  width: 100%
  }