body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f4f4f4;
}

.container {
  background: white;
  border: 2px solid #0077b6;
  border-radius: 12px;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* HEADER */
.header {
  text-align: center;
  padding: 10px;
  background: #d62828;
  color: white;
  font-size: 18px;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* IMAGE */
.image-container figure {
  position: relative;
  display: inline-block;
  margin: 0;
  text-align: center;
}

.image-container img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
}

/* INFO BOX */
.info-box {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  width: 88%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.85);
  color: #222;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15), 0 2px 6px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 14px;

  /* animation */
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* visible state */
.info-box.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* default transparent look for initial message */
.info-box.default {
  background: rgba(255, 255, 255, 0.4); /* more transparent */
  color: #222; /* keep text visible */
  font-weight: bold; /* bold text */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* TEXT FORMATTING */
.info-title {
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  margin-bottom: 8px;
  color: #d62828;
}

.info-body {
  text-align: left;
  line-height: 1.5;
  color: #333;
}

.info-body ul {
  margin: 0;
  padding-left: 18px;
}

.info-body li {
  margin-bottom: 4px;
}

/* CAPTION */
.image-container figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

/* NEW BUTTON ROW */
.buttons-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin-top: 15px;
}

/* LEFT "NUTSHELL" BUTTON */
.nutshell-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #d62828;
  color: white;
  font-size: 14px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nutshell-btn:hover {
  background: #b71c1c;
}

/* RIGHT COLUMN (YOUR ORIGINAL BUTTONS) */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 66%;
}

/* BUTTON STYLE */
button {
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #0096c7;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

button:hover {
  background: #0077b6;
}