@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Source+Code+Pro&display=swap");

/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: antiquewhite;
  line-height: 1.25;
  text-wrap: balance;
  margin: 0.6rem 0 0.3rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #c7d2fe;
}
/* CSS Reset End */

:root {
  --center-width: 1200px;
}

body {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("./../GEMINII.png");
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  color: antiquewhite;
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(15px, 1.2vw + 12px, 18px);
}

li {
  padding-top: 0.2rem;
  padding-right: 0.6rem;
}

ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

#buffer {
  height: 15%;
  padding-bottom: 5px;
}

#center {
  width: min(50%, var(--center-width));
  height: 100%;
  scrollbar-width: none;
  overflow: scroll;
  position: relative;
}

#center {
  width: clamp(640px, 60vw, 900px);
}

#center #buffer h2 {
  font-size: 2rem;
}

#left,
#right {
  width: calc((100% - min(50%, var(--center-width))) / 2);
  height: 100%;
}

#nav {
  display: flex;
  justify-content: center;
}

#secret {
  display: none;
}

#screen {
  width: 100%;
  height: 95%;
  display: flex;
  justify-content: center;
}

#space {
  width: 100%;
  height: 5%;
}

@media (max-width: 720px) {
  ul {
    flex-direction: row;
  }

  #center {
    width: 80%;
  }

  #buffer {
    margin-bottom: 1rem;
    height: fit-content;
  }

  #left,
  #right {
    display: none;
  }

  #secret {
    display: block;
  }

  #nav {
    justify-content: start;
  }
}

:root{
  --glow: 120, 199, 255;
}

.flare-link{
  position: relative;
  display: inline-block;
  text-decoration: none;
  /* text-transform: uppercase; */
  /* color: #e9f3ff; */
  text-shadow:
    0 0 6px rgba(var(--glow), .45),
    0 0 22px rgba(var(--glow), .25);
}

.flare-link::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1px;
  width: 115%;
  height: 2px;
  background:
    radial-gradient(ellipse at center,
      rgba(var(--glow), .85) 0%,
      rgba(var(--glow), 0) 70%) center/140% 12px no-repeat,
    linear-gradient(90deg,
      rgba(var(--glow), 0) 0%,
      rgba(var(--glow), .95) 50%,
      rgba(var(--glow), 0) 100%) center/100% 2px no-repeat;
  box-shadow:
    0 0 18px rgba(var(--glow), .75),
    0 0 48px rgba(var(--glow), .35);
  pointer-events: none;
  animation: flare-pulse 3s ease-in-out infinite;
}

@keyframes flare-pulse{
  0%,100%{ opacity:.65; filter: blur(.4px); }
  50%{    opacity:1;    filter: blur(.8px); }
}

.flare-link:hover::after,
.flare-link:focus-visible::after{
  width: 130%;
  box-shadow:
    0 0 24px rgba(var(--glow), .9),
    0 0 70px rgba(var(--glow), .5);
}
