/* -------------------------------------------------- */
/* Reset & Base Styles */
/* -------------------------------------------------- */
html {
  --text-scale: 1;
  font-size: calc(16px * var(--text-scale));
}

body {
  background-color: rgb(197, 197, 197);
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  font-size: 14px;
  justify-content: space-between;
  margin: 0;
  min-height: 100vh;
  padding: 25px;
  position: relative;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}



p {
  font-family: 'Outfit';
  font-weight: lighter;
  text-align: center;
  color: black;
}

/* -------------------------------------------------- */
/* Typography */
/* -------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  text-align: center;
}

h1 {
  color: black;
  font-family: 'Outfit', serif;
  font-size: 10vh;
  font-weight: 1200;
  margin: 0;
  padding-top: 0;
  text-align: center;
  user-select: none;
}

/* Font Classes */
.outfit-<uniquifier> {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: <weight>;
}

.proza-libre-bold { font-family: "Proza Libre", sans-serif; font-style: normal; font-weight: 700; }
.proza-libre-bold-italic { font-family: "Proza Libre", sans-serif; font-style: italic; font-weight: 700; }
.proza-libre-extrabold { font-family: "Proza Libre", sans-serif; font-style: normal; font-weight: 800; }
.proza-libre-extrabold-italic { font-family: "Proza Libre", sans-serif; font-style: italic; font-weight: 800; }
.proza-libre-medium { font-family: "Proza Libre", sans-serif; font-style: normal; font-weight: 500; }
.proza-libre-medium-italic { font-family: "Proza Libre", sans-serif; font-style: italic; font-weight: 500; }
.proza-libre-regular { font-family: "Proza Libre", sans-serif; font-style: normal; font-weight: 400; }
.proza-libre-regular-italic { font-family: "Proza Libre", sans-serif; font-style: italic; font-weight: 400; }
.proza-libre-semibold { font-family: "Proza Libre", sans-serif; font-style: normal; font-weight: 600; }
.proza-libre-semibold-italic { font-family: "Proza Libre", sans-serif; font-style: italic; font-weight: 600; }

.coral-pixels-regular {
  font-family: "Coral Pixels", serif;
  font-style: normal;
  font-weight: 400;
}

/* -------------------------------------------------- */
/* Background */
/* -------------------------------------------------- */
#bg-canvas {
  filter: blur(60px);
  height: 100%;
  left: 0;
  opacity: 70%;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;
}

/* -------------------------------------------------- */
/* Donut Area */
/* -------------------------------------------------- */
#donut-container {
  border-radius: 12px;
  cursor: grab;
  height: 50vh;
  overflow: hidden;
  position: relative;
  width: 100%;
}

#donut-wrapper {
  margin: 2rem auto 0 auto;
  max-width: 800px;
  text-align: center;
  width: 100%;
}

/* -------------------------------------------------- */
/* Button */
/* -------------------------------------------------- */
#add-sprinkles {
  background-color: rgb(255, 105, 180);
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-family: 'Proza Libre', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  transition: background-color 0.2s ease;
}

#add-sprinkles:disabled {
  background-color: #777;
  cursor: not-allowed;
}

#add-sprinkles:disabled:hover {
  background-color: #424242;
  cursor: not-allowed;
}

#add-sprinkles:hover {
  background-color: rgb(238, 87, 162);
}

/* -------------------------------------------------- */
/* Taskbar */
/* -------------------------------------------------- */
#taskbar {
  align-items: center;
  background: rgb(226, 226, 226);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  left: 50%;
  max-width: 800px;
  opacity: 70%;
  padding: 10px 20px;
  position: relative;
  top: 10vh;
  transform: translateX(-50%);
  width: 80%;
  z-index: 100;
  backdrop-filter: blur(20px);
}

.taskbar-icon {
  align-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  display: flex;
  flex: 1 1 50px;
  justify-content: center;
  max-width: 60px;
  min-width: 40px;
  position: relative;
  transition: all 0.2s ease;
}

