:root {
  --H: 220;
  --S: 80%;
  --L: 50%;
  --gradient-opacity: 1;

  /* Base colors */
  --color-white: #fff;
  --color-pink: pink;
  --color-grey: #ddd;

  /* Main gradient colors */
  --color-pink-gradient: #e297b2;
  --color-purple-gradient: #c0b4d5;
  --color-blue-gradient: #9acde2;
  --color-green-accent: #CAD6B6;

  /* Deep Gradient colors */
  --color-deep-red-gradient: #170405;
  --color-deep-blue-gradient: #131022;
  --color-deep-violet-gradient: #08092d;

/* Pastel Gradient Colors */
--color-pink-gradient-pastel: #fbe9ee;
--color-purple-gradient-pastel: #f3f0f8;
--color-blue-gradient-pastel: #ebf5fa;
--color-green-accent-pastel: #f5f8f1;

/* Pastel Deep Gradient Colors */
--color-deep-red-gradient-pastel: #9e6b6c;
--color-deep-blue-gradient-pastel: #8d89a7;
--color-deep-violet-gradient-pastel: #9d7faa;

  /* Text shadow colors */
  --color-purple-glow: #dbbdf9;

  /* Div background colors */
    --div-bg: rgba(226, 151, 178, 0.5); /* light mode pink */
  [data-theme="dark"] {
    --div-bg: rgba(38, 32, 71, 0.5); /* dark mode blue */
  }
  /* Rainbow colors */
  --color-red: #ff0000;
  --color-orange: #ff8800;
  --color-yellow: #ffff00;
  --color-green: #00ff00;
  --color-cyan: #00ffff;
  --color-blue: #0000ff;
  --color-magenta: #ff00ff;

  /* Main gradient */
  --gradient-main: linear-gradient(45deg, var(--color-pink-gradient), var(--color-purple-gradient), var(--color-blue-gradient));

  /* Dark gradient */
  --gradient-main-dark: linear-gradient(45deg, var(--color-deep-red-gradient), var(--color-deep-blue-gradient), var(--color-deep-violet-gradient));


}

/* ======================================== */
/* ========= Base and Grid Styles ========= */
/* ======================================== */


@font-face {
  font-family: "Pixelated MS Sans Serif";
  src: url(/fonts/PixgamerRegular-OVD6A.ttf) format("truetype");
  font-style: normal;
}

@font-face {
  font-family: "Pixel Gothic";
  src: url(/fonts/DeutscheZierschrift-ALOA.ttf) format("truetype");
  font-style: normal;
}

@font-face {
  font-family: "nintendo-ds-bio";
  src: url(/fonts/Nintendo-DS-BIOS.ttf) format("truetype");
  font-style: normal;
}

@font-face {
  font-family: "romanceA";
  src: url(/fonts/RomanceA.ttf) format("truetype");
  font-style: normal;
}

@font-face {
  font-family: "romanceB";
  src: url(/fonts/RomanceB.ttf) format("truetype");
  font-style: normal;
  font-weight: lighter;
}

body,
html {
  color: black;
  overflow-y: none;
}

body {
  justify-content: center;
  align-items: center;
  margin: 0;
  display: flex;
  width: 100%;
  font-family: "Pixelated MS Sans Serif", "Pixel Sans Serif", sans-serif;
}

@media (min-width: 800px) {
  body {
    zoom: 1.1;
  }

  @supports not (zoom: 1.1) {
    body {
      transform: scale(1.1);
      transform-origin: top left;
    }
  }
}

.container {
  display: grid;
  grid-template-columns: auto minmax(min-content, 1fr);
  grid-template-rows: auto 1fr auto;
  position: relative;
  z-index: 1;
  gap: 10px;
  padding: 10px;
  margin: 5px;
  grid-template-areas:
    "Title Title"
    "left-sidebar main-body"
    "left-sidebar main-body";
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
  align-items: stretch;
}

/* Mobile responsiveness */
@media (max-width: 800px) {
  .main-body {
    width: 100%;
    height: 100%;
    padding: 0 0px;
    margin: 0 0px;
  }

  p3 {
    border-width: 0px;
  }

  p3:hover {
    background-color: transparent;
    border-style: dotted;
    border-width: 0px;
  }
  
  .description {
    grid-row: 1;
    padding: 5px;
    overflow-y: none;
    overflow-x: none;
    height: 120px;
  }
  
  .intro {
    height: 120px;
  }

  .stamps {
    height: 120px;
  }

  .container {
    padding: 0px;
    margin: 5px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "Title"
      "left-sidebar"
      "main-body"
      "footer-container";
  }


  .items {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-auto-flow: row;
    gap: 0px 0px;
  }

  .moving-gif {
    pointer-events: none;
  }
}

