@font-face {
    font-family: "Geo";
    src: url("../../resource/font/Geo-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Quantico";
    src: url("../../resource/font/Quantico-Regular.ttf") format("truetype");
}

html {
    scroll-behavior: smooth;
    font-size: clamp(20px, 1.6vw, 24px);
}
/*@media (min-width: 360px) {
  html {
    font-size: 20px;
  }
}
@media (min-width: 768px) {
  html {
    font-size: 22px;
  }
  .hero {
    font-size: 30px;
  }
}
@media (min-width: 1080px) {
  html {
    font-size: 24px;
  }
  .hero {
    font-size: 40px;
  }
}*/
html,
body {
    padding: 0;
    margin: 0;
    width: 100%;
}
body {
    font-family: "Geo";
    font-size: 1.25rem;
    color: #ffffff;
    scroll-behavior: smooth;
    background: linear-gradient(45deg, #10007f, #002874, #006c8a, #008574);
    background-size: 400% 400%;
    animation: gradient 12s ease infinite;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
@keyframes gradient {
    0% {
        background-position: 0%;
    }
    50% {
        background-position: 100%;
    }
    100% {
        background-position: 0%;
    }
}
p {
    font-size: 1.1rem;
    margin: 0 0;
    line-height: 1.2;
}
.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url("https://www.transparenttextures.com/patterns/stardust.png");
    animation: moveStars 120s linear infinite;
    opacity: 1;
    z-index: -3;
}
@keyframes moveStars {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 1000px 1000px;
    }
}
.glow {
    position: fixed;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(148, 220, 255, 0.3),
        transparent
    );
    z-index: -1;
}
.header {
    margin: 0.5rem 5%;
    border-radius: 2.75rem;
    background: transparent;
    backdrop-filter: blur(25px);
    box-shadow: 0px 0px 50px #ffffff;
    width: 90%;
    height: 2.75rem;
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    transform: translateY(-5rem);
    transition: transform 0.5s ease;
}
.header.on {
    transform: translateY(0);
}
.title-header {
    text-align: center;
    padding-top: 0.2rem;
    font-size: 2rem;
    text-shadow: 1px 1px 10px #d3e4ff;
    font-weight: bold;
}
.title-header a {
    text-decoration: none;
    color: #ffffff;
}
.icon-header {
    position: absolute;
    width: 2rem;
    border-radius: 50%;
    top: 0.25rem;
    right: 0.25rem;
    box-shadow: 0 0 4px #ffffff;
    border: 1.5px solid #d1e3ff;
}
.sidenav-toggle {
    position: fixed;
    left: 0.5rem;
    padding: 0 0.5rem;
    text-align: center;
    font-size: 2rem;
    z-index: 99;
    cursor: pointer;
    transform: rotate(0deg);
    transition: transform 0.5s ease;
}
.sidenav-toggle.on {
    transform: rotate(180deg);
}
.sidenav {
    background: transparent;
    width: 50%;
    height: 100%;
    backdrop-filter: blur(25px);
    box-shadow: 0 0 1.25rem #ffffff;
    display: flex;
    position: fixed;
    z-index: 10;
    flex-direction: column;
    padding-top: 3.15rem;
    padding-left: 1rem;
    padding-bottom: 1rem;
    padding-right: 1rem;
    transform: translateX(-110%);
    transition: transform 0.5s ease;
}
.sidenav.on {
    transform: translateX(0);
}
.sidenav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0.1rem 0;
}
.margin-top {
    margin-top: 2.75rem;
}
.page {
    margin: 0.4rem 0.4rem;
    background-color: #a9d3ff65;
    border: 2px solid #000000c9;
    border-radius: 25px;
    backdrop-filter: blur(15px);
}
.page h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 0;
    padding: 0.25rem 0;
}
.page h2 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 0 0.5rem;
    padding: 0 0;
}
.page p {
    color: black;
    font-family: "Quantico";
    font-size: 0.85rem;
}
.card {
    position: relative;
    margin: 0.6rem 0.6rem;
    border: 1.75px solid #f5f5f5d6;
    border-radius: 17px;
    box-shadow: 0 0 5px #f5f5f5d6;
}
.hidden {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: all 0.5s ease;
}
.show {
    opacity: 1;
    transform: translateY(0);
}
.margin-content {
    margin: 0.75rem 0.75rem;
}
.card-title {
    display: flex;
    align-items: center;
}
.card-icon {
    fill: white;
    width: 2.25rem;
    background: #0087eb58;
    border: 1px solid #7cc3ff;
    box-shadow: 0 0 10px #7cc3ff;
    border-radius: 12px;
    padding: 0.5rem 0.5rem;
}
.footer {
    background: black;
    width: 100%;
    height: 2.3rem;
    text-align: center;
    padding-top: 0.5rem;
    font-size: 1.25rem;
    margin-top: auto;
}
.footer p {
    font-size: 1.25rem;
}
.navbar {
    transform: translateY(5rem);
    transition: transform 0.5s ease;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #156a94;
    backdrop-filter: blur(25px);
    width: 100%;
    height: fixed;
    align-items: center;
    justify-content: center;
}
.navbar.on {
    transform: translateY(0);
}
.navbar-button {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
.navbar-icon {
    fill: white;
    width: 1.2rem;
    height: 1.2rem;
}
.navbar-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
}
.navbar span {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}
.home-button,
.wiki-button,
.project-button,
.service-button,
.connect-button {
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0.25rem;
    gap: 0.25rem;
}
