* {
  margin: 0;
  box-sizing: border-box;
  padding: 0;
  border-radius: 20px;
}
body {
  user-select: none;  
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url(../assets/Background.jpg);
  overflow: hidden;
  background-size: cover;
  background-position: 50% 50%;
  font-family: Arial, Helvetica, sans-serif;
}
select {
  max-width: 300px;
  width: 55%;
  height: 42px;
  border-radius: 10px;
}
h2{
  margin-top: 55px;
}
div.titulo{
  color: white;
  text-shadow: 2px 2px 1px black;
  border-radius: 10px 10px 0 0;
  background-color: rgba(0, 0, 0, 0.26);
  padding: 5px;
}
div.selectMenu {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.493);
  padding: 30px;
  height: 100vh;
  width: 100vw;
  color: white;
  text-shadow: 3px 3px 2px black;
}
.start {
  margin-bottom: 70px;
  border-radius: 10px;
  width: 50vw;
  max-width: 300px;
  height: 80px;
  padding: 15px;
  font-size: 15pt;
  background-color: rgb(0, 214, 18);
  color: white;
}
button.restart {
  padding: 15px;
  border-radius: 10px;
  font-size: 15pt;
  background-color: rgb(189, 4, 4);
  color: white;
}
.restart {
  margin-bottom: 80px;
}

table {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 500px;
  text-align: center;
  border: 5px blue outset;
  border-radius: 20px;
  background-color: rgb(2, 0, 90);
  position: relative;
}
table.board::before {
  content: "";
  position: absolute;
  top: var(--win-bar-top, 0);
  left: var(--win-bar-left, 0);
  transform: var(--win-bar-transform, none);
  width: var(--win-bar-width, 0);
  height: var(--win-bar-height);
  background-color: rgb(218, 1, 1);
  border-radius: 6px;
  animation: grow 0.8s ease-in-out;
}
@keyframes grow {
  from {
    scale: 0%;
  }
}
td {
  box-sizing: content-box;
  width: 150px;
  height: 150px;
  border-radius: 20px;
  font: 42pt arial;
  color: red;
  border: rgb(0, 113, 243) 4px solid;
  background-color: azure;
  text-shadow: 2px 1px 0 black;
}
td.marked {
  animation: font 0.2s ease-in-out;
}

@keyframes font {
  from {
    font-size: 0;
  }
}
.Final {
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  width: 600px;
  position: absolute;
  border: 4px solid black;
  z-index: 9;
  height: 450px;
  background-color: white;
  background-position: start;
  background-size: cover;
  border-radius: 30px;
  position: absolute;
  display: none;
}
@media (max-width: 600px) {
  body {
    overflow: hidden;
    justify-content: start;
    padding-top: 125px;
  }
  .Final {
    width: 325px;
    height: 520px;
    display: none;
  }
  table {
    width: 320px;
    height: 320px;
  }
  td {
    width: 90px;
    height: 90px;
    font: 35pt arial;
  }
  div.selectMenu{
    justify-content: center;
  }
  select{
    margin: 40px 0;
  }
}
