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

/* #region Base */
:root {
  --primary-color: #242f40;
  --secondary-color: #0f0f11c2;
  --tertiary-color: #040310;
  --accent-color: #d6a63f;
  --text-primary: #eff1f3;
  --text-secondary: #d3dbdd;
  --gradient: linear-gradient(135deg, #040813 0%, #030508 100%);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  --nav-padding: 80px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  height: 100%;
}

keywords {
  display: none;
}

body {
  height: 100%;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1;
  overflow-x: hidden;
  background: var(--gradient);
  min-height: 100vh;
  display: -ms-flexbox;
  -ms-flex-direction: column;
  flex-direction: column;
  align-items: center;
  background-image: url("/resources/images/background_space.png");
  background-repeat: round;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--tertiary-color);
  background-blend-mode: multiply;
}

main {
  display: flex;
  flex-direction: column;
  margin: var(--nav-padding) auto 0;
  width: 100%;
  -ms-flex-positive: 1;
  align-items: center;
  justify-content: center;
}

.main-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 70%;
  max-width: 1500px;
  margin: 30px auto 0;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}

* ::before,
::after {
  border-width: 0;
}

/* #endregion */

/* #region Sizing */

.w-full {
  width: 101%;
}

.h-full {
  height: 101%;
}

.round-box {
  background-color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 1.2rem;
}

/* #endregion */

/* #region SidePanel */

.sidepanel {
  background: var(--primary-color);
  width: 200px;
  height: 100%;
}

/* #endregion */

/* #region About */

.about-section {
  position: relative;
  display: flex;
  align-self: start;
  padding-bottom: 2rem;
  gap: 2rem;
}

.about-card {
  display: flex;
  flex-direction: column;
  grid-template-columns: 300px 1fr;
  align-items: start;
  background: var(--secondary-color);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(216, 212, 221, 0.05);
  max-width: 730px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-text h2 {
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-text h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.about-image {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

.about-tags {
  position: relative;
  display: flex;
  align-items: start;
  padding: auto 20px;
  gap: 0.9rem;
  text-decoration: none;
}
.about-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--primary-color);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  height: 40px;
}

.about-tag:hover {
  background: var(--primary-color);
  /* transform: translateY(-2px); */
}
.about-tag P {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.page-title {
  font-size: 3.5rem;
}

/* Sections */
.section {
  max-width: 1200px;
  justify-content: center;
  display: flex;
  flex-direction: row;
}

.section-title {
  width: 100%;
  position: relative;
  display: flex;
  font-size: 3rem;
  font-weight: 700;
  text-align: start;
  margin-bottom: 3rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row;
}

.section-blurb {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.3rem;
  border-left: 0.5rem solid var(--accent-color);
  padding: 0.6rem 0 0.6rem 2rem;
}

.section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section h3 {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text-primary);
  align-self: flex-start;
  margin-bottom: 1rem;
}
.section-description {
  width: 100%;
  color: var(--text-secondary);
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-content {
  width: 100%;
  color: var(--text-secondary);
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section ul {
  padding-left: 20px;
}

/* #endregion */

/* #region Button */
.button {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.button-content {
  max-width: 350px;
  background: var(--primary-color);
  background-size: cover;
  background-position: center center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid rgba(216, 212, 221, 0.05);
  object-fit: contain;
  text-decoration: none;
  color: inherit;
  display: block;
  justify-content: start;
}

.button-text {
  margin: 1rem;
}

/* #endregion */

/* #region Chips */

.icon-small {
  height: 100%;
  object-fit: fill;
  padding: 10px 5px 10px 10px;
}

.hoverCard:hover {
  transform: translateY(-10px);
  box-shadow: 0px 3px 3px var(--accent-color);
  background-size: cover;
  background-position: center center;
  text-decoration: none;
  object-fit: contain;
  color: inherit;
}

.tag {
  text-decoration: none;
  background: var(--tertiary-color);
  color: var(--text-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 2px 6px 15px rgba(0, 0, 0, 0.3);
}

.tag-2 {
  text-decoration: none;
  background: var(--secondary-color);
  color: var(--text-primary);
  padding: 0.3rem 0.8rem;
  width: 100%;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.hoverTag:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 3px 3px 3px var(--accent-color);
}
/* #endregion */

/* #region Projects  */
.projects {
  background: none;
  width: 100%;
}

.projects-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-auto-rows: minmax(300px, 400px);
  gap: 30px;
  width: 100%;
  justify-content: right;
  flex-direction: row-reverse;
}

.project-card {
  max-width: 350px;
  background: var(--secondary-color);
  background-size: cover;
  background-position: center center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid rgba(216, 212, 221, 0.05);
  text-decoration: none;
  color: inherit;
}

.project-image {
  background-size: cover;
  background-position: center center;
  object-fit: cover;
}

.project-title {
  position: absolute;
  top: 100%;
  left: 0%;
  transform: translateY(-100%);
  width: 100%;
  height: 40px;
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.705);
}

.project-status {
  position: absolute;
  width: 50%;
  height: 25px;
  top: 35%;
  left: 100%;
  transform: translate(-100%, -100%);
  display: flex;
  flex-direction: row-reverse;
  padding-right: 20px;
}

.project-content {
  padding: 5px 15px 15px 15px;
}

.project-content h3 {
  margin-bottom: 15px;
  color: var(--text-primary);
}

.project-tags {
  width: 100%;
  position: absolute;
  top: 0%;
  left: 100%;
  transform: translate(-100%, 0%);
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  padding: 10px 20px;
  gap: 0.9rem;
  text-decoration: none;
}

/* #endregion */

/* #region header */

.header-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.header-title h1 {
  font-size: 6rem;
}

.header-overview {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--tertiary-color);
  border-top: 2px solid var(--primary-color);
}

/* #endregion */

/* #region Overview Grid */

.overview-grid {
  /* position: absolute;
  top: 100%;
  transform: translateY(-100%); */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  background-color: var(--tertiary-color);
  border-top: 2px solid var(--primary-color);
}

.overview-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.overview-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.overview-content {
  background: linear-gradient(
    135deg,
    rgba(15, 15, 17, 0.6) 0%,
    rgba(4, 3, 16, 0) 100%
  );
  border: 1px solid rgba(216, 212, 221, 0.08);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  backdrop-filter: blur(4px);
}

.overview-content ul {
  padding-left: 1.2rem;
  margin: 0;
}

.overview-content ul li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.overview-content ul li:last-child {
  margin-bottom: 0;
}

.overview-content p {
  margin: 0.7rem 0.7rem;
}

/* #endregion */

/* #region Comparison Slider */

.comparison-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  border-radius: 12px;
  user-select: none;
}

.comparison-slider img {
  display: block;
  width: 100%;
  height: auto;
}

.comparison-before {
  position: relative;
  width: 100%;
}

.comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 0 0 50%);
}

