@import url("[https://fonts.googleapis.com/css2?family=DotGothic16&display=swap](https://fonts.googleapis.com/css2?family=DotGothic16&display=swap)");
@import url("[https://fonts.googleapis.com/css2?family=Satisfy&display=swap](https://fonts.googleapis.com/css2?family=Satisfy&display=swap)");

@font-face {
  font-family: "rainyhearts";
  src: url("/assets/fonts/rainyhearts.ttf") format("truetype");
}

@font-face {
  font-family: "Spirit";
  src: url("/assets/fonts/Spirit.ttf") format("truetype");
}

@font-face {
  font-family: "Satisfy";
  src: url("/assets/fonts/satisfy.ttf") format("truetype");
}

@font-face {
  font-family: "EmojiFont";
  src: url("/assets/fonts/EmojiFont.ttf") format("truetype");
}

@font-face {
  font-family: "DOSGothic";
  src: url("/assets/fonts/DOSGothic.ttf") format("truetype");
}

@font-face {
  font-family: "yurumoji";
  src: url("/assets/fonts/yurumoji.ttf") format("truetype");
}

:root {
  --border: solid;
  --border-radius: 7px;

  --font-size-small: 0.7rem;
  --font-size-reg: 1rem;
  --font-size-large: 1.5rem;
  --font-size-larger: 2rem;
  --font-size-largest: 2.5rem;

  --white: #f3f1f3;
  --black: #0c0c0c;

  --light-pink: #ffddea;
  --pink: #ffbed9;
  --dark-pink: #da709c;
  --darkest-pink: #924f63;

  --light-purple: #eadff9;
  --purple: #c6afed;
  --dark-purple: #907cb2;

  --yellow: #f7e0a7;
  --light-yellow: #fdefca;

  --text-shadow: -1px -1px 0 var(--darkest-pink), 1px -1px 0 var(--darkest-pink),
    -1px 1px 0 var(--darkest-pink), 1px 1px 0 var(--darkest-pink),
    2px 2px 3px var(--purple);

  --ridge-border-1: inset -1px -1px var(--purple), inset 1px 1px var(--pink),
    inset -2px -2px var(--purple), inset 2px 0px var(--pink);

  --ridge-border-2: inset -1px -1px var(--purple),
    inset 1px 1px var(--light-purple), inset -2px -2px var(--purple),
    inset 2px 0px var(--light-purple);
}

::-webkit-scrollbar-thumb {
  background: var(--yellow);
  box-shadow: var(--ridge-border-1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--light-pink);
  border: none;
}

::-webkit-scrollbar-track {
  background: #ffffff00;
}

::-webkit-scrollbar {
  width: 1rem;
  height: 1rem;
}

::selection {
  background: var(--pink);
  color: var(--dark-purple);
}

