/* Sakura.css v1.5.0
 * ================
 * Minimal css theme.
 * Project: https://github.com/oxalorg/sakura/
 */
:root {
  --hover-accent-color: #f489c2; /* Define the hover color variable */
  --accent-color: #ae2159;
}

/* Body */
html {
  font-size: 62.5%;
  font-family: Merriweather, serif;
}

body {
  font-size: 1.8rem;
  line-height: 1.618;
  max-width: 38em;
  margin: auto;
  color: #532638;
  background-color: #ffe6f2;
  padding-left: 16px;
  padding-right: 16px;
}

@media (max-width: 684px) {
  body {
    font-size: 1.53rem;
  }
}
@media (max-width: 382px) {
  body {
    font-size: 1.35rem;
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  font-family: Merriweather, serif;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word;
}

h1 {
  font-size: 3em;
  text-align: center;
  margin-bottom: 4rem;
  margin-top: 5rem;
  font-style: italic;
  font-weight: 100;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.75em;
  text-align: center;
}

h4 {
  font-size: 1.5em;
}

h5 {
  font-size: 1.25em;
}

h6 {
  font-size: 1em;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0px;
  margin-bottom: 2.5rem;
}

small,
sub,
sup {
  font-size: 75%;
}

hr {
  border-color: var(--accent-color);
}

a {
  text-decoration: none;
  color: var(--accent-color);
}
a:visited {
  color: var(--accent-color);
}
a:hover {
  color: var(--hover-accent-color);
  border-bottom: 2px solid var(--accent-color);
}

ul {
  padding-left: 1.4em;
  margin-top: 0px;
  margin-bottom: 2.5rem;
}

li {
  margin-bottom: 0.4em;
}

blockquote {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 1em;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-right: 0.8em;
  border-left: 5px solid #1d7484;
  margin-bottom: 2.5rem;
  background-color: #f1f1f1;
}

blockquote p {
  margin-bottom: 0;
}

img,
video {
  height: auto;
  max-width: 100%;
  margin-top: 0px;
  margin-bottom: 2.5rem;
  border-radius: 25px;
}

/* Pre and Code */
pre {
  background-color: #f1f1f1;
  display: block;
  padding: 1em;
  overflow-x: auto;
  margin-top: 0px;
  margin-bottom: 2.5rem;
  font-size: 0.9em;
}

code,
kbd,
samp {
  font-size: 0.9em;
  padding: 0 0.5em;
  background-color: #f1f1f1;
  white-space: pre-wrap;
}

pre > code {
  padding: 0;
  background-color: transparent;
  white-space: pre;
  font-size: 1em;
}

/* Tables */
table {
  text-align: left-align;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

td,
th {
  padding: 0.5em;
  border-bottom: 1px solid #f1f1f1;
}

/* Buttons, forms and input */
input,
textarea {
  border: 1px solid #4a4a4a;
}
input:focus,
textarea:focus {
  border: 1px solid var(--accent-color);
}

textarea {
  width: 100%;
}

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="file"]::file-selector-button {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background-color: #1d7484;
  color: #f9f9f9;
  border-radius: 1px;
  border: 1px solid #1d7484;
  cursor: pointer;
  box-sizing: border-box;
}
.button[disabled],
button[disabled],
input[type="submit"][disabled],
input[type="reset"][disabled],
input[type="button"][disabled],
input[type="file"]::file-selector-button[disabled] {
  cursor: default;
  opacity: 0.5;
}
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
input[type="file"]::file-selector-button:hover {
  background-color: #df78aa;
  color: #f9f9f9;
  outline: 0;
}
.button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="button"]:focus-visible,
input[type="file"]::file-selector-button:focus-visible {
  outline-style: solid;
  outline-width: 2px;
}

textarea,
select,
input {
  color: #4a4a4a;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  margin-bottom: 10px;
  background-color: #f1f1f1;
  border: 1px solid #f1f1f1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
}
textarea:focus,
select:focus,
input:focus {
  border: 1px solid #1d7484;
  outline: 0;
}

input[type="checkbox"]:focus {
  outline: 1px dotted #1d7484;
}

label,
legend,
fieldset {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Hamburger Menu */
.hamburger-menu {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1001;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center; /* Center SVG vertically */
  justify-content: center; /* Center SVG horizontally */
  width: 48px; /* Increased width */
  height: 48px; /* Increased height */
  box-sizing: border-box;
  border-radius: 50%; /* Added for default circular shape */
  transition: background-color 0.3s ease-in-out; /* Added for smooth hover */
}

.hamburger-menu:hover {
  background-color: var(
    --hover-accent-color
  ); /* Use variable for hamburger hover */
}

.hamburger-menu svg.hamburger-icon {
  width: 100%; /* Make SVG fill button width */
  height: 100%; /* Make SVG fill button height */
}

.hamburger-menu.hamburger-hidden {
  display: none;
}

/* Side Panel */
.side-panel {
  position: fixed;
  top: 0;
  right: -282px; /* width (280px) + shadow offset (2px) */
  width: 280px;
  height: 100%;
  background-color: #f5f3ed; /* Match body background */
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1000; /* Below hamburger when closed, but above content */
  padding: 20px;
  padding-top: 60px; /* Space for close button */
  overflow-y: auto;
  box-sizing: border-box; /* Ensure padding is within the width */
}

.side-panel.open {
  right: 0; /* Slide in */
}

.side-panel .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease-in-out;
}

.side-panel .close-btn:hover {
  background-color: var(--hover-accent-color);
}

.side-panel .close-btn svg.close-icon {
  width: 75%;
  height: 75%;
}

#side-panel-nav a {
  display: block;
  padding: 10px 0;
  color: var(--accent-color);
  text-decoration: none;
  font-size: 1.6rem;
  border-bottom: 1px solid #e0e0e0;
}

#side-panel-nav a:hover {
  color: var(--hover-accent-color);
}

/* Details Card Styles */
.details-card {
  background: linear-gradient(135deg, #fff5f8 0%, #ffe6f2 100%);
  border: 1px solid rgba(174, 33, 89, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0 3rem 0;
  box-shadow:
    0 2px 8px rgba(174, 33, 89, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.details-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  border-radius: 20px;
  pointer-events: none;
}

.card-title {
  color: var(--accent-color);
  font-size: 2em;
  font-style: normal;
  font-weight: 600;
  margin: 0 0 1rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.card-content {
  color: #330216;
  font-size: 1.1em;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.card-content p {
  margin: 0;
  text-align: center;
  opacity: 0.8;
}
