html, body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    overflow: hidden;
}

body {
    width: 100vw;
    height: 100vh;
}

/* Scale canvas with resize attribute to full size */
canvas[resize] {
    width: 100%;
    height: 100%;
}

.tools {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    overflow: hidden;
}

.tools button {
    min-width: 75px;
    width: 75px;
    height: 150px;
    color: transparent;
    display: block;
    text-align: center;
    -webkit-appearance: none;
    border: none;
    border-left: none;
    border-bottom: none;
    padding: 0;
    margin: 0;
    font-size: 20px;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    transform: translate(0, 50%);
    background-repeat: no-repeat;
    outline: none;
    transition: .5s;
    -webkit-transition: .5s;
    -webkit-transform: translate(0, 50%);
}

.tools button,
.tools button:active,
.tools button:focus,
.tools button:hover {
    outline: none;
}

.tools button.active {
    z-index: 1;
    transform: translate(0%, 0%);
    -webkit-transform: translate(0, 0);
}
.observer #move,
.observer #pen,
.observer #brush,
.observer #eraser
{
    display: none;
}

#pen {
    background-image: url("images/crayon.svg");
}

#brush {
    background-image: url("images/brosse.svg");
}

#eraser {
    width: 100px;
    background-image: url("images/gomme.svg");
}

#move {
    width: 130px;
    background-image: url("images/chaussures.svg");
}
#home {
    width: 130px;
    background-size:45%;
    background-position: top center;
    background-image: url("images/gateau.svg");
}

#notifications {
    position: fixed;
    pointer-events: none;
    top: 20px;
    right: 20px;
}

@keyframes pop {
    0% {
        transform: scale(0);
    }
}

@keyframes close {
    50% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        height: 0;
    }
}

.notification {
    overflow: hidden;
    position: relative;
    transition: 1s;
    -webkit-transition: 1s;
    animation: pop 0.3s linear 1;
    -webkit-animation: pop 0.3s linear 1;
}
.notification > div{
    width: 200px;
    background: #ccc;
    border: solid #80000000 1px;
    border-radius: 10px;
    padding: 10px;
    margin: 0 0 20px;
    box-sizing: border-box;
}

.notification.close {
    animation: close 1s linear 1 both;
    -webkit-animation: close 1s linear 1 both;
}

.notification.penelope > div {
    background: #ffff00;
}

.notification.ines > div {
    background: #ff6699;
}

.notification.marcel > div {
    background: #33ddff;
}