*, *::before, *::after {
  box-sizing: border-box; /* Set the sizing of an element to include it's border */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-weight: unset;
}

br {
  display: none;
}

* {
  margin: 0; /* Set the default margin to 0 */
  padding: 0; /* Set the default padding to 0 */
  transition: all 0.2s, color 0s;
}

ul[role=list], ol[role=list] {
  list-style: none; /* Turn off numbered and unordered list decoration */
}

li {
  list-style-type: none;
}

html:focus-within {
  scroll-behavior: smooth; /* Make the scrolling inside of any scrollable element smooth */
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto; /* Makes link undelines look better */
}

a {
  all: unset;
  cursor: pointer;
  font-family: interSemiBold;
  color: var(--link);
}

a:hover {
  -webkit-text-decoration: underline #130bff;
          text-decoration: underline #130bff;
}

button {
  all: unset;
}

img, picture, svg, video, canvas {
  max-width: 100%; /* Makes it responsive */
  height: auto; /* Makes it responsive */
  vertical-align: middle; /* Makes text next to inline images look better */
  font-style: italic; /* If the images don't load it makes the alt decription look better */
  background-repeat: no-repeat;
  /* The background repeat and size are there if you want to load a picture first like a backroung image that is worse quality while the better quality image loads */
  background-size: cover;
}

input, button, textarea, select {
  font: inherit; /* Makes these elements inherit fonts */
  border: none;
  border-radius: 0;
  cursor: pointer;
}

body, html {
  scroll-behavior: smooth; /* Makes normal scrolling smooth */
  min-height: 100vh;
}

body {
  background: var(--bodyBackground);
  background-size: 40px 40px;
}

:root {
  --bodyBackground: #050505;
  --header: #050505;
  --fetch: /*linear-gradient(270deg, #121212, #1e1e1e)*/ #130bff;
  --tweet: #fff;
  --info: #0f0f0f;
  --footer: #070707;
  --title: #cacaca;
  --lightDarkBtns: #f2f2f2;
  --bodyText: #e4e4e4;
  --fetchText: #e0e0e0;
  --tweetText: #000000;
  --link: #f2f2f2;
  --linkHover: #ff6d0b;
  --accordion: #1e1e1e 1px solid;
}

.lightmode {
  --bodyBackground: #f1f1f1;
  --tweet: #000000;
  --info: #ececec;
  --title: #1b1b1b;
  --bodyText: #202020;
  --tweetText: #fff;
  --accordion: #c2c2c2 1px solid;
}

.page-content {
  height: 100%;
  width: 100%;
}

h1 {
  font-size: 1.5em;
  font-family: interBold;
  color: #fff;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.75em;
  font-family: interSemiBold;
  color: var(--title);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

p {
  font-size: 1em;
  font-family: interRegular;
  color: var(--bodyText);
}

p.control-label {
  font-family: interSemiBold;
}

p.copyright {
  font-family: interMedium;
}

header {
  height: 75px;
  background: var(--header);
  padding-inline: 32px;
  -webkit-backdrop-filter: blur(24px) saturate(100%);
          backdrop-filter: blur(24px) saturate(100%);
}
header .header-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 32px;
}
header .header-content .header-name {
  display: flex;
  gap: 2px;
  align-items: center;
}

.page-link-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-link-container .page-links {
  border-radius: 4px;
  padding: 8px 16px;
  width: -moz-fit-content;
  width: fit-content;
  transition: all 0.1s;
}

.title {
  height: -moz-fit-content;
  height: fit-content;
}

