@font-face { /* import the font */
    font-family: 'Fixedys';
    src: url("assets/FSEX300.ttf") format('truetype'); 
}

canvas {
    border: 1px solid #d3d3d3;
    touch-action: none;
}

.gameover{
    width: 400px;
    height: 300px;
    position:absolute;
    left:50%;
    top:50%;
    z-index:2;
    transform: translate(-50%,-50%);
    background-color: rgba(69, 137, 215,0.7);
    border: 6px solid rgba(255, 167, 78);
    border-radius: 10px;
    font-family: 'Fixedys', sans-serif;
    font-size: 25px;
    text-align: center;
    color:rgb(255, 255, 255);
}

#p1{
    margin-top:180px;
}

#p3{
    margin-top: -10px;
    font-size: 16px;
}

.GO_image{
    margin-top:30px;
    height:120px;
    width:120px;
    position: absolute;
    left:50%;
    transform: translate(-50%);

    background: url('assets/gameover.png') no-repeat;
    background-size: contain;
    image-rendering: pixelated;
}

#canvasPath {
    position:absolute;
    left:0px;
    top:0px;
    z-index: 1;
}

#canvasCollision {
    position:absolute;
    left:0px;
    top:0px;
    z-index: 0;
}

/* z-index 2 important to keep planes on top of the map canvas (each plane has it's own canvas..) */
.planeCanvas {
    position:absolute;
    left:0px;
    top:0px;
    z-index: 2;
    pointer-events: none;
}

#message{
    height:300px;
    width:500px;
}

#map{
    height:300px;
    width:500px;
}

#notice{
    height:300px;
    width:300px;
    position: absolute;
    top:500px;
    left:50px;
    font-family: 'Fixedys', sans-serif;
    border-radius: 10px;
    font-size: 25px;
    text-align: center;
    border: 2px dotted rgb(145, 145, 145);
}

#note{
    padding-left:20px;
    padding-right: 20px;
}

#score{
    color:rgba(56, 56, 56, 1);
    font-size: 30px;
    position:absolute;
    left:50%;
    transform: translate(-50%);
    bottom:10px;
}
