/****************/
/* CUSTOM FONTS */
/****************/

@font-face {
  font-family: 'Ubuntu', sans-serif;
  /*src: url("https://d1kqkd0oaeo3ya.cloudfront.net/fonts/ubuntu/ubuntu-light.ttf") format("truetype");*/
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Ubuntu', sans-serif;
  /*src: url("https://d1kqkd0oaeo3ya.cloudfront.net/fonts/ubuntu/ubuntu-light-italic.ttf") format("truetype");*/
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Ubuntu', sans-serif;
  /*src: url("https://d1kqkd0oaeo3ya.cloudfront.net/fonts/ubuntu/ubuntu.ttf") format("truetype");*/
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Ubuntu', sans-serif;
  /*src: url("https://d1kqkd0oaeo3ya.cloudfront.net/fonts/ubuntu/ubuntu-italic.ttf") format("truetype");*/
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Ubuntu', sans-serif;
  /*src: url("https://d1kqkd0oaeo3ya.cloudfront.net/fonts/ubuntu/ubuntu-medium.ttf") format("truetype");*/
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Ubuntu', sans-serif;
  /*src: url("https://d1kqkd0oaeo3ya.cloudfront.net/fonts/ubuntu/ubuntu-medium-italic.ttf") format("truetype");*/
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'Ubuntu', sans-serif;
  /*src: url("https://d1kqkd0oaeo3ya.cloudfront.net/fonts/ubuntu/ubuntu-bold.ttf") format("truetype");*/
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Ubuntu', sans-serif;
  /*src: url("https://d1kqkd0oaeo3ya.cloudfront.net/fonts/ubuntu/ubuntu-bold-italic.ttf") format("truetype");*/
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: DotMatrix;
  src: url("https://media.pindigo.app/fonts/PindigoDMD-Medium.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}


/**********/
/* COLORS */
/**********/

.color-white {
  color: #fff;
}
.color-lightgrey {
  color: #f8f8f8;
}
.color-mediumgrey {
  color: #999;
}
.color-darkgrey {
  color: #444;
}
.color-purple {
  color: #363377;
}
.color-lightpurple {
  color: #494787;
}
.color-darkpurple {
  color: #252368;
}
.color-green {
  color: #6e9c32;
}
.color-lightgreen {
  color: #7aa640;
}
.color-red {
  color: #A53741;
}

.background-white {
  background-color: #fff;
}
.background-lightgrey {
  background-color: #f8f8f8;
}
.background-darkgrey {
  background-color: #444;
}
.background-purple {
  background-color: #363377;
}
.background-lightpurple {
  background-color: #494787;
}
.background-darkpurple {
  background-color: #252368;
}
.background-green {
  background-color: #6e9c32;
}
.background-lightgreen {
  background-color: #7aa640;
}
.background-red {
  background-color: #A53741;
}


/***********/
/* CONTENT */
/***********/

html {
  position: relative;
  min-height: 100%;
}

body {
  background: #363377;
  font-family: Ubuntu !important;
  font-size: 14px !important;
  color: #444 !important;
}

.footer {
  width: 100%;
  max-width: 800px;
  margin: 30px auto 0;
  color: #fff;
  text-align: center;
}
.footer p {
  margin-bottom: 20px;
}

.pindigo-superscript {
  font-size: 66.6%;
  font-weight: normal;
  line-height: 0;
  vertical-align: super;
}

/*******************/
/* LOADING SPINNER */
/*******************/

.spinner {
  fill: #fff;
  stroke: #fff;
  text-align: center;
}
.spinner-inverse {
  fill: #363377;
  stroke: #363377;
  text-align: center;
}
.spinner svg,
.spinner-inverse svg {
  width: 50px;
  height: auto;
}


/******************/
/* DOWNLOAD LINKS */
/******************/

.download .button {
  display: inline-block;
  padding: 0 15px;
  border-radius: 100em;
  background-color: #7aa640;
  line-height: 40px;
  color: #fff;
}
.download .button:hover {
  background-color: #86B04E;
  text-decoration: none;
}
.download .button:first-child {
  margin-right: 5px;
}
.download .button i {
  margin-right: 0.25em;
  font-size: 130%;
  line-height: 34px;
}


/****************/
/* SOCIAL LINKS */
/****************/

.social {
  margin: 30px 0 20px;
  text-align: center;
}
.social .button {
  display: inline-block;
  background: #252368;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  color: #fff;
  text-align: center;
  line-height: 50px;
}
.social .button:not(:last-child) {
  margin-right: 5px;
}
.social .button:hover {
  background: #2D2B6F;
  color: #fff;
}
.social .button i {
  font-size: 28px;
  vertical-align: middle;
}
.social .button i.icon-envelope {
  font-size: 25px;
  margin-top: -3px;
}



/************/
/* HOMEPAGE */
/************/

.homepage {
  margin: 0 auto;
  padding: 20px;
/*  margin: 20px;*/
  text-align: center;
  color: #fff;
  max-width: 450px;
}
.homepage a {
  color: #fff;
  text-decoration: none;
}

.homepage .flippd-banner {
  display: block;
  box-sizing: border-box;
  width: 100vw;
  margin: -20px calc(50% - 50vw) 28px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(38, 216, 227, 0.08), transparent 38%),
    linear-gradient(270deg, rgba(255, 0, 60, 0.09), transparent 35%),
    #161618;
  border-top: 1px solid #2a2a30;
  border-bottom: 1px solid #2a2a30;
  box-shadow: 0 12px 30px rgba(12, 12, 16, 0.22);
  color: #ededf0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  transition:
    border-color 220ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 220ms cubic-bezier(0.2, 0, 0, 1);
}
.homepage .flippd-banner:hover,
.homepage .flippd-banner:focus {
  border-color: rgba(255, 0, 60, 0.7);
  box-shadow:
    0 12px 30px rgba(12, 12, 16, 0.28),
    0 0 20px rgba(255, 0, 60, 0.18);
  color: #ededf0;
  text-decoration: none;
}
.homepage .flippd-banner:focus {
  outline: 2px solid #ff003c;
  outline-offset: -2px;
}
.homepage .flippd-banner-content {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  align-items: center;
  gap: 12px;
}
.homepage .flippd-banner-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a8a8b0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}
.homepage .flippd-banner-marker {
  color: #26d8e3;
  text-shadow: 0 0 10px rgba(38, 216, 227, 0.55);
}
.homepage .flippd-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.homepage .flippd-banner-copy strong {
  color: #ededf0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.homepage .flippd-banner-copy span {
  color: #a8a8b0;
  font-size: 14px;
  line-height: 1.5;
}
.homepage .flippd-banner-destination {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.homepage .flippd-banner-meet,
.homepage .flippd-banner-cta {
  color: #a8a8b0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}
.homepage .flippd-banner img {
  width: 112px;
  height: 40px;
  object-fit: contain;
}
.homepage .flippd-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: #ff5c7e;
}
.homepage .flippd-banner-arrow {
  color: #ff003c;
  font-size: 20px;
  line-height: 1;
  transition: transform 220ms cubic-bezier(0.2, 0, 0, 1);
}
.homepage .flippd-banner:hover .flippd-banner-arrow,
.homepage .flippd-banner:focus .flippd-banner-arrow {
  transform: translateX(2px);
}
@media (prefers-reduced-motion: reduce) {
  .homepage .flippd-banner,
  .homepage .flippd-banner-arrow {
    transition: none;
  }
}

.homepage .phones {
  margin: 0 auto;
  width: 50%;
  height: auto;
}
.homepage .phones img {
  width: 100%;
}
.homepage .main {
  margin: 0 auto;
}
.homepage .logo {
  width: 100%;
}
.homepage .logo img {
  margin: 20px 0 40px;
  padding: 0 20px;
  width: 100%;
  height: auto;
}

.homepage .tagline {
  font-size: 16px;
  margin-bottom: 30px;
  padding: 0 20px;
}

.homepage .download {
  margin: 0 auto 20px;
  width: 100%;
  text-align: center;
}
.homepage .download > p {
  text-align: center;
}
.homepage .download .button {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

.homepage .scores {
  margin-bottom: 20px;
  width: 100%;
  text-align: left;
}
.homepage .scores .title {
  margin-bottom: 20px;
  line-height: 32px;
  text-transform: uppercase;
  border-bottom: 1px solid #fff;
}
.homepage .scores .list {
}
.homepage .scores .list ul {
  list-style: none;
  padding-left: 0px;
}
.homepage .scores .list li {
  position: relative;
  margin-bottom: 10px;
  padding-right: 40px;
}
.homepage .scores .list li i {
  position: absolute;
  height: 100%;
  top: 1px;
  right: -5px;
}


/**********/
/* HEADER */
/**********/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 999;
}

.header .logo {
  height: 40px;
  width: auto;
}

.header .download {
  position: absolute;
  right: 10px;
}
.header .download p {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
}
.header .download .button {
  display: inline-block;
}
.header .download .button:first-of-type {
  margin-right: 10px;
}


/****************/
/* CONTENT CARD */
/****************/

.pindigo-content {
  margin-top: 60px;
  padding: 0;
}

.pindigo-score-card {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
}

.pindigo-row {
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  line-height: 20px;
}
.pindigo-row .pindigo-row-label {
}
.pindigo-row .pindigo-row-value {
  float: right;
}


/**************/
/* SCORE CARD */
/**************/

.pindigo-row.score-header {
  position: relative;
  height: 50px;
  line-height: 30px;
}
.pindigo-row.score-header .score-header-avatar {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  margin-right: 10px;
}
.pindigo-row.score-header .score-header-username {
  font-weight: 500;
}
.pindigo-row.score-header .score-header-when {
  position: absolute;
  right: 10px;
  color: #999;
}

.pindigo-row.score-evidence {
  padding: 0;
}
.pindigo-row.score-evidence .score-image {
  position: relative;
  background: #ddd;
  text-align: center;
}
.pindigo-row.score-evidence .score-evidence-image img {
  width: 100%;
  height: 250px;
  vertical-align: top;
  object-fit: cover;
}

.pindigo-row.score-details {
  min-height: 100px;
  text-align: center;
  padding: 15px;
}
.pindigo-row.score-details .score-details-machine {
  padding-bottom: 15px;
}
.pindigo-row.score-details .score-details-machine .score-details-machine-name {
  font-size: 18px;
  line-height: 21px;
  margin-bottom: 2px;
}
.pindigo-row.score-details .score-details-machine .score-details-machine-manufacturer {
  font-size: 12px;
  line-height: 13px;
  color: #999;
}
.pindigo-row.score-details .score-details-score {
  font-family: DotMatrix;
  font-size: 34px;
  line-height: 28px;
  color: #252368;
}
.pindigo-row.score-details .score-details-score .score-details-score-initials {
  color: #494787;
}

.pindigo-row.score-notes {
  font-style: italic;
}

.pindigo-row.score-comment {
  position: relative;
  border: none;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 50px;
}
.pindigo-row.score-comment:first-child {
  padding-top: 10px;
}
.pindigo-row.score-comment:last-child {
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}
.pindigo-row.score-comment .score-comment-username {
  font-weight: 500;
  margin-right: 2px;
}
.pindigo-row.score-comment .score-comment-message {
}
.pindigo-row.score-comment .score-comment-when {
  position: absolute;
  right: 10px;
  color: #999;
}


/**************/
/* RESPONSIVE */
/**************/

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

  .header {
    height: 80px;
    padding: 20px;
  }
  .header .logo {
    height: 50px;
  }
  .header .download {
    right: 20px;
  }

  .homepage {
    padding: 50px 0;
    max-width: none;
  }
  .homepage .flippd-banner {
    margin: -50px calc(50% - 50vw) 40px;
  }
  .homepage .flippd-banner-content {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 32px;
    padding: 18px 24px;
  }
  .homepage .flippd-banner-copy strong {
    font-size: 26px;
  }
  .homepage .flippd-banner-destination {
    justify-content: flex-end;
  }
  .homepage .phones {
    display: inline-block;
    margin: 0;
    width: 40%;
    min-width: 230px;
    max-width: 450px;
    vertical-align: top;
  }
  .homepage .phones img {
  }
  .homepage .main {
    display: inline-block;
    width: 340px;
    max-width: none;
    vertical-align: top;
  }
  .homepage .logo {
    width: 320px;
    height: auto;
    margin: 0 auto;
  }
  .homepage .download {
    width: 340px;
  }
  .homepage .download .button {
    display: inline-block;
    width: 40%;
  }
  .homepage .download .button:first-of-type {
    margin-right: 10px;
  }
  .homepage .scores {
  }

  .scorepage {
    padding: 50px 0;
  }

  .pindigo-row.score-evidence .score-evidence-image img {
    height: 384px;
  }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .homepage .main {
    width: 400px;
  }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .homepage .main {
    width: 500px;
  }
}
