@import '../main/scss/index.scss';

.welcomemodal {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 80%;
  width: 60%;
  padding: 0;

  section {
    width: 50%;
    display: inline;
    height: 80vh;
  }

  section:nth-child(1) {
    float: left;
    background: var(--sidebar);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  section:nth-child(2) {
    float: right;

    .content {
      padding: 20px;
    }

    .buttons {
      position: absolute;
      bottom: 2rem;
      right: 2rem;
    }

    h1 {
      font-size: 2.5rem;
    }

    h3.quicktip {
      text-transform: uppercase;
      color: #5352ed;
    }
  }
}

.welcomeoverlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.progressbar {
  position: fixed;
  bottom: 50px;
  text-align: center;
  display: inline;
  overflow: hidden;
  white-space: nowrap;

  .step {
    display: inline-block;
    width: 50px;
    background: #8395a7;
    height: 4px;
    margin: 10px;
    transition: .2s ease;
    cursor: pointer;
    border-radius: 15px;
  }

  .active {
    background: #5352ed;
  }
}


.themesToggleArea {
  .active {
    background: var(--tab-active) !important;
  }

  .toggle {
    background: var(--sidebar);
    text-align: center;
    border-radius: 40px;
    padding: 20px;
    margin: 10px;

    &:hover {
      background: var(--tab-active);
      cursor: pointer;
    }

    span {
      font-size: 1rem;
    }
  }

  .auto {
    svg {
      font-size: 12px;
      padding-right: 5px;
    }
  }

  .options {
    display: flex;
    justify-content: space-between;

    .lightTheme,
    .darkTheme {
      width: 40%;
      padding: 50px;

      span {
        display: block;
      }
    }
  }
}

a.privacy {
  text-decoration: none;
  color: var(--modal-text);
  font-size: 1rem;

  &:hover {
    color: #5352ed;
  }
}

.examples {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;

  img {
    width: 30rem !important;
    height: auto !important;
    display: block;
    margin: 30px;
    border-radius: 12px;
  }
}

.showcaseimg {
  width: 350px;
  height: auto;
}

@media only screen and (max-width: 1440px) {
  .buttons {
    position: relative !important;
    bottom: 0rem !important;
  }

  .examples img {
    width: 15rem !important;
  }
}

@media only screen and (max-width: 1600px) {
  .examples img {
    width: 20rem !important;
  }

  .buttons {
    position: relative !important;
    bottom: 1rem !important;
  }
}
