:root {
  color-scheme: dark;
  scroll-padding-top: 80px;
}
:host,
html {
  margin: 0;
  padding: 0;
  text-size-adjust: 100%;
}

@font-face {
  font-family: "SFPro";
  src: url("assets/fonts/SFPD-Regular.woff") format("woff");
  src: url("assets/fonts/SFPD-Regular.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "SFPro";
  src: url("assets/fonts/SFPD-Thin.woff") format("woff");
  src: url("assets/fonts/SFPD-Thin.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "SFPro";
  src: url("assets/fonts/SFPD-Ultralight.woff") format("woff");
  src: url("assets/fonts/SFPD-Ultralight.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
}

body {
  background: linear-gradient(
    to bottom right,
    #070a1e,
    #0d1937,
    #153051
  ) !important;
  overflow-x: hidden;
}

header {
  transition: background-color 0.3s ease-in-out !important;
  backdrop-filter: blur(8px) !important;
  background-color: transparent !important;
}

header.scrolled {
  background-color: rgba(7, 10, 30, 0.8) !important;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.1s ease-in;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

main {
  overflow-y: auto; /* Ensure scrolling is enabled */
}

/* section {
  height: auto;
} */

.section-separator {
  height: 0; /* Ensure it does not take up space */
}

/* 
.testimonial-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    transition: transform 0.3s;
    min-height: 200px;
}

.testimonial-card:hover {
    transform: scale(1.05);
} */

#nav-links {
  transition: all 0.5s ease-in-out;
}

@media (max-width: 640px) {
  #nav-links {
    position: absolute;
    top: 80px; /* Adjust based on header height */
    right: 0;
    width: 100%;
    background-color: rgba(10, 16, 39, 0.6);
    background-image: linear-gradient(
      180deg,
      rgba(10, 16, 39, 0.4),
      rgba(10, 16, 39, 0)
    );
    z-index: 1;
    box-shadow: 4px 2px #d1d5db;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  #nav-links ul {
    width: 100%;
    text-align: center;
  }

  #nav-links ul li {
    margin: 0.5rem 0;
  }
}

#hamburger svg {
  transition: transform 0.3s ease;
}

#hamburger.open svg {
  transform: rotate(90deg);
}

#backdrop {
  transition: opacity 0.5s ease-in-out;
  backdrop-filter: blur(5px);
}
