/* -----------------------------------Footer----------------------------------------------- */
footer {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--footer-background-color);
  color: var(--footer-text-color);
  height: 800px;
  padding: 50px;
  padding-bottom: 0;
}
.footer {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  margin: auto;

  justify-items: start;
  align-items: start;
  width: 100%;
}
.footer-text{
  grid-column-start: 1;
  grid-column-end: 1;
  /* display: flex;
  justify-content: end;
  align-items: end; */
  color: var(--footer-text-link-color);
  font-size: 2.5rem;
  line-height: 2.2rem;
  font-weight: 800;
  text-align: right;
  margin: 0 0 50px auto;
  width: 80%;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  align-items: end;
  width: 100%;
}
.footer-menu a {
  line-height: 2rem;
  /* padding-left: 16px; */
  text-align: right;
  color: var(--footer-text-color);
}
.footer-menu a:hover {
  color: var(--footer-text-link-color);
}
.footer-menu .social-icons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  font-size: 2rem;
}
.footer-menu .payment-icons {
  padding-left: 9px;
}

.copyright-text {
  text-align: center;
  margin-top: 20px;
}
.astronaut {
  position: absolute;
  top: 0;
  transform: translate(-70%);
}
.astronaut img {
  width: 200px;
}
#admin-button {
  position: fixed;
  display: flex;
  justify-content: end;
  align-items: center;
  text-decoration: none;
  right: 0;
  bottom: 100px;
}
#admin-button button{
  font-size: 2rem;
  font-weight: 600;
  padding: 0.2em 0.2em;
  background-color: var(--backend-admin-button-color);
  color: var(--backend-admin-text-color);
  border: none;
  border-radius: 10px 0 0 10px;
  cursor: pointer;
}
#admin-button button:hover{
  background-color: var(--backend-admin-button-hover-color);
}

@media screen and (min-width: 425px) {
  .astronaut {
    top: 0;
    bottom: 280px;
  }
  .astronaut img {
    width: 250px;
  }
  .footer-text {
    grid-column-start: 1;
    grid-column-end: 3;
    font-size: 4rem;
    line-height: 4rem;
    margin-bottom: 100px;
    /* text-align: right; */
  }
  .footer {
    display: grid;
    grid-template-columns: 1fr 200px;
    justify-items: center;
  }
  .footer-menu.span2 {
    grid-column: 1/3;
  }

}
@media screen and (min-width: 600px) {
  .footer {
    /* grid-template-columns: 1fr 200px; */
    justify-items: end;
    /* width: min(90%, 1000px); */
    margin-bottom: 0;
  }

  .footer-text {
    font-size: 5rem;
    line-height: 5rem;
    grid-column-start: 1;
    grid-column-end: 3;
    margin-bottom: 200px;
    width: 90%;
  }
  .astronaut{
    top: 20px;
    transform: translate(-60%);
  }
  .astronaut img {
    width: 300px;
  }
}
@media screen and (min-width: 769px) {
  .footer-menu {
    margin-bottom: 50px;
  }
  .footer-text {
    font-size: 6rem;
    line-height: 6rem;
    /* width: 100%; */
  }
  .astronaut {
    /* width: 500px; */
    top: 0;
    bottom: 0;
    /* z-index: 9; */
    transform: translate(-60%);
  }
  .astronaut img {
    width: 500px;
  }
}
@media screen and (min-width: 1024px) {
  .footer {
    width: min(80vw, 1000px);
  }
  .footer-menu.span2 {
    grid-column: unset;
  }
  .footer-text {
    grid-column-start: 1;
    grid-column-end: 3;
  }

}
