* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  font-family: system-ui, Arial, sans-serif;
}

.everything {
  background-color: aliceblue;
  width: 80%;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.title { font-size: 2rem; text-align: center; margin-bottom: 12px; }

.question {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
}

.question::after {
  content: '+';
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-50%);
}
.what.active .question::after { content: '-'; }

.answer { 
  font-style: italic;  
  margin-top: 5px;
  max-height:0;  
  overflow: hidden;
  opacity: 0;
  padding: 0 12px;      
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.what.active .answer {
  opacity: 1;
  padding: 12px;
}
