:root {
  --background-color: #1a1c1e;
  --text-color-bold: #fffff7;
  --text-color-light: #dbdada;
  --text-color-highlight: #f72940;
  --header-color: rgba(15, 16, 17, 0.98);
  --footer-color: #0f1011;
  --transition-speed: 0.4s;
  --border-radius: 4px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --backdrop-blur: blur(15px);
  --gothic-border: 1px solid rgba(247, 41, 64, 0.15);
  --gothic-glow: 0 0 15px rgba(247, 41, 64, 0.1);

  --font-regular: SF-Toontime-Regular;
  --font-bold: SF-Toontime-Bold;

  /* root font size */
  font-size: 14px;
}

@font-face {
  font-family: "Montserrat-Bold";
  src: url("./Montserrat-Bold.otf") format("opentype");
}

@font-face {
  font-family: "Montserrat-Regular";
  src: url("./Montserrat-Regular.otf") format("opentype");
}

@font-face {
  font-family: "SF-Toontime-Regular";
  src: url("./font/SF-Toontime/SF_Toontime.ttf");
}

@font-face {
  font-family: "SF-Toontime-Bold";
  src: url("./font/SF-Toontime/SF_Toontime_Bold.ttf");
}

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

* {
  margin: 0;
  box-sizing: border-box;
  font-family: var(--font-regular);
}

body {
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.6) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: -1;
}

header {
  z-index: 100;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 100px;
  position: sticky;
  top: 0px;
  left: 0px;
  background-color: var(--header-color);
  border-bottom: var(--gothic-border);
  backdrop-filter: var(--backdrop-blur);
  transition: transform var(--transition-speed) ease-in-out;
  box-shadow: var(--gothic-glow);
}

header.scroll-down {
  transform: translateY(-100%);
}

header.scroll-up {
  transform: translateY(0);
}

header * {
  text-transform: uppercase;
  font-family: var(--font-bold);
}

header a {
  text-decoration: none;
}

img {
  height: 95%;
}
footer img {
  height: 20px;
}

.pc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.pc-nav a {
  font-size: 1.4rem;
  position: relative;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  color: var(--text-color-bold);
  text-decoration: none;
}

.pc-nav a.active {
  color: var(--text-color-highlight);
}

.pc-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--text-color-highlight);
  transition: width var(--transition-speed) ease;
}

.pc-nav a:hover::after,
.pc-nav a.active::after {
  width: 100%;
}

.banner {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 600px;
  background-image: url(./images/banner/banner-1.webp);
  background-size: cover;
  background-position: center;
  box-shadow: var(--gothic-glow);
}

.mascot_head,
.mascot_body {
  position: absolute;
  top: -126px;
  right: 0%;
  height: 140%;
  aspect-ratio: 1;
  background-size: cover;
}

@keyframes float1 {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes float2 {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes float3 {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.mascot_head {
  z-index: 2;
  background-image: url(./images/banner/skull\ astronaut\ gl.webp);
  animation: float1 4s infinite;
}

.mascot_body {
  z-index: 1;
  background-image: url(./images/banner/skull\ astronaut\ tj.webp);
  animation: float2 4s infinite;
}

.banner_text {
  z-index: 3;
  position: absolute;
  top: 20%;
  left: 14%;
  height: 60%;
  width: 60%;
  background-image: url(./images/banner/banner\ tekst-1.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.banner_text p {
  color: white;
  font-size: 5rem;
}

a {
  color: var(--text-color-bold);
}

a:hover {
  text-decoration: none !important;
  color: var(--text-color-highlight);
}

h1 {
  font-size: 3.4rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-left: -10px;
}

h1,
h3 {
  color: var(--text-color-highlight);
}

h2 {
  font-size: 1.5rem;
  color: var(--text-color-bold);
}
h3 {
  font-size: 1.3rem;
}

p {
  font-size: 1.2rem;
  color: var(--text-color-light);
}

main {
  width: 100%;
  gap: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 1 0 auto;
}

section {
  width: 70%;
  padding: 40px 0px;
  border-bottom: var(--gothic-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--text-color-highlight),
    transparent
  );
  opacity: 0.3;
}

#about,
#about2,
#about3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 700px;
}

#about .left,
#about2 .left,
#about3 .left,
#about .right,
#about2 .right,
#about3 .right {
  min-height: 700px;
  padding: 10px;
  display: block;
  width: 49%;
  height: 100%;
}

#about .signoff,
#about3 .signoff {
  width: 100%;
  text-align: right;
}
#about2 .signoff {
  width: 100%;
  text-align: left;
}

#about .left,
#about2 .right,
#about3 .left {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  border-radius: 10px;
}

#about .left {
  z-index: 1;
  background-image: url(./images/web/Me.webp);
}

#about2 .right {
  background-image: url(./images/web/dwarf\ hold\ poster.png);
}
#about3 .left {
  background-image: url(./images/web/grim\ god.png);
}

