@font-face {
    font-family: 'Space Grotesk';
    src: url('/fonts/SpaceGrotesk-Bold.ttf') format('truetype');
    /* font-display: swap; */
    font-weight: bold;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/fonts/SpaceGrotesk-Light.ttf') format('truetype');
    /* font-display: swap; */
    font-weight: 300;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/fonts/SpaceGrotesk-Medium.ttf') format('truetype');
    /* font-display: swap; */
    font-weight: 500;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/fonts/SpaceGrotesk-Regular.ttf') format('truetype');
    /* font-display: swap; */
    font-weight: 400;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/fonts/SpaceGrotesk-SemiBold.ttf') format('truetype');
    /* font-display: swap; */
    font-weight: 600;
}

* {
    font-family: 'Space Grotesk', sans-serif;
    user-select: none;
    color: var(--text);
}

:root {
    --main: #0088FF;
    --secondary: #005FCC;
    --accent: #00FFC8;
    --text: #F5F5F5;
    --bg: #00050A;

    --muted: #a1a2a3;
    --danger: #FF4D4F;
    --success: #00C48C;
    --border: #D6E9FF;
    --hl: #FFD166;
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: var(--main) #ffffff00;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 16px;
  }

  *::-webkit-scrollbar-track {
    background: #ffffff00;
  }

  *::-webkit-scrollbar-thumb {
    background-color: var(--main);
    border-radius: 8px;
    border: 3px solid #ffffff00;
  }

img, video {
  pointer-events: none;
}

html {
    scroll-behavior: smooth;
}

body {
    width: calc(100vw - 16px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
	justify-content: center;
	align-items: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--bg);
	background-image: radial-gradient(circle at left top, rgb(89, 130, 252) 0%, rgba(41, 53, 86, 0) 15%); 
}

body.no-scroll {
	overflow: hidden !important;
}

a {
    text-decoration: none;
}

#transition-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: var(--bg);
	background-image: radial-gradient(circle at left top, rgb(89, 130, 252) 0%, rgba(41, 53, 86, 0) 15%);
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	transition: opacity .5s ease-in-out;
}

#transition-screen.active {
  opacity: 1;
  pointer-events: all;
}

header {
    width: 100%;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1%;
    /* background-color: var(--secondary); */
}

@media (max-width: 991.98px) {
    header {
        margin-top: 5%;
    }
}

.headerLeft {
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.headerLeft > .navLogo {
    width: 128px;
    margin: 5% 0 0 5%;
}

.headerCenter {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navButton {
    position: relative;
    text-decoration: none;
    font-size: 1.75rem;
	display: block;
}

.navButton::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: transparent;
    border-bottom: 2px solid var(--secondary);
    transition: width .5s ease;
}

.navButton:hover::before {
    width: 100%;
}

.activeNavButton {
    font-size: 1.75rem;
    border-bottom: 2px solid var(--secondary)
}

@media (min-width: 992px) and (max-width: 1399.98px) {
	
	.navButton {
		font-size: .9rem;
	}
	
}

#mobile-nav {
    display: none;
    cursor: pointer;
	z-index: 10;
    transition: 1.5s;
	background: none;
	border: none;
}

#mobile-nav.change {
    transform: rotate(-180deg);
}

#bar1, #bar2, #bar3 {
    width: 35px;
    height: 5px;
    background-color: #FFFFFF;
    margin: 6px 0;
    transition: .4s;
}

.change #bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change #bar2 {
    opacity: 0;
}

.change #bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

#mobileMenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 9;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

#mobileMenu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}


.navButton2 {
  color: var(--text);
  text-decoration: none;
  font-size: 2rem;
}

.activeNavButton2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--secondary)
}

.headerRight {
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.socialIcon {
    width: 24px;
    fill: #FFFFFF;
    cursor: pointer;
    transition: fill .5s ease;
    margin-right: 10%;
}

.socialIcon:hover {
    fill: var(--secondary);
    transition: fill .5s ease;
}

@media (max-width: 991.98px) {
	  .navButton, .headerRight, .activeNavButton {
		display: none;
	  }

	#mobile-nav {
        display: inline-block !important;
    }
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
}

footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
	opacity: 1;
}

footer.hide {
	opacity: 0;
}

.footerLeft {
    height: auto;
    width: 50%;
    padding: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.footerLeft > span {
    font-size: 1.25rem;
    color: #777777;
}

.footerRight {
    height: auto;
    width: 50%;
	padding: 10%;
	display: flex;
    flex-direction: column;
	justify-content: space-around;
	align-items: center;
}

.copyright {
    font-size: 1.35rem;
    font-weight: bold;
    align-self: flex-start;
}

.rightFooterTitle {
    font-size: 1.5rem;
}

.links {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
}

.linksLeft, .linksCenter, .linksRight {
    width: 33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 1%;
    border-left: 2px solid var(--main);
    padding-left: 2%;
}

.linksCenter > a {
    margin-top: 5%;
}

.linksCenter > a.active::before {
    width: 100%;
}

.socialIcon2 {
    width: 12px;
    fill: white;
}

.socialLink, .linksCenter > a {
	position: relative;
	text-decoration: none;
    margin-top: 5%;
}

.socialLink::before, .linksCenter > a::before {
	content: "";
	position: absolute;
	height: 100%;
	width: 0;
	bottom: 0;
	left: 0;
	border-bottom: 2px solid var(--secondary);
	transition: width .5s ease;
}

.socialLink:hover::before, .linksCenter > a:hover::before {
	width: 100%;
}

@media (max-width: 992px) {
	
	footer {
		flex-direction: column;
	}
	
	.footerLeft, .footerRight {
		width: 85%;
	}
	
}