.taskbar-icon a {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.taskbar-icon img {
  height: 90%;
  object-fit: contain;
  pointer-events: none;
  transition: transform 0.2s ease;
  width: 90%;
}

.taskbar-icon:hover {
  background: rgba(200, 200, 200, 0.3);
  transform: scale(1.1);
}

.taskbar-icon:hover img {
  transform: scale(1.2);
}

.taskbar-icon::after {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  color: white;
  content: attr(data-tooltip);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  left: 50%;
  margin-bottom: 10px;
  opacity: 0;
  padding: 4px 8px;
  pointer-events: none;
  position: absolute;
  bottom: 100%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.taskbar-icon:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* -------------------------------------------------- */
/* Search Bar */
/* -------------------------------------------------- */
.search-container {
  display: flex;
  justify-content: center;
  margin: 5vh auto 2rem auto;
  max-width: 600px;
  width: 80%;
  z-index: 20;
}

#search-input {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: black;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  outline: none;
  padding: 14px 20px;
  transition: box-shadow 0.3s ease;
  width: 100%;
}

#search-input:focus {
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.4);
}
/* -------------------------------------------------- */
/* Chat Bubbles - iPhone style */
/* -------------------------------------------------- */
#references-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: 'Outfit', sans-serif;
  color: black;
  user-select: none;
  opacity: 0.9;
}

/* Bubble style - iPhone-like chat bubble */
.bubble {
  background: rgb(226, 226, 226);
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1rem 1.5rem;
  max-width: 80%;
  align-self: flex-start;
  font-size: 1.1rem;
  line-height: 1.4;
  position: relative;
  user-select: text;
}

/* Name header above bubble text */
.bubble .bubble-name {
  color: rgb(255, 105, 180);
  font-family: 'Proza Libre', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  user-select: none;
}

/* Typing dots container */
.typing-dots {
  display: flex;
  gap: 5px;
  width: 36px;
  height: 14px;
  align-items: center;
  justify-content: flex-start;
}

/* Name header above bubble text */
.bubble-label {
  font-family: 'Proza Libre', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  /* Remove static color to allow inline color override */
  /* color: rgb(255, 105, 180); */
  margin-bottom: 6px;
  user-select: none;
}

/* Each dot */
.typing-dots span {
  /* Remove static color to allow inline style */
  /* background: rgb(255, 105, 180); */
  border-radius: 50%;
  width: 10px;
  height: 10px;
  opacity: 0.3;
  animation-name: blink;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

/* Stagger animation delays for each dot */
.typing-dots span:nth-child(1) {
  animation-delay: 0s;
}
.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* Blink keyframes */
@keyframes blink {
  0%, 80%, 100% {
    opacity: 0.3;
  }
  40% {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 600px) {
  #references-container {
    max-width: 90%;
  }

  .bubble {
    max-width: 100%;
    font-size: 1rem;
  }
}

/* -------------------------------------------------- */
/* Contact Form */
/* -------------------------------------------------- */
.contact-form {
  background: rgb(226, 226, 226);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: black;
  left: 50%;
  max-width: 600px;
  opacity: 0.7;
  padding: 20px;
  position: relative;
  top: 5vh;
  transform: translateX(-50%);
  width: 80%;
  z-index: 10;
  backdrop-filter: blur(20px);
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 20px;
}

.contact-form h6 {
  color: black;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 6px;
  margin-top: 0px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  padding: 10px;
  width: 100%;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  align-self: center;
  background-color: rgb(255, 105, 180);
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-family: 'Proza Libre', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  transition: background-color 0.2s ease;
  width: 50%;
}

.contact-form button[type="submit"]:hover {
  background-color: rgb(238, 87, 162);
}

/* -------------------------------------------------- */
/* Achievements */
/* -------------------------------------------------- */
.achievements-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 60px 10%;
  position: relative;
  top: 5vh;
  z-index: 10;
}

.achievement-card {
  background: rgb(226, 226, 226);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: black;
  left: 50%;
  max-width: 80%;
  opacity: 0.7;
  padding: 20px;
  position: relative;
  text-align: center;
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: 100%;
  backdrop-filter: blur(20px);
}

.achievement-card:hover {
  opacity: 0.9;
  transform: translateX(-50%) scale(1.03);
}

.achievement-icon {
  height: 60px;
  margin-bottom: 12px;
  width: 60px;
}

