@import url('https://fonts.googleapis.com/css2?family=Akronim&family=Ancizar+Sans:ital,wght@0,100..1000;1,100..1000&family=Funnel+Sans:ital,wght@0,300..800;1,300..800&display=swap');
body {
    font-family: 'Ancizar Sans', sans-serif;
    background-color: #fcfcfe;
    color: #000;
}
* {
    gap: 0;
    margin: 0;
    padding: 0;
}

#nav {
    display: flex;
    max-height: 70px;
    width: 100%;
    align-items: center;
}

#links {
    display: flex;
    font-size: 17px;
    flex-direction: row;
    width: 100%;
    gap: 10px;
}

/* HERO */
#main.main {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 70px);
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
}

/* VIDEO BACKGROUND */
#main video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100vh;
  object-fit: cover;

  z-index: -2;
}

/* DARK OVERLAY */
#main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(5, 8, 20, 0.9) 0%,
      rgba(5, 8, 20, 0.75) 40%,
      rgba(5, 8, 20, 0.6) 70%
    );
  z-index: -1;
}

/* CONTENT ON TOP */
#main .content {
  position: relative;
  z-index: 1;

  max-width: 800px;
  padding: 2rem;
  text-align: center;
}

a {
    color: rgb(161, 151, 151);
    text-decoration: none;
}

a:hover {
    color: #000;
    transition: all 0.25s ease-in;
} 

#nav #logo img {
    width: 60px;
}

#nav #logo {
    gap: 10px;
    margin: 5px;
    margin-right: 20px;
    display: flex;
    font-size: 20px;
    align-items: center;
}

button {
    background-color: #fcfcfe;
    color: #0793CF;
    border: none;
}

/* ===== Section 2 ===== */

.main-2 {
    max-width: 100%;
    margin: 0 auto;
    margin-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.main-2 h1 {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== WHY SECTION ===== */

li:before {
    content: "";
}

pre {
  padding: 0;
  margin: 0;
  height: max-content;
  overflow-x: auto;
  overflow-y: auto;
}

.main h1 {
    margin-left: 1rem;
    margin-top: 3rem;
}

.why {
  max-width: 100%;
  display: flex;
  margin: 0 auto;
  margin-left: 1rem;
  padding-top: 1rem;
}

.why h1 {
    font-size: 34px !important;
}

.why ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each Q/A item */
.qa-item {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem 0;
  margin-top: 25px;
}

/* Question row */
.q {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
}

/* Arrow */
.arrow {
  transition: transform 0.35s ease;
  color: #9aa4ff;
}

/* Question text */
.q h1 {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0;
}

/* Answer container (collapsed by default) */
.a {
  font-size: 25px;
  max-height: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: scroll;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
  transform: translateY(-6px);
}

/* Answer text */
.a p {
  margin: 1rem 0 0 3rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* OPEN STATE */
.qa-item.open .a {
  max-height: 500px; /* large enough for text */
  opacity: 1;
  transform: translateY(0);
}

.qa-item.open .arrow {
  transform: rotate(180deg);
}

/* Optional hover polish */
.q:hover h1 {
  color: #cfd3ff;
}


@media (prefers-color-scheme: dark) {
    * {
        color: #fff;
    }
    body {
        background-color: #0e0e31;
    }
    a:hover {
        color: #fff;
    }
    a {
        color: #9f9d9d
    }
}

@media (max-width: 425px) {
    #nav #links {
        display: none;
    }
    #nav #logo {
        margin-left: 1rem;
    }
    .why a {
        font-size: 20px;
    }
    #main .content h1 {
        font-size: 50px !important;
    }
    #main .content h3 {
        font-size: 12px !important;
    }
    .main h1 {
        font-size: 30px !important;
    }
    .main li h1 {
        font-size: 28px !important;
    }
}