@font-face {
  font-family: "RadioTechnica";
  src: url(d02ae20b815358dc9beb.otf) format("opentype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

:root {
  --background-color: #f9f9f9a2;
  --main-font: "RadioTechnica", sans-serif;
}

body {
  width: 100vw;
  max-height: 100vh;
  background-color: black;

  /*   background-image: url("../public/icons/backgraund2.png");
  background-repeat: no-repeat, repeat;
  background-size: cover;
  background-position: 0 -22rem; */
}

/* /////HOME PAGE///// */
.maincontainer {
  border: 4px solid rgb(35, 35, 35);
  border-radius: 22px;
  margin: 0 auto;
  max-width: 1500px;
  background-image: url(88cab5055e2a93d00d43.png);
  background-position: center;
  background-size: cover;
}
home-page {
  max-width: 1500px;

  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  padding: 1rem;
}

nav {
  height: 100%;
  width: 100%;

  font-family: var(--main-font);
  text-align: center;

  display: flex;
  justify-content: space-around;
  align-items: center;

  padding: 1rem;
}

nav > a {
  text-decoration: none;
  color: rgb(0, 0, 0);

  background-color: var(--background-color);
  border-radius: 22px;

  padding: 12px;
}

main-logo {
  height: 20%;
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.launchesSection {
  height: 100%;
  width: 60%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}

/* SPACEX HISTORY */
spacex-history {
  width: 40%;
  max-height: 100%;

  overflow: scroll;

  border-radius: 22px;
}

.historyListContainer {
  width: 100%;

  background-color: var(--background-color);

  padding: 1rem;
}

.historyListContainer > h2 {
  text-align: center;

  font-family: var(--main-font);

  padding-top: 10px;
}

.entriesList {
  height: min-content;

  font-family: var(--main-font);

  border-left: 2px solid black;

  margin: 1rem;
  padding-left: 1rem;
}

.entry {
  margin-bottom: 2rem;
}

.entry:before {
  content: "";
  display: block;

  width: 10px;
  height: 10px;

  border-radius: 50%;
  border: 2px solid gray;
  background-color: black;

  position: relative;
  left: -1.5rem;
  top: 0.8rem;
}

.entry p {
  font-weight: bold;

  margin-bottom: 10px;
}

.entry a {
  margin-left: 1rem;
  color: black;
}

.entry a:hover {
  color: rgb(97, 87, 87);
  text-decoration: underline;
}

/* UPCOMING LAUNCH  */
upcomning-launch {
  width: 100%;
  height: 30%;
}

.upcomingLaunchArticle {
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  font-family: var(--main-font);
  background-color: var(--background-color);
  border-radius: 22px;
  padding: 1rem;
}

.upcomingLaunchArticle > h2 {
  text-align: center;
  font-size: 2rem;

  margin: 1rem 0;
}

.listData {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.listData li :first-child {
  margin: 15px 0;

  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  text-decoration: underline;
}

.listData li :nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.listData li a svg {
  transform: scale(1.5);
}

.listData li a svg:hover {
  transform: scale(2.1);
}

/* LAST LAUNCH  */
last-launch {
  width: 100%;
  height: 50%;
}

.lastLaunchArticle {
  height: 100%;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;

  font-family: var(--main-font);

  background-color: var(--background-color);
  border-radius: 22px;
  padding: 2rem;
}

.spanImagecontainer {
  height: 12rem;
  width: 12rem;

  display: flex;
  align-items: center;
  justify-content: center;

  background-image: url(45d200b1c6135ca9c23c.png);
  background-repeat: no-repeat, repeat;
  background-size: contain;

  transform: scale(1.1);
}

img {
  transform: scale(0.6);
}
.lastMissionSection {
  height: 100%;

  display: flex;
  flex-direction: column;
}

.lastLaunchArticle > h2 {
  height: 100%;

  writing-mode: vertical-lr;
  text-orientation: sideways;
  transform: rotate(180deg);
  text-align: center;
  font-size: 2.5em;
}

.LastLaunchListData {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3rem;

  background-color: transparent;
}

.LastLaunchListData > li :first-child {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;

  margin-bottom: 1rem;
  border-bottom: 2px solid black;
}

.LastLaunchListData > li :nth-child(2) {
  text-align: center;
  text-decoration: none;
  color: black;
}

.launchListContainer span > :first-child {
  color: black;
}

.LastLaunchListData a {
  text-align: center;
  white-space: nowrap;
  width: max-content;
  background-color: rgba(0, 0, 0, 0.102);
  border-radius: 22px;

  padding: 10px;
}

.LastLaunchListData a:hover {
  color: white;
  background-color: black;
}

/* /////TODO://////////////////////////////// */
/* ////////////LAUNCHES PAGE//////////// */

launches-page {
  max-width: 1500px;
  height: 90vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 1rem;
}

.launchesHeader {
  height: 20%;
  width: 100%;

  display: flex;
  flex-direction: row;
  justify-content: space-between;

  font-family: var(--main-font);
  text-align: center;

  border-radius: 22px 22px 0 0;
  background-color: var(--background-color);
  padding: 2rem;
}

.launchesHeader > h1 {
  font-size: 3rem;
  text-align: center;

  margin: auto 0;
}

alctual-starlink {
  width: 40%;
}

.actualStarlinkArticle {
  height: 80%;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: 22px;

  font-size: 1.1rem;
  text-align: center;
}

.actualStarlinkArticle :first-child {
  width: 15%;
  transform: rotate(40deg);
}

.actualStarlinkArticle :nth-child(2) > span {
  font-size: 1.2rem;
  font-weight: bold;
}

/* LAUNCHES LIST */
launches-list {
  width: 100%;
  height: 80%;

  overflow: scroll;

  border-radius: 0 0 22px 22px;
}

.launchesArticleContainer {
  display: flex;
  flex-direction: column;
}

.LaunchesListContainer {
  background-color: var(--background-color);

  padding: 1rem;
}

.imageContainer {
  height: 6rem;
  width: 6rem;

  transform: scale(0.8);
}

.launchArticle {
  height: 100%;

  font-family: var(--main-font);
  font-size: medium;
  text-align: center;

  background-color: var(--background-color);

  border-radius: 22px;
  margin: 1rem 0;
  padding: 1rem;
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.33);
}

.launchListContainer {
  display: flex;

  align-items: center;
  justify-content: space-around;
}

.launchListContainer > ul:first-child {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 3rem;
}

.launchListContainer ul:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.launchListContainer ul:not(:first-child) li :first-child {
  line-height: 2rem;
  font-weight: bold;
  text-decoration: underline;
}

.launchListContainer :last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  color: black;
}

/* MISSION STATUS */
.missionStatus {
  width: max-content;
  height: max-content;

  border-radius: 22px;

  text-align: center;
  line-height: 1rem;

  padding: 1rem;
}

.missionStatus :first-child {
  font-weight: bold;
  text-decoration: underline;
}
mission-status .failture {
  background-color: rgb(218, 26, 26);
}

mission-status .success {
  background-color: rgb(26, 168, 26);
}

/* LoadMore */

.buttonLoadContainer {
  display: flex;
  justify-content: center;
}

.loadMore {
  width: 20%;
  height: 2rem;

  font-family: var(--main-font);
  font-weight: bold;
  font-size: 20px;

  border: 2px solid black;
  border-radius: 22px;

  background-color: unset;

  margin: 1rem;
}

.loadMore:hover {
  background-color: black;
  color: white;
}

.loadMore:active {
  background-color: unset;
  color: black;
}

@media (max-width: 1400px) {
  .spanImagecontainer {
    display: none;
  }
}

@media (max-width: 1015px) {
  .maincontainer {
    background-image: none;
    border: none;
  }
  home-page {
    height: max-content;
    flex-direction: column;
  }
  .mainLogo {
    height: 20%;
    width: 100vw;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .spaceXlogo {
    transform: scale(0.5);
  }
  .launchesSection {
    width: 100%;

    gap: 1rem;
  }

  upcomning-launch {
    width: 100%;
    height: 100%;
  }

  .upcomingLaunchArticle {
    height: 100%;
  }

  .listData {
    flex-direction: column;
  }

  .LastLaunchListData {
    margin-bottom: 2rem;
  }

  last-launch {
    height: 100%;
  }

  .lastLaunchArticle {
    height: 100%;
    flex-direction: column;
  }

  .lastMissionSection {
    flex-direction: column;
  }

  .lastLaunchArticle > h2 {
    writing-mode: unset;
    text-orientation: unset;
    transform: none;
  }

  .LastLaunchListData {
    width: 100%;
    height: 100%;

    flex-direction: column;
  }

  spacex-history {
    width: 100%;
  }

  /* LAUNCHES PAGE */

  launches-page {
    width: 100%;
  }

  .launchesHeader {
    height: min-content;

    flex-direction: column;
    justify-content: center;

    padding: 10px;
  }

  .launchesHeader > h1 {
    font-size: 2.5rem;
    margin: 1rem;
  }

  alctual-starlink {
    width: 100%;
  }

  launches-list {
    height: 100%;
  }

  .actualStarlinkArticle {
    height: 80%;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-size: 1.1rem;
    text-align: center;

    border-radius: 22px;
  }

  .actualStarlinkArticle > :first-child {
    display: none;
  }

  .loadMore {
    width: 100%;
  }
}

@media (max-width: 1000px) {
  .launchListContainer {
    flex-direction: column;
    gap: 1rem;

    padding: 2rem;
  }
}


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