@import '@legends/styles/base.scss';

.wrapper {
  text-align: center;
  max-width: 82rem;
  margin: 0 auto;
  padding: 3.75rem 2rem 4rem 2rem;
  width: 50rem;
  z-index: 10;

  .backgroundEffect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: 56.75rem;
    opacity: 0.8;
    background-repeat: no-repeat;
  }

  .backButton {
    font-size: 1rem;
    display: flex;
    gap: 1rem;
    color: $whiteText;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 3.125rem;

    .backIcon {
      color: $silverBackground;
    }
  }

  .title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 2.6375rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: $mainText;
  }

  .description {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.3931rem;
    max-width: 44.5rem;
    margin: 0 auto 1rem;
    color: $mainText;
    margin-bottom: 6rem;
  }
}
.saveButton {
  @include primary-button;
  width: 22.5rem;
  margin: 0 auto;
  height: 4rem;
}

@media screen and (max-height: 700px) {
  .wrapper {
    padding-top: 2rem;
    padding-bottom: 0;
    .backButton {
      margin-bottom: 1rem;
    } 
  }
}



@media screen and (max-height: 900px) {
  .wrapper {
    .description {
      margin-bottom: 3rem;
    }
  }
}


.button {
  @include primary-button;
  font-size: 1rem;
}

.modal {
  min-width: 40rem;
}
.modalContent {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modalText {
  text-align: center;
  font-size: 1rem;
  padding: 1.25rem;
}
.modalHeading {
  font-size: 1.3rem;
}

