/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

header {
    background-color: white;
    color: black;
    padding: 1rem;
    text-align: center;
    height: 15vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

header img {
    width: 33.33%; /* Approximately one-third for each image */
    height: 100%;
    object-fit: cover; /* Cover the area without distorting aspect ratio */
}

main {
    display: flex;
    flex-grow: 1; /* Allows main to take up remaining vertical space */
}

.left-sidebar,
.right-sidebar {
    width: 150px; /* Fixed width for sidebars */
    background-color: white;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.left-sidebar {
}

.right-sidebar {
}

.column {
    flex: 1; /* The single column takes full width */
    padding: 1rem;
    border-right: none; /* No border for a single column */
    display: flex;
    flex-direction: column;
}

#p5-canvas-container {
    position: relative;
    flex-grow: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex; /* To center the canvas if it doesn't fill exactly */
    justify-content: center;
    align-items: center;
}

#p5-canvas-container canvas {
    position: absolute;
    top: 0;
    left: 0;
}

/* Example background colors for columns for visibility */
.column:nth-child(odd) {
    background-color: white;
}

.column:nth-child(even) {
    background-color: white;
}

footer {
    background-color: white;
    color: black;
    padding: 1rem;
    text-align: center;
    font-size: 24px;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#overlay-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}