
:root {
  --ion-color-background: #fff;
  --ion-color-primary: #1652E8;

  --ion-default-font: "Roboto", "Helvetica Neue", sans-serif;

}

body {
  background: var(--ion-color-primary);
  color: var(--ion-color-background);
  font-family: var(--ion-default-font);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  margin: 0;
  padding: 0;
  font-weight: 400;
}


/**
 * Typography
 */

p {
  font-size: 18px;
  line-height: 26px;
}

/**
 * Scaffolding
 */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}


/**
 * Selection
 */

.selection {
  padding-bottom: 3rem;
}

.selection__header {
  padding: 2rem 0;
  text-align: center;
}
.selection__header img {
  width: 180px;
  height: 77px;
}

.selection__intro {
  padding: 0 0 2rem;
  text-align: center;
}


.selection__list {
  background: var(--ion-color-background);
  border-radius: 1rem;
}

.selection__list + .selection__list {
  margin-top: 2rem;
}

.selection__list__option {
  background: #f3f3f3;
  position: relative;
  padding: 1.5rem 3rem 1.5rem 1.5rem;
  box-shadow: 0 0 20px 0 rgba(0,0,0,.125);
  color: #333;
  display: block;
  text-decoration: none;
  transition: background 300ms ease;
}
.selection__list__option:hover {
  background: #fcfcfc;
}


.selection__list__option:first-child {
  border-radius: 1rem 1rem 0 0;
  background: var(--ion-color-background);
  position: relative;
  z-index: 10;
}

.selection__list__option:nth-child(2) {
  z-index: 9;
}
.selection__list__option:nth-child(3) {
  z-index: 8;
}
.selection__list__option:nth-child(4) {
  z-index: 7;
}

.selection__list__option:last-child {
  border-radius: 0 0 1rem 1rem;
}

.selection__list__option:first-child:last-child {
  border-radius: 1rem;
}

.selection__list__option__title {
  font-weight: 900;
  margin-bottom: .35rem;
}

.selection__list__option__info {
  font-size: 13px;
  line-height: 19px;
}

.selection__list__option__icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translate(0,-50%);
}

.selection__list__option__icon svg {
  width: 20px;
  height: 20px;
}




/**
 * Prototype
 */


/**
 * Preview-Specific Styling
 */

.prototype {
  left: 50%;
  top: 50%;
  position: absolute;
  transform: translate(-50%,-50%);
  width: 390px;
  height: 844px;
}

.prototype:after {
  content: '';
  background-image: url(../assets/images/phone_bg.png);
  position: absolute;
  width: 455px;
  height: 929px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: block;
  pointer-events: none;
}

.prototype__frame {
  position: absolute;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;

  margin: 0;
  padding: 0;
  border: 0;
}

@media (max-width: 420px) and (orientation: portrait) {
  .prototype {
    box-shadow: none;
    position: static;
    top: auto;
    transform: unset;
    max-width: none;
    height: auto;
  }

  .prototype:after {
    content: none;
  }
}