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

:root {
  --light-color: hsl(0, 0%, 100%);
  --font-family: "Poppins", sans-serif;
  --dark-color: hsl(0, 0%, 5%);
  --base: hsl(200, 95%, 50%);
  --bg-gradient: linear-gradient(to bottom, hsl(200, 80%, 20%), hsl(200, 50%, 5%));
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.12);
}

* {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.jersey-25-regular {
  font-family: "Jersey 25", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 140%;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--light-color);
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
}

.background-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  background: #000;
}

strong {
  font-weight: 600;
}

.overlay {
  width: 100%;
  max-width: 1140px;
  max-height: 640px;
  padding: 8rem 6rem;
  display: flex;
  background: rgba(255, 255, 255, 0.375);
  box-shadow: 0 0.75rem 2rem 0 rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.125);
}

.overlay__inner {
  max-width: 36rem;
}

.text-gradient {
  background-image: linear-gradient(45deg, var(--base) 25%, var(--complimentary2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

.overlay__btns {
  width: 100%;
  max-width: 30rem;
  display: flex;
}

.overlay__btn:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.overlay__btn--transparent {
  background: transparent;
  color: var(--dark-color);
  border: 2px solid var(--dark-color);
  border-width: 2px;
  margin-right: 0.75rem;
}

.overlay__btn-emoji {
  margin-left: 0.375rem;
}

@media (prefers-contrast: high) {
  .orb-canvas {
    display: none;
  }
}

@media only screen and (max-width: 1140px) {
  .overlay {
    padding: 8rem 4rem;
  }
}

@media only screen and (max-width: 840px) {
  body {
    padding: 1.5rem;
  }

  .overlay {
    padding: 4rem;
    height: auto;
  }
}

@media only screen and (max-width: 600px) {
  .overlay {
    padding: 1.5rem;
  }

  .overlay__btns {
    flex-wrap: wrap;
  }

  .overlay__btn:first-child {
    margin-bottom: 1rem;
  }
}

:root {
  font-size: 19px;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

p {
  margin: 0;
}

p:not(:last-child) {
  margin-bottom: 1.5em;
}

.card {
  width: 300px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.010);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  text-align: center;
  color: var(--light-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cardparalax {
  color: #e1d9d1;
  max-width: 400px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 30px;
  height: 300px;
  padding: 35px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.41);
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
}

.animation {
  position: sticky;
  animation-name: example;
  animation-duration: 4s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  color: #e1d9d1;
  max-width: 400px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 30px;
  height: 300px;
  padding: 35px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.41);
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(15px);
}

@keyframes example {
  0% {
    rotate: 0deg;
  }
  25% {
    rotate: 90deg;
  }
  50% {
    rotate: 180deg;
  }
  75% {
    rotate: 270deg;
  }
  100% {
    rotate: 360deg;
  }
}

#test {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#test:hover {
  font-size: 105%;
  scale: 105%;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  animation-play-state: paused;
}

#testalt {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#testalt:hover {
  background: rgba(255, 255, 255, 0.18);
}

cardparalax:hover {
  background: rgba(255, 255, 255, 0.18);
}

.nav-blur {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(50px);
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.25);
}

#canvas {
  background: linear-gradient(#670000, #87009d);
}

.overlay__btn {
  width: 100%;
  font-size: 0.75rem;
  margin-right: 0;
}

.centered {
  align-items: center;
  justify-content: center;
}

.padding {
  margin-top: 100px;
}

.sizing {
  width: 20%;
}

#icons {
  width: 30px;
  height: 30px;
  scale: 120%;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#icons:hover {
  scale: 150%;
}

.tint {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.box {
  color: #e1d9d1;
  width: 400px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 30px;
  padding: 35px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.41);
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(15px);
}

.navbar {
  width: 100%;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  position: fixed;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}

.lang-select:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-select option {
  background: #111;
  color: white;
}

.navbar a.navbar-text {
  text-decoration: none;
  color: white;
}

.navbar a.navbar-text:hover {
  text-decoration: none;
  color: #ccc;
}

.intro {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 5;
  position: relative;
  box-sizing: border-box;
  padding: 20px;
}

.intro h1 {
  font-size: 4rem;
  margin-bottom: 16px;
  font-family: 'Jersey 25', sans-serif;
  color: #fff;
}

.intro p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  padding: 10px 20px;
  z-index: 5;
  position: relative;
}

.card a img {
  width: 30px;
  height: 30px;
  margin: 0 5px;
}

.card p {
  margin: 10px 0;
}

@keyframes hoverIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hover-in {
  animation: hoverIn 1s ease-out;
}

.projects {
  margin-top: 50px;
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 1.5rem;
  font-weight: bold;
  position: relative;
  z-index: 5;
}

.project-card {
  display: flex;
  align-items: center;
  text-align: left;
  border-radius: 20px;
  padding: 15px;
  margin: 15px auto;
  max-width: 900px;
  height: 150px;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.010);
  box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  overflow: hidden;
  position: relative;
}

.project-icon {
  width: 100px;
  height: 100px;
  margin-right: 15px;
  border-radius: 10px;
  z-index: 1;
  position: relative;
}

.project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.project-info h3 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-info p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.project-info a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 300px;
  min-width: 120px;
  height: 35px;
  background-color: #24b24b;
  color: black;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  padding: 0 15px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(36, 178, 75, 0.5));
}

.project-info a:hover {
  background-color: #1e9e42;
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(36, 178, 75, 0.8));
}

.no-link {
  color: gray;
  font-style: bold;
  font-size: 0.9rem;
}

.project-stats {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.stats-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.stats-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  filter: invert(1);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.stats-icon:hover {
  transform: scale(1.2);
  filter: invert(0.5);
}

.stats-count {
  font-size: 0.9rem;
  color: #ccc;
  margin-left: 5px;
  white-space: nowrap;
}

.profile-container {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 300px;
  z-index: 10;
}

#modrinth-profile-container .project-card {
  padding: 15px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

#modrinth-profile-container .project-icon {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
}

#modrinth-profile-container .project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#modrinth-profile-container .project-info h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#modrinth-profile-container .project-info p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #ccc;
}

#modrinth-profile-container .dynamic-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 120px;
  height: 35px;
  background-color: #24b24b;
  color: black;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  padding: 0 15px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(36, 178, 75, 0.5));
}

#modrinth-profile-container .dynamic-button:hover {
  background-color: #1e9e42;
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(36, 178, 75, 0.8));
}