
body {
    margin: 0;
}

.rose {
  box-sizing: border-box;
  max-width: 820px;
  width: calc(100% - 2rem);

  border: 1px solid #666;
  padding: 1em;
  margin: 1em auto;
  font-family: sans-serif;
}

.rose h2 {
  margin-top: 0;
  text-align: center;
}

.rose svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 140;
  margin: 0 auto;
}

.rose .controls {
  text-align: center;
  margin-top: 1em;
}

.rose button {
  margin: 0 0.5em;
  padding: 0.5em 1em;
  font-size: 1em;
}

.rose .result {
  text-align: center;
  margin-top: 1em;
  font-size: 1.3em;
}

.rose .answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition:
    max-height 0.6s ease,
    opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0.6s linear;
}

.rose .answer.revealed {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.rose .problem {
  max-height: 1500px;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    max-height 0.25s ease;
  overflow: hidden;
}

.rose .problem.hidden {
  opacity: 0;
  transform: scale(0.95);
  max-height: 0;
  pointer-events: none;
}

.rose .hidden {
    display: none;
}

/* Modal Dialog Box for Confirm Reveal */
#rose-confirm {
  box-sizing: border-box;
  max-width: min(400px, calc(100% - 2rem));

  border: 1px solid #666;
  padding: 1em;
  font-family: sans-serif;
}

#rose-confirm::backdrop {
  background: rgba(0, 0, 0, 0.15);
}

#rose-confirm p {
  margin: 0 0 1em;
}

#rose-confirm form {
  display: flex;
  justify-content: center;
  gap: 1em;
}

#rose-confirm button {
  margin: 0;
  padding: 0.5em 1em;
  font-size: 1em;
}


/* OWL Nav Header */
header {
    width: 100%;
    background: #800000;
}

header nav {
    text-align: center;
    padding: 0.8em;
}

.site-title {
    color: white;
    text-decoration: none;
    font-family: garamond, "Times New Roman", serif;
    font-size: 44px;
    line-height: 50px;
    display: inline-block;
}