.Title {
  font-family: "Pixel Gothic", sans-serif;
  grid-area: Title;
  text-align: center;
  width: 100%;
  text-shadow: var(--color-purple-glow) 0px 0px 8px;
  color: var(--color-white);
}

/* Apply gradient text for the site title in light mode only */
[data-theme="light"] .Title h1 {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 100% 100%;
  background-position: 50% 50%;
}

/* When Fun is enabled on light mode, force title to white */
[data-theme="light"][data-fun="on"] .Title h1 {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--color-white);
}

/* ========================================= */
/* ========== Left Sidebar Styles ========== */
/* ========================================= */

.left-sidebar-title {
  padding: 0;
  grid-area: left-sidebar-title;
  width: 100%;
  height: auto;
  text-shadow: var(--color-white) 0px 0px 1px;
  background: var(--gradient-main);
  background-clip: border-box;
  -webkit-background-clip: border-box;
  border-style: solid;
  border-width: 0px 0px 1px 0px;
  color: var(--color-white);
  margin-bottom: 5px;
  transition: background 0.5s ease-in-out;
  /*-webkit-text-fill-color: transparent;
    */
}

.left-sidebar-title h1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  position: relative;
  text-align: center;
}

.left-sidebar-title .star {
  font-size: 0.5em;
  opacity: 1;
  margin: 0 5px;
  transition: opacity 0.5s ease-in-out;
}

.left-sidebar-title .star.blink {
  opacity: 0;
}

.left-sidebar-title .star.glitch-blink {
  animation: glitch-blink 0.2s steps(1, end) 3;
}

@keyframes glitch-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.left-sidebar-title .title-text {
  font-size: 0.5em;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.left-sidebar-title .title-text.blink {
  opacity: 0;
}

.left-sidebar-title .title-text.glitch-blink {
  animation: glitch-blink 0.2s steps(1, end) 3;
}

.left-sidebar {
  grid-area: left-sidebar;
  margin: 0;
  border: 1px solid var(--color-grey);
  border-radius: 5px;
  padding: 5px;
  height: fit-content;
  min-width: 200px;
}

.side-container {
  display: flex;
  align-items: center;
}

.mew {
  height: auto;
  vertical-align: middle;
}

hr {
  color: var(--color-pink);
  border-top: 1px dashed var(--color-white);
  position: sticky;
}

.items img#sharon {
  width: 120px;
  height: 120px;
  image-rendering: pixelated;
  display: block;
  border-style: solid;
  border-width: 1px;
  color: var(--color-white);
}


.control-box {
  width: 100px;
  overflow-x: hidden;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  align-items: center;
  position: relative;
}

.scroll-box {
  height: 120px;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  align-items: center;
  position: relative;
}

.scroll-box::-webkit-scrollbar {
  display: none;
}

.scroll-content {
  overflow: hidden;
  width: 100%;
  text-align: left;
  padding-left: 3px;
}

.online-status {
  height: 40px;
  width: 100%;
  text-align: center;
  font-size: 10px;
  padding: 0px;
}

/* Nav sidebar layout */
.items {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 10px;
  width: 250px;
}

.left-item {
  grid-column: 1 / -1;
  display: grid;
  height: 120px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0px 0px;
  margin: 0px;
  padding: 0px;
  border-style: solid;
  border-width: 0px 0px 1px 0px;
  border-color: var(--color-white);
  grid-template-areas: "avatar scroll-box" "online-status scroll-box";
}

.items {
  counter-reset: item-counter;
}

[class^="item"] {
  counter-increment: item-counter;
}

.right-items .item {
  height: 35px;
  width: 100%;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  border: 1px dotted;
  padding-top: 2px;
  background: linear-gradient(30deg,
      var(--color-pink-gradient-pastel),
      var(--color-purple-gradient-pastel), 
      var(--color-blue-gradient-pastel));
  background-size: 100% 100%;
  animation: gradientShift 15s infinite linear;
  transition: background 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: var(--gradient-opacity);
}

[data-theme="dark"] .right-items .item {
  background: linear-gradient(30deg,
      var(--color-deep-red-gradient),
      var(--color-deep-blue-gradient), 
      var(--color-deep-violet-gradient));
  background-size: 100% 100%;
  animation: gradientShift 15s infinite linear;
  transition: background 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: var(--gradient-opacity);
  color: var(--color-white)!important;
}



.right-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

