html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    width: 100vw;
    height: 100vh;
}

#gui {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    display: none;
}

.defaultVideo {
    width: auto;
    height: 100%;
    min-width: 100vw;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: top center;
    display: none;
}

.dg {
    margin: 0 !important;
}

.dg.main {
    background-color: transparent !important;
}

.dg.main .close-button {
    background-color: transparent !important;
}

.closed{
    height: 0px;
}

.close-button {
    font-size: 1.2em;
    font-weight: bold;
    background-color: rgb(9, 81, 99) !important;
}

.container {
    position: relative;
    display: flex;
    justify-content: center;   /* horizontal centering */
    align-items: flex-start;   /* top alignment */
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

canvas {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    background: #000;
    margin: 0;
    padding: 0;
}

canvas.image-mode {
    width: auto;
    height: auto;
    max-width: 100vw;
    max-height: 100vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#introDiv{
    display: none;
}

#aboutText{
    display: none;
}

#notesDiv{
    display: none;
}

#linksDiv{
    display: none;
}

#textBox {
    display: none;
}

li {
    margin-bottom: 6px;
}

h2 {
    font-size: 40px;
    font-family: Helvetica;
}

#videoRecordingMessageDiv{
    background: rgba(0, 0, 0, 0.85);
    color: white;
    font-family: helvetica;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    text-align: center;
    z-index: 9;
}

.hidden {
    display: none !important;
}

.sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Styling for table with github and social links */

#infoMenuTable td {
    text-align:center;
    border: 0;
    padding: 20px;
}

#infoMenuTable{
    table-layout: fixed;
    margin: 0px;
}

a, a:visited{
    color:rgb(161, 50, 154);
}

.socialMediaButton{
    color:rgb(161, 50, 154);
    font-size: 26px;
    margin: 0;
    padding: 4px;
    border: none;
    max-width: 50px;
    max-height: 50px;
    background-color: transparent;
}

#buyMeACoffeeButton {
    font-size: 10px;
}

/* Styling for image upload field */
input, select {
    cursor: pointer;
}

input[type="file"] {
    position: absolute;
    top: -9999px;
}

.custom-file-upload {
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #226f63;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
    font-family: Helvetica;
    display: inline-block;
    padding: 8px;
    cursor: pointer;
    margin-left: 3px;
    margin-right: 2px;
}

button {
    padding: 6px;
    font-weight: bold;
    font-size: 1em;
    margin: 10px 3px 10px 3px;
    border: 3px solid #79e2d2;
    border-radius: 6px;
    background-color: #ffffff;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    margin: auto;
}

td {
    max-width: 250px;
}

#buttonTable {
    display: none;
}