.achievement-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.achievement-desc {
  color: #333;
  font-family: 'Proza Libre', sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

.achievement-link{
  text-decoration: none;
}

/* -------------------------------------------------- */
/* Settings Card */
/* -------------------------------------------------- */
#settings-card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  left: 50%;
  opacity: 0;
  padding: 1.5rem;
  pointer-events: none;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 300px;
  z-index: 200;
  backdrop-filter: blur(20px);
}

#settings-card.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

#settings-card h2 {
  font-size: 1.4rem;
  margin-top: 0;
}

.setting-option {
  align-items: center;
  display: flex;
  font-family: 'Outfit';
  font-size: 1.2rem;
  justify-content: space-between;
  padding: 5px 0;
}

/* Switch */
.switch {
  display: inline-block;
  height: 26px;
  position: relative;
  width: 50px;
}

.switch input {
  height: 0;
  opacity: 0;
  width: 0;
}

.slider {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 34px;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.4s;
}

.slider:before {
  background-color: rgb(255, 105, 180);
  border-radius: 50%;
  bottom: 3px;
  content: "";
  height: 20px;
  left: 3px;
  position: absolute;
  transition: 0.4s;
  width: 20px;
}

input:checked + .slider {
  background-color: rgb(255, 105, 180);
}

input:checked + .slider:before {
  background-color: white;
  transform: translateX(24px);
}

/* -------------------------------------------------- */
/* Misc */
/* -------------------------------------------------- */
.copyright {
  display: flex;
  justify-content: center;
  position: relative;
  top: 10vh;
}

/* -------------------------------------------------- */
/* Responsive Media Queries */
/* -------------------------------------------------- */
@media (max-width: 600px) {
  #taskbar,
  .contact-form,
  .search-container {
    width: 90%;
  }

  .taskbar-icon {
    max-width: 50px;
  }
}

/* -------------------------------------------------- */
/* Bubble Alternation and Label Styling */
/* -------------------------------------------------- */
.bubble.left {
  align-self: flex-start;
  border-top-left-radius: 0;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.bubble.right {
  align-self: flex-end;
  border-top-right-radius: 0;
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

#loader{
  position: absolute;
  z-index: 1001;
  background-color:rgb(194, 194, 194);
  width: 100vw;
  height: 100vh;
  top: 0px;
  left: 0px;
  opacity: 1;
  animation: fadeOut 2.5s ease forwards;
  animation-delay: 1s;
  text-align: center;
}

#loader h1{
  text-align: center;
  margin-top: 19vh;
  font-weight: 500;
  font-size: 8rem;
  margin-right: 10px;
}
@keyframes fadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }
  99% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    display: none;
  }
}
.donut {
  font-size: 3rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* -------------------------------------------------- */
/*  Temple Of light */
/* -------------------------------------------------- */

.glow {
  font-size: 80px;
  color: black;
  text-align: center;
  animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px whitesmoke, 0 0 20px whitesmoke, 0 0 30px #e6b000, 0 0 40px #e6b000, 0 0 50px #e6b000, 0 0 60px #e6b000, 0 0 70px #e6b000;
  }
  
  to {
    text-shadow: 0 0 20px whitesmoke, 0 0 30px #e2b41e, 0 0 40px #e2b41e, 0 0 50px #e2b41e, 0 0 60px #e2b41e, 0 0 70px #e2b41e, 0 0 80px #e2b41e;
  }
}
.heading-image {
  width: 90vw;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 25px;
  background: rgba(226, 226, 226, 0.7); 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.heading-image img {
  width: 100%;
  height: auto;
  max-height: 60vh; 
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
  border-radius: 20px;
}

.heading-image:hover img {
  filter: grayscale(0%);
  box-shadow: 0 15px 35px rgb(230, 176, 0, 0.5);
}

.heading-image img.colored {
  filter: grayscale(0%);
}

#rolley-polley:hover img{
  box-shadow: 0 15px 35px rgba(0, 73, 230, 0.5);
}

.text-container{
  background-color: white;
  opacity: 100%;
  border-radius: 10px ;
}

#black{
  color: black;
  font-size: 20px;
}

.media{
  display: flex;
  justify-items: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80%;
  border-radius: 1%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 600px) {
  #img-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .heading-image {
    width: 100%;
    max-width: 95vw;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
  }

  .heading-image img {
    width: 100%;
    max-width: 95vw;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
  }
}