/* FONT IMPORT */
@import url('https://fonts.cdnfonts.com/css/merchant-copy-doublesize');

  
/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
  /* Pastel Goth Color Palette: */
  --primary-pink: #ffb2ff;
  --primary-purple: #d2abff;
  --primary-cyan: #b9ffff;
  --dark-bg: #1a1a2e;
  --light-bg: #000000;
  --accent-dark: #0f3460;

  /* Background Colors: */
  --background-color: #1a1a2e;
  --content-background-color: #000000;
  --section-background: #0f3460;
  --card-background: rgba(209, 171, 255, 0.1);

  /* Text Colors: */
  --text-color: #f5e6ff;
  --text-secondary: #d2abff;
  --link-color: #ffb2ff;
  --link-color-hover: #b9ffff;

  /* Text: */
  --font: 'Merchant Copy Doublesize', sans-serif;
  --heading-font: 'Merchant Copy Doublesize', sans-serif;
  --font-size: 15px;

  /* Other Settings: */
  --margin: 20px;
  --padding: 25px;
  --border: 3px solid;
  --border-color: #d2abff;
  --round-borders: 30px;
  --glow: 0 0 20px rgba(209, 171, 255, 0.3);
}

/* -------------------------------------------------------- */
/* SCROLLBAR STYLING */
/* -------------------------------------------------------- */

/* Webkit scrollbars (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 30px;
  height: 30px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
  border: 5px solid var(--section-background);
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  background: repeating-linear-gradient(
    180deg,
    var(--primary-pink) 0px,
    var(--primary-pink) 10px,
    var(--primary-purple) 10px,
    var(--primary-purple) 20px,
    var(--primary-cyan) 20px,
    var(--primary-cyan) 30px,
    var(--primary-pink) 30px,
    var(--primary-pink) 40px
  );
  border: 5px solid var(--section-background);
  border-radius: 0;
  box-shadow: inset 0 0 0 5px var(--accent-dark), 0 0 0 3px var(--primary-cyan);
  transition: background 0.06s ease, box-shadow 0.06s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: repeating-linear-gradient(
    180deg,
    var(--primary-cyan) 0px,
    var(--primary-cyan) 10px,
    var(--primary-purple) 10px,
    var(--primary-purple) 20px,
    var(--primary-pink) 20px,
    var(--primary-pink) 30px,
    var(--primary-cyan) 30px,
    var(--primary-cyan) 40px
  );
  box-shadow: inset 0 0 0 5px var(--accent-dark), 0 0 0 4px var(--primary-cyan);
}

/* Firefox scrollbars */
* {
  scrollbar-color: var(--primary-purple) var(--dark-bg);
  scrollbar-width: auto;
}

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.2;
  background: var(--background-color);
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 178, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(185, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(210, 171, 255, 0.05) 0%, transparent 50%);
  position: relative;
  overflow-x: hidden;
}

/* Shimmer overlay for magical effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(255, 178, 255, 0.05) 50%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(185, 255, 255, 0.05) 50%, transparent 100%);
  animation: shimmer 8s infinite;
  pointer-events: none;
  z-index: -1;
}

/* Floating sparkle particles - top right */
body::after {
  content: '';
  position: fixed;
  top: 10%;
  right: 8%;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(255, 178, 255, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  box-shadow: 
    -40px 20px 0 -3px rgba(185, 255, 255, 0.6),
    80px -60px 0 -2px rgba(210, 171, 255, 0.7),
    -80px -80px 0 -4px rgba(255, 178, 255, 0.5),
    60px 60px 0 -3px rgba(185, 255, 255, 0.6),
    20px -100px 0 -2px rgba(210, 171, 255, 0.5),
    -120px 40px 0 -3px rgba(255, 178, 255, 0.6);
  animation: floatSparkles 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes floatSparkles {
  0%, 100% { 
    transform: translateY(0px) translateX(0px);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-40px) translateX(20px);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-80px) translateX(-30px);
    opacity: 0.2;
  }
  75% {
    transform: translateY(-40px) translateX(40px);
    opacity: 0.5;
  }
}

@keyframes shimmer {
  0%, 100% { 
    transform: translateX(-100%);
    opacity: 0;
  }
  50% { 
    opacity: 0.1;
  }
}

