.aircam {
  @apply bg-white h-full;
  max-width: 100vw;
}

.aircam .aircam__pane {
  @apply flex flex-col relative py-16 px-10;
  overflow: hidden;
  height: 100%;
}

.aircam .treadmill__pane:first-child {
  background-color: #FAFBFC;

  /**
   * TODO: This is an issue. Manual adjustment to nav
   * bar height
   */
  height: calc(100vh - 60px);
  z-index: 2;
}

.aircam .treadmill__pane:first-child .aircam__map {
  @apply relative h-full;
}

.aircam .treadmill__pane:first-child .aircam__map .pointer {
  @apply absolute center-x-abs;
  bottom: 25px;
}

.aircam .aircam__pane-text {}

/**
 * We only look for direct <p> children since mardown
 * to html conversion wraps text in a <p> tag (which will
 * be inside our <h3> tag)
 */
.aircam .treadmill__pane .aircam__pane-text > p {
  @apply text-sm font-light leading-normal;
}

.aircam .treadmill__pane .aircam__pane-text h3 p {
  @apply font-light;
}

.aircam .treadmill__pane .aircam__pane-text h3 p strong {
  @apply font-semibold;
}

.aircam .treadmill__pane:nth-child(2n + 2) {
  background-color: #FAFBFC;
}

.aircam .treadmill__pane:nth-child(2n + 2) .aircam__pane {
  background-image: linear-gradient(153deg, #9A7FFA 0%, #1160D6 100%);
}

.aircam .treadmill__pane:nth-child(2n + 2) .aircam__pane-text {
  @apply text-white;
  /*text-shadow: 0px 0px 1px #000;*/
}

.aircam .treadmill__pane:nth-child(2n + 2) .aircam__pane-text-separator {
  background-color: #FAFBFC;
}


.aircam .treadmill__pane:nth-child(2n + 2) .aircam__pane {
  outline: 5rem solid #1160D6;
  border-top-left-radius: 5rem;
  border-bottom-left-radius: 5rem;
}

/**
 * We position the first image (iPhone) to the bottom of the view
 */
.aircam .treadmill__pane:nth-child(2) .aircam__pane {
  min-height: 550px;
  padding-bottom: 0;
}

.aircam .treadmill__pane:nth-child(2) .aircam__pane-content .image {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
}

.aircam .treadmill__pane:nth-child(2n + 4) .aircam__pane {
  outline-width: 5rem;
  outline-style: solid;
  outline-color: #9A7FFA;
  border-top-right-radius: 5rem;
  border-bottom-right-radius: 5rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.aircam .treadmill__pane:nth-child(2n + 4) {
  z-index: 1;
}

/** WHITE **/
.aircam .treadmill__pane:nth-child(2n + 3) {
  z-index: 2;
}

.aircam .treadmill__pane:nth-child(2n + 3) .aircam__pane-text-separator {
  @apply bg-blue;
}

.aircam .treadmill__pane:nth-child(2n + 3) .aircam__pane {
  background-color: #FAFBFC;
}

.aircam .treadmill__pane:nth-child(2n + 3) .aircam__pane-text {
  @apply text-manatee;
}

.aircam .treadmill__pane:nth-child(2n + 3) .aircam__pane-text h3 {
  color: #2E2E3C;
}

.aircam .treadmill__pane:nth-child(2n + 3) .aircam__pane {
  border-top-right-radius: 5rem;
  border-bottom-left-radius: 5rem;
}

/** WHITE ALT **/
.aircam .treadmill__pane:nth-child(2n + 5) .aircam__pane {
  border-top-right-radius: 0;
}

.aircam .aircam__pane-text-separator {
  @apply my-6 rounded;
  height: 3px;
  width: 60px;
}

.aircam .aircam__pane-content {
  @apply relative;
  flex: 1;
  /**
   * Account for left/right edges
   */
  max-width: 95%;
  text-align: center;
}

.aircam .aircam__pane-content .image {
  @apply mt-12;
  max-width: 311px;
}

.aircam .aircam__video-container {
  max-height: 350px;
  @apply mb-8;
}

.aircam .counter__container {
  @apply mt-10;
}
