@import url('VarelaRound-Regular.ttf');

body,
html {
    user-select: none;
    -moz-user-select: none;
    overflow: hidden;
    height: 100%;
    width: 100%;
    /*    background: linear-gradient(to bottom, #ec1c24 0%,#92151b 100%);*/
    /*    background: linear-gradient(to bottom, #7db9e8 0%,#1e5799 100%);*/
    background-image: url(backgroundSmall.jpg);
    background-repeat: repeat;

}

#board {
    margin-top: 12px !important;
    display: table;
    width: 87vmin;
    height: 87vmin;
    border-collapse: collapse;
    border-style: hidden;
    table-layout: fixed;
    margin: auto;
    background-color: #e6e7e8;
}

.row {
    display: table-row;
}

.cell {
    font-family: 'Varela Round', sans-serif;
    font-weight: 800;
    display: table-cell;
    border: 2vmin solid #6a6f72;
    text-align: center;
    vertical-align: middle;
    width: 30vmin;
    height: 30vmin;
    font-size: 24vmin;
    cursor: default;
    color: #01101c;
}

.cell.free {
    cursor: pointer;
}

.cell.o {
    /*	color: #1c75bc;*/
    color: red;
}

/*
.cell.free.o:hover {
	background: #1c75bc;
}

.cell.free:hover {
	background: #01101c;
}
*/

#gameover {
    position: absolute;
    width: 700px;
    height: 300px;
    background: orange;
    /*	background: rgba(0, 0, 0, 0.5);*/
    margin-left: 163px;
    top: 200px;
    z-index: 100;
    line-height: 30vh;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 3px #000;
    font-size: 15vmin;
    border-radius: 10px;
    box-shadow: 0px 2px 20px #000;
}

#tapToContinue {
    color: white;
    font-size: 10vmin;
    position: absolute;
    top: 380px;
    z-index: 100;
    text-shadow: 2px 2px 3px #000;
    margin-left: 255px;
}

#typebtn {
    display: inline-block;
    font-size: 5vmin;
    cursor: pointer;
    color: white;
    background: #444;
    border-radius: 2vmin;
    padding-left: 2vmin;
    padding-right: 2vmin;
}

#diffbtn {
    display: inline-block;
    font-size: 5vmin;
    cursor: pointer;
    color: white;
    background: #444;
    border-radius: 2vmin;
    padding-left: 2vmin;
    padding-right: 2vmin;
}

#status {
    display: inline-block;
    font-size: 5vmin;
    text-align: center;
    padding-left: 2vmin;
}


@font-face {
    font-family: 'roundedFont';
    src: url(VarelaRound-Regular.ttf);
}

/*
#settingsContainer {
    background: white;
    width: 90vw;
    height: 60vw;
    left: 5vw;
    position: absolute;
    top: 30px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 3px 3px 10px 0 rgba(0, 0, 0, 0.19);
    z-index: 100;
    border-radius: 15px;
}
*/

.btn {
    border: 1px solid #bbb;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    height: 38px;
    letter-spacing: 0.1rem;
    line-height: 38px;
    padding: 0 30px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 3px 3px 10px 0 rgba(0, 0, 0, 0.19);
}


.difficultyBtn {
    color: #333;
    font-size: 17pt;
    line-height: 2.2;
    margin-right: 30px;
    width: 200px;
    height: 50px;
    background-color: #f3f0a1;
    font-family: sans-serif;
}

.btnSelected {
    background-color: #fbe100;
}

.text-center {
    text-align: center;
}

.optionBtn {
    width: 300px;
}

.startGameBtn {
    background-color: #5cb85c;
    color: white;
    width: 200px;
    height: 50px;
    font-family: sans-serif;
    font-size: 17pt;
    line-height: 2.2;
}

.leftBtn {
    margin-right: 25px;
    margin-top: 60px;
}

.headerImg {
    width: 450px;
    margin-left: 160px;
}

#closemenubtn {
    line-height: 2.5;
    font-size: 15pt;
    float: right;
    border-radius: 10px;
    height: 50px;
    width: 150px;
    box-shadow: none;
    text-shadow: 1px 1px 2px #000;
    background-color: darkorange;
    color: white;
}

#menubtn {
    color: white;
    height: 50px;
    font-size: 18pt;
    line-height: 2;
    position: absolute;
    left: 10px;
    top: 10px;
    width: 150px;
    z-index: 10;
    text-shadow: 1px 2px 1px #000;
    background: darkorange;
}

