/* Base styles */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 2rem;
  background-color: #f9f9f9;
  color: #333;
}

h1, h2 {
  color: #2c3e50;
}

/* Question block */
.question {
  font-weight: bold;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background-color: #e0ecf8;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.question:hover {
  background-color: #d0e0f0;
}

/* Answer block */
.answer {
  display: none;
  margin: 0.5rem 1.5rem 1.5rem;
  padding: 1rem;
  background-color: #ffffff;
  border-left: 4px solid #0077cc;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative; /* Needed for absolute positioning of child */
}

/* Container for centering */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Links */
a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* SVG hover effect */
.hover-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 1.3s ease;
  transform-origin: center center;
}

.hover-shape:hover {
  transform: translate(-50%, -50%) scale(5.05);
  cursor: pointer;
  z-index: 10;
}

/* SVG alignment fix */
.svg {
  display: flex;
  justify-content: center;
  align-items: center;
}
