/* Copyright (C) 2019 Monomax Software Pty Ltd
 *
 * This file is part of Dnote.
 *
 * Dnote is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Dnote is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Dnote.  If not, see <https://www.gnu.org/licenses/>.
 */

@import '../App/responsive';
@import '../App/font';
@import '../App/theme';
@import '../App/rem';

.wrapper {
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;

  @include breakpoint(md) {
    height: calc(100vh - #{$header-height});
  }
}

.content {
  margin-bottom: rem(40px);

  @include breakpoint(md) {
    margin-bottom: auto;
  }
}

.footer {
  margin-top: auto;
  padding: rem(12px) 0;
  text-align: center;
  @include font-size('x-small');
  color: $gray;
}

.hero {
  padding-top: rem(52px);
  padding-bottom: rem(52px);
  text-align: center;

  @include breakpoint(md) {
    padding-top: rem(72px);
  }
}

.heading {
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  @include font-size('3x-large');

  @include breakpoint(md) {
    width: rem(520px);
  }

  @include breakpoint(lg) {
    width: rem(820px);
  }
}

.check-icon {
  vertical-align: middle;
}

.transaction-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.plans-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;

  @include breakpoint(md) {
    flex-direction: row;
  }
}

.pro-plan {
  order: 0;
  @include breakpoint(md) {
    order: initial;
  }
}
.core-plan {
  order: 1;
  @include breakpoint(md) {
    order: initial;
  }
}

.feature-bold {
  font-weight: 600;
}

.bottom {
  padding-top: rem(20px);
}

.pro-prelude {
  padding: 0 rem(8px);
}

.pro-feature-list {
  margin-top: rem(12px);
}
