body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  background-color: white;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.bg-image-container {
  position: absolute;
  z-index: -1;
}

#alert-container {
  position: absolute;
  top: 0;
  right: 50;
  display: none;
  transition: all 200ms ease-in;
}

.btn {
  font-size: 1rem;
}

.alert-display {
  right: 50;
  display: block;
}

.text-or {
  font-family: cursive;
  color: black;
}

#gameCodeText {
  cursor: pointer;
}

#initialScreen {
  display: block;
}

#gameScreen {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bingo {
  font-size: 50px;
  font-weight: bold;
  transition: all 300ms ease-in;
}

.bingo-letter {
  height: 50px;
}

.cell {
  display: flex;
  justify-content: center;
  align-items: center;
  outline: 1px solid black;
  font-size: 2rem;
  transition: all 300ms ease-in;
  cursor: pointer;
}

.marked {
  background-color: green;
  color: white;
}

#grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(50px, 100px));
  grid-template-rows: repeat(5, minmax(50px, 100px));
  grid-auto-flow: column;
}

@media only screen and (max-width: 510px) {
  #grid {
    grid-template-columns: repeat(5, minmax(70px, 1fr));
    grid-template-rows: repeat(5, minmax(70px, 1fr));
  }

  .bingo-img {
    width: 300px;
  }
}

@media only screen and (max-width: 425px) {
  #grid {
    grid-template-columns: repeat(5, minmax(50px, 1fr));
    grid-template-rows: repeat(5, minmax(50px, 1fr));
  }

  .cell {
    font-size: 1.5rem;
  }
}