body {
  padding: 3rem;
  background-image: url("/assets/img/tiled/candyshop.gif");
  font-family: "rainyhearts", "DOSGothic";
  font-size: var(--font-size-reg);
  color: var(--darkest-pink);
  image-rendering: pixelated;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

a {
  color: var(--dark-purple) !important;
  font-weight: bold;
  text-decoration: underline;
}

a :hover {
  color: var(--pink) !important;
}

.yellow-box a {
  font-weight: bold;
  text-decoration: underline;
}

.yellow-box a :hover {
  color: var(--pink) !important;
}

h1,
h2,
h3 {
  font-family: "Spirit";
  text-shadow: var(--text-shadow);
  color: var(--yellow);
}

h1 {
  padding: 0;
}

.content {
  padding: 1rem;
  width: 85vw;
  height: auto;
  border-width: 11px;
  border-style: solid;
  border-image: url(/assets/img/borders/pink3.png) 11 fill round;
  display: block;
  position: relative;
  text-align: center;
  gap: 1rem;
  font-family: "rainyhearts", "DOSGothic";
  font-size: var(--font-size-reg);
  color: var(--darkest-pink);
}

.content a {
  color: var(--dark-purple) !important;
  text-decoration: none;
}

.header {
  padding: 0;
  margin: 2rem;
  background-image: url(/assets/img/layout/header2.gif);
  background-size: cover;
  background-position: center;
  height: 20rem;
  border-radius: var(--border-radius);
  border: solid var(--dark-purple) 1px;
  text-align: center;
  overflow: hidden;
}

.header h1 {
  font-size: 4rem;
}

.footer {
  padding: 1rem;
  width: 85vw;
  height: auto;
  border-width: 11px;
  border-style: solid;
  border-image: url(/assets/img/borders/pink3.png) 11 fill round;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: "rainyhearts", "DOSGothic";
  font-size: var(--font-size-reg);
  color: var(--darkest-pink);
}

.navbar {
  padding: 1rem;
  width: 85vw;
  height: auto;
  border-width: 11px;
  border-style: solid;
  border-image: url(/assets/img/borders/pink3.png) 11 fill round;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "rainyhearts", "DOSGothic";
  gap: 1rem;
}

.navbar-nav {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.navbar-nav a {
  box-shadow: var(--ridge-border-1);
  border-radius: 4px;
  background: var(--yellow);
  display: inline-block;
  width: auto;
  text-decoration: none;
  padding: 5px;
  line-height: 1;
  font-size: var(--font-size-large);
  color: var(--dark-purple);
  font-weight:normal;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.nav-toggle-icon {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.content-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 1rem;
  margin: 1rem 0;
}

.content-row {
  margin-top: 1em;
  display: flex;
  gap: 1em;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-grow: 1;
  justify-content: center;
}

button {
  box-shadow: var(--ridge-border-1);
  border-radius: 4px;
  background: var(--yellow);
  display: inline-block;
  width: auto;
  text-decoration: none;
  padding: 5px;
  line-height: 1;
  border: none;
  color: var(--dark-purple);
  font-family: "rainyhearts", "DOSGothic";
  font-size: 0.9rem;
}

.btn,
.download-btn {
  box-shadow: var(--ridge-border-1);
  border-radius: 4px;
  background: var(--yellow);
  display: inline-block;
  width: auto;
  text-decoration: none;
  padding: 5px;
  line-height: 1;
  border: none;
  color: var(--dark-purple);
  font-family: "rainyhearts", "DOSGothic";
  font-size: var(--font-size-reg);
}

.collapsible {
  background-color: var(--yellow);
  color: var(--dark-purple);
  width: 100%;
  text-align: left;
  outline: none;
  font-size: 1rem;
  padding: 0.5rem;
  font-family: "rainyhearts", "DOSGothic";
  border: none;
  box-shadow: var(--ridge-border-1);
  border-radius: 4px;
}

.active,
.collapsible:hover {
  background-color: var(--light-purple);
  color: var(--dark-purple);
}

.collapse-content {
  padding: 0.5rem 1rem;
  display: none;
  overflow: hidden;
  background-color: var(--light-pink);
  color: var(--dark-purple);
  border: none;
  width: 85%;
  box-shadow: var(--ridge-border-1);
  border-radius: 4px;
}

.collapse-content li {
  color: var(--dark-purple);
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.3125rem;
  font-size: 1rem;
}

.collapse-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 1em;
  height: 1em;
  background-image: url("/assets/img/layout/pushpin.png");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  color: var(--dark-purple);
  border-bottom: 2px dotted var(--dark-purple);
  font-weight: bold;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: max-content;
  background-color: var(--light-purple);
  color: var(--dark-purple);
  text-align: center;
  padding: .5rem 1rem;
  border-radius: 4px;

  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  opacity: 0;
  transition: opacity 0.3s;
}


.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--light-purple) transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.yellow-box {
  background-color: var(--yellow);
  color: var(--dark-purple);
  width: auto;
  max-height: 20rem;
  text-align: left;
  outline: none;
  font-size: 1rem;
  padding: 1rem 2rem;
  font-family: "rainyhearts", "DOSGothic";
  border: none;
  box-shadow: var(--ridge-border-1);
  border-radius: 6px;
}

.yellow-box h1 {
  color: var(--light-purple);
  font-family: "rainyhearts", "DOSGothic";
  font-weight: bolder;
}

.yellow-box h2 {
  color: var(--light-purple);
  font-family: "rainyhearts", "DOSGothic";
  font-weight: bolder;
}

.yellow-box h3 {
  color: var(--light-purple);
  font-family: "rainyhearts", "DOSGothic";
  font-weight: bolder;
}

.purple-box {
  background-color: var(--light-purple);
  color: var(--dark-pink);
  width: auto;
  max-height: 20rem;
  text-align: left;
  outline: none;
  font-size: 1rem;
  padding: 1rem 2rem;
  font-family: "rainyhearts", "DOSGothic";
  border: none;
  box-shadow: var(--ridge-border-1);
  border-radius: 6px;
}

.purple-box h1 {
  color: var(--yellow);
  font-family: "rainyhearts", "DOSGothic";
  font-weight: bolder;
}

.purple-box h2 {
  color: var(--yellow);
  font-family: "rainyhearts", "DOSGothic";
  font-weight: bolder;
}

.purple-box h3 {
  color: var(--yellow);
  font-family: "rainyhearts", "DOSGothic";
  font-weight: bolder;
}

.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(10em, 1fr)) !important;
  gap: 1.25rem !important;
  padding: 1rem !important;
  width: 100%;
  align-items: start;

}

