/**
 * @license
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * =============================================================================
 */
/**
 * @license
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * =============================================================================
 */
/*
 * Media Breakpoints
 */
/*
 * Colors
 */
/*
 * Font Stacks
 */
/*
 * Transition curves
 */
/**
 * @license
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * =============================================================================
 */
/**
 * @license
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * =============================================================================
 */
/*
 * Z-index UI application
 */
html {
  box-sizing: border-box;
  font-size: 100%;
  overflow: hidden;
  -webkit-text-size-adjust: 100%; }

*, *:before, *:after {
  box-sizing: inherit; }

*:focus {
  outline: 1px solid #a41698; }

a {
  font-weight: 500; }

img {
  max-width: 100%; }

body {
  background: white;
  bottom: 0;
  font-family: "Roboto", arial, sans-serif;
  font-weight: 300;
  left: 0;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0; }

.btn {
  background: #3041a0;
  border: 0;
  color: #fff;
  cursor: pointer;
  letter-spacing: 1px;
  padding: 8px 20px;
  font-size: 30px;
  font-family: "Changa One", sans-serif;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased; }

.play-btn {
  background: #3041a0 url("/img/sound.svg");
  background-repeat: no-repeat;
  background-position: 10px 13px;
  padding: 8px 20px 8px 45px; }

.play-btn:disabled {
  opacity: 0.4; }

.cancel-btn,
.quit-btn {
  min-width: 200px; }

.cancel-btn {
  background: #a99ca8;
  margin-bottom: 15px; }

.slideUp {
  transform: translateY(-100%) !important;
  transition: transform 500ms cubic-bezier(0, 0, 0.2, 1); }

.slideDown {
  transform: translateY(0) !important;
  transition: transform 500ms cubic-bezier(0, 0, 0.2, 1); }

@keyframes timer-flash-animation {
  from {
    opacity: 1;
    transform: scale(1); }
  to {
    opacity: 0;
    transform: scale(2.2); } }

.social-share-icon {
  width: 30px;
  height: 30px;
  margin: 0 5px; }

.view__landing__social-icons a,
.view__found-x-items__social-icons a,
.view__found-all-items__social-icons a {
  display: inline-block; }

.view__info-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 5px; }
  .view__info-bar__home-btn, .view__info-bar__about-btn, .view__info-bar__close-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: absolute; }
    .view__info-bar__home-btn img, .view__info-bar__about-btn img, .view__info-bar__close-btn img {
      width: 32px; }
  .view__info-bar__about-btn, .view__info-bar__close-btn {
    right: 0;
    position: absolute;
    top: 5px; }
  .view__info-bar__home-btn {
    top: 6px;
    left: 8px; }
    .view__info-bar__home-btn img {
      width: 34px; }
  .view__info-bar__about-btn {
    top: 8px;
    right: 7px; }
  .view__info-bar__close-btn {
    right: 8px;
    top: 8px; }

.views {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0; }
  .views__heading {
    font-family: "Changa One", sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px; }

