html,
body,
body * {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    color: #f5f5f5;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    text-align: center;

    background-color: #333;
}

#body-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;
}

#header,
#status-bar,
#footer {
    user-select: none;
}

#header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 80px;

    padding: 10px 0px 10px 0px;

    background-color: #222;
}

#status-bar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 0px 2px 0px;

    width: 100%;

    font-family: 'Calibri', sans-serif;
    font-size: 0.8em;

    background-color: #1b1b1b;
}

#status-text {
    font-weight: bold;
}

#content {
    /* fill remaining height */
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    flex: 1;
    width: 100%;

    overflow-y: auto;
}

#script {
    padding: 20px;
    max-width: 500px;
}

#about-overlay {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    backdrop-filter: blur(3px);
    z-index: 1;

    opacity: 0;
    transition: opacity 0.25s;
}

#about {
    top: 0;
    left: 0;

    padding: 22px 18px 22px 18px;
    max-width: 70%;

    text-align: left;

    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);

    z-index: 1;
}

#about>p {
    padding: 5px 0px 5px 0px;

    font-size: 0.9em;
}

#about>h1 {
    line-height: 0.9em;
}

#about>h2 {
    line-height: 0.8em;
}

#connect-btn {
    padding: 10px;
    color: #fff;
    background-color: #181818;
    border-radius: 3px;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Bilo', 'Calibri bold', sans-serif;
    margin-bottom: 0;
}

p {
    white-space: pre-wrap;
}

a {
    color: #f5f5f5;
    text-decoration: underline;
}

[role="button"] {
    cursor: pointer;
}

#footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 14px;

    padding: 8px 0px 8px 0px;

    font-size: 12px;
    background-color: #222;
}

#about-btn {
    text-decoration: underline;
}