.comparison-after img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--accent-color);
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: 0 0 10px rgba(204, 158, 59, 0.4);
}

.comparison-handle::before {
  content: "⬌";
  color: var(--tertiary-color);
  text-align: center;
  position: absolute;
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
  opacity: 1;
}

.comparison-handle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: -0.3em;
  white-space: nowrap;
  transition: all 0.2s ease;
}

/* #endregion */
/* #region Gamejam */
.gameJam {
  height: 80px;
  margin: 10px 0;
  background: var(--secondary-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
}
.gameJam:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.gameJam img {
  width: 28%;
  height: 100%;
  object-fit: fill;
}
.gameJam h3 {
  padding-left: 10px;
  font-size: 1.2rem;
  margin-bottom: 6px !important;
  color: var(--text-primary);
}
.gameJam p {
  padding-left: 10px;
  padding-right: 5px;
  font-size: 1rem;
  line-height: 1.2;
}

/* #endregion */

/* #region Cards */

.card {
  background: var(--secondary-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid rgba(216, 212, 221, 0.05);
}

/* #endregion */

/* #region Footer */
.footer {
  z-index: 1;
  color: var(--text-primary);
  background: var(--secondary-color);
  margin-top: 5rem;
  text-align: center;
  padding: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}
/*#endregion */

/* #region Arrow */
.arrow {
  height: 4rem;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow_curved_container {
  width: 100%;
  display: flex;
  align-items: center;
  object-fit: fill;
}

.arrow_curved {
  width: auto !important;
}
/*#endregion */

/* #region Profile */
.profile {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card {
  width: 15rem;
  height: 15rem;
  width: 15rem;
  height: 15rem;
  background: var(--secondary-color);
  background-size: cover;
  background-position: center center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 5px solid rgba(216, 212, 221, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
/*#endregion */

/* #region Misc */

.o-hide {
  overflow: hidden;
}

.border-l {
  border-left: 0.5rem solid var(--accent-color);
  padding: 0 0.3rem;
}

.gif {
  background-position: center center;
  object-fit: scale-down;
}

.itch-embed {
  width: 100%;
  height: 200px;
}
.steam-embed {
  width: 100%;
  height: 300px;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.documentation {
  width: 1200px !important;
  transform: translate(0, 80px);
}

.list {
  padding-left: 1rem;
  display: flex;
  flex-direction: row;
  width: 100%;
}

.flex {
  display: flex;
}

.relative {
  position: relative;
}

.abs {
  position: absolute;
}

.justify-start {
  justify-content: start;
}

.justify-end {
  justify-content: end;
}

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

.space-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.col-rev {
  flex-direction: column-reverse;
}

.row-rev {
  flex-direction: row-reverse;
}
/* #region widths */

.w-2 {
  width: 0.5rem;
}

.w-4 {
  width: 1rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.w-20 {
  width: 5rem;
}

.w-40\% {
  width: 40%;
}

.w-50\% {
  width: 50%;
}

.w-60\% {
  width: 60%;
}

.w-fit {
  width: fit-content;
  width: -moz-fit-content;
}
/* #endregion */

/* #region heights */
.h-2 {
  height: 0.5rem;
}

.h-4 {
  height: 1rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.h-20 {
  height: 5rem;
}

.h-30\% {
  height: 30%;
}

.h-50\% {
  height: 50%;
}

.h-60\% {
  height: 60%;
}

.h-\[2px\] {
  height: 2px;
}

.h-60 {
  height: 60vh;
}
.min-h-\[100px\] {
  min-height: 100px;
}
.max-h-\[400px\] {
  max-height: 400px;
}
.max-h-\[800px\] {
  max-height: 700px;
}
/* #endregion */

.tint {
  filter: brightness(0.3);
}

.bg-current {
  background-color: currentColor;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap {
  gap: 1rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 2rem;
}

.mb {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-12 {
  margin-bottom: 3rem;
}

.mt {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 2rem;
}
.mt-12 {
  margin-top: 8rem;
}

.mr-2 {
  margin-right: 1rem;
}

.ml-2 {
  margin-left: 1rem;
}

.row {
  flex-direction: row;
}

.col {
  flex-direction: column;
}

.overflow-hidden {
  overflow: hidden;
}

.object-cover {
  object-fit: cover;
}

.p-2 {
  padding: 0.5rem;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}
/* #endregion */

/* #region Padding */

.pad {
  padding: 0.5rem;
}

.pad-2 {
  padding: 2rem;
}

/* #endregion */

/* #region aspects */

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

/* #endregion */

/* #region Media */

@media all and (max-width: 800px) {
  .media-hide {
    display: none !important;
  }
  .body {
    align-items: center;
  }
  .main {
    margin: 30px 0.5rem 20px 0.5rem;
  }
  .outside-link {
    width: 400px;
    height: 300px;
  }
  .itch-embed {
    width: 100%;
    height: 200px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .overview-label {
    font-size: 0.85rem;
  }

  .overview-content {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .overview-content p {
    margin: 0.7rem auto;
  }
  .main-description {
    width: 100%;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    margin-top: 0rem;
  }

  .section-description ul {
    align-items: left;
    padding-top: 20px;
  }

  .section-description li {
    text-align: left;
  }
  .about-section {
    flex-direction: column;
    align-items: center;
    padding: 0 1rem 1.5rem 1rem;
    gap: 1rem;
  }
  .about-card {
    padding: 1.2rem;
    max-width: 100%;
    text-align: center;
  }

  .about-image {
    height: 300px;
  }
  .about-text h1 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .about-text p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .about-tags {
    gap: 0.6rem;
  }

  .about-tag {
    padding: 5px 10px;
    font-size: 0.95rem;
    border-radius: 18px;
  }

  .about-tag P {
    font-size: 0.95rem;
  }

  .section {
    padding: 1rem 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
  }

  .section-title {
    font-size: 1rem;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .section h2 {
    font-size: 2rem;
    text-align: center;
    justify-content: center;
    align-self: center;
    margin-bottom: 10px;
  }

  .section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    align-self: center;
    margin-bottom: 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    align-items: center;
    gap: 20px;
  }

  .project-card {
    max-width: 100%;
    width: 100%;
  }

  .project-content {
    padding: 0.7rem;
  }
  .project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }

  .project-content p {
    margin-bottom: 0.5rem;
  }

  .project-tags {
    padding: 8px 15px;
    gap: 0.7rem;
  }

  .arrow_curved_container {
    display: none;
  }

  .arrow_curved {
    display: none;
  }
  .button {
    width: 300px;
    display: flex;
    align-self: center;
    justify-content: center;
    margin: 20px 0;
  }

  .profile-card {
    width: 15rem;
    height: 15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .footer {
    position: relative;
  }

  .comparison-slider {
    max-width: 100%;
  }

  .comparison-handle {
    width: 3px;
  }

  .comparison-handle::before {
    width: 30px;
    height: 30px;
  }

  .comparison-handle::after {
    font-size: 1rem;
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .header-title h1 {
    font-size: 2.4rem;
    line-height: 1.15;
    padding: 0 1rem;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .stack-mobile {
    flex-direction: column;
  }

  .stack-mobile > .mr-2,
  .stack-mobile > .ml-2 {
    margin: 0 0 1rem 0;
  }

  .stack-mobile .w-40\%,
  .stack-mobile .w-50\%,
  .stack-mobile .w-60\% {
    width: 100%;
  }

  .pad-mobile {
    padding: 0px 20px;
  }
}
/*#endregion */
