* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Galindo';
}

#game-title {
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

    #game-title img {
        display: block;
        height: auto;
        width: 200px;
        margin-bottom: 10px;
        margin-left: calc(50% - 100px);
    }


#score {
    position: relative;
    width: 100vw;
    max-width: 600px;
    background-color: black;
    border-bottom-left-radius: 21px;
    border-bottom-right-radius: 21px;
    color: white;
    margin: 0;
    padding: 15px;
    font-size: 14vw;
}

#game {
    position: relative;
    width: 100vw;
    height: 100vw;
    max-width: 600px;
    max-height: 600px;
    background-color: black;
    border-top-left-radius: 21px;
    border-top-right-radius: 21px;
    margin: 0;
    padding: 15px;
}

    #game .square {
        color: white;
        text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
        background-color: #dc00dc;
        width: 25%;
        height: 100%;
        border: 2px solid black;
        border-radius: 6px;
        float: left;
        font-size: 17vw;
        text-align: center;
        cursor: default;
        background: url(Burple/burple-siffra.png);
        background-size: contain;
    }

        #game .square[data-type="double"] {
            font-size: 11vw;
            padding-top: 3.5vw;
        }

        #game .square[data-type="tripple"] {
            font-size: 8vw;
            padding-top: 5.5vw;
        }

        #game .square[data-type="quadruple"] {
            font-size: 5.5vw;
            padding-top: 7vw;
        }

        #game .square[data-hinder="true"] {
            background: url(Burple/burple-block.png);
            background-size: contain;
        }

        #game .square:not([data-hinder]):hover, #game .square.activeSquare {
            /*color: black;*/
            /*background-color: #7f0380;*/
            background: url(Burple/burple-flytta.png);
            background-size: contain;
        }

        #game .square.adjecent {
            /*background-color: #de77de;*/
            background: url(Burple/burple-hover.png);
            background-size: contain;
        }

            #game .square.adjecent:hover {
                background: url(Burple/burple-markerad.png);
                background-size: contain;
            }

        #game .square.burple {
            background: url(Burple/burple-burple.png);
            background-size: contain;
            animation-name: burple;
            animation-duration: 1s;
            animation-iteration-count: infinite;
        }

            #game .square.burple:hover {
                border-color: white;
            }

@keyframes burple {
    0% {
        border-color: transparent;
    }

    50% {
        border-color: white;
    }

    100% {
        border-color: transparent;
    }
}

@media screen and (min-width: 620px) {
    #game, #score {
        margin: 0 auto;
    }
}

@media screen and (min-width: 600px) {
    #game .square {
        font-size: 110px;
    }

        #game .square[data-type="double"] {
            font-size: 75px;
            padding-top: 20px;
        }

        #game .square[data-type="tripple"] {
            font-size: 55px;
            padding-top: 30px;
        }

        #game .square[data-type="quadruple"] {
            font-size: 38px;
            padding-top: 45px;
        }

    #score, #game-title {
        font-size: 80px;
    }
}