@charset "UTF-8";
@font-face {
  font-family: "Super Mario 256";
  src: url("/assets/SuperMario256.ttf") format("truetype");
}
@font-face {
  font-family: "Hylia Serif";
  src: url("/assets/alt-theme/HyliaSerifBeta-Regular.otf") format("opentype");
}
@keyframes bounceButton {
  to {
    transform: scale(0.95);
  }
}
@keyframes gradient-scroll {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 200% 50%;
  }
}
#grassBox {
  font-size: 3.8vmin;
  width: 65vmin;
  border-radius: 0.9vmin;
  background-position: center;
  margin: 1vmin;
  padding: 8vmin;
  text-align: center;
}

#optForm {
  margin: 3px;
}

select,
input {
  font-family: sans-serif;
}

select {
  background: linear-gradient(45deg, #034694 40%, #8c7150 75%, #DBA111 100%);
  border-color: black;
  color: white;
}

input {
  background: linear-gradient(45deg, #034694 40%, #8c7150 75%, #DBA111 100%);
  color: white;
}

button {
  border-radius: 2.5vmin;
  block-size: auto;
  min-block-size: 10.5vmin;
  padding: 1.2vmin 3.5vmin;
  margin: 0.8vmin;
  font-size: 4.2vmin;
  background: linear-gradient(45deg, #034694 40%, #8c7150 75%, #DBA111 100%);
  color: white;
  outline-color: initial;
}

button,
input {
  transition: transform 0.2s ease;
}
@media (hover: hover) {
  button:hover,
  input:hover {
    transform: translateY(-0.9vh);
  }
}

#back img {
  position: absolute;
  top: 1.8vmin;
  left: 1.8vmin;
  width: 7.2vmin;
  font-size: 7.2vmin;
}

#music {
  margin: 2px;
}

/* 🎧 Audio Control Panel Container Setup */
#audctrls {
  display: inline-flex !important;
  flex-wrap: wrap;
  gap: 1.8vmin;
  justify-content: center;
  align-items: center;
}

/* 🍳 Egg Cookbook Action Tray Setup */
.menu-actions-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8vmin;
  /* ─── STABILITY FIX: Align to the start so the first button never jumps ─── */
  justify-content: flex-start;
  text-align: left;
  /* Centers the entire tray container itself on the page */
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.8vmin;
  box-sizing: border-box;
}

/* 📱 Responsive Adaptive Breakdown */
@media (max-width: 480px) {
  #audctrls,
  .menu-actions-tray {
    flex-direction: column;
    align-items: stretch;
    width: 72vmin;
    margin-left: auto;
    margin-right: auto;
  }
  #audctrls button,
  .menu-actions-tray button {
    width: 100%;
  }
}
/* Tooltip Layout Normalization Layer Overrides */
#audctrls button .tooltiptext,
.menu-actions-tray button .tooltiptext {
  position: absolute;
  visibility: hidden;
  display: block;
  opacity: 0;
  top: 125%;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999 !important;
  pointer-events: none;
  /* ─── CONTROLS AREA CONTENT SPANNING AT bottom OVERRIDES ─── */
  width: auto; /* Removes rigid pixel bounds */
  white-space: nowrap; /* Forces content to shape bounds instantly */
  padding: 1vmin 2.5vmin;
  font-size: 2.7vmin;
  transition: opacity 0.3s, visibility 0.3s;
}

/* Force state triggers on element interaction */
#audctrls button:hover .tooltiptext,
.menu-actions-tray button:hover .tooltiptext {
  visibility: visible !important;
  opacity: 1 !important;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 3vmin;
  margin-top: 2vmin;
}
.project-list h2 {
  font-size: 4vmin;
  margin-bottom: 1vmin;
}

.project-card {
  background-color: rgba(0, 0, 0, 0.45);
  border: 0.3vmin solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5vmin;
  padding: 2.5vmin;
  text-align: left;
  box-shadow: 0 0.5vmin 1.5vmin rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  .project-card:hover {
    transform: translateY(-0.4vh);
    border-color: cyan;
  }
}
.project-card .project-title {
  font-size: 3.2vmin;
  margin-top: 0;
  margin-bottom: 1.5vmin;
}
.project-card .project-details {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1.2vmin;
  row-gap: 0.8vmin;
  margin: 0 0 1.8vmin 0;
  font-size: 2.3vmin;
}
.project-card .project-details dt {
  font-weight: bold;
  color: gold;
}
.project-card .project-details dd {
  margin-left: 0;
}
.project-card .project-description {
  font-size: 2.2vmin;
  line-height: 1.4;
  margin: 0;
}

.appIcon:active,
.appIcon:focus-visible,
a:focus-visible .appIcon {
  animation: bounceButton 0.25s ease-in-out forwards;
}

.appIcon,
.link {
  width: 9vmin;
  margin-top: 0.9vmin;
  margin-bottom: 0.9vmin;
  border-radius: 30%;
  filter: drop-shadow(0.45vh 0.45vh 0.13vh rgba(0, 0, 0, 0.6));
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: all;
  transition-duration: 0.07s;
  transition-timing-function: ease-in-out;
}

/* Base setup for the body dynamic background layers */
body#_bg {
  min-width: 100vw;
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  position: relative;
}

body#_bg::before,
body#_bg::after {
  min-width: 100vw;
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transition: opacity 2s ease-in-out;
  opacity: 0;
}

