/* Sakura.css v1.5.0
 * ================
 * Minimal css theme.
 * Project: https://github.com/oxalorg/sakura/
 */
@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');

 :root {
  --hover-accent-color: #ff6dc0; /* Define the hover color variable */
  --accent-color: #cc40a7;
  --background-color: #ffd1eb;
  --text-color: #002284;
}

/* Body */
html {
  font-size: 62.5%;
}

body {
  font-size: 1.8rem;
  font-family: Arial, sans-serif;
  line-height: 1.618;
  max-width: 38em;
  margin: auto;
  color: var(--text-color);
  background-color: var(--background-color);
  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: "Lilita One";
  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: underline;
  color: var(--accent-color);
}
a:visited {
  color: var(--accent-color);
}

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

li {
  margin-bottom: 0.4em;
}

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;
}

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);
}
