/* Style sheet for minesweeper Copyright (c) 2018 Brad Thiessen, All rights reserved */

.debug {
    margin-right: 5px;
}

body {
    display: flex;
    width: 95%;
    height: 95%;
}

#top-row {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 450px;
    padding-bottom: 5px;
}

#mine-count, #timer, #grid-size {
    border: 2px solid black;
    width: 50px;
    text-align: center;
}

#reset-button, #music-button {
    width: 50px;
    color:#444;
    border:1px solid #CCC;
    background:#DDD;
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 2px;
}

#reset-button:active {
    color:red;
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.6);
}

.cell {
    text-align: center;
    background-size: 30px;

}

#game-screen {
    width: 100%;
    height: 50%;
    list-style: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

#splash-screen {
    width: 100%;
    height: 500px;
    padding-top: 0%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#background-image {
    background-image: url(../images/logo.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 500px;
    height: 500px;  
    display: flex;
    align-items: center;
    justify-content: center;
}

table { 
    border-spacing: 0px;
    border-collapse: collapse;
}

td    {
    border-spacing: 0px;
    margin: 0;
    padding: 0;
    border: 0;
    height: 30px;
    width: 30px;

}

.play-button {
    display: flex;
    align-items: center;
    justify-content: center;
    color:#444;
    border:1px solid #CCC;
    background:#DDD;
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.2);
    cursor:pointer;
    vertical-align:middle;
    max-width: 100px;
    padding: 5px;
    text-align: center;
}

.mine-button {
    background-image: url("../images/floor2.png");
    background-size: 30px;
    height: 30px;
    width: 30px;
}

.dragon {
    background-image: url("../images/bluedragon.png");
}


.flag {
    background-image: url("../images/redflag.png");
}

.zero {
    background: lightslategray;
}

.one {
    background-image: url("../images/1.png");
}

.two {
    background-image: url("../images/2.png");
}

.three {
    background-image: url("../images/3.png");
}

.four {
    background-image: url("../images/4.png");
}

.five {
    background-image: url("../images/5.png");
}

.six {
    background-image: url("../images/6.png");
}

.seven {
    background-image: url("../images/7.png");
}

.eight {
    background-image: url("../images/8.png");
}

.clicked {
    background: grey;
}

.play-button:active {
    color:red;
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.6);
}

.hide {
    display: none;
}

.show {
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
}

#winner, #loser {
    width: 450px;
}

#winner-message, .lose-message {
    border: 2px solid black;
    width: 450px;
    text-align: center;
}