body {
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f0f0f0;
}

.container {
  width: 400px;
  text-align: center;
  user-select: none; /* Prevent text selection */
}

.container h1 {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the content horizontally */
}

h1 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s;
  user-select: none; /* Prevent text selection */
  position: relative; /* To position the info icon */
}

.card:hover {
  transform: scale(1.05);
}

.emojis {
  font-size: 3em;
  margin-bottom: 10px;
}

.movie-title {
  font-size: 1.2em;
  font-weight: bold;
}

.info-icon-wrapper {
  position: relative; /* Allow positioning the icon within */
  width: 20px; /* Set a fixed width for the wrapper */
  margin-left: 10px; /* Add some space to the left */
}

.info-icon {
  /* No need for position: absolute here */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #3498db;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  cursor: help;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.info-icon span {
  font-weight: bold;
}

.info-icon:hover {
  background-color: #2980b9;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

.explanation {
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  display: none; /* Initially hidden */
  text-align: center;
  position: absolute; /* Take the explanation out of the document flow */
  width: auto; /* Allow the width to adjust to the content */
  max-width: 300px; /* Set a maximum width */
  top: 70px; /* Adjust the top position as needed */
  left: 50%;
  transform: translateX(-50%); /* Center horizontally */
}

.explanation p {
  margin: 5px 0; /* Adjust spacing between paragraphs */
}