.light-dark-mode {
  display: flex;
  gap: 12px;
  height: -moz-fit-content;
  height: fit-content;
}
.light-dark-mode button.light-dark {
  border: none;
  background: none;
  color: var(--lightDarkBtns);
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mobile-nav-dropdown {
  display: none;
}

.dropdown-menu {
  height: 0;
  overflow: hidden;
}

.to-top-btn {
  display: none;
  background: var(--bodyBackground);
  position: fixed;
  bottom: 24px;
  right: 16px;
  border: var(--fetch) 1px solid;
  align-items: center;
  z-index: 10000000000000000;
}
.to-top-btn p.to-top-label {
  font-family: interSemiBold;
  padding-inline: 6px;
}
.to-top-btn button.to-top {
  display: grid;
  place-items: center;
  background: var(--fetch);
  height: 36px;
  aspect-ratio: 1;
  color: var(--fetchText);
  font-size: 20px;
}

.hero {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #050505), url(../bg/northern-lights.jpg);
  background-size: cover;
  background-position: 100% 40%;
  display: flex;
  align-items: center;
  padding: 32px;
  height: 400px;
}
.hero .title-description-wrapper p.site-title {
  font-size: 2.5em;
  font-family: interBold;
  color: #fff;
  letter-spacing: -0.03em;
}
.hero .title-description-wrapper p.site-description {
  font-size: 1.5em;
  color: #fff;
  letter-spacing: -0.03em;
}
.hero .nasa-logo-container {
  height: 200px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

section {
  gap: 8px;
  width: 100%;
  padding: 72px 18px;
  max-width: 1400px;
  margin-inline: auto;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-title.mobile {
  display: none;
}

.api-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.api-controls .control-container {
  gap: 8px;
  display: flex;
  flex-direction: column;
}
.api-controls .control-container .controls {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.api-controls .control-container .controls .input-row {
  display: flex;
  flex-direction: row;
  gap: 4px;
  height: 36px;
}
.api-controls .control-container .controls .input-row input {
  background: var(--info);
  border: var(--fetch) 1px solid;
  font-family: interRegular;
  padding: 8px;
  color: var(--bodyText);
  height: 34px;
}
.api-controls .control-container .controls .input-row input.data-range:focus {
  outline: var(--dataActiveOutline);
}
.api-controls .control-container .controls .input-row button.fetch-data {
  background: var(--fetch);
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  height: 34px;
  font-size: 20px;
  color: var(--fetchText);
  cursor: pointer;
}

.api-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr;
  place-items: flex-start;
  gap: 72px;
}
.api-content .media-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.api-content .media-container .img-container {
  border-radius: 10px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  place-items: center;
}
.api-content .media-container .img-container img.apod-img, .api-content .media-container .img-container .past-apod-img {
  width: 100%;
  height: auto;
}
.api-content .media-container .img-container .spinner {
  display: none;
  height: 300px;
  width: 100%;
  grid-area: 1/1/2/2;
}
.api-content .media-container .img-container .spinner .spinner-items {
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
}
.api-content .media-container .img-container .spinner .spinner-items .spinner-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.api-content .media-container .img-container .spinner .spinner-items .spinner-animation .spinner-icon i {
  background: conic-gradient(#b4b4b4, #525252);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2em;
  animation: spinner 1.5s infinite linear;
}
.api-content .media-container .img-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: none;
  grid-area: 1/1/2/2;
}
@keyframes spinner {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

#otherApods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  gap: 8px;
}

.image-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.image-info p.apod-title, .image-info p.past-apod-title {
  font-size: 1.25em;
  font-family: interSemiBold;
  color: var(--title);
}
.image-info p.explanation, .image-info p.past-explanation {
  color: var(--bodyText);
}
.image-info #tweetButton {
  border-radius: 100vw;
  padding: 16px;
  width: -moz-fit-content;
  width: fit-content;
  display: grid;
  place-items: center;
  gap: 4px;
  background: var(--tweet);
}
.image-info #tweetButton i {
  color: var(--tweetText);
  font-size: 1.25em;
}

.featured-img {
  height: calc(100vh - 150px);
  width: 100%;
  display: grid;
  place-content: center left;
}
.featured-img .f-text {
  padding-inline: 54px;
  width: 780px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.featured-img .f-text p.f-title {
  font-size: 4em;
  font-family: interBold;
  color: #fff;
  letter-spacing: -0.03em;
}
.featured-img .f-text p.f-description {
  font-size: 1.5em;
  font-family: interMedium;
  color: #fff;
  letter-spacing: -0.03em;
}
.featured-img .f-text .f-link-wrapper {
  display: flex;
  gap: 4px;
  align-items: center;
}
.featured-img .f-text .f-link-wrapper p.f-link {
  font-size: 1.15em;
  font-family: interMedium;
  color: #fff;
  letter-spacing: -0.03em;
}
.featured-img .f-text .f-link-wrapper i {
  font-size: 1.15em;
  color: #ffffff;
}

.f-1 {
  background: linear-gradient(to right, rgba(5, 5, 5, 0.3294117647), rgba(0, 0, 0, 0)), url(../bg/f-1.jpg);
  background-size: cover;
}

.f-2 {
  background: linear-gradient(to right, rgba(5, 5, 5, 0.3294117647), rgba(0, 0, 0, 0)), url(../bg/jwst.png);
  background-size: cover;
}

.info-accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.info-accordion .accordion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  height: 36px;
  border-bottom: var(--accordion);
}
.info-accordion .accordion p.question {
  font-family: interMedium;
  color: var(--bodyText);
}
.info-accordion .accordion i {
  font-size: 1.25em;
  color: var(--bodyText);
}
.info-accordion .accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: all 0.2s ease-in-out;
  width: 100%;
  padding-inline: 16px;
}

