
canvas {
    background-color: #422440;
    display: block;
    margin: auto;
    box-sizing: border-box;
   border-radius: 1%;
    box-shadow: inset 0 0 50px #fff, inset -20px 0 300px rgb(42, 52, 189), 0 0 50px #fff, 10px 0 80px rgb(255, 0, 234);
   /* margin-top: -160px;*/
}
.container{
    flex-direction: row;
    height: 100vh;
   width: 85%;
    display: flex;
    align-items: center;
    align-content: center;
    margin-left: 50px;

}

.wrapper{
    display: flex;
    flex-direction:column ;
    align-items: center;
    align-content: center;

}
h1 {
    font-size: 40px;
    color: #f011cb;
   /* margin-left: 50px;
    margin-top: 100px;*/
    font-family: 'Press Start 2P', cursive;

}

#score {
    font-size: 60px;
    font-weight: 900;
    color: #f011cb;
    font-family: 'Press Start 2P', cursive;
   /* margin-left: 100px;
    margin-top: 10px;*/

}

body {
    background-image: url("../assets/img/snakeGame/retro.jpg");
    min-height: 100vh;
    min-width: 100%;
    overflow-y: scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* center instead of central*/
}

* {
    margin: 0;
    padding: 0;
}

.navbar {
    width: 100%;
    overflow: auto;
    font-family: 'Press Start 2P', cursive;
}

.navbar a {
    float: left;
    padding: 12px;
    color: white;
    text-decoration: none;
    font-size: 17px;
}

.navbar a:hover {
    background-color: #f011cb;
}

@media screen and (max-width: 900px) {






    .container {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    #score{
        font-size: 40px;

    }
    h1{
        font-size: 20px;
    }
/*#flex-container {
    display: flex;
    flex-shrink: inherit;
}*/

}
button {
    color: #f011cb;
    border: none;
    font-family: 'Press Start 2P', cursive;
    background-image: linear-gradient(326deg, #a4508b 0%, #5f0a87 74%);
    margin: 10px;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    box-shadow: inset 0 0 50px #fff, inset -20px 0 300px rgb(42, 52, 189), 0 0 50px #fff, 10px 0 80px rgb(255, 0, 234);
    font-size: 16px;
    border-radius: 50px 20px;
}
