@view-transition {
  navigation: auto;
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

::view-transition-old(root) {
  animation: 0.2s ease-out both fade-out;
}

@keyframes slide-fade-in {
  from {
    transform: translateX(10%);
    opacity: 0%;
  }
  to {
    transform: translateX(0%);
    opacity: 100%;
  }
}

::view-transition-new(root) {
  animation: 0.2s ease-out both slide-fade-in;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

::view-transition-group(parallax-bg) {
  transform: none;
}

::view-transition-new(parallax-bg) {
  animation: 0.5s ease-out both fade-in;
}

::view-transition-old(parallax-bg) {
  animation: 0.5s ease-out both fade-out;
}

#parallax-bg {
  view-transition-name: parallax-bg;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 150vh;
  overflow: hidden; 
  will-change: transform;
  filter: blur(200px);
  opacity: 0.4;
  z-index: -3;
}

.parallax-svg-left {
  position: absolute;
  width: auto; 
  height: clamp(0px, 100vw, 90vh);
  top: calc(50vh);
  left: 0;
  z-index: -1;
}

.parallax-svg-right {
  position: absolute;
  width: auto; 
  height: clamp(0px, 100vw, 90vh);
  top: 0;
  right: 0;
  z-index: -1;
}

body {
  color: azure;
  background-color: #0F0F15;
  font-family: "Funnel Sans", sans-serif;
  margin: 0; /* Important: Remove default body margin */
  overflow-x: hidden; /* Prevent horizontal scrollbar */
  /*user-select: none;*/
}

img {
  pointer-events: none;
}

video {
  pointer-events: none;
}

button {
  background-color: transparent;
  border: 1px solid white;
  border-radius: 3rem;
  color: white;
}

button:disabled {
  border-color: gray;
  color: gray;
}

h1 {
  font-size: 3.25rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1rem;
}

p {
  font-size: 1.25rem;
  text-align: center;
}

a {
  text-decoration: none;
  color: rgb(129, 203, 212);
}

/* unvisited link
a:link {
  color: aquamarine; 
}

visited link
a:visited {
  color: aquamarine; 
}

mouse over link
a:hover {
  color: paleturquoise; 
}

selected link / when clicked
a:active {
  color: azure; 
}
*/

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  /*background-color: #0b0b0fa1;*/
  background: linear-gradient(to right, #16171ae0 0%, #0b0b0fe0 30%, #0b0b0fe0 100%);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  view-transition-name: main-header;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  /*background-color: #0b0b0fa1;*/
  background: linear-gradient(to right, #0b0b0fe0 0%, #0b0b0fe0 30%, #0b0b0fe0 100%);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  view-transition-name: main-footer;
}

nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  padding: 6px 6px;
}

.navbar nav {
  padding: 6px 24px;
}

.navbar-title {
  width: auto;
  height: 20px;
  padding-right: 16px;
}

.navbar nav a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0);
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.navbar nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease-out;
}

.footer nav a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0);
  border-radius: 1px;
}
.footer nav a:hover {
  filter: brightness(0.5);
  transition: filter 0.3s ease-out;
}

.socials {
  margin-left: auto;
  text-decoration: none;
  padding: 0px 8px;
  border-radius: 8px;
  display: inline-block;
  gap: 8px;
  align-items: center;
}

.social-icon {
  width: 20px;
  height: 20px;
}

.hideme {
  display: none;
}