/* Additional floating sparkles - using animation delays for variety */
.layout::before {
  content: '';
  position: fixed;
  top: 15%;
  right: 8%;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(185, 255, 255, 0.9) 0%, transparent 70%);
  border-radius: 50%;
  box-shadow: 
    50px 30px 0 -2px rgba(255, 178, 255, 0.7),
    -60px 80px 0 -3px rgba(210, 171, 255, 0.6),
    100px -40px 0 -2px rgba(185, 255, 255, 0.5),
    -80px -60px 0 -2px rgba(255, 178, 255, 0.7);
  animation: sparkleSwirl 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.layout::after {
  content: '';
  position: fixed;
  bottom: 20%;
  left: 10%;
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, rgba(210, 171, 255, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  box-shadow: 
    -50px 50px 0 -2px rgba(255, 178, 255, 0.6),
    70px 20px 0 -3px rgba(185, 255, 255, 0.7),
    -30px -80px 0 -2px rgba(210, 171, 255, 0.5),
    90px 70px 0 -2px rgba(255, 178, 255, 0.6);
  animation: sparkleSwirl 18s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 1;
}

@keyframes sparkleSwirl {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  25% {
    transform: translate(50px, -40px) scale(1.3);
    opacity: 0.6;
  }
  50% { 
    transform: translate(0, -80px) scale(0.8);
    opacity: 0.3;
  }
  75% {
    transform: translate(-60px, -40px) scale(1.2);
    opacity: 0.5;
  }
}

::selection {
  /* (Text highlighted by the user) */
  background: rgba(0, 0, 0, 0.2);
}

mark {
  /* Text highlighted by using the <mark> element */
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

/* Links: */
a {
  text-decoration: underline;
}

a,
a:visited {
  color: var(--link-color);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}

/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */

.layout {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: var(--margin);
}

main {
  grid-area: unset;
  overflow-y: auto;
  padding: var(--padding);
  background: var(--content-background-color);
  border: var(--border-color) var(--border);
  border-radius: var(--round-borders);
  box-shadow: var(--glow);
  position: relative;
}

main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(210, 171, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(185, 255, 255, 0.05) 0%, transparent 50%);
  animation: shimmer 10s infinite;
  pointer-events: none;
}

/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */

header {
  grid-area: unset;
  font-size: 1.2em;
  border-radius: var(--round-borders);
  background: var(--content-background-color);
  border: var(--border-color) var(--border);
  box-shadow: var(--glow);
  overflow: hidden;
  position: relative;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 178, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(185, 255, 255, 0.1) 0%, transparent 40%);
  animation: shimmer 6s infinite;
  pointer-events: none;
}

.header-content {
  padding: var(--padding);
  text-align: center;
  position: relative;
  z-index: 2;
}

.header-title {
  font-family: var(--heading-font);
  font-size: 2em;
  font-weight: bold;
  background: linear-gradient(90deg, #ffb2ff, #d2abff, #b9ffff, #d2abff, #ffb2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(209, 171, 255, 0.3);
  margin: 0;
}

.header-image img {
  width: 100%;
  border-style: hidden;
  border-radius: 10px;
  border-image: auto;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}


/* -------------------------------------------------------- */
/* SIDEBARS */
/* -------------------------------------------------------- */

aside {
  display: none;
}

.left-sidebar {
  display: none;
}

.right-sidebar {
  display: none;
}

.sidebar-title {
  font-weight: bold;
  font-size: 1.2em;
  font-family: var(--heading-font);
}

.sidebar-section:not(:last-child) {
  margin-bottom: 3em;
}

.sidebar-section ul,
.sidebar-section ol {
  padding-left: 1.5em;
}

.sidebar-section > *:not(p):not(ul):not(ol):not(blockquote) {
  margin-top: 10px;
}

/* Sidebar Blockquote: */

.sidebar-section blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-section blockquote > *:first-child {
  margin-top: 0;
}

.sidebar-section blockquote > *:last-child {
  margin-bottom: 0;
}

/* Site Button: */

.site-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-button textarea {
  font-family: monospace;
  font-size: 0.7em;
}

/* -------------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------------- */

footer {
  grid-area: unset;
  border: var(--border-color) var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  font-size: 0.85em;
  padding: var(--padding);
  background: var(--content-background-color);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--glow);
}

footer a,
footer a:visited {
  color: var(--link-color);
}

footer a:hover,
footer a:focus {
  color: var(--link-color-hover);
}

/* -------------------------------------------------------- */
/* NAVIGATION */
/* -------------------------------------------------------- */

nav {
  margin-bottom: 3em;
}

nav .sidebar-title {
  margin-bottom: 0.5em;
}

nav ul {
  margin: 0 -5px;
  padding-top: 50px;
  padding-bottom: 50px;
  list-style: none;
  user-select: none;
}

