.title-head {
  margin: 60px 0px 10px 0px;
  padding: 0px 10px;
  border-bottom: 2px solid white;
}
.load {
  padding: 10px 15px;
  font-size: 25px;
  color: greenyellow;
  background-color: black;
  border: 2px solid greenyellow;
  border-radius: 10px;
}
.load:active, .load:hover {
  background-color: greenyellow;
  color: black;
}

.card {
  width: 60vw;
  height: 20vh;
  min-width: 300px;
  min-height: 120px;
  margin: 20px 0px;
  border-radius: 10px;
  background-color: rgba(79, 251, 63, 0.453);
  backdrop-filter: blur(2px);
  font-size: 7vmin;
  color: aliceblue;
  text-shadow: 0 0 25px greenyellow;
  display:  flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.sub-title {
  font-size: 20px;
  padding: 10px 10px;
  border-bottom: solid 2px white;
}

.project {
  background-color: rgba(79, 251, 63, 0.453);
  backdrop-filter: blur(2px);
  height: 70vh;
  width: 70vw;
  min-height: 400px;
  min-width: 300px;
  max-width: 600px;
  max-height: 600px;
  margin: 40px 0px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  color: white;
}

.board {
  width: 60vmin;
  height: 60vmin;
  max-height: 300px;
  max-width: 300px;
  min-height: 200px;
  min-width: 200px;
  margin: 5vmin 0px;
}

.project h1 {
  font-size: 8vmin;
  text-align: center;
  margin-top: 5vmin;
}

.project button {
  font-size: 20px;
  padding: 2vmin 3vmin;
  margin-bottom: 5vmin;
  border: none;
  border-radius: 8px;
  background-color: rgb(79, 251, 63);
}

.project button:hover, .project button:active  {
  background-color: black;
  color: rgb(79, 251, 63);
  cursor: pointer;
}

/* TicTacToe CSS */
.tttwinner {
  display: none;
  text-shadow: none;
  background-color: white;
  border-radius: 5px;
  font-size: 4vmin;
  position: absolute;
  text-align: center;
  z-index: 1;
}
.playerWin {
  display: block;
  color: rgb(79, 251, 63);
}
.computerWin {
  display: block;
  color: rgb(255, 21, 21);
}
.draw {
  display: block;
  color: rgb(249, 203, 118);
}

.win {
  background: #0ff30f;
}

.win:hover, .win:active {
  background: #0ff30f;
}


.ttt-board {
  display: grid;
  grid-template-columns: auto auto auto;
}

.block {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  border: 3px solid black;
  max-height: 100px;
  max-width: 100px;
  min-height: 40px;
  min-width: 40px;
}

.block:hover, .block:active {
  cursor: pointer;
  background: rgb(79, 251, 63);
}

.occupied:hover {
  background: rgba(255, 255, 255, 0);
}

.cell_0,
.cell_1,
.cell_2 {
  border-top: none;
}

.cell_0,
.cell_3,
.cell_6 {
  border-left: none;
}

.cell_6,
.cell_7,
.cell_8 {
  border-bottom: none;
}

.cell_2,
.cell_5,
.cell_8 {
  border-right: none;
}

/* Mazes CSS */
.maze-board {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex: 1;
}

.cell {
  display: flex;
  flex: 1;
  border: 1px solid black;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.top {
  border-top-color:  hsla(0, 0%, 100%, 0);
}

.left {
  border-left-color: hsla(0, 0%, 100%, 0);
}

.bottom {
  border-bottom-color:  hsla(0, 0%, 100%, 0);
}

.right {
  border-right-color:hsla(0, 0%, 100%, 0);
}

/* Sudoku CSS */
.sudoku-board {
  display: flex;
  flex-direction: column;
}

.edit {
  height: 100%;
  width: 100%;
  outline: none;
  border-radius: 0px;
  font-size: 100%;
  background-color: black;
  border: greenyellow solid 1px;
  color: greenyellow;
  text-align: center;
}

.row_2, .row_5 {
  border-bottom: 4px solid black;
}

.scell_3, .scell_6 {
  border-left: 4px solid black;
}

@media screen and (max-width: 600px) {
  .board {
    height: 45vmin;
    width: 45vmin;
    margin: 0px;
  }
  
  .project h1 {
    font-size: 35px;
    margin-bottom: 2vmin;
  }
  
  .project button {
    font-size: 16px;
    margin-top: 2vmin;

    padding: 5px 10px;
    border-radius: 5px;
  }
  .tttwinner {
    font-size: 20px;
    padding: 5px;
  }
}