/* Mobile Layout */
@media (max-width: 800px) {
  .items {
    display: grid;
    grid-template-columns: minmax(auto, 2fr) minmax(auto, 4fr);
    gap: 10px;
    width: 100%;
  }

  .left-item {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    height: 100px;
  }

  .items img#sharon {
  width: 100px;
  height: 100px;
}


  .scroll-box {
    height: 100%;
    width: 100%;
    max-height: 100px;
    min-width: 75px;
    overflow-x: hidden;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .scroll-box::-webkit-scrollbar {
    display: none;
  }

  .scroll-content {
    overflow: hidden;
    width: 100%;
    padding-left: 3px;
  }

  .right-items {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 7px;
    padding-right: 3px;
    height: 100px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .right-items .item {
    width: 100%;
    height: 28px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .right-items .item:last-child:nth-child(odd) {
    grid-column: 1 / -1; 
  }

p3:hover {
  border-collapse: separate;
  margin: 0px;
  border-style: dashed;
  border-width: 1px;
  width: initial;
  height: initial;
  display: block;
}
 

  .avatar {
    grid-column: 1;
  }

  .online-status {
    grid-column: 1;
  }

  .scroll-box {
    grid-column: 2;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .scroll-box::-webkit-scrollbar {
    display: none;
  }

  .scroll-content {
    overflow: hidden;
    width: 100%;
    text-align: left;
    padding-left: 3px;
  }
}

.scroll-box {
  grid-area: scroll-box;
}

.online-status {
  grid-area: online-status;
}



/* ========================================== */
/* ============ Main Body Styles ============ */
/* ========================================== */

.main-body {
  grid-area: main-body;
  border-left: 1px dotted var(--color-grey);
  border-right: 1px dotted var(--color-grey);
  border-bottom: 1px solid var(--color-grey);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow-y: auto;
  transition: transform 0.6s, height 0.6s, width 0.6s;
  position: relative;
  scrollbar-width: none;       /* Note: Firefox */
  -ms-overflow-style: none;    /* Note: Internet Explorer/Edge */
  min-width: 340px;
}

  .main-body::-webkit-scrollbar {
    display: none; /* Note: Chrome, Safari */
  }

.description {
  grid-area: description;
  grid-row: 1;
  padding: 0px;
  margin: 5px;
  overflow-y: none;
  overflow-x: none;
  height: 200px;
  scrollbar-width: none;
}

.lobby {
  grid-area: description;
  grid-row: 1;
  padding: 0px;
  margin: 8px;
  overflow-y: none;
  overflow-x: none;
  height: 358px;
  scrollbar-width: none;
}


.lobby-box {
  height: 358px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  width: 100%;
  border-left: 1px dashed;
  padding: 5px;
  line-height: 25px;
  position: relative;
}

.intro {
  height: 200px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  width: 100%;
  border-left: 1px dashed;
  padding-left: 5px;
  margin-left: 4px;
  line-height: 25px;
  position: relative;
}

.stamps {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  /* Hide overflow for smooth scrolling */
  position: relative;
  height: 200px;
}

.stamps-container {
  display: flex;
  flex-direction: column;
  position: relative;
}


.stamps img {
  height: auto;
  width: auto;
  max-width: 99px;
  opacity: 0.8;
}

#nikki {
  height: 100px;
  image-rendering: pixelated;
}

.stamps img:hover {
  opacity: 1;
}

.content-container {
  grid-area: content-container;
  grid-row: 2;
  scrollbar-width: 0px;
  overflow: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px;
  grid-template-areas: "fun rss";
}

.fun {
  grid-area: fun;
}

.rss {
  grid-area: rss;
}

.fun,
.rss {
  display: inline-block;
  text-align: left;
  padding: 5px;
  margin: 0;
  border-radius: 5px;
  border: 1px dashed;
  width: 100%;
  height: 135px;
  box-sizing: border-box;
}

iframe {
  border-width: 0px;
}


.projects {
  grid-area: projects;
  position: relative;
  padding: 5px;
  margin: 10px;
  border-radius: 5px;
  border: 1px dashed;
  box-sizing: border-box;
}

.center-title {
  margin: 0;
  width: inherit;
  /*white-space: nowrap;*/
}

.center-title h1 {
  text-align: center;
  font-size: 1.2em;
  -webkit-text-fill-color: transparent;
}

.main-body .main-header h1 {
  margin: 0;
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  transition: background 0.5s ease-in-out;
  font-family: "romanceB", sans-serif;
  color: var(--color-white);
}

.main-body .main-header {
  position: sticky;
  z-index: 1;
  top: 0;
  overflow: hidden;
  padding: 5px;
  background: var(--gradient-main);
  background-clip: padding-box;
  border-width: 0px 0px 1px 0px;
  border-style: solid;
  border-color: white;
}

.widget-container {
  grid-area: widget-container;
  grid-row: 2;
  scrollbar-width: 0px;
  overflow: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px;
  grid-template-areas: "last-fm x-widget";
}


.last-fm,
.x-widget {
  display: inline-block;
  text-align: left;
  padding: 5px;
  margin: 0;
  border-radius: 5px;
  border: 1px dashed;
  width: 100%;
  box-sizing: border-box;
}


.last-fm {
  grid-area: last-fm;
  position: relative;
  border-radius: 5px;
  border: 1px dashed;
  box-sizing: border-box;
}

.x-widget {
  grid-area: x-widget;
  position: relative;
  border-radius: 5px;
  border: 1px dashed;
  box-sizing: border-box;
}

/* ========================================= */
/* ============= Footer Styles ============= */
/* ========================================= */


.footer-container {
  grid-area: footer-container;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 10px;
  grid-template-areas:
    "links";
  overflow: none;
}

.links {
  grid-area: links;
}

  .links {
  text-align: left;
  width: 100%;
  padding: 0px;
  margin: 0px;
  border-radius: 5px;
  border: 1px dashed;
}

.links:hover {
  border: 1px dotted var(--color-grey);
  margin: 0px;
}

.links h2 {
  font-weight: 300;
}

.links a {
  white-space: nowrap;
  font-size: inherit;
  border-radius: 5px;
  opacity: 1;
  padding: 2px;
  border: 1px dashed var(--color-white);
  background: url('../images/bgrainbow.png');
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  text-align: center;
}

.links h2,
.rss h2,
.projects h2 {
  border-style: dotted;
  border-width: 0px 0px 1px 0px;
  padding: 0px;
  font-size: 18px;
  margin: 0px;
  white-space: nowrap;
  font-family: "romanceB", sans-serif;
  font-weight: 300;
}

[data-theme="light"] .links h2,
[data-theme="light"] .rss h2,
[data-theme="light"] .projects h2 {
  color: var(--color-blue);
  background: none;
}


/* Images and Icons */
.links img,
.rss img {
  vertical-align: middle;
  height: 17px;
  image-rendering: pixelated;
}

.fun .imgCenter {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========================================= */
/* =========== Background Styles =========== */
/* ========================================= */


@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }

  25% {
    background-position: 25% 60%;
    filter: hue-rotate(30deg);
  }

  50% {
    background-position: 50% 40%;
    filter: hue-rotate(60deg);
  }

  75% {
    background-position: 75% 60%;
    filter: hue-rotate(30deg);
  }

  100% {
    background-position: 100% 50%;
    filter: hue-rotate(0deg);
  }
}

.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: var(--gradient-main);
  background-size: 200% 200%;
  transition: opacity 0.5s ease-in-out;
}
*/

