body {
  margin: 0;
  font-family: sans-serif;
  background: url('bg_tile.jpg') repeat;
  background-size: auto;
  color: #ddd;
}

header {
  padding: 1em;
  text-align: center;
  font-size: 1.5em;
  color: #f5c842;
  background-color: rgba(0, 0, 0, 0.392);
}

#menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 100vh;
  padding: 1em;
  box-sizing: border-box;
  overflow-y: auto;
  background-color: rgba(30, 30, 30, 0.75);
  /*backdrop-filter: blur(2px);*/
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#navButtons {
  display: flex;
  flex-direction: column;
}

#menu button {
  display: none;
  width: 100%;
  margin-bottom: 10px;
  padding: 0.5em;
  background: #222;
  color: #f5c842;
  border: none;
  cursor: pointer;
}

#menu .visible {
  display: block;
}

#content {
  margin-left: 210px;
  padding: 1em;
}

.section {
  display: none;
  /*border: 3px solid #444;
  background-color: rgba(0, 0, 0, 0.392); */
  margin-bottom: 2em;
  padding: 1em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1em;
}

.text-box{
  border-radius: 60px 60px 15px 15px;
  overflow: hidden;
  border: 3px solid black;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0.5em;
  background-color: rgba(0, 0, 0, 0.392);
  filter: drop-shadow(rgb(0, 0, 0) 10px 10px 10px);
}
.option {
  border-radius: 60px 60px 15px 15px;
  overflow: hidden;
  border: 3px solid black;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0.5em;
  background-color: rgba(0, 0, 0, 0.392);
  filter: drop-shadow(rgb(0, 0, 0) 10px 10px 10px);
}

.option img {
  width: 92%;
  margin-top: 3%;
  margin-bottom: 5%;
  /*width: 95%;*/
  height: auto;
  border-radius: 60px 60px 15px 15px;
  margin: 0 auto 0.5em;
  border: 2px groove rgb(0, 0, 0);
  /*border: 2px solid black;*/
  filter: drop-shadow(rgb(10, 10, 10) 10px 10px 10px);
  /*box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);*/
}

.option h3 {
  color: #f5c842;
  margin: 0.5em 0 0.2em;
}

.stat-change {
  font-size: 0.9em;
  margin: 0.2em;
}

.stat-positive {
  color: #00ff88;
}

.stat-negative {
  color: #3399ff;
}

.option p {
  font-size: 0.9em;
  padding: 0 0.5em 0.5em;
}

.selected {
  border-color: #f5c842;
}

.level2-box {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  margin-top: 0;
  padding: 0 0.5em;
  border: 1px dashed #888;
  border-radius: 10px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.392);
}

.option.selected .level2-box {
  max-height: 100px; /* Adjust if more space is needed */
  opacity: 1;
  margin-top: 10px;
  padding: 0.5em;
}

.level2-selected {
  background-color: #333;
  border-color: #f5c842;
}

.attribute-input {
  width: 3em;
  border: 1px solid #555;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.392);
}

textarea {
  width: 100%;
  border: 1px solid #555;
  padding: 0.5em;
  margin-top: 1em;
  background-color: rgba(0, 0, 0, 0.392);
}
