
* {
  font-family: "Cardo", sans-serif;
  font-style: italic;
}

:root {
  --font-size: 2vw;
  --line-height: 24px;
  --header-height: 1.2;
  --font-size--header: 38px;
  --line-height--header: 48px;
  --body-font: "Cardo";
  --header-font: "Cardo";
  --link-color: black;
  --link-color--visited: black;
  --link-color--hover: black;
  --body-background-color: #f3f3f3;
  --footer-height: 4.5rem;
  --yellow:  #ffe099;
  --blue:  #99afff;
  --pink: #ff99f0;
}


/* Reset & body */
body {
  margin: 0;
  padding: 0;
  background-color: white;
  color: black;
  font-size: 1.25vw;
  max-width: 100vw;
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  padding-bottom: var(--footer-height);
}

h1, h2, h3, h4, h5, h6 {
  font-size: 2vw;
  font-weight: 200;
  margin: 0 0 2ch 0;
}

p {
  font-size: clamp (2rem, 2vw, 6rem);
}

a {
  text-decoration: underline;
  color: black;
}

a:visited {
    color: black;
}

a:hover {
  text-decoration: none;
}

b {
  font-style: italic;
}

img {
  display: block;
  margin: auto;
  margin-top: 2vw;
  margin-bottom: 2vw;
  width: 50%;
}

/* Use a shared class or target them to constrain the width */

/* Header style */
header {
  display: flex;
  align-items: baseline; /* 'vertical-align' is for inline elements; use 'align-items' for flex */
  margin-top: 2em;
  margin-bottom: 2em;
  grid-column: -1 / 1; /* Explicitly start at col 1 and span 2 */
  justify-self: center;
  transform: translate(-3vw);
  width: 70vw;
  font-size: 2vw;
}

/* make nav expand inside header */
#nav {
  flex: 1;
}

/* make the UL actually span the nav width */
#nav ul {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: baseline;
}

/* your spacing */
#nav ul li {
  margin-right: 2vw;
  margin-left: 2vw;
  font-size: 2vw;
}

/* the trick: first item eats the space to its right */
#nav ul li:first-child {
  margin-right: auto;
}

/* optional: don't add extra space after the last item */
#nav ul li:last-child {
  margin-right: 2vw;
}

/* Main style */

main {
  grid-row: 2;
  grid-column: 1/-1; /* Allowing main to span all columns, or adjust as needed */
  width: 60vw;
  position: relative;
  justify-self: center;
  font-size: 2vw;
}

/* Footer style */
footer {
  position: fixed;
  display: flex;
  align-items: baseline;
  margin: 0 0 0em 0em;
  grid-column: 1 / 4; /* Shifts footer slightly right for an asymmetric look */
  font-size: 2vw;
  height: var(--footer-height);
  background-color: white;
  bottom: 0;
  left: 0;
  right: 0;
}

.sphere {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 30vw;
  height: 30vw;
  border-radius: 50%;

  background: radial-gradient(circle,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,1) 55%,
    rgba(255,255,255,.55) 60%,
    rgba(255,255,255,0) 78%,
    rgba(255,255,255,0) 100%
  );


  /* THIS is what makes it look like your 2nd screenshot */
  filter: blur(20px);

  /* optional: prevents the blur from showing a bounding box on some backgrounds */
}

#tapText {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-style: italic;
  color: red;
  font-size: 2vw;
  pointer-events: none;
  /* keep text sharp while sphere is blurred */
  filter: none;
}

audio {
  display: none;
}

.marquee {
  height: 4vw;
  width: 100vw;
  font-size: 2vw;

  overflow: hidden;
  position: relative;
}

.marquee div {
  display: flex;
  width: 200%;
  height: 4vw;

  position: absolute;
  overflow: hidden;

  animation: marquee 10s linear infinite;
}
.marquee span {
  float: left;
  width: 50%;
}

@keyframes marquee {
  0% { left: 0%; }
  100% { left: -100%; }
}