.star-layer {
  width: 100%;
  height: 100%;
  background: url('../images/star.gif') top;
  background-size: auto;
  image-rendering: pixelated;
  animation: gradientAnimation 40s infinite;
  margin: 0px;
  padding: 0px;
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ==================================== */
/* =========== Other Styles =========== */
/* ==================================== */

button {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: "Pixelated MS Sans Serif", sans-serif;
  height: 100%;
}


p3 {
  border-collapse: separate;
  background-color: transparent;
  border-style: dashed;
  border-width: 0px;
  height: 29px;
  width: initial;
  display: block;
}

p3:hover {
  background: linear-gradient(to bottom,
      rgba(216, 209, 214, 0.3),
      rgba(219, 206, 216, 0.3),
      rgba(222, 203, 218, 0.3),
      rgba(226, 199, 220, 0.3),
      rgba(229, 196, 222, 0.3),
      rgba(232, 193, 224, 0.3),
      rgba(235, 190, 226, 0.3),
      rgba(239, 186, 228, 0.3),
      rgba(242, 183, 230, 0.3),
      rgba(245, 180, 232, 0.3),
      rgba(248, 177, 234, 0.3),
      rgba(252, 173, 236, 0.3),
      rgba(255, 170, 238, 0.3));
  border-collapse: separate;
  margin: 2px;
  border-style: dashed;
  border-width: 1px;
  width: initial;
  display: block;
  margin-top: 0px;
  flex: 1 1 auto;
}

#rss-feed {
  margin-top: 5px;  
  height: 100px;
  overflow-y: auto;
  scrollbar-width: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* List and Bullet Styles */
.bullet-wrapper {
  display: inline-block;
  padding: 3px;
  width: max-content;
  margin: 2px 0;
}


#custom-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#custom-list li {
  display: flex;
  align-items: center;
  gap: 0px;
}



ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}

