@font-face {
    font-family: 'Monocraft';
    src: url('Monocraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-color: #101010;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6, p, i, small, figcaption, label, button, li {
    font-family: 'Monocraft', sans-serif;
    color: white;
}

p {
    text-decoration: none;
}

small {
    font-size: 11px;
    overflow-wrap: break-word;
}

a {
    color: #e0d8ff;
    text-decoration: none;
    transition: all 1s ease-in-out;
}
a:hover {
    text-decoration: underline;
    opacity: 0.9;
    color: darkgray;
}

figcaption {
    font-size: 12px;
    max-width: 50%;
    margin-top: 10px;
    font-style: italic;
    text-decoration: none;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    display: block;
    z-index: 1;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.center_vert {
    align-items: center;
}

.center_content {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center; /* vertical */
    justify-content: center; /* horizontal */
}

.flex_any {
    display: flex;
}

@media (max-aspect-ratio: 1/1) {
    .flex_any {
        flex-direction: column;
    }
}

.flex_horiz {
    display: flex;
    flex-direction: row;
}

.vert_flex {
    display: flex;
    flex-direction: column;
}

.fade {
    transition: opacity 0.5s ease; /* controls speed/smoothness */
}

.fade.hidden {
    opacity: 0;
}

.breathe {
    animation: breathe 2.5s ease-in-out infinite;
}

@keyframes breathe {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

#info_container {
    z-index: 2;
    max-height: 256px;
}

#game_info_container {

}

#loading_overlay {

    max-width: 100%;
    display: block;
    z-index: 2;

    pointer-events: none;

    position: relative;
}

#title {
    position: relative;
    color: white;
    font-family: 'Monocraft', sans-serif;
    font-size: 52px;
    text-align: center;
    vertical-align: center;
    margin-left: 15px;
}

#status_text {

    color: white;
    font-family: 'Monocraft', sans-serif;
    text-align: center;
    font-size: 36px;
}

.main_content {
    background-color: rgba(0, 0, 0, 0.2);

    position: relative;
    top: 25px;
    bottom: 425px;
    max-width: min(600px, 80%);
    min-width: 50%;
    z-index: 2;

    margin-bottom: 50px;
    padding: 25px;

    border-radius: 25px 25px 25px 25px;

    overflow-y: auto;
    overflow-x: hidden;
}

table {
    width: 95%;
    border-collapse: separate;
    /* Creates the vertical gap between rows */
    border-spacing: 0 25px;
}

td {
    padding: 25px 25px 25px 25px;
}

th.wider {
    width: 75%;
}
tr {

}
tr:nth-of-type(even) td {
    background-color: rgba(0, 0, 0, 0.1);
}


input, textarea, button {
    box-sizing: border-box;
    padding: 0.5rem 1rem 0.5rem 1rem;
    border: 1px solid black; /* border border-gray-300 */
    border-radius: 0.5rem; /* rounded-lg */
    transition: all 150ms ease-in-out; /* transition duration-150 */
    outline: none; /* Remove default outline */
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
}
input:focus, textarea:focus {
    /* Focus Ring simulation using box-shadow (focus:ring-blue-500) */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
    /* Focus Border color (focus:border-blue-500) */
    border-color: #3b82f6;
}
input, textarea {
    width: 100%;
}
label {
    vertical-align: text-top;
}

textarea {
    height: 200px;
}
button {
    float: right;
}


#visual_demonstration {
    border-radius: 25px 25px 25px 25px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.1);
    border-width: 2px;
    opacity: 0.8;
    box-shadow: 1px 1px 1px 1px rgb(0 0 0 / 0.2);
}

.error_pane {
    background-color: red;
}

.success_pane {
    background-color: green;
}


#logo {
    background-image: url('logo.png');
    min-width: 128px;
    min-height: 128px;
    max-width: 256px;
    max-height: 256px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 15px;
}

footer {
    font-family: 'Monocraft', sans-serif;
    font-size: 22px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    max-height: 24px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(7px);
    color: white;
    z-index: 3;
    transition: max-height 0.5s ease, background-color 0.5s ease;
    border-radius: 25px 25px 0 0;
    border-style: dotted;
    border-color: rgba(2505, 0, 0, 0.1);
    border-width: 2px;
    margin: auto;
}

.footer-open {
    max-height: 250px;
}

footer:hover {
    background-color: rgba(0, 0, 0, 0.4);
}
.bb-top {
    border-radius: 25px 25px 0 0;
    border-bottom-color: white;
    border-bottom-style: wave;
    border-bottom-width: 5px;
    height: 24px;
}

#info_panel {
    border-radius: 0 0 25px 25px;
    border-style: dotted;
    border-color: rgba(2505, 0, 0, 0.1);
    border-width: 2px;

    max-width: min(600px, 80%);
    min-width: 400px;
    max-height: 200px;

    z-index: 7;

    background-color: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(7px);

    padding: 25px;

    position: relative;
}

.info-icon {
    background: url('info-box.png') no-repeat center/contain;
    width: 24px;
    height: 24px;
    margin: auto auto 25px;
}

.bb-nav {
    background: url('menu.png') no-repeat center/contain;
    width: 24px;
    height: 24px;
    margin: auto auto 24px;
}
.bb-brand {
    font-weight: 600;
}
.bb-tagline {
    font-size: 16px;
}


.url {
    color: #e0d8ff;
    text-decoration: none;
    font-size: 18px;
}
.url:hover {
    text-decoration: underline;
    opacity: 0.9;
}