html {
  line-height: 1.225;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background-color: #e3e3e3;
  background-color: var(--gray);
  font-family: "MS UI Gothic";
}
::selection {
  background-color: #e5ffcc !important;
  color: #000000 !important;
}
.container {
  width: 810px;
  max-width: 100%;
  margin: 0 auto 10px;
}
a {
  color: #1E40AF;
  color: var(--darker-blue);
  text-decoration: none;
}
a:hover,
a:active,
p {
  font-size: 0.875em;
  font-size: max(0.875em, 12px);
}
nav {
  color: white;
  font-size: 72%;
  font-size: max(72%, 12px);
}
nav .top {
  background: #1D4ED8;
  background: var(--logo-blue);
  padding: 15px 10px 14px 10px;
  display: flex;
  position: relative;
}
nav .top a {
  text-decoration: none;
  color: inherit;
}
nav .top a:hover {
  text-decoration: underline;
}
nav .top div {
  display: inline-block;
  vertical-align: top;
}
nav .top .left a {
  text-decoration: none;
  color: inherit;
}
nav .top .left img {
  margin: 0 0 0 6px;
}
nav .top .left .logo {
  width: 840px;
  height: 70px;
}
nav .top .center {
  text-align: center;
  flex: 1;
}
nav .top .center form {
  margin-top: -2px;
  width: 100%;
}
nav .top .right {
  text-align: right;
}
nav .links {
  background-color: #60A5FA;
  background-color: var(--lighter-blue);
  padding: 3.5px 16px;
}
nav .links .icon {
  vertical-align: -0.41em;
}
nav .links {
  margin: 0;
  list-style: none;
}
nav .links li {
  min-height: 1.4em;
}
nav .links a {
  text-decoration: none;
  color: white;
  text-shadow: 0 0 7px #095DC3;
  font-size: 0.98em;
  font-size: max(0.98em, 12px);
}
nav .links a:hover {
  text-decoration: underline;
  color: #040c5c;
}
nav .links .special a {
  color: #ffff33;
}
main {
  background: white;
  color: black;
  padding: 6px 0px;
  font-size: 80%;
}
main .left,
main .right {
  padding: 10px;
}
footer {
  text-align: center;
  font-size: 70%;
  margin: 10px 0 10px;
  padding: 10px 5px;
  background-color: #e3e3e3;
  background-color: var(--gray);
}
footer img {
  display: inline-block;
  vertical-align: middle;
}
footer p {
  vertical-align: middle;
  margin: 10px 0 5px 0;
  font-size: 90%;
}
footer .copyright {
  font-size: 80%;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
}
.general-about .profile-pic {
  display: block;
  float: left;
  margin: 0 15px 8px 0;
  height: 160px;
  width: 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.general-about .profile-pic img,
.pfp-fallback {
  width: 500px !important;
  height: 500px !important;
  object-fit: cover !important;
  object-position: center;
  display: block !important;
  transform: scale(0.32) !important;
  border-radius: 60px;
}
.general-about .details {
  display: block;
}
.general-about .details.below {
  width: 100%;
  display: inline-block;
}
.profile .contact,
.profile .table-section,
.setting-section,
.setting-section {
  margin: 10px 0;
}
.profile .contact .heading,
.profile .table-section .heading,
.setting-section .heading {
  background: #60A5FA;
  background: var(--lighter-blue);
  color: white;
  padding: 2px 7px;
}
.profile .contact .f-row {
  margin: 7px;
  font-size: 0.875em;
}
.fixed-controls {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.9);
  padding: 8px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

.fixed-controls .control-btn {
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fixed-controls .control-btn img {
  width: 20px;
  height: 20px;
  display: block;
}
table.details-table {
  width: 100%;
}
.details-table td:first-child {
  background: #BFDBFE;
  background: var(--even-lighter-blue);
  color: #1D4ED8;
  color: var(--logo-blue);
  width: 33%;
}
.details-table td {
  background: #DBEAFE;
  background: var(--lightest-blue);
  vertical-align: top;
}
.details-table td p {
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.details-table td * {
  max-width: 100%;
  left: 0;
}
.details-table td a:hover img {
  filter: invert(1);
}
.profile .blurbs .inner {
  padding: 0px 10px;
  text-align: center;
}
.profile .blurbs .section p,
.profile .friends p {
  text-align: left;
}
.friends .inner {
  padding: 15px 20px;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.favorites-section {
  margin-bottom: 1px;
  padding: 3px 12px;
  text-align: left;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

.favorites-section p {
  text-align: center;
  margin-bottom: 8px;
}

.favorites-section ul {
  text-align: left;
  margin: 0 auto;
  display: inline-block;
  padding-left: 20px;
  max-width: 100%;
}

.favorites-section li {
  margin-bottom: 4.5px;
  font-size: 11px;
  color: #FFFFFF;
}
.profile .blurbs .section {
  padding: 10px 15px;
}
.profile .blurbs .section h4 {
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.profile .blurbs .section p[itemprop="description"] {
  text-align: center;
  line-height: 1.4;
  padding: 0 10px;
}
.profile .friends .person {
  width: 105px;
  display: inline-block;
  padding: 0 10px 15px 0;
}
.profile .friends .person p {
  color: #666666;
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: 100%;
  text-align: center;
}
.profile .friends .person img:not(.icon) {
  max-width: 95px;
  max-height: 95px;
  display: block;
  margin: 0 auto;
}
.forum-table td,
.groups-table td {
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
}
.forum-table td.reply-count,
.groups-table td.member-count {
  font-size: 110%;
}
.profile-info {
  border: 2px solid rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 5px;
  margin-bottom: 10px;
}
.profile-info .inner {
  text-align: center;
}
.group-right h1,
.group-right .description {
  overflow-wrap: break-word;
  word-break: break-word;
}
.group-left .group-pic {
  max-width: 100%;
  max-height: 200px;
  width: 200px;
}
.forum-container,
.groups-container {
  margin: 0 auto 30px auto;
  width: 750px;
  padding: 0 8px;
  max-width: 100%;
}
@keyframes animated-bg-gradient {
  0% {
    background-position: 0% 11%
  }
  50% {
    background-position: 100% 90%
  }
  100% {
    background-position: 0% 11%
  }
}
@media(min-width: 30em) {
  .row {
    width: 100%;
    display: table;
    table-layout: fixed;
  }
  .col {
    display: table-cell;
    vertical-align: top;
  }
  .col.w-40 {
    width: 40%;
  }
  .col.w-50 {
    width: 50%;
  }
  .col.w-60 {
    width: 60%;
  }
  .groups-container .group-left {
    padding-right: 15px;
  }
  .groups-container .group-right {
    padding-left: 15px;
  }
}
@media(max-width: 30em) {
  nav .top {
    display: block;
  }
  nav .top .left {
    width: 100%;
    margin-bottom: 10px;
  }
  nav .top .right {
    position: absolute;
    top: 8px;
    right: 8px;
  }
  nav .top .center {
    width: 100%;
  }
  nav .top .center form {
    display: flex;
  }
  nav .links {
    text-align: center;
    padding: 3.5px 3.5px 5.5px 3.5px;
  }
  .category-list ul {
    width: calc(100% + 20px);
    margin: 10px 0 0 -10px;
    padding-left: 10px;
    display: flex;
    overflow-x: auto;
  }
  .category-list li {
    margin-right: 12px;
    word-break: normal;
    overflow-wrap: normal;
    white-space: nowrap
  }
  .topic-info,
  .reply-info {
    border-right: none;
    border-bottom: 3px solid white;
    padding: 0;
  }
  .topic-info .m-col,
  .reply-info .m-col {
    padding: 5px;
  }
  .topic-info h4,
  .reply-info h4 {
    margin-top: 4px;
  }
  .forum-table th:last-child,
  .forum-table td:last-child {
    display: none;
  }
  ul.group-actions {
    margin: 0 4px 6px 4px;
  }
  .app-landing-row {
    flex-direction: column-reverse;
  }
  .app-landing-col {
    width: 100% !important;
  }
}
@media(max-width: 17em) {
  nav .top {
    padding-top: 8px;
  }
  nav .top .left .logo {
    width: 99px;
    height: 25.2px;
    margin-left: 0;
  }
  nav .links {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    padding-left: 8px;
  }
  nav .links li:not(:last-child)::after {
    display: ruby;
  }
}
@supports(-webkit-touch-callout: none) {
  input {
    font-size: 100%;
    font-size: max(100%, 16px);
  }
}
.control-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 10px 0;
}
.control-btn {
  background: none;
  border: 1px solid #fff;
  border-radius: none;
  padding: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.control-btn img {
  width: 20px;
  height: 20px;
  display: block;
}
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
  background: #2a2a2a;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #555;
  border-radius: 8px;
  width: 300px;
  max-width: 90%;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  cursor: pointer;
  line-height: 0.5;
}
.close:hover {
  color: #FFFFFF;
}
.settings-section {
  margin-bottom: 20px;
}

.settings-section h5 {
  color: #FFFFFF;
  margin: 0 0 10px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #555;
}

.settings-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.setting-option {
  display: flex;
  align-items: center;
  color: #FFFFFF;
  font-size: 0.9em;
}

.setting-option label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.setting-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.theme-options, .audio-options {
  margin-top: 15px;
}
.theme-option, .audio-option {
  padding: 8px 12px;
  margin: 5px 0;
  border: 1px solid #555;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}
.theme-option:hover, .audio-option:hover {
  background: #3a3a3a;
  border-color: #FFFFFF;
}
.theme-option img {
  width: 20px;
  height: 20px;
}
.audio-options {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  max-height: 200px;
  overflow-y: auto;
}
.audio-option {
  padding: 3px 6px;
  margin: 0;
  border: 1px solid #555;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.3s ease;
  font-size: 16px;
  text-align: center;
  overflow: hidden;
}
.audio-option[data-audio="random"],
.audio-option[data-audio="sorted"] {
  grid-column: span 4;
  width: 100%;
  padding: 8px 12px;
  font-size: 12px;
  margin-bottom: 5px;
}
.audio-separator {
  grid-column: 1 / -1;
  height: 1px;
  background: #555;
  margin: 3px 0;
}
.skills-container {
  padding: 10px;
}
.skill-category {
  margin-bottom: 15px;
}
.skill-category h5 {
  color: #FFFFFF;
  font-size: 12px;
  margin-bottom: 8px;
  text-decoration: underline;
}
.skill-item {
  margin-bottom: 8px;
}
.skill-item span {
  display: block;
  font-size: 10px;
  margin-bottom: 3px;
  color: #FFFFFF;
}
.skill-bar {
  width: 100%;
  height: 8px;
  background-color: #333;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #555;
}
.skill-level {
  height: 100%;
  background: linear-gradient(90deg, #00ff88, #00cc66);
  border-radius: 3px;
  transition: width 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
}
.skill-bar {
  box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
}
.stamps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 5px;
  justify-items: center;
  align-items: center;
  max-width: 350px;
  margin: 0 auto;
}
.stamp-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 99px;
  height: 56px;
  border-radius: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stamp-item img {
  max-width: 99px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
}
@media (max-width: 600px) {
  .stamps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.projects-list {
  padding: 4px;
}
.project-item {
  margin-bottom: 15px;
  padding: 8px;
  border: 1px solid #555;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.project-item:last-child {
  margin-bottom: 0;
}
.project-item h5 {
  color: #FFFFFF;
  font-size: 12px;
  margin: 0 0 5px 0;
  text-decoration: underline;
  letter-spacing: 1px;
}
.project-item p {
  color: #919191;
  font-size: 12px;
  margin: 3px 0;
  line-height: 1.3;
  letter-spacing: 1px;
}
.project-item a {
  color: #FFFFFF;
  text-decoration: underline;
  font-size: 9px;
  word-break: break-all;
  letter-spacing: 1px;
}
.project-item a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.project-item.compact {
  padding: 5px;
  margin-bottom: 8px;
}
.project-item.compact h5 {
  font-size: 11px;
  margin-bottom: 3px;
}
.project-item.compact p {
  font-size: 9px;
  margin: 2px 0;
}
#intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('./assets/themes/intro.gif');
  background-size: 75% 110%;
  background-position: center;
  background-color:#000000;
  background-repeat: no-repeat;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadeOut 0.5s ease-in-out 2s forwards;
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.spin-gif {
  position: fixed;
  width: 400px;
  height: 400px;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
}
.spin-gif.show {
  opacity: 1;
}
.spin-gif.left {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.spin-gif.right {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
#vinyl-gallery * {
  all: unset;
}
#vinyl-gallery {
  all: initial;
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: row;
  position: relative;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  align-items: flex-end;
}
#vinyl-gallery .vinyl {
  all: unset;
  perspective: 400px;
  width: 17.5px;
  transition: width 0.5s;
}
#vinyl-gallery .vinyl:hover {
  width: 120px;
}
#vinyl-gallery img {
  all: unset;
  transition: transform 0.5s, width 0.5s, height 0.5s, margin-top 0.5s;
  width: 125px;
  height: 125px;
  transform: rotateX(0deg) rotateY(25deg);
  transform-style: preserve-3d;
  border: 2px solid rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
#vinyl-gallery .vinyl:hover img {
  transform: rotateX(0deg) rotateY(10deg);
  width: 125px;
  height: 125px;
  margin-top: -5px;
}
#vinyl-gallery .title {
  color: #000000;
  display: block;
  visibility: hidden;
  position: absolute;
  bottom: 5px;
  text-align: center;
  width: 100%;
  font-size: 12px;
}
#vinyl-gallery .vinyl:nth-child(n):hover + .title {
  visibility: visible;
}
.theme-secret-active {
  cursor: default !important;
}
.theme-secret-active * {
  cursor: default !important;
}
.theme-secret-active ::selection {
  background-color: #808080 !important;
  color: #000000 !important;
}
.pfp-fallback[src*="secret1.gif"] {
  transition: opacity 0.5s ease-in-out;
  filter: grayscale(0%);
}
body.secret-theme-active,
body.secret-theme-active * {
  cursor: default !important;
}
.pfp-fallback[src*="secret1.gif"],
.pfp-fallback[src*="secret2.gif"],
.pfp-fallback[src*="secret3.gif"],
.pfp-fallback[src*="secret4.gif"],
.pfp-fallback[src*="secret5.gif"] {
  transition: opacity 0.5s ease-in-out;
  filter: grayscale(0%);
  border: 2px solid rgba(128, 128, 128, 0.3);
}
body.secret-theme-active,
body.secret-theme-active * {
  cursor: default !important;
}
.secret-theme-active .profile-pic {
  box-shadow: 0 0 15px rgba(128, 128, 128, 0.4);
  border-radius: 12px;
}
body.secret-theme-active .general-about .profile-pic {
  position: relative;
  overflow: visible;
  box-shadow: 0 0 15px rgba(128, 128, 128, 0.4);
  border-radius: 12px;
}
.general-about:has(.pfp-fallback[src*="secret/"]) .profile-pic::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  width: 138px;
  height: 138px;
  background-image: url('./assets/pfp/frame.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 999;
}

.general-about:has(.pfp-fallback[src*="secret/"]) .profile-pic {
  position: relative !important;
  overflow: visible !important;
  z-index: 1;
}
.debug-secret-area {
  border: 1px dashed rgba(255, 0, 0, 0.3) !important;
}
.falling-emoji {
  position: fixed;
  pointer-events: none;
  z-index: 100;
  opacity: 0.9;
  transition: top linear, opacity ease-out;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.secret-theme-active .container {
  position: relative;
  z-index: 50;
}
.secret-theme-active {
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 16px;
  background: #000000;
  border: 1px solid #00ff88;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00ff88, #00cc66);
  border: 1px outset #00ff88;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00cc66, #009944);
}

::-webkit-scrollbar-button {
  background: #00cc66;
  border: 1px outset #00ff88;
}

[data-theme="blue"] ::-webkit-scrollbar {
  background: #000000;
  border: 1px solid #ff0000;
}

[data-theme="blue"] ::-webkit-scrollbar-track {
  background: #200000;
}

[data-theme="blue"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ff3838, #cc0000);
  border: 1px outset #ff0000;
}

[data-theme="blue"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #cc0000, #990000);
}

[data-theme="blue"] ::-webkit-scrollbar-button {
  background: #cc0000;
  border: 1px outset #ff0000;
}

[data-theme="red"] ::-webkit-scrollbar {
  background: #000000;
  border: 1px solid #ffffff;
}

[data-theme="red"] ::-webkit-scrollbar-track {
  background: #202020;
}

[data-theme="red"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ffffff, #808080);
  border: 1px outset #ffffff;
}

[data-theme="red"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #808080, #404040);
}

[data-theme="red"] ::-webkit-scrollbar-button {
  background: #808080;
  border: 1px outset #ffffff;
}

[data-theme="purple"] ::-webkit-scrollbar {
  background: #000000;
  border: 1px solid #ff00ff;
}

[data-theme="purple"] ::-webkit-scrollbar-track {
  background: #200020;
}

[data-theme="purple"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  border: 1px outset #ff00ff;
}

[data-theme="purple"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00cccc, #cc00cc);
}

[data-theme="purple"] ::-webkit-scrollbar-button {
  background: #800080;
  border: 1px outset #ff00ff;
}

[data-theme="secret"] ::-webkit-scrollbar {
  background: #000000;
  border: 1px solid #a7c8fa;
}

[data-theme="secret"] ::-webkit-scrollbar-track {
  background: #202840;
}

[data-theme="secret"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #a7c8fa, #095dc3);
  border: 1px outset #a7c8fa;
}

[data-theme="secret"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #095dc3, #063d82);
}

[data-theme="secret"] ::-webkit-scrollbar-button {
  background: #095dc3;
  border: 1px outset #a7c8fa;
}