:root {
    --blue: #4080D6;
    --green: #49C289;
    --red: #D83D65;
    --yellow: #FFB450;
    --grey: #f5f5f5;
}

body {
  font-family: sans-serif;
  padding: 2rem;
  text-align: center;
  background: var(--grey);
}

h1 {
  margin-bottom: 2rem;
}

#button-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.game-button {
  width: 200px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--green);
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.game-button:hover {
  transform: scale(1.05);
  background-color: var(--yellow);
}

.game-button img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  object-fit: contain;
}

.button-container {
  position: relative;
  display: inline-block;
}

	/* Info icon styling */
    .info-label {
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 8px;
        bottom: 8px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background-color: var(--blue);
        color: white;
        font-weight: bold;
        font-size: 20px;
        font-style: italic;
        transition: background-color 0.3s ease, transform 0.2s ease;
        font-family: "Times New Roman", Times, serif;
        pointer-events: auto;
    }

	.info-label:hover {
	  background-color: var(--yellow);
	  transform: scale(1.1);
	}
	
	/* The hidden popup */
	.info-panel {
      text-align: left;
	  display: none;
	  position: fixed;
	  top: 50%;
	  left: 50%;
	  transform: translate(-50%, -50%);
	  background-color: white;
	  border: 2px solid #333;
	  border-radius: 8px;
	  padding: 20px;
	  max-width: 300px;
	  z-index: 1000;
	  box-shadow: 0 0 10px rgba(0,0,0,0.5);
	}

	/* This shows the info-panel */
	.info-toggle:checked + .info-panel {
	  display: block;
	}

	/* Close label inside the popup */
	.close-label {
	  cursor: pointer;
	  color: var(--red);
	  display: inline-block;
	  margin-top: 10px;
	  text-align: center;
	}