.view__loading {
  position: absolute;
  color: #fff;
  background-color: #017737;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1300; }
  .view__loading__icon {
    width: 70px; }
  .view__loading__heading {
    max-width: 280px;
    margin-top: 10px; }

.view__quit {
  position: absolute;
  color: #fff;
  background-color: #7c2aa7;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1200; }
  .view__quit__heading {
    max-width: 280px;
    margin-bottom: 30px; }

.view__about {
  background-color: #f74d4d;
  color: #fff;
  display: none;
  flex-direction: column;
  font-weight: 300;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  top: 0;
  z-index: 1100;
  -webkit-overflow-scrolling: touch; }
  .view__about__body {
    margin: 0 auto;
    max-width: 800px;
    padding: 50px 30px; }
  .view__about__heading {
    font-size: 24px !important;
    padding-top: 20px; }
  .view__about__video-container {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%; }
    .view__about__video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%; }
  .view__about p {
    line-height: 23px;
    font-size: 15px; }
  .view__about a {
    border-bottom: 1px solid #fff;
    color: #fff;
    text-decoration: none; }
  .view__about__privacy {
    display: flex;
    align-items: flex-end;
    justify-content: space-between; }
    .view__about__privacy__ai-badge {
      border-bottom: none !important;
      position: relative;
      left: 0;
      display: inline-block;
      margin-top: 60px; }
      .view__about__privacy__ai-badge img {
        width: 170px; }
        @media (min-width: 600px) {
          .view__about__privacy__ai-badge img {
            width: 270px; } }
        @media (max-height: 500px) {
          .view__about__privacy__ai-badge img {
            width: 160px; } }
    .view__about__privacy__privacy-link {
      border-bottom: none !important;
      bottom: 6px;
      color: #fff;
      font-size: 14px;
      position: relative;
      right: 0;
      text-decoration: none; }

.view__landing {
  background-color: #017737;
  color: #fff;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000; }
  .view__landing__social-icons {
    position: absolute;
    top: 10px;
    left: 6px; }
  .view__landing h1 {
    margin: 0; }
  .view__landing__logo {
    width: 280px; }
    @media (min-width: 600px) {
      .view__landing__logo {
        width: 580px; } }
    @media (max-height: 500px) {
      .view__landing__logo {
        width: 280px; } }
  .view__landing__intro {
    font-size: 16px;
    line-height: 22px;
    max-width: 320px;
    margin-bottom: 30px; }
    @media (min-width: 600px) {
      .view__landing__intro {
        font-size: 18px;
        max-width: 510px; } }
    @media (max-height: 500px) {
      .view__landing__intro {
        margin: 0 10px 20px; } }
  .view__landing__desktop-msg {
    display: none;
    font-size: 11px;
    line-height: 18px;
    max-width: 330px; }
  .view__landing__age-msg {
    font-size: 11px;
    line-height: 18px;
    max-width: 330px; }
  .view__landing__platform-msg {
    display: none;
    max-width: 600px; }
  .view__landing__video-container {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%; }
    .view__landing__video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%; }
  .view__landing__ai-badge {
    position: absolute;
    bottom: 10px;
    width: 170px;
    left: 11px; }
    @media (min-width: 600px) {
      .view__landing__ai-badge {
        width: 270px; } }
    @media (max-height: 500px) {
      .view__landing__ai-badge {
        width: 160px; } }
  .view__landing__privacy-link {
    bottom: 12px;
    color: #fff;
    font-size: 14px;
    position: absolute;
    right: 14px;
    text-decoration: none; }
  .view__landing.not-supported .view__landing__logo {
    width: 190px;
    padding-bottom: 20px; }
  .view__landing.not-supported .view__landing__intro {
    display: none; }
  .view__landing.not-supported .play-btn {
    display: none; }

.view__countdown {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 900;
  top: 0; }
  .view__countdown__3, .view__countdown__2, .view__countdown__1, .view__countdown__0 {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 50px;
    justify-content: center;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0; }
    .view__countdown__3 .view__countdown__count, .view__countdown__2 .view__countdown__count, .view__countdown__1 .view__countdown__count, .view__countdown__0 .view__countdown__count {
      font-size: 320px;
      font-family: "Changa One", sans-serif;
      -webkit-font-smoothing: antialiased; }
      @media (max-height: 500px) {
        .view__countdown__3 .view__countdown__count, .view__countdown__2 .view__countdown__count, .view__countdown__1 .view__countdown__count, .view__countdown__0 .view__countdown__count {
          font-size: 220px; } }
    .view__countdown__3 .view__countdown__find-msg, .view__countdown__2 .view__countdown__find-msg, .view__countdown__1 .view__countdown__find-msg, .view__countdown__0 .view__countdown__find-msg {
      position: absolute;
      bottom: 40px;
      font-size: 16px;
      padding: 10px;
      text-align: center;
      max-width: 320px;
      margin: 0 auto; }
      @media (min-width: 600px) {
        .view__countdown__3 .view__countdown__find-msg, .view__countdown__2 .view__countdown__find-msg, .view__countdown__1 .view__countdown__find-msg, .view__countdown__0 .view__countdown__find-msg {
          max-width: 100%; } }
  .view__countdown__3 {
    background-color: #e61bd5;
    z-index: 940; }
  .view__countdown__2 {
    background-color: #f0bc08;
    z-index: 930; }
  .view__countdown__1 {
    background-color: #50d22c;
    z-index: 920; }
  .view__countdown__0 {
    background-color: #017737;
    flex-direction: column;
    z-index: 910; }
    .view__countdown__0__find {
      align-items: center;
      display: flex;
      font-size: 70px;
      font-family: "Changa One", sans-serif;
      margin: 0;
      padding-bottom: 10px;
      text-transform: uppercase;
      -webkit-font-smoothing: antialiased; }
    .view__countdown__0__emoji {
      width: 140px;
      padding-left: 10px;
      position: relative;
      left: 20px; }
    .view__countdown__0__find-time {
      font-size: 20px; }

.view__sleuth {
  position: fixed;
  bottom: 0;
  display: flex;
  z-index: 800; }
  .view__sleuth__emoji {
    position: relative;
    bottom: -4px;
    align-self: flex-end;
    width: 75px; }
    @media (min-width: 600px) {
      .view__sleuth__emoji {
        width: 100px; } }
    @media (max-height: 500px) {
      .view__sleuth__emoji {
        width: 80px; } }
  .view__sleuth__speaking {
    display: none;
    padding: 8px 10px 10px;
    position: relative;
    background: #fff;
    border-radius: 16px;
    font-size: 26px;
    top: 20px;
    font-family: 'Amatic SC', cursive;
    margin: 6px 7px 38px 0; }
    @media (min-width: 600px) {
      .view__sleuth__speaking {
        margin: 6px 7px 50px 0; } }
    @media (max-height: 500px) {
      .view__sleuth__speaking {
        margin: 6px 7px 38px 0; } }
    .view__sleuth__speaking__emoji {
      left: 1px;
      position: relative;
      top: 0;
      vertical-align: middle;
      width: 32px; }
    .view__sleuth__speaking::after {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      width: 0;
      height: 0;
      border: 20px solid transparent;
      border-right-color: #fff;
      border-left: 0;
      border-bottom: 0;
      margin-top: -10px;
      margin-left: -10px; }

.view__found-x-items,
.view__found-no-items,
.view__found-all-items,
.view__found-item {
  position: absolute;
  background-color: #017737;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  transform: translateY(-100%);
  z-index: 700; }
  .view__found-x-items p,
  .view__found-no-items p,
  .view__found-all-items p,
  .view__found-item p {
    padding: 0 10px;
    text-align: center; }

.view__found-x-items,
.view__found-all-items {
  color: #fff;
  justify-content: flex-start;
  overflow-y: scroll;
  padding: 50px 0 100px;
  -webkit-overflow-scrolling: touch; }
  .view__found-x-items__disclaimer,
  .view__found-all-items__disclaimer {
    font-size: 11px;
    font-style: italic;
    opacity: .65; }
  @media (max-height: 500px) {
    .view__found-x-items,
    .view__found-all-items {
      padding-top: 30px; } }
  .view__found-x-items__emojis,
  .view__found-all-items__emojis {
    display: flex;
    font-size: 50px;
    flex-wrap: wrap;
    margin: 20px 10px 0;
    width: 100%;
    text-align: center;
    justify-content: center; }
    @media (max-height: 500px) {
      .view__found-x-items__emojis,
      .view__found-all-items__emojis {
        margin: 0 10px; } }
    .view__found-x-items__emojis .emoji-item,
    .view__found-all-items__emojis .emoji-item {
      width: 20%; }
      .view__found-x-items__emojis .emoji-item img,
      .view__found-all-items__emojis .emoji-item img {
        width: 70px;
        padding: 0 5px;
        vertical-align: middle; }
        @media (min-width: 600px) {
          .view__found-x-items__emojis .emoji-item img,
          .view__found-all-items__emojis .emoji-item img {
            width: 110px; } }
        @media (max-height: 500px) {
          .view__found-x-items__emojis .emoji-item img,
          .view__found-all-items__emojis .emoji-item img {
            margin-bottom: 10px;
            width: 55px; } }
    .view__found-x-items__emojis__grid,
    .view__found-all-items__emojis__grid {
      display: flex;
      flex-wrap: wrap;
      max-width: 960px;
      padding: 5px;
      width: 100%; }
      .view__found-x-items__emojis__grid figure,
      .view__found-all-items__emojis__grid figure {
        flex: 0 0 auto;
        margin: 15px 0;
        padding: 0 15px;
        position: relative;
        width: 33.333%; }
        .view__found-x-items__emojis__grid figure img,
        .view__found-all-items__emojis__grid figure img {
          display: block;
          height: 100%;
          object-fit: contain;
          width: 100%; }
        .view__found-x-items__emojis__grid figure figcaption,
        .view__found-all-items__emojis__grid figure figcaption {
          bottom: 0;
          left: 50%;
          position: absolute;
          transform: translate(-50%, 20%); }
      .view__found-x-items__emojis__grid.landscape figcaption,
      .view__found-all-items__emojis__grid.landscape figcaption {
        width: 20%; }
      .view__found-x-items__emojis__grid.portrait figcaption,
      .view__found-all-items__emojis__grid.portrait figcaption {
        height: 25%; }
      .view__found-x-items__emojis__grid.photos-1, .view__found-x-items__emojis__grid.photos-2,
      .view__found-all-items__emojis__grid.photos-1,
      .view__found-all-items__emojis__grid.photos-2 {
        justify-content: center; }
    @media (min-width: 1440px) {
      .view__found-x-items__emojis,
      .view__found-all-items__emojis {
        padding: 0 15px; } }
  .view__found-x-items__social,
  .view__found-all-items__social {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px; }
    @media (max-height: 500px) {
      .view__found-x-items__social p,
      .view__found-all-items__social p {
        margin-top: 0; } }

.view__found-x-items > *,
.view__found-all-items > * {
  flex: 0 0 auto; }

.view__found-all-items__emojis {
  margin: 0 10px; }

.view__found-no-items {
  background-color: #7c2aa7;
  color: #fff;
  z-index: 600; }
  .view__found-no-items__emoji {
    width: 128px; }
    @media (min-width: 600px) {
      .view__found-no-items__emoji {
        width: 150px; } }
    @media (max-height: 500px) {
      .view__found-no-items__emoji {
        width: 100px; } }

.view__found-item {
  display: none;
  background-color: transparent;
  color: #fff;
  transform: translateY(0);
  z-index: 400; }
  .view__found-item__emoji {
    width: 128px; }
    @media (min-width: 600px) {
      .view__found-item__emoji {
        width: 150px; } }
    @media (max-height: 500px) {
      .view__found-item__emoji {
        width: 100px; } }

.view__status-bar {
  align-items: center;
  background-color: #017737;
  color: #fff;
  display: flex;
  font-size: 30px;
  font-family: "Changa One", sans-serif;
  position: absolute;
  text-transform: uppercase;
  top: 0;
  height: 60px;
  z-index: 500;
  width: 100%;
  justify-content: space-between;
  padding: 0 14px;
  -webkit-font-smoothing: antialiased; }
  .view__status-bar__find, .view__status-bar__info {
    align-items: center;
    display: flex; }
  .view__status-bar__find__emoji {
    width: 35px;
    position: relative;
    left: 7px; }
  .view__status-bar__info {
    font-size: 30px; }
    .view__status-bar__info__emoji {
      position: relative;
      width: 30px; }
    .view__status-bar__info__score {
      padding: 0 15px 0 7px; }
    .view__status-bar__info__timer-container {
      align-items: center;
      display: flex;
      justify-content: center;
      min-width: 45px;
      position: relative; }
      .view__status-bar__info__timer-container span {
        position: absolute; }
    .view__status-bar__info__timer {
      padding: 0 0 0 7px; }
    .view__status-bar__info__timer-flash {
      color: #f8ff00;
      display: none;
      left: 7px;
      padding: 0 0 0 7px; }
      .view__status-bar__info__timer-flash.flash {
        animation-name: timer-flash-animation;
        animation-duration: .5s;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }

.view__camera {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 100; }
  .view__camera__quit-btn {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 74px;
    right: 14px;
    font-size: 22px;
    font-family: "Changa One", sans-serif;
    text-transform: uppercase;
    z-index: 300; }
  .view__camera__prediction-results {
    display: none;
    position: absolute;
    top: 70px;
    left: 10px;
    background: white;
    z-index: 99;
    border-radius: 4px;
    padding: 10px; }
  .view__camera__fps {
    position: fixed;
    right: 0;
    top: 115px;
    z-index: 99; }
  .view__camera__desktop-msg {
    display: none;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    position: absolute;
    bottom: 15px;
    right: 14px;
    z-index: 300; }

/**
 * @license
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * =============================================================================
 */
@keyframes flash-animation {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

.camera__capture-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  transition: border-width .1s ease-in-out;
  z-index: 2; }
  .camera__capture-wrapper.capture {
    border: black solid;
    border-width: 90px 30px 30px 30px; }
  .camera__capture-wrapper .camera__capture-flash {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 200; }
    .camera__capture-wrapper .camera__capture-flash.flash {
      background: #00fd24;
      animation-name: flash-animation;
      animation-duration: .1s; }
      .camera__capture-wrapper .camera__capture-flash.flash.freeze {
        mix-blend-mode: multiply; }

.camera__element {
  height: auto;
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: auto;
  z-index: 1; }
  .camera__element.camera-front-facing {
    transform: translateX(-50%) translateY(-50%) scale(-1, 1); }
