/* Copyright (c) 2021 Curtis Reynolds */

html{
    font-family: 'Oxygen', sans-serif;
    background-color:#151B25;
    height:100%;
}

body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0%;
    height:100%;
}

/* Scaling for smaller monitors */
.scale80{
    transform: scale(0.8);
}
.scale60{
    transform: scale(0.6);
}
/* Link styles */
a{
    color:#bb86fc;
}
a:visited{
    color:#bb86fc;
}
a:hover{
    color:#c7fc86;
}

ul{
    padding:0%;
    margin: 0%;
}

li{
    list-style: none;
    padding: 1em;
}

table{
    width: 95%;
    height: 95%;
}

td{
    background-color:grey;
    border: 2px;
    border-color:black;
    font-size: 100%;
    padding: 0%;
}

#main-container{
    width:100%;
    display: flex;
    justify-content: center;
}

#game-wrap{
    padding:1%;
    min-width: 780px;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #121212;
}

#game-ui{
    height:15%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

#game-grid{
    height:100%;
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#pause-screen{
    height: 98%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #1d1d1d;
    font-size:70px;
    border: solid 5px #bb86fc;

}

#title-menu-height{
    height:70%;
}

#high-score{
    width:100%;
    margin-top:5%;
    padding-left:10%;
    padding-bottom:5%;
    display: flex;
    text-align: left;
    justify-content: center;
}

#end-stats{
    padding-top:5%;
}

#options-difficulty{
    margin-right:5%;
}

.instructions{
    padding: 0px;
    margin: 0px;
    margin-left:10%;
    width: 80%;
    list-style:disc;
    text-align: left;
    font-size:20px;
    padding:5px;
}

.section-size{
    min-height:760px;
    border-radius: 10px;
    width:100%;
    background-color: #1d1d1d;
    padding-bottom:15%;
}

.return-spacing{
    height:20%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:10px;
}

.title{
    height:30%;
    font-size: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color:white;
}

.line{
    margin-left: 10%;
    height:5px;
    width:80%;
    border-bottom: solid 3px #bb86fc;
}

.screen-content-height{
    height:55%;
}

.menu-button{
    padding: 18px 36px;
    font-size: 28px;
    width:170px;
    border-radius: 10px;
}

.option-button{
    padding: 18px 36px;
    font-size: 18px;
    width:120px;
    border-radius: 10px;
}
.ui-button{
    margin-top: 5px;
    padding: 12px 32px;
    font-size: 16px;
    width:70px;
}
.button
{
    background-color: #bb86fc;
    border:none;
    color: #070707;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    border-radius: 10px;
}
.button-hover{
    background-color: #c7fc86;
}
.button-select{
    background-color: #c7fc86;
}
.option-list{
    padding-top:6%;
    padding-bottom:6%;
}
.custom-par{
    text-align: center;
    font-size: 30px;
    color:white;
}

.ui-box{
    width:80px;
    height:80px;
    border: solid 2px #c7fc86;
}

.inline-flex{
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.high-score-box{
    width:30%;
}

.high-score-list{
    padding:0%;
}

.hidden{
    display:none !important;
}

.grid-clicked{
    background-color:#c7fc86;
}
.grid-with-number{
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.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");
}
.grid-with-mine{
    background-image: url("../images/mine.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.grid-with-flagged_mine{
    background-image: url("../images/flagged_mine.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.grid-right-clicked{
    background-image: url("../images/Flag.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}