@import url('https://fonts.googleapis.com/css2?family=Lexend&family=Rokkitt&family=Work+Sans:wght@300&display=swap');
@import url(../style.css);

* {
    box-sizing: border-box;
    font-family: 'Work Sans', 'sans-serif';
  }
  
:root {
    --background_color: #18252d;
    --border_color: #24424a8d;
    --link_color_bg: #324d5f;
    --link_color: #a7d2ef;

    --box_size: 3vw;
}
main {
    flex-basis: 100vw;
}
.ms_columns {
    display: flex;
    width: 100%;
    height: 93vh;
    flex-direction: row;
    border-right: 1px solid var(--border_color);
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

#settings {
    flex-grow: 1;
    height: 100%;
    width: 34%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: var(--border_color);
}

.minesweeper {
    display: flex;
    width: 100%;
    background-color: var(--background_color);
    justify-content: center;
    align-items: center;
    font-size: 20%;
    flex-direction: column;
}
  
.board {
    display: inline-grid;
    padding: 10px;
    grid-template-columns: repeat(var(--size), var(--box_size));
    grid-template-rows: repeat(var(--size), var(--box_size));
    border-radius: 7px;
    gap: 4px;
    background-color: var(--link_color_bg);
}
  
.board > * {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border: 2px solid #BBB;
    user-select: none;
    border-radius: 2px;
}
  
.board > [data-status="hidden"] {
    background-color: #BBB;
    cursor: pointer;
}
  
.board > [data-status="mine"] {
    background-color: red;
}
  
.board > [data-status="number"] {
    background-color: none;
    font-size: 2rem;
}
  
.board > [data-status="marked"] {
    background-color: rgb(217, 255, 0);
}

.bottomleft {
    border-right: 1px solid var(--border_color);
    border-top: 1px solid var(--border_color);
    display: flex;
    height: 7%;
    /* justify-content: flex-start; */
    align-items: center;
    width: 25%;
    font-size: 2vh;
    background-color: var(--background_color);
    transition-duration: 0.2s;
}
.bottomleft:hover {
    background-color: var(--link_color_bg);
}
.bottomleft > p {
    padding: 0;
    padding-left: 1rem;
}

#subtext {
    display: flex;
    width: calc(var(--imported_size) * var(--box_size) + 40px);
    flex-direction: row;
    align-items: center;
    color: #CCC;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.status {
    width: 100%;
}
.toolbar {
    display: flex;
    width: 100%;
    gap: .5vw;
    justify-content: right;
}
.toolbar > * {
    cursor: pointer;
}

a, .mybutton {
    background-color: var(--link_color_bg);
    transition-duration: 0.2s;
    border-radius: 3px;
    margin: 0;
    font-size: 1.5rem;
}
a:hover, .mybutton:hover {
    background-color: var(--background_color);
}

a {
    text-decoration: none;
}

h1, h2, h3, a, p, span {
    font-family: 'Work Sans', sans-serif;
    color: white;
}