/*
#menubtn:hover {
	background: yellow;
	color: black;
}
*/

.optionsModal {
    background-color: #ffffff;
    border: 1px solid #707070;
    margin: 0 auto;
    /*    position: relative;*/
    top: 50%;
    width: 70%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 15px;
    font-family: sans-serif;
    font-family: Segoe UI;
    box-shadow: 3px 3px 10px #333;
    z-index: 99999;
    position: absolute;
    left: 50%;
    margin-left: -35%;
}

#optionsModalBack {
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.8;
    position: absolute;
    z-index: 9999;
    overflow: hidden;
    top: 0px;
    left: 0;
}

.optionsModal_header {
    background-color: #189793;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: block;
    margin-top: -24px;
    width: 100.3%;
    margin-left: -1px;
}

.optionsModal_header p {
    text-align: center;
    padding-top: 11px;
    padding-bottom: 11px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 3px #333;
    font-size: 18pt;
}

.optionsModal_content {
    padding: 20px;

}

.optionsModal_content span {
    font-size: 17pt;
    padding-left: 20px;
    padding-right: 20px;
    color: #4D4D4D;
}

.optionsModal_content .optionsTitle {
    color: #20615F;
    font-weight: 600;
    font-size: 15pt;
    padding-bottom: 30px;
}

.optionsModal_content .optionsBtn {
    background-color: #2FBF2A;
    border: 2px solid #22821E;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 3px #333;
    text-align: center;
    padding: 10px;
    display: inline-block;
    border-radius: 6px;
    font-size: 14pt;
}

.btnSelected {
    background-color: #2FBF2A;
    border: 2px solid #22821E;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 1px 1px 3px #333;
    text-align: center;
    padding: 10px !important;
    display: inline-block;
    border-radius: 6px;
    font-size: 14pt !important;
}

hr {
    width: 94%;
    margin-bottom: 20px;
}

.optionsModal_content .playBtn {
    text-align: center;
    background-color: #189793;
    font-weight: 700;
    text-shadow: 1px 1px 3px #333;
    color: #ffffff;
    padding: 10px;
    width: 90px;
    border: 2px solid #0E605D;
    border-radius: 6px;
    margin: 0 auto;
    font-size: 16pt;
    margin-left: 17px;
    float: left;
    margin-bottom: 20px;
}

.optionsModal_content .howToPlayBtn {
    text-align: center;
    background-color: #348CE5;
    font-weight: 700;
    text-shadow: 1px 1px 3px #333;
    color: #ffffff;
    padding: 10px;
    width: 150px;
    border: 2px solid #1C4A78;
    border-radius: 6px;
    margin: 0 auto;
    font-size: 16pt;
    margin-right: 17px;
    float: right;
    margin-bottom: 20px;
}

#howToPlayContent {
    display: none;
    overflow-y: scroll;
    height: 200px;
    padding: 10px;
}
@media (min-width: 1100px) {
    #gameover {
        margin-left: 15%;
        text-align: center;
        height: 400px;
        line-height: 3;
        width: 900px;
        font-size: 110px;
        font-family: sans-serif;
    }
        #tapToContinue {
        margin-top: 100px;
        margin-left: 28%;
        font-size: 70px;
        font-family: sans-serif;
    }
}


@media (min-width: 1600px) {
    #settingsContainer {
    }

    #gameover {
        margin-left: 24%;
        text-align: center;
        height: 400px;
        line-height: 3;
        width: 900px;
        font-size: 110px;
        font-family: sans-serif;
    }

    #tapToContinue {
        margin-top: 100px;
        margin-left: 34%;
        font-size: 70px;
        font-family: sans-serif;
    }

    #menubtn {
        width: 200px;
        height: 80px;
        font-size: 40px;
        font-family: sans-serif;
    }
}

@media (min-width: 1800px) {
    #settingsContainer {
        height: 35vw;
        margin-top: 120px;
    }

    #gameover {
        margin-left: 26%;
        text-align: center;
        height: 400px;
        line-height: 3;
        width: 900px;
        font-size: 110px;
        font-family: sans-serif;
    }

    #tapToContinue {
        margin-top: 100px;
        margin-left: 33%;
        font-size: 80px;
        font-family: sans-serif;
    }

    #menubtn {
        width: 200px;
        height: 80px;
        font-size: 40px;
        font-family: sans-serif;
    }
}