/* Link Styles */
a {
  text-decoration: none;
  font: inherit;
}

/* Rainbow Glow Effect */
@keyframes rainbow-shadow {
  0% {
    text-shadow: var(--color-red) 0px 0px 8px;
  }

  14% {
    text-shadow: var(--color-orange) 0px 0px 8px;
  }

  32% {
    text-shadow: var(--color-yellow) 0px 0px 8px;
  }

  48% {
    text-shadow: var(--color-green) 0px 0px 8px;
  }

  64% {
    text-shadow: var(--color-cyan) 0px 0px 8px;
  }

  80% {
    text-shadow: var(--color-blue) 0px 0px 8px;
  }

  100% {
    text-shadow: var(--color-magenta) 0px 0px 8px;
  }
}

p2.glow {
  text-decoration: none;
  text-shadow: -1px 1px 1px var(--color-blue-gradient),
    1px 1px 1px var(--color-green-accent),
    1px -1px 1px var(--color-blue-gradient),
    -1px -1px 1px var(--color-purple-gradient);
  letter-spacing: 1pt;
  -webkit-transition: text-shadow 2s linear;
  -moz-transition: text-shadow 800ms linear;
  -o-transition: text-shadow 800ms linear;
  transition: text-shadow 800ms linear;
  outline: 0 none;
  font-size: 1rem;
}

[data-theme="dark"] p2.glow {
  color: white;
}

p2.glow:hover,
p2.glow:focus {
  color: var(--color-white);
  animation: rainbow-shadow 2s linear infinite;
}

a.glow {
  text-decoration: none;
  text-shadow: -1px 1px 1px var(--color-blue-gradient),
    1px 1px 1px var(--color-green-accent),
    1px -1px 1px var(--color-blue-gradient),
    -1px -1px 1px var(--color-purple-gradient);
  letter-spacing: 1pt;
  -webkit-transition: text-shadow 2s linear;
  -moz-transition: text-shadow 800ms linear;
  -o-transition: text-shadow 800ms linear;
  transition: text-shadow 800ms linear;
  outline: 0 none;
  font-size: 1rem;
}

a.glow:hover,
a.glow:focus {
  color: var(--color-white);
  animation: rainbow-shadow 2s linear infinite;
}

 @keyframes yipee {
    0% {
        text-shadow: none;
        text-shadow: 0px !important;
    }
    100% {
        text-shadow: -1px 1px 3px var(--color-blue-gradient), 
                     1px 1px 3px var(--color-green-accent),
                     1px -1px 3px var(--color-blue-gradient),
                     -1px -1px 3px var(--color-purple-gradient);
    }
 }
 
.yipee {
    text-decoration: none;
}

.yipee:hover {
    animation: yipee 0.3s forwards ease-in-out;
}

.projects-title {
    font-size: 1.1em;
    margin-bottom: 3px;
    font-family: "romanceA", sans-serif;
    text-decoration: none;
    letter-spacing: 1pt;
    transition: all 0.3s ease;
}

.projects-title:hover {
    animation: glowAndSize 0.3s forwards ease-in-out;
}

.gradient-box {
  animation: gradientShift 15s infinite linear;
  transition: background 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: var(--gradient-opacity);
}

/* Light Theme Pastel Gradient */
[data-theme="light"] .gradient-box {
  background: linear-gradient(30deg,
    var(--color-pink-gradient-pastel),
    var(--color-purple-gradient-pastel),
    var(--color-blue-gradient-pastel));
}

/* Dark Theme Deep Gradient */
[data-theme="dark"] .gradient-box {
  background: linear-gradient(30deg,
    var(--color-deep-red-gradient),
    var(--color-deep-blue-gradient),
    var(--color-deep-violet-gradient));
  color: var(--color-white) !important;
  border-color: var(--color-white);
}

/* Glow animation for section headers */
.section-glow {
    animation: sectionGlow 2s ease-in-out;
    border-color: currentColor;
}

[data-theme="light"] .section-glow {
  opacity: 0.5;
}

@keyframes sectionGlow {
    0% {
        text-shadow: 0 0 5px currentColor;
    }
    25% {
        text-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
    }
    50% {
        text-shadow: 0 0 25px currentColor, 0 0 35px currentColor, 0 0 45px currentColor;
    }
    75% {
        text-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
    }
    100% {
        text-shadow: 0 0 5px currentColor;
    }
}

/* Enhanced smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

button.inactive {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: none;
  background: none;
  border: none;
}

button.inactive .glow {
  text-shadow: none;
  color: gray;
}