body#_bg::before {
  background-image: var(--bg-before, none);
  opacity: 1;
}

body#_bg::after {
  background-image: var(--bg-after, none);
}

body#_bg.bg-flip::before {
  opacity: 0;
}

body#_bg.bg-flip::after {
  opacity: 1;
}

@keyframes bubblePop {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.95;
  }
  30% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
}
@keyframes moon {
  0% {
    transform: translate(-50%, calc(-50% + 20px)) scale(0.5) rotate(-45deg);
    opacity: 0;
  }
  25% {
    transform: translate(calc(-50% - 15px), calc(-50% - 10px)) scale(1.3) rotate(20deg);
    opacity: 1;
  }
  50% {
    transform: translate(calc(-50% + 15px), calc(-50% - 20px)) scale(1.1) rotate(-15deg);
  }
  75% {
    transform: translate(calc(-50% - 5px), calc(-50% - 25px)) scale(1.2) rotate(10deg);
  }
  100% {
    transform: translate(-50%, calc(-50% - 30px)) scale(1.1) rotate(0deg);
    opacity: 1;
  }
}
/* =========================================================================
   PERFECTLY CENTERED & INNER-INSET SEAMLESS STACK
   ========================================================================= */
.egg {
  position: relative !important;
  width: clamp(1.8rem, 2.5vw, 2.5rem);
  height: clamp(1.8rem, 2.5vw, 2.5rem);
  aspect-ratio: 1/1;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.egg .egg-box,
.egg .egg-cracked {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
.egg {
  /* -------------------------------------------------------------------------
     LOCKED DEFAULT STATE & HOVER LOGIC
     ------------------------------------------------------------------------- */
}
.egg:not(.cracking):not(.unlocked) .egg-box:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}
.egg:not(.cracking):not(.unlocked) .egg-cracked {
  z-index: 1;
  visibility: visible !important;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0.8;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.egg {
  /* -------------------------------------------------------------------------
     CRACKING POP SEQUENCE
     ------------------------------------------------------------------------- */
}
.egg.cracking .egg-box {
  animation: bubblePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.egg.cracking .egg-cracked {
  z-index: 3;
  opacity: 1 !important;
  visibility: visible !important;
  animation: moon 1.8s ease forwards;
}
.egg {
  /* -------------------------------------------------------------------------
     PERMANENT UNLOCKED STATE
     ------------------------------------------------------------------------- */
}
.egg.unlocked .egg-box,
.egg.unlocked .egg-cracked {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}
.egg.unlocked .egg-reward {
  opacity: 1;
  visibility: visible;
}

body {
  margin: 0;
  padding: 0;
  background: #000;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

header,
main,
footer {
  text-align: -webkit-center;
}

header,
h1,
h2,
h3,
p,
a,
span,
button,
label,
kbd,
dt,
dd,
li,
ul,
ol {
  font-family: "Super Mario 256", sans-serif;
  color: white;
  -webkit-text-stroke-width: 0.05em;
  -webkit-text-stroke-color: black;
}

header {
  font-size: clamp(1.1rem, 2.6vw, 2.2rem);
  margin-top: 1.8vmin;
  margin-bottom: 1.8vmin;
  background: linear-gradient(45deg, cyan, #A5F2F3, #B3E7F4, #DDF9F1, #E25C46, #E42217, #CF1020, #AA0033);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

a {
  text-decoration: none;
}

kbd {
  display: inline-block;
  background-color: #eee;
  border-radius: 3px;
  border: 1px solid #b4b4b4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
  color: #333;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1;
  padding: 2px 4px;
  white-space: nowrap;
}

audio {
  width: max-content;
  height: max-content;
}

.boxBtn {
  border-radius: 1.8vmin;
  background: linear-gradient(45deg, #034694 40%, #8c7150 75%, #DBA111 100%);
  padding: 7px;
  font-size: 2.7vmin;
}

.flex {
  display: flex;
  justify-content: center;
}

.gold {
  color: gold;
}

.kb-list {
  text-align: left;
  color: cyan;
}

.socialLogo {
  margin-right: 9px;
}

.bottom {
  font-size: 2.7vmin;
}

#learnmore,
.dLink {
  color: rgb(0, 174, 255);
  text-decoration: underline;
}

/* ─── TOOLTIP BASE COMPONENT ─── */
.tooltip {
  display: inline-block;
  position: relative;
}
.tooltip .tooltiptext {
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1;
  width: auto;
  white-space: nowrap;
  padding: 1vmin 2.5vmin;
  transform: translateX(-50%);
  border-radius: 5px;
  background-color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.7vmin;
  text-align: center;
  -webkit-text-stroke-width: 0;
  transition: opacity 0.3s;
  opacity: 0;
}
.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

#update-banner {
  display: none;
  background: #ffce00;
  color: #000;
  padding: 0.75rem;
  /* Relative unit based on root font size */
  text-align: center;
  font-weight: bold;
  /* Centering positioning */
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  /* Sizing with relative constraints */
  width: 90vw;
  max-width: 40rem;
  border-radius: 0.25rem;
  z-index: 9999;
}
#update-banner button#refresh-btn {
  margin-left: 1rem;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  font-weight: bold;
}

details > div {
  font-size: smaller;
  margin-left: 1.5rem;
}/*# sourceMappingURL=main.css.map */