/*width="450" height="400"*/


.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.header {
    flex: 1 0 100%;
}

.snakeBoard {
    display: flex;
    flex: 1 0 100%; 
}

canvas {
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 450px;
    height: 400px;
}

.button {
    position: absolute;
    z-index: 3;
    left: 46% !important;
    top: 45% !important;
    display: none;
    background-color: greenyellow;
    border: 1px solid black;
    font-size: 20px;
}

h1 {
    text-align: center;
    padding-bottom: 30px;
}

.firstRow > i, .secondRow > i {
    border: 2px solid black;
    padding: 3px;
}

.firstRow {
    display: flex;
    flex: 1 0 100%;
    margin-top: 10px;
    justify-content: center;
    margin-bottom: 2px;
    align-content: center;
    align-items: center;
    align-self: center;
}

.secondRow {
    display: flex;
    flex: 1 0 100%;
    justify-content: center;
}

.secondRow > i {
    margin-right: 2px;
}

.glyphicon {
    font-size: 70px;
}

/*
@media only screen and (max-width: 2100px){  
    .button {
        left: 525px;
    }
}
*/
/*
@media only screen and (max-width: 1200px) {
    .button {
        left: 425px;
    }
}

@media only screen and (max-width: 1000px) {
    .button {
        left: 315px;
    }
}

@media only screen and (max-width: 768px) {
    .button {
        left: 320px;
    }
}
*/
@media only screen and (max-width: 460px) {


    canvas {
        margin-left: 50px;
        width: 350px !important;
        height: 300px !important;
    
    }

    .button {
        left: 36% !important;
        top: 28% !important;
    }

    .firstRow {
        z-index: 50;
        margin-top: -55px;
    }

}

