* {
    box-sizing: border-box;
}

body {
    background: rgb(34, 34, 34);
    margin: 1vh 1vw;
}

main {
    display: flex;
    flex-direction: row;
}

#menu {
    width: 110px;
    height: 98vh;
    padding: 0;
    margin: 0;
    background-color: rgb(49, 54, 58);
    list-style-type: none;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

#menu:first-child {
    padding-bottom: 0; 
}

.menuTitle {
    padding: 0;
    margin: 0;
}

#menu > li {
    background-color: rgb(49, 54, 58);
    padding: 5px 0 5px 0;
    border: 2px double rgb(85, 102, 114);
}

#menu > li > div {
    border-bottom: 5px solid rgb(57, 63, 68);
}

#menu .submenu {
    list-style-type: none;
    padding: 5px 0 5px 0;
}

.submenu > li {
    padding-top: 9px;
    padding-bottom: 9px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    align-items: center;
}

.submenu > li:hover {
    background-color: rgb(52, 59, 65);
}

.simButton {
    width: 97px;
    height: 50px;
}

.simButton:hover {
    transform: scale(1.1);
}

.submenu input[type="number"] {
    width: 60px;
}

.submenu img {
    width: 80px;
}

.toolButton {
    width: 80px;
    height: 80px;
}

.toolButton:hover {
    transform: scale(1.1);
}

#btnDrawColony {
    background-image: url(img/colony_menu.png);
}

#btnDrawWall {
    background-image: url(img/wall_menu.png);
}

#btnDrawFood {
    background-image: url(img/comida_menu.png);
}

#btnEraser {
    background-image: url(img/eraser_menu.png);
}

.submenu > #smallLI {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    justify-content: center;
}

#smallLI > div {
    display: flex;
    flex-direction: row;
}

#canvas {
    background-color: rgb(37, 22, 2);
    margin: auto auto;
    display: block;
}