.accordion.active i {
  transform: rotate(180deg);
  transform-origin: center;
}

footer {
  height: -moz-fit-content;
  height: fit-content;
  background: var(--footer);
}
footer .footer-content {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%;
  padding: 5vh 5vh 10vh 5vh;
  gap: 36px;
}
footer .footer-content .site-info {
  height: -moz-fit-content;
  height: fit-content;
  width: 100%;
}
footer .footer-content .site-info p.si-text {
  color: var(--link);
}

@media only screen and (min-width: 0px) and (max-width: 700px) {
  .page-link-container {
    flex-direction: column;
  }
}
@media only screen and (min-width: 0px) and (max-width: 1000px) {
  body, html {
    min-height: 100svh;
  }
  main {
    padding: 8px 0;
  }
  main .main-content section {
    padding-inline: 12px;
  }
  h2 {
    font-size: 2em;
    margin-bottom: 0;
  }
  header {
    padding-inline: 16px;
  }
  header .page-link-container {
    display: none;
  }
  header .mobile-nav-dropdown {
    display: grid;
  }
  header .mobile-nav-dropdown .dropdown svg {
    fill: #ebebeb;
  }
  .dropdown-menu {
    padding: 0 16px;
    background: var(--header);
  }
  .dropdown-menu .page-link-container {
    justify-content: center;
  }
  .dropdown-menu[aria-hidden=false] {
    height: -moz-fit-content;
    height: fit-content;
    padding: 16px;
  }
  .dropdown-menu[aria-hidden=true] {
    height: 0;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero p.site-title {
    font-size: 1.5em !important;
    text-align: center;
  }
  .hero p.site-description {
    font-size: 1em !important;
    color: #fff;
    letter-spacing: -0.03em;
    text-align: center;
  }
  .hero .nasa-logo-container {
    height: 100px;
  }
  .featured-img {
    height: 500px;
  }
  .featured-img .f-text {
    padding-inline: 18px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .featured-img .f-text p.f-title {
    font-size: 2.5em;
    font-family: interBold;
    color: #fff;
    letter-spacing: -0.03em;
  }
  .featured-img .f-text p.f-description {
    font-size: 1.1em;
    font-family: interMedium;
    color: #fff;
    letter-spacing: -0.03em;
  }
  .featured-img .f-text .f-link-wrapper {
    display: flex;
    gap: 4px;
    align-items: center;
  }
  .featured-img .f-text .f-link-wrapper p.f-link {
    font-size: 1em;
    font-family: interMedium;
    color: #fff;
    letter-spacing: -0.03em;
  }
  .featured-img .f-text .f-link-wrapper i {
    font-size: 1.15em;
    color: #ffffff;
  }
  .api-content {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
  }
  .api-content .image-info .section-title.desktop {
    display: none;
  }
  .api-content .media-container .section-title.mobile {
    display: block;
  }
  #otherApods {
    grid-template-columns: repeat(2, 1fr);
  }
}/*# sourceMappingURL=main.css.map */