@font-face {
    font-family: 'Racing';
    src: url('font/racing.ttf');
}

body {
    background-color: black;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

#title {
    font-family: 'Racing';
    padding: 10px;
    size: 28sp;
}

a {
    text-decoration: none;
}

h1,h2,h3,h4,h5 {
    margin: 0;
}

#racing-canvas {
    position: absolute;
    left: 50%;
    top: 43%;
    transform: translate(-50%, -50%);
}

#btnhelp {
    background: #FD2023;
    color: white;
    padding: 4px;
    width: 28px;
    height: 28px;
    text-align: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

#btnhelp:hover {
    background: #B91619;
    color: white;
}

#btnabout {
    background: #434343;
    color: white;
    padding: 4px;
    width: 28px;
    height: 28px;
    text-align: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

#btnabout:hover {
    background: #222222;
    color: white;
}

.mrl {
    margin-left: 6px;
    margin-right: 6px;
}

.lapis {
    display: block;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    padding: 8px;
    align-items: center;
}

#startMenu {
    width: 360px;
    position: absolute;
    padding: 10px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3em;
    text-align: center;
    /* text-shadow: 1px 1px black, 2px 2px black, 3px 3px black; */
}

#startMenu p {
    margin: 0px;
    font-size: 16px;
    text-align: center;
}

#startMenu p a {
    color: red !important;
}

#startMenu p h2 {
    margin: 0;
    padding: 4px;
}

.startbtn {
    padding: 8px 25px;
    background-color: #fff;
    border-radius: 30px;
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.startbtn:hover {
    background-color: #ccc;
    color: red;
} 

#acc {
    position: fixed;
    right: 20px;
    bottom: 40px;
    width: 64px;
    height: 64px;
    font-size: 28px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    border: none;
    display: none;
    cursor: pointer;
    text-align: center;
}

#acc:hover {
    background: red;
    color: #fff;
}

#brk {
    position: fixed;
    right: 100px;
    bottom: 40px;
    width: 64px;
    height: 64px;
    font-size: 28px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    border: none;
    display: none;
    cursor: pointer;
    text-align: center;
}

#brk:hover {
    background: red;
    color: #fff;
}

#l {
    position: fixed;
    left: 20px;
    bottom: 40px;
    width: 64px;
    height: 64px;
    font-size: 28px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    border: none;
    display: none;
    cursor: pointer;
    text-align: center;
}

#l:hover {
    background: red;
    color: #fff;
}

#r {
    position: fixed;
    left: 100px;
    bottom: 40px;
    width: 64px;
    height: 64px;
    font-size: 28px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    border: none;
    display: none;
    cursor: pointer;
    text-align: center;
}

#r:hover {
    background: red;
    color: #fff;
}

#help {
    display: none;
}

#about {
    display: none;
}

#mback {
    display: none;
}

#countdown {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 32px;
    text-shadow: 2px 2px #222;
    color: #fff;
}

.myGif {
    background-image: url('cardemo.gif');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

#endGame {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #FF000080;
    font-family: sans-serif;
}

@media only screen and (max-width: 600px) {
    #racing-canvas {
        position: absolute;
        left: 50%;
        top: 40%;
        transform: translate(-50%, -50%);
    }
}