.gallery-item {
  border: none;
  box-shadow: var(--ridge-border-1);
  padding: 2px;
  border-radius: 5px;
  position: relative;
  height: 12em;
  aspect-ratio: 1 / 1;
  background-color: var(--pink);
  width: 100%;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  image-rendering: pixelated;
  transition: transform 0.3s ease;
  border-radius: 5px;
  border: none;
  box-shadow: none;
}

.gallery-item:hover img {
  transform: none;
}

.gallery-item .tags {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-item:hover .tags {
  opacity: 1;
}

.gallery-item .tag {
  background: var(--pink);
  border-radius: 2px;
  box-shadow: var(--ridge-border-2);
  color: var(--dark-purple);
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 2x;
}

.gallery-item .tag:hover {
  color: var(--purple);
  background-color: var(--yellow);
}

.gallery-item.hidden {
  display: none;
}

.tags {
  margin-top: 0.3em;
  position: relative;
  transform: translate(-50%, -50%);
  background-color: hsla(342, 30%, 44%, 0.384);
  top: 50%;
  left: 50%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  justify-content: center;
  color: var(--purple);
  padding: 5px;
  text-align: center;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .tags {
  opacity: 1;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: hsla(342, 30%, 44%, 0.384);
  justify-content: center;
  align-items: center;
}

.lightbox-box {
  height: 90vh;
  width: auto;
  background-color: var(--light-pink);
  box-shadow: var(--ridge-border-1);
  border-radius: 5px;
  padding: 2px;
}

.lightbox-img {
  display: block;
  max-width: auto;
  max-height: 90vh;
  border: none;
  border-radius: 3px;
  image-rendering: pixelated;
  box-shadow: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: var(--yellow);
  text-shadow: var(--text-shadow);
}

.winamp-player {
  flex-grow: 1;
  width: 15vw;
  height: 17em;
  background: var(--pink);
  border: none;
  box-shadow: var(--ridge-border-2);
  border-radius: 0.3125rem;
  font-family: "rainyhearts", "DOSGothic", monospace;
  font-size: 1.125rem;
  color: var(--dark-purple);
  padding: 0.5em;
  max-width: 20%;
}

.winamp-titlebar {
  background: var(--yellow);
  box-shadow: var(--ridge-border-1);
  padding: 1em;
  text-align: center;
  font-weight: bold;
  color: var(--pink);
  text-shadow: 1px 1px 0 var(--dark-purple);
  border-radius: 4px 4px 0 0;
}

.winamp-screen {
  background: var(--yellow);
  color: var(--dark-purple);
  font-size: 1rem;
  padding: 0.5em;
  margin-bottom: 1em;
  height: 1em;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: var(--ridge-border-2);
  border-radius: 4px;
}

.winamp-controls {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1em;
}

.winamp-controls button {
  background: var(--yellow);
  box-shadow: var(--ridge-border-2);
  color: var(--dark-purple);
  padding: 0.2em;
  font-size: 1.125rem;
  transition: all 0.2s ease-in-out;
  border: none;
  border-radius: 4px;
  width: 2rem;
}

.winamp-controls button:hover {
  background: var(--light-pink);
  color: var(--dark-purple);
}

.winamp-playlist {
  background: var(--yellow);
  border: none;
  box-shadow: var(--ridge-border-2);
  margin: 3px;
  padding: 0.3125rem;
  height: 10em;
  overflow-y: auto;
  border-radius: 4px;
}

.winamp-playlist li {
  text-align: left;
  list-style: none;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--dark-purple);
}

.winamp-playlist li:hover {
  background: var(--light-pink);
  box-shadow: var(--ridge-border-2);
  color: var(--purple);
}

.winamp-playlist::-webkit-scrollbar-thumb {
  background: var(--light-purple);
  box-shadow: var(--ridge-border-1);
  border-radius: 4px;
}

.winamp-playlist::-webkit-scrollbar-thumb:hover {
  background: var(--light-pink);
  border: none;
}

.winamp-playlist::-webkit-scrollbar {
  width: 1rem;
  height: 1rem;
}

@media screen and (max-width: 600px) {
  .navbar-nav {
    transform: translateX(200%);
    transition: transform 0.3s ease-out;
    z-index: 900;
    height: auto;
    border-width: 11px;
    border-style: solid;
    border-image: url(/assets/img/borders/pink3.png) 11 fill round;
  }

  .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1000;
    background-color: var(--lightpink);
    border: 1px solid var(--darkpink);
    border-radius: 0.5rem;
    padding: 0.25rem;
  }

  .nav-toggle-icon {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
  }

  .nav-toggle:checked~.navbar-nav {
    transform: translateX(0);
  }
}