@font-face {
  font-family: "Amaranth";
  src: url("../assets/fonts/Amaranth/Amaranth-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Amaranth";
  src: url("../assets/fonts/Amaranth/Amaranth-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Amaranth";
  src: url("../assets/fonts/Amaranth/Amaranth-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Amaranth";
  src: url("../assets/fonts/Amaranth/Amaranth-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Amaranth", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #ECF1F7;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}
@media (min-width: 1024px) {
  .container {
    padding: 0 1rem;
  }
}

.header {
  min-height: 40vh;
  background-image: url("../assets/img/header.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
}
.header__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFF;
  position: relative;
  z-index: 1;
}

.nav {
  background-color: #24272C;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}
.nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  height: 100%;
}
.nav__item {
  display: flex;
  align-items: center;
}
.nav__item--right {
  margin-left: auto;
}
.nav__link {
  color: #FFF;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.nav__link:hover, .nav__link:focus {
  opacity: 0.7;
}
.nav__link:focus {
  outline: 2px solid #FFF;
  outline-offset: 4px;
}
.nav__link--active {
  background-color: #2F2C4C;
}

.carousel__card {
  flex: 0 0 auto;
  width: 280px;
  max-width: calc(100vw - 10rem);
  background: #FFF;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.carousel__card:hover {
  transform: scale(1.05);
}
.carousel__card__thumbnail-wrapper {
  width: 100%;
  height: 170px;
  overflow: hidden;
  background-color: #8890a4;
}
.carousel__card__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel__card__content {
  text-align: center;
}
.carousel__card__title {
  font-family: "Amaranth", sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #03182A;
  padding: 0 1.5rem;
  margin: 1.5rem 0 0.75rem;
  line-height: 1;
  height: 2.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.carousel__card__category {
  display: inline-block;
  font-size: 0.8rem;
  font-family: "Amaranth", sans-serif;
  font-weight: bold;
  margin: 0 1.5rem 0.75rem 1.5rem;
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
}
.carousel__card__category--star {
  color: #074100;
  background-color: #b5efb5;
}
.carousel__card__category--galaxy {
  color: #6B0000;
  background-color: #FFCCCB;
}
.carousel__card__category--black-hole {
  color: #662D00;
  background-color: #FFD7B3;
}
.carousel__card__category--planet {
  color: #3D1F08;
  background-color: #D4B59E;
}
.carousel__card__category--nebula {
  color: #3A1B5B;
  background-color: #E6D5F5;
}
.carousel__card__description {
  font-family: "Amaranth", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #4F4F4F;
  margin: 0;
  padding: 0 1.5rem;
  margin-bottom: 1rem;
  height: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.carousel__card__link {
  font-family: "Amaranth", sans-serif;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  display: block;
  text-align: center;
  border-top: 1px solid #D8D8D8;
  padding: 1rem 0;
  transition: color 0.2s ease;
}
.carousel__card__link:hover {
  color: #037adf;
  text-decoration: underline;
}
.carousel__card__link:focus-visible {
  outline: 2px solid #037adf;
  color: #037adf;
  outline-offset: -2px;
}

.carousel-section {
  padding: 3rem 0;
}
.carousel-section__title {
  font-family: "Amaranth", sans-serif;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #2A2649;
}

.carousel {
  width: 100%;
  position: relative;
  padding: 0 5rem;
}
.carousel__container {
  overflow: hidden;
  position: relative;
}
.carousel__content {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  background-image: url("../assets/img/icons/arrow.svg");
  background-size: 2.5rem 2.5rem;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.carousel__nav:hover {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.1);
}
.carousel__nav:active {
  transform: translateY(-50%) scale(0.95);
}
.carousel__nav--prev {
  left: 0.5rem;
  transform: translateY(-50%) scaleX(-1);
}
.carousel__nav--prev:hover {
  transform: translateY(-50%) scaleX(-1) scale(1.1);
}
.carousel__nav--prev:active {
  transform: translateY(-50%) scaleX(-1) scale(0.95);
}
.carousel__nav--next {
  right: 0.5rem;
}
.carousel__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.carousel__nav:disabled:hover {
  background-color: transparent;
  box-shadow: none;
  transform: translateY(-50%);
}
.carousel__nav:disabled:active {
  transform: translateY(-50%);
}
.carousel__nav:disabled.carousel__nav--prev:hover {
  transform: translateY(-50%) scaleX(-1);
}
.carousel__nav:disabled.carousel__nav--prev:active {
  transform: translateY(-50%) scaleX(-1);
}

.footer {
  background-color: #24272C;
  color: #FFF;
  padding: 3rem 2rem;
}
.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #C5C6CA;
}
.footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__menu-item {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.footer__menu-link {
  color: #C5C6CA;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.footer__menu-link:hover, .footer__menu-link:focus {
  opacity: 0.7;
}
.footer__menu-link:focus {
  outline: 2px solid #FFF;
  outline-offset: 2px;
}
.footer__text {
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0;
  color: #C5C6CA;
}
.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
}
.footer__social-link {
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  border: 1px solid #C5C6CA;
  border-radius: 50%;
  padding: 0.7rem;
}
.footer__social-link:hover, .footer__social-link:focus {
  opacity: 0.7;
}
.footer__social-link img {
  width: 20px;
  height: 20px;
}
.footer__copyright {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #B2B3B8;
}
.footer__copyright p {
  margin: 0;
}

@media (min-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr 1fr;
  }
  .footer__column--wide {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .footer__content {
    grid-template-columns: 1fr 1fr 1.5fr;
  }
  .footer__column--wide {
    grid-column: auto;
  }
}

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