nav ul li {
  margin-bottom: -50px;
}

nav > ul li > a,
nav > ul li > strong {
  display: inline-block;
}

nav > ul li > a,
nav > ul li > details summary,
nav > ul li > strong {
  padding: 5px 10px;
}

nav > ul li > a.active,
nav > ul li > details.active summary {
  font-weight: bold;
}

nav ul summary {
  cursor: pointer;
}

nav ul ul li > a {
  padding-left: 30px;
}

/* NAVIGATION IN HEADER */

header nav {
  margin: 0;  
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: var(--padding);
  gap: 10px;
  justify-content: center;
  list-style: none;
}

header nav ul li {
  position: relative;
  margin: 0;
}

header nav ul li > a,
header nav ul li > details summary,
header nav ul li > strong {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ffb2ff, #d2abff, #b9ffff, #d2abff, #ffb2ff);
  background-size: 200% 200%;
  border: 2px solid #d2abff;
  border-radius: 20px;
  color: #1a1a2e;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(209, 171, 255, 0.3);
}

header nav ul li > a:hover,
header nav ul li > details.active summary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(209, 171, 255, 0.5);
  animation: gradientShift 1.5s ease infinite, sparkle 0.6s ease-in-out;
}

@keyframes sparkle {
  0%, 100% { 
    text-shadow: 0 0 0px rgba(255, 255, 255, 0);
  }
  50% { 
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(210, 171, 255, 0.4);
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header nav ul li:first-child > a {
  padding-left: 20px;
}

header nav ul li:last-child > a {
  padding-right: 20px;
}

/* Subnavigation (Drop-Down): */

header nav ul ul {
  background: var(--content-background-color);
  display: none;
  position: absolute;
  top: 100%;
  left: 10px;
  padding: 0.5em;
  z-index: 1;
  border: var(--border-color) var(--border);
  min-width: 100%;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
  border-radius: 15px;
  margin-top: 5px;
}

header nav ul li:hover ul,
header nav ul li:focus-within ul {
  display: block;
}

header nav ul li strong {
  color: var(--link-color);
  text-decoration: underline;
  font-weight: normal;
}

header nav ul ul li a {
  display: block;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--link-color);
  margin: 5px 0;
}

header nav ul ul li a:hover {
  transform: translateX(10px);
}
/* CONTENT */
/* -------------------------------------------------------- */

main {
  line-height: 1.5;
}

main a,
main a:visited {
  color: var(--link-color);
}

main a:hover,
main a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
}

main p,
main .image,
main .full-width-image,
main .two-columns {
  margin: 0.75em 0;
}

main ol,
main ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

main ol li,
main ul li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}

main ol {
  padding-left: 2em;
}

main blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
}

main pre {
  margin: 1em 0 1.5em;
}

main code {
  text-transform: none;
}

main center {
  margin: 1em 0;
  padding: 0 1em;
}

main hr {
  border: 0;
  border-top: var(--border);
  margin: 1.5em 0;
}

/* HEADINGS: */

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: var(--heading-font);
  margin-bottom: 0;
  line-height: 1.5;
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main h6:first-child {
  margin-top: 0;
}

main h1 {
  font-size: 1.5em;
}

main h2 {
  font-size: 1.4em;
}

main h3 {
  font-size: 1.3em;
}

main h4 {
  font-size: 1.2em;
}

main h5 {
  font-size: 1.1em;
}

main h6 {
  font-size: 1em;
}

/* COLUMNS: */

.two-columns {
  display: flex;
}

.two-columns > * {
  flex: 1 1 0;
  margin: 0;
}

.two-columns > *:first-child {
  padding-right: 0.75em;
}

.two-columns > *:last-child {
  padding-left: 0.75em;
}

/* -------------------------------------------------------- */
/* CONTENT IMAGES */
/* -------------------------------------------------------- */

.image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

/* -------------------------------------------------------- */
/* ACCESSIBILITY */
/* -------------------------------------------------------- */

/* please do not remove this. */

#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* -------------------------------------------------------- */
/* CUSTOM SECTIONS */
/* -------------------------------------------------------- */

.section-card {
  background: var(--card-background);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: var(--padding);
  margin: 15px 0;
  box-shadow: 0 4px 15px rgba(209, 171, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  animation: shine 3s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.section-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(209, 171, 255, 0.4);
}

.section-title {
  font-family: var(--heading-font);
  font-size: 1.5em;
  color: var(--primary-pink);
  text-shadow: 0 0 10px rgba(255, 178, 255, 0.3);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-purple);
  padding-bottom: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 15px 0;
}

