@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Space+Grotesk:wght@400;500;600&display=swap");
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

html {
  font-size: 1em;
}

body {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
}

p,
li {
  margin-top: 0;
  margin-bottom: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em 0;
}

h1 {
  font-size: clamp(2.6rem, 3.5vw, 4.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h6 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

main h2:first-child {
  margin-top: 0;
}

:root {
  --bg: #07080d;
  --surface: rgba(18, 22, 34, 0.85);
  --surface-strong: rgba(22, 26, 40, 0.95);
  --text: #f3f4f6;
  --muted: #9aa4b2;
  --accent: #facc15;
  --accent-2: #38bdf8;
  --border: rgba(148, 163, 184, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 15% -10%, rgba(56, 189, 248, 0.15), transparent 60%), radial-gradient(900px 600px at 85% -5%, rgba(250, 204, 21, 0.15), transparent 55%), #07080d;
  color: var(--text);
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  border-radius: 18px;
  display: block;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

main.home {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

section {
  margin: 3rem 0;
}

.home {
  position: relative;
  min-height: calc(100vh - 120px);
  padding: 4rem clamp(1.5rem, 4vw, 4rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.home::before {
  content: "";
  position: absolute;
  inset: -6rem 0 0;
  background-image: url("/images/cosmos-gb472637dd_1920.jpg");
  background-size: cover;
  background-position: center 20%;
  background-attachment: fixed;
  opacity: 0.55;
  z-index: 0;
  animation: home-parallax 36s ease-in-out infinite alternate;
}

.home > * {
  position: relative;
  z-index: 1;
}

@keyframes home-parallax {
  0% {
    background-position: center 20%;
  }
  100% {
    background-position: center 0%;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 13, 0.75);
  border-bottom: 1px solid var(--border);
}

.hero {
  position: relative;
  padding: 4rem 3rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.6));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.hero--glass {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.55), rgba(30, 41, 59, 0.35));
  border: 1px solid rgba(148, 163, 184, 0.28);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero:not(.hero--glass)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 10% 20%, rgba(56, 189, 248, 0.2), transparent 70%), url("/images/cosmos-gb472637dd_1920.jpg") center/cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 600;
}

.hero--compact {
  padding: 3rem;
}

.hero--image {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.bio {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.grid1,
.grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: center;
}

.grid3 {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 2rem;
  align-items: center;
}

.grid4,
.astrogrid,
.grid-wrapper {
  display: grid;
  gap: 1.5rem;
}

.grid4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.biogrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.astrogrid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.astronomers .astrogrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.astros,
.object,
.location,
.planet,
.grid-box,
.layer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.object {
  padding: 0.75rem;
}

.page1 {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-strong);
}

.type p {
  color: var(--muted);
}

.exploration p {
  color: var(--muted);
}

.sun {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}

.specs p {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.hover {
  display: inline-flex;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scientists {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 16px;
  margin-bottom: 1rem;
}

.history .grid-wrapper {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.news-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.news-controls label {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.news-controls select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
}

.site-nav .links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-nav .links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
  position: relative;
}

.site-nav .links a[aria-current=page] {
  color: var(--text);
}

.site-nav .links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 200ms ease;
}

.site-nav .links a:hover::after {
  width: 100%;
}

.logo img {
  width: 160px;
  height: auto;
}

.nav-dropdown {
  display: none;
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  padding: 0.4rem 0;
  border-radius: 0;
  border: none;
  background: transparent;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.hamburger {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.nav-dropdown__panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 0.75rem);
  width: min(82vw, 360px);
  background: #0b0f1a;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  z-index: 20;
}

.nav-dropdown__panel a {
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}

.nav-dropdown__panel a:hover {
  background: rgba(56, 189, 248, 0.12);
}

@media screen and (max-width: 700px) {
  .site-nav {
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .nav-dropdown {
    order: 1;
    position: static;
  }

  .logo {
    order: 2;
    flex-basis: auto;
    text-align: right;
  }

  .links {
    order: 3;
  }
}
@media screen and (max-width: 600px) {
  .site-nav .links {
    display: none;
  }

  .nav-dropdown {
    display: block;
  }

  .nav-dropdown[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 20, 0.55);
    backdrop-filter: blur(18px);
    z-index: 15;
    pointer-events: none;
  }

  .nav-dropdown[open] .nav-dropdown__panel {
    position: fixed;
    left: 50%;
    top: 4.5rem;
    transform: translateX(-50%);
  }
}
/* ======================================================
   Responsive Styling
   =======================================================  */
@media screen and (max-width: 900px) {
  main {
    padding: 2rem 1.25rem 3rem;
  }

  main.home {
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    padding: 3rem 2rem;
  }

  .hero--image {
    grid-template-columns: 1fr;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .site-nav .links {
    justify-content: center;
  }

  .home::before {
    background-attachment: scroll;
  }

  .home {
    padding: 0 1.25rem;
  }
}
@media screen and (max-width: 600px) {
  .space-objects .grid3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.5rem 1.5rem;
  }

  .home .hero {
    padding: 2rem 1.25rem;
  }

  .home .hero__content {
    max-width: 520px;
  }

  .hero__content {
    max-width: 100%;
  }

  .grid1,
.grid2,
.grid3 {
    gap: 1.25rem;
  }

  .site-nav {
    padding: 1rem;
  }

  .astronomers .astrogrid {
    grid-template-columns: 1fr;
  }

  .home {
    padding: 0 1rem;
  }
}
/* ================= ===========================
  ADD YOUR CSS HERE 
  ================================================ */
main, footer {
  clear: both;
}

.layer {
  background-color: transparent;
}

/*# sourceMappingURL=style.css.map */
