A KVM switch emulator using UDP/IP
body {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Lato', sans-serif;
}

.header {
    font-size: 2.5em;
    flex: 0;
    text-align: center;
    text-transform: capitalize;
    background-color: #2196F3;
    color: #ffffff;
    margin: 0;
    padding: 15px;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.25);
}

.canvas {
    flex: 1;
    overflow: hidden;
}

.view {
    position: relative;
}

.draggable {
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dragging {
    cursor: move;
}

.screen {
    font-size: 1.25em;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    position: absolute;
    box-sizing: border-box;
    background-color: #727272;
    color: #ffffff;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out, box-shadow 0.2s ease-out;
}

.screen.local {
    background-color: #2196F3;
    color: #ffffff;
}

.screen.dragging {
    transform: scale(1.10);
    box-shadow: 0px 0px 20px rgba(5,0,0,0.50);
    opacity: 0.75;
}

.screen-name {
    text-align: center;
}