* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  background: #222222;
  height: 100svh;
  font-family: "Montserrat", sans-serif;
}

p.chess {
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  padding-top: 0.5rem;
  & a {
    color: white;
    text-decoration: none;
  }
}

h1 {
  text-align: center;
  padding: 15px;
  text-shadow: 2px 1px 5px white;
}

.image-container {
  width: 45%;
  margin: 0 auto;
  text-align: center;
  background-image: url("/resources/images/johnPlateInvert.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
  border-radius: 5px;
}

img {
  width: 100%;
  margin: 0 auto;
  opacity: 100%;
  text-shadow: 3px 3px 2px white;
  cursor: pointer;
  z-index: 1;
  transition-property: opacity;
  transition-duration: 1.5s;
  transition-delay: 0.5s;
}

img:hover {
  opacity: 0%;
}

.chet-faker {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}

.grid {
  width: 60%;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  align-items: center;
  margin: 1rem auto;
}

.btn {
  background-color: rgb(15, 15, 15);
  color: rgb(200, 200, 200);
  display: block;
  width: 100%;
  /* margin: 10px auto; */
  text-align: center;
  font-weight: 800;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid white;
  font-size: 0.8rem;
  user-select: none;
  cursor: pointer;
}
.btn:hover {
  background-color: rgb(200, 200, 200);
  color: rgb(15, 15, 15);
}

@media screen and (max-width: 600px) {
  .grid {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* justify-items: center; */
    /* align-items: center; */
    /* margin: 0 auto; */
    gap: 0.5rem;
  }

  span {
    font-size: 0.75rem;
  }
}
