:root{
    --buttons : #b2a6a692;
    --background : #E3E1D9;
    --sidebar : #F2EFE5;
    --highlight: #757575;
}

#title{
    font-size: 40px;
}

#titleContainer{
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

button {
    background-color: var(--buttons);
    cursor: pointer;
    border: none;
    float: center;
}

#openSidebar {
    position: absolute;
    top: 0;
    left: 0;
}

.controlButtons {
    width: 30%; 
    border-radius: 5px; 
    box-sizing: border-box; 
    display: inline-block; 
    text-align: center; 
    margin-top: 5px;
  }
  
.controlButtons:hover {
    background-color: var(--highlight)
}

#openSidebar:hover {
    background-color: var(--highlight);
}

body {
    overflow: hidden;
    background-color: var(--background);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    background-color: var(--sidebar);
    border-right: 10px solid var(--sidebar);
    border-left: 10px solid var(--sidebar);
    overflow-y: auto;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#title {
    margin: 0;
    text-align: center;
}

#closeSidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
}

#closeSidebar:hover {
    background-color: var(--highlight);
}

#controlButtonsContainer {
    width: 100%;
    text-align: center;
}

#speedSlider {
    width: 80%;
}

#AdjustWindow {
    width: 80%;
}

#menuContainer {
    height: auto;
    overflow-y: auto; 
    overflow-x: hidden; 
    word-wrap: break-word; 

    margin-top: 10px;
    margin-bottom: 10px;
}

.menuItem {
    padding: 10px;
    cursor: pointer;
}
.menuItem:hover {
    background-color: var(--buttons) 
}
.menuItem:active {
    background-color: var(--highlight) 
}

#previewCanvas {
    padding-top : 40px;
    border: 10px
}

#speedometer {
    width: 30px;
    height: 30px;
}

#selectedPatternDisplay {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 50px;
}

#speedometerContainer {
    justify-content: center; 
}

#searchBoxContainer {
    width: 100%; 
    display: flex;
    flex-direction: row; 
    align-items: center; 
    justify-content: center; 
}

#searchBox {
    margin: 5px;
}

#cellButton {
    margin: 5px;
}