
* {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    user-select: none;
}
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#canvas {
    box-sizing: border-box;
    border: 5px solid #000;
}

.borde {
    position: fixed;
    display: flex;
    flex-direction: column;
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 10px;
    box-sizing: border-box; 
}

.cajon {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 50px;
    box-sizing: border-box; 
    transition: all 0.2s ease;
    border-radius: 10px;
    overflow: hidden;
}

.desplegable {
    display: grid;
    place-content: center;
    width: 100%;
    min-height: 50px;
    cursor: pointer;
    color: #999;    
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: rgba(30, 30, 30, 0.7); 
    font-weight: bold;
}

.desplegable:hover {
    color: #000;    
    background-color: rgba(120, 120, 120, 0.7); 
}

.botonera {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    bottom: 0px;
    width: 100%;
    height: 200px;
    padding:5px;
    box-sizing: border-box;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: rgba(40, 40, 40, 0.7);
}

.boton {
    font-size: 12px;
    display: grid;
    place-content: center;
    padding: 5px;
    flex-grow: 1;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    width: 18%;
    height: auto;
    color: rgba(200, 200, 200, 0.7);
    background-color: rgba(60, 60, 60, 0.5);    
}

.boton:hover {
    color: #000;    
    background-color: rgba(120, 120, 120, 0.5);  
}

.lista {
    position: absolute;
    width: 280px;
    max-height: 50px;
    top: 10px;
    right: 10px;
    border-radius: 10px;
    transition: all 0.2s ease;
    overflow: hidden;
}

.titulo {
    display: grid;
    place-content: center start;
    height: 50px;
    padding-left: 20px;
    color: #999;    
    background-color: rgba(30, 30, 30, 0.7);
    font-weight: bold;
    cursor: pointer;
}

.titulo:hover {
    color: #000;    
    background-color: rgba(120, 120, 120, 0.7); 
}

.grupo {
    display: flex;
    flex-direction: row;
    height: 100%;
    color: #999;
    background-color: rgba(60, 60, 60, 0.7);
}

.objeto {
    display: grid;
    flex-grow: 2;
    place-content: center start;
    height: 50px;
    padding-left: 20px;
    cursor: pointer;
    font-size: 12px;
}

.objeto:hover {
    color: #000;    
    background-color: rgba(120, 120, 120, 0.7);    
}

.cerrar {
    display: grid;
    flex-grow: 1;
    place-content: center;
    cursor: pointer;
    min-width: 45px;
    max-width: 45px;
}

.cerrar:hover {
    color: #000;    
    background-color: rgba(120, 120, 120, 0.7);    
}

.zoombox {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 5px;
    top: 10px;
    left: 10px;
}

.zoomboton {
    display: grid;
    place-content: center;
    font-size: 30px;
    width: 50px;
    height: 50px;
    color: #999;    
    background-color: rgba(30, 30, 30, 0.7);   
    border-radius: 10px;
    cursor: pointer;
}

.zoomboton:hover {
    color: #000;    
    background-color: rgba(120, 120, 120, 0.7);   
}