.gallery-item {
  background: var(--section-background);
  border: 2px solid var(--primary-cyan);
  border-radius: 15px;
  padding: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  border-color: var(--primary-pink);
  box-shadow: 0 0 15px rgba(255, 178, 255, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.gallery-item h3 {
  margin: 10px 0 5px 0;
  color: var(--primary-cyan);
  font-size: 1.1em;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 15px 0;
}

.link-button {
  background: linear-gradient(135deg, #ffb2ff, #d2abff);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  color: #1a1a2e;
  font-weight: bold;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  overflow: hidden;
}

.link-button::before {
  content: '✨';
  position: absolute;
  top: 50%;
  left: -50px;
  font-size: 2em;
  opacity: 0;
  animation: slideAcross 0.6s ease-in-out;
}

@keyframes slideAcross {
  0% { 
    left: -50px;
    opacity: 1;
  }
  100% { 
    left: 100%;
    opacity: 0;
  }
}

.link-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(209, 171, 255, 0.4);
  animation: buttonSparkle 0.6s ease;
}

@keyframes buttonSparkle {
  0%, 100% { 
    box-shadow: 0 4px 15px rgba(209, 171, 255, 0.4);
  }
  50% { 
    box-shadow: 0 4px 25px rgba(255, 178, 255, 0.8), 0 0 15px rgba(185, 255, 255, 0.6);
  }
}

.character-card {
  background: linear-gradient(135deg, rgba(255, 178, 255, 0.1), rgba(185, 255, 255, 0.1));
  border: 2px solid var(--primary-purple);
  border-radius: 20px;
  padding: 20px;
  margin: 15px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.character-card img {
  width: 150px;
  height: 150px;
  border-radius: 15px;
  object-fit: cover;
  border: 2px solid var(--primary-cyan);
}

.character-info h3 {
  margin-top: 0;
  color: var(--primary-pink);
}

.decorative-divider {
  text-align: center;
  margin: 20px 0;
  font-size: 1.5em;
  color: var(--primary-purple);
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 15px 0;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(209, 171, 255, 0.3);
}

.social-icon:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 6px 15px rgba(209, 171, 255, 0.5);
  animation: iconTwinkle 0.6s ease-in-out;
}

@keyframes iconTwinkle {
  0%, 100% { 
    box-shadow: 0 6px 15px rgba(209, 171, 255, 0.5);
  }
  50% { 
    box-shadow: 0 0 20px rgba(255, 178, 255, 0.8), 0 0 30px rgba(185, 255, 255, 0.6);
  }
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */

/* CSS Code for devices < 800px */
@media (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .layout {
    width: 100%;
  }

  header nav ul {
    flex-direction: column;
    gap: 8px;
  }

  header nav ul li > a,
  header nav ul li > details summary,
  header nav ul li > strong {
    width: 100%;
  }

  main {
    padding: 15px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .character-card {
    flex-direction: column;
    text-align: center;
  }

  .character-card img {
    width: 120px;
    height: 120px;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }

  body::before,
  body::after {
    display: none;
  }
}

/* -------------------------------------------------------- */
/* LAYOUT WITH SIDEBARS (HOME PAGE) */
/* -------------------------------------------------------- */

.layout.sidebar-enabled {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  grid-template-areas:
    "header header header"
    "left main right"
    "footer footer footer";
}

.layout.sidebar-enabled header {
  grid-area: header;
}

.layout.sidebar-enabled main {
  grid-area: main;
}

.layout.sidebar-enabled footer {
  grid-area: footer;
}

.layout.sidebar-enabled .left-sidebar {
  display: block;
  grid-area: left;
  padding: var(--padding);
  background: var(--content-background-color);
  border: var(--border-color) var(--border);
  border-radius: var(--round-borders);
  box-shadow: var(--glow);
}

.layout.sidebar-enabled .right-sidebar {
  display: block;
  grid-area: right;
  padding: var(--padding);
  background: var(--content-background-color);
  border: var(--border-color) var(--border);
  border-radius: var(--round-borders);
  box-shadow: var(--glow);
}

.coffee-emoji {
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px rgba(255, 178, 255, 0.4));
}

.marquee-closed {
  color: #ff4d4d;
  font-weight: bold;
}

/* Mobile adjustments for sidebars */
@media (max-width: 800px) {
  .layout.sidebar-enabled {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "main"
      "left"
      "right"
      "footer";
  }

  .layout.sidebar-enabled .left-sidebar,
  .layout.sidebar-enabled .right-sidebar {
    padding: 15px;
  }
}

