* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Mali", serif;
}

body {
  flex-direction: column;
  background-color: #fce5cd;
  color: #333;
  height: 100vh;
  width: 100vw;
  overflow: auto;
  line-height: 1.6;
}

.title {
  text-align: center;
  padding: 1em;
  font-size: 1.5rem;
  font-weight: bold;
  color: #5a3e36;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: 1.5em;
}

.img {
  height: 9rem;
  width: 22rem;
  object-fit: cover;
  border-radius: 20px;
  border: 5px solid white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.imgCon {
  height: 9rem;
  width: 21rem;
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0.5rem;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.imgCon:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.base {
  height: calc(100vh - 4rem);
  width: 100%;
}

.gameTitleCon {
  width: 100%;
  text-align: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

@media only screen and (max-width: 767px) {
  .gameTitleCon {
    flex-direction: column;
  }

  .img {
    height: 7rem;
    width: 18rem;
  }

  .imgCon {
    height: 7rem;
    width: 18rem;
    margin: 0.3rem;
  }

  .title {
    font-size: 1.25rem;
  }
}
