@import url("https://fonts.googleapis.com/css2?family=Poppins&family=Roboto&display=swap");

:root {
  --font1: "Roboto", serif;
  --color1: #99a3a3;
  --color2: #eee;
  --color3: #333;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font1);
  background-color: var(--color1);
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* max-width: 700px; */
  /* margin: 20px auto; */
}

.box {
  background-color: #eee;
  text-align: center;
  border: 1px solid #eee;
  cursor: grab;
  height: 80px;
  min-width: 80px;
  line-height: 80px;
}


.message,
.message2 {
  text-align: center;
  font-size: 18px;
  margin: 16px auto;
}

.message2 {
  margin: 0 0 14px 0;
}

.active {
  border: 1px solid #999;
}

/* .game { */
.gameContainer {
  display: grid;
  /* width: 90vw; */
  margin: auto;
  gap: 10px;
  margin-bottom: 20px 0 30px 0;
}

.startGameBtn,
.playBtn {
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  background-color: #788b8b;
  color: #111;
  padding: 8px 16px;
  margin: 20px auto;
  /* outline: none; */
  border: 1px solid #808080;
  letter-spacing: 1px;
  cursor: pointer;
}

.startGameBtn:hover,
.playBtn:hover {
  background-color: rgba(120, 139, 139, 0.3);
}

.mode {
  font-size: 14px;
  border: 2px solid #dddddd;
  background: transparent;
  border: 1px solid #111;
  outline: none;
  padding: 10px;
  margin-top: 6px
}

.mode option {
  background-color: #788b8b;
  color: #111;
}

.mode:hover,
.mode:focus {
  background: #dddddd;
}

/*  COPYRIGHT */
.copy {
  position: fixed;
  bottom: 0;
  text-align: center;
  width: 100%;
  background-color: #99a3a3;
  color: #616e6e;
  font-size: 12px;
  letter-spacing: 1.2px;
  padding: 12px 0;
}

.copy a {
  color: #616e6e;
  text-decoration: underline;
  text-decoration-color: #616e6e;
  text-underline-offset: 5px;
}

.copy a:hover {
  color: #616e6e;
  text-decoration: none;
}

@media only screen and (max-width: 470px) {

  .box {
    height: 60px;
    min-width: 60px;
    line-height: 60px;
    font-size: 14px;
  }

}

@media only screen and (max-width: 370px) {


  h1 {
    font-size: 28px;
    text-align: center;
  }

  .startGameBtn {
    padding: 6px 12px;
  }

  .copy {
    line-height: 1.5;
  }

  .copy a {
    text-underline-offset: 2px;
  }

  .copy2 {
    display: block;
  }
}


@media only screen and (max-width: 350px) {

  .gameContainer {
    gap: 2px;
  }


  .box {
    font-size: 14px;
  }
}