.app {
  height: 100vh;
  width: 100vw;
  background-color: white;
  font-family: 'Open Sans', sans-serif;
  color: #262626;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-content: center; }

h1,
h2,
h3,
h4,
h5 {
  color: #3b3b3b;
  margin: 0;
  padding: 0; }

a {
  color: inherit;
  text-decoration: none;
  text-align: center; }
  a:visited {
    color: inherit; }
  a:hover {
    cursor: pointer;
    color: #ff6900; }
  a:active {
    color: darkgrey; }

.alink {
  font-size: 0.75em;
  color: #999797;
  text-decoration: underline; }
  @media (hover: hover) {
    .alink:hover {
      cursor: pointer;
      color: #ff6900;
      transition: 0.3s; } }

.icon {
  width: 25px;
  height: 25px;
  opacity: 0.5;
  transition: 0.1s; }

button {
  background-color: white;
  width: 100%;
  padding: 10px;
  margin: 4px;
  border: 2px solid #ff6900;
  border-radius: 4px;
  font-weight: bold;
  color: #999797;
  transition: 0.1s;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center; }
  button.hidden {
    padding: 0;
    margin: -3px;
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    transition: height 0.2s 0.2s, opacity 0.2s, visibility 0 0.4s; }
  button:active {
    background-color: #b6bcc9; }
  @media (hover: hover) {
    button:hover {
      cursor: pointer;
      border: 2px solid #b24900;
      color: #ff6900;
      transition: 0.1s; }
      button:hover .icon {
        opacity: 0.7;
        transition: 0.1s; } }

* {
  -webkit-user-select: none;
  /* webkit (safari, chrome) browsers */
  -moz-user-select: none;
  /* mozilla browsers */
  -khtml-user-select: none;
  /* webkit (konqueror) browsers */
  -ms-user-select: none;
  /* IE10+ */
  -o-user-select: none;
  user-select: none; }

::-webkit-scrollbar {
  display: block;
  width: 3px;
  /* Handle */ }
  ::-webkit-scrollbar-track {
    display: none; }
  ::-webkit-scrollbar-thumb {
    background: #ff6900; }
    ::-webkit-scrollbar-thumb:hover {
      background: white;
      cursor: pointer; }

.menu {
  height: 45px;
  background-color: #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center; }

.minesweeper-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #999797;
  position: relative; }

.minesweeper-menu {
  width: 100%;
  max-width: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; }
  .minesweeper-menu .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%; }

.canvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  overflow-x: scroll; }
  .canvas .board {
    position: relative;
    margin: 14px;
    margin-bottom: 30px; }
    .canvas .board .game-end-overlay {
      position: absolute;
      z-index: 33;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center; }
      .canvas .board .game-end-overlay > h3 {
        color: #ff6900; }
    .canvas .board-row {
      display: flex;
      justify-content: center;
      width: 100%; }
      .canvas .board-row .cell {
        width: 25px;
        height: 25px;
        border: 0.5px solid #262626;
        background-color: #b6bcc9;
        font-size: 0.9em;
        display: flex;
        justify-content: center;
        align-items: center; }
        .canvas .board-row .cell.highlighted {
          background-color: #d2eaeb; }
        @media (hover: hover) {
          .canvas .board-row .cell.hover:hover {
            background-color: #a6d6d7; } }
        @media (hover: hover) {
          .canvas .board-row .cell:hover {
            cursor: default; } }
        .canvas .board-row .cell.open {
          background-color: white; }
        .canvas .board-row .cell.exploded {
          color: white;
          font-weight: bold;
          background-color: #ff6900; }

.select-board {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; }

.counter {
  box-sizing: border-box;
  width: 100%;
  padding: 0 10px;
  display: flex;
  justify-content: space-between; }

.leaderboard {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.15);
  color: #e6e6e6;
  font-size: 0.8em;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  overflow-y: scroll; }
  .leaderboard h4 {
    color: #e6e6e6; }
  .leaderboard .score {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e6e6e6;
    margin-bottom: 7px; }

.add-to-db {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; }
  .add-to-db .input {
    display: flex;
    align-items: center; }
    .add-to-db .input input {
      border: 2px solid white;
      border-radius: 2px;
      padding: 5px;
      margin: 0;
      width: 60%; }

.error {
  font-size: 0.8em;
  color: #ff6900; }
