﻿body {
    background-color: #ccffff;
    font-family: "Clear Sans", "Helvetica Neue", Arial, sans-serif;
    display:flex;
}

.img {
    width: 60px;
    height: 40px;
    border-radius: 50px;
    position: absolute;
    bottom: 570px;
    left: 891px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    z-index: 2;
}

.restartgame {
    width: 60px;
    height: 40px;
    border-radius: 50px;
    position: absolute;
    bottom: 570px;
    left: 460px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    z-index:2;
}

.labels {
    margin: auto;
    margin-top: 10px;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    color: #303a21;
    word-wrap: break-word;
    margin-bottom: 50px;
    font-family: cursive;
}

.leftimg {
    width: 29px;
    margin-left: 3px;
    margin-top: 4px;
}

.rightimg {
    width: 29px;
    margin-left: -1px;
    margin-top: 3px;
}

.downimg {
    width: 29px;
    margin-left: -1px;
    margin-top: 1px;
}

.resetimg {
    width: 29px;
    margin-left: -1px;
    margin-top: 1px;
}

.frame {
    margin: auto;
    padding: 5px 0px;
    width: 116px;
    border: 2px solid #303a21;
    border-radius: 14px;
}

.btn {
    display: block;
    margin: auto;
    margin-top: 10px;
    background-color: white;
    color: #c4d6a7;
    padding: 10px 5px;
    text-transform: uppercase;
    font-size: 10px;
    border: 0px;
    cursor: pointer;
    border: 0px;
}

.btn-rounded {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.fa {
    font-size: 14px;
}

.flipx {
    transform: scaleX(-1);
}

#score {
    margin-top: 5px;
}

#outer-board {
    width: 365px;
    margin: auto;
}

#board {
    float: left;
    position: relative;
    background-color: #c4d6a7;
    width: 280px;
    height: 448px;
    margin: 10px auto;
    border: 3px solid black;
    margin-left: 60px;
    margin-top: -5px;
}

.btnleft {
    margin-left: 7px;
    margin-top: -42px;
}

.btnright {
    margin-top: -50px;
    margin-left: 78px;
}

.btnrst {
    margin-left: 152px;
    margin-top: -49px;
}

.btndown {
    margin-left: 224px;
    margin-top: -49px;
}

#stats {
    float: right;
    position: relative;
    background-color: turquoise;
    width: 281px;
    height: 133px;
    margin: 10px auto;
    border: 3px solid black;
    margin-right: 18px;
    margin-top: -4px;
}

#banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background-color: turquoise;
    color: black;
    z-index: 2;
    text-align: center;
    border-radius: 48px;
}

#message {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 23px;
    margin: 10px;
    margin-top: 40px;
    font-family: cursive;
}

#new-game {
    font-weight: 100;
    cursor: pointer;
    margin-top: 42px;
    font-size: 29px;
    border-radius: 15px;
    color: black;
    background-color: powderblue;
    box-shadow: 7px 7px black;
    font-family: cursive;
}

.block,
.empty {
    position: absolute;
    background-color: #c4d6a7;
    width: 28px;
    height: 28px;
}

.empty {
    opacity: 0.2;
}

.inner-tile {
    position: absolute;
    background-color: blue;
    border: 4px solid yellow;
    width: 14px;
    height: 14px;
    margin: 3px;
}

.inner-inner-tile {
    position: absolute;
    background-color: red;
    width: 8px;
    height: 8px;
    margin: 3px;
}

@media screen and (max-width:1000px){
    #board {
        margin-left: 30px;
        margin-top: 90px;
    }

    #stats {
        margin-right: 27px;
        bottom: -25px;
    }

    .img {
        margin-left: -635px;
        top: 35px;
    }

    .restartgame {
        margin-left: -416px;
        top: 35px;
    }
}