#about .right,
#about2 .left,
#about3 .right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
}

.highlight {
  padding: 0px 0px 20px 0px;
  border-bottom: 2px solid var(--text-color-highlight);
}

#consulting {
  align-items: center;
  justify-content: flex-start;
}

#consulting .highlight {
  text-align: center;
}

.container {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.content {
  width: 48%;
  border-radius: 6px;
  float: left;
  margin-top: 40px;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.section {
  margin-bottom: 20px;
}

.section h2 {
  color: var(--text-color-highlight);
  font-size: 1.5em;
  border-bottom: 2px solid var(--text-color-highlight);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 15px;
}

li h3 {
  color: var(--text-color-highlight);
  font-size: 1.2em;
  margin-bottom: 5px;
}

li p {
  padding-left: 10px;
  font-size: 0.9em;
}

footer {
  min-height: 100px;
  width: 100%;
  border-top: var(--gothic-border);
  background-color: var(--footer-color);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: auto;
  box-shadow: var(--gothic-glow);
}

footer a {
  font-family: var(--font-bold) !important;
  text-decoration: none;
}

.wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes fadeInFloatDown {
  0% {
    opacity: 0;
    transform: translateY(-10px); /* Starting 20px above */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Ending in the original position */
  }
}

.dropdown {
  /* visibility: hidden; */
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 160px;
  top: 20px;
  left: -50px;
  z-index: 1;
  animation: fadeInFloatDown 0.8s;
}

.wrapper:hover .dropdown,
.wrapper:focus .dropdown {
  display: unset;
  visibility: visible;
}

.lang-option {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: black;
}

.lang-option:hover {
  background-color: #ddd;
}

.mobile-nav {
  display: none;
  height: 40px;
  aspect-ratio: 1;
  background-image: url(./hamburger.webp);
  background-size: contain;
  cursor: pointer;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(247, 41, 64, 0.3));
}

.mobile-nav:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(247, 41, 64, 0.5));
}

@keyframes slideIn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.mobileNavWrapper {
  display: none;
  position: fixed;
  top: 0px;
  right: 0px;
  height: 100vh;
  width: 100vw;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(15, 16, 17, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: var(--gothic-border);
  box-shadow: var(--gothic-glow);
  z-index: 1000;
}

.mobileNavWrapper a {
  width: 100%;
  padding: 15px 30px;
  font-size: 1.5rem;
  color: var(--text-color-bold);
  text-decoration: none;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-bold);
}

.mobileNavWrapper a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--text-color-highlight);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.mobileNavWrapper a:hover {
  color: var(--text-color-highlight);
  transform: translateX(10px);
}

.mobileNavWrapper a:hover::after {
  width: 50%;
}

.mobileNavWrapper #close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--text-color-bold);
  font-size: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 10px;
}

.mobileNavWrapper #close:hover {
  color: var(--text-color-highlight);
  transform: rotate(90deg);
  box-shadow: 0 0 15px rgba(247, 41, 64, 0.3);
}

#logo {
  height: 100% !important;
  cursor: pointer;
}

#logo:hover {
  opacity: 0.8;
}

@media (max-width: 900px) {
  #about .left {
    z-index: 1;
  }
  #logo {
    object-fit: contain;
    height: 60% !important;
  }
  .pc-nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
  }
  .banner {
    display: none;
  }

  header {
    padding: 0 20px;
  }

  .pc-nav {
    gap: 10px;
  }

  .pc-nav a {
    font-size: 0.8rem;
  }

  p {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2,
  h3 {
    font-size: 1.1rem;
  }

  main {
    gap: 40px;
    overflow-x: hidden;
  }

  section {
    width: 90%;
    padding: 20px 0px;
    overflow-x: hidden;
  }

  #about {
    min-height: 1000px;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: hidden;
  }

  #about .left,
  #about .right,
  #about2 .left,
  #about2 .right,
  #about3 .left,
  #about3 .right {
    width: 100%;
    overflow-x: hidden;
  }

  #about .left,
  #about2 .right,
  #about3 .left {
    min-height: 400px;
  }

  #about2 {
    flex-direction: column-reverse;
  }

  .content {
    width: 100%;
    overflow-x: hidden;
  }

  .container {
    flex-direction: column;
    overflow-x: hidden;
  }

  footer {
    align-items: center;
    gap: 10px;
    overflow-x: hidden;
    padding: 15px 0;
  }

  footer a {
    width: unset;
    font-size: 0.8rem;
  }

  .mobileNavWrapper {
    width: 100%;
    height: 100vh;
    padding: 20px;
  }
}

@media (min-width: 901px) {
  .mobile-nav {
    display: none;
  }
  .mobileNavWrapper {
    display: none;
  }
}

.nav-link {
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-speed) ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--text-color-highlight);
  transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
