.first {
  margin-left: 0px !important;
}
.center {
  text-align: center;
}
.bold-text {
  font-family: "geo-b";
}
.btn-wrapper {
  text-align: center;
  margin: 12px 0px;
}

.pagesection .btn-wrapper {
  text-align: center;
  margin: 24px 0px 32px;
}
.clear {
  clear: both;
}
.hidden {
  display: none;
}
.fw {
  width: 100%;
  display: block;
}
b {
  font-weight: 700;
}
i {
  font-style: italic;
}
.stop-scrolling {
  height: 100%;
  overflow: hidden;
}
.top-margin {
  margin-top: 2rem !important;
}
.top-margin-xl {
  margin-top: 3rem !important;
}
.top-margin-sm {
  margin-top: 1rem !important;
}
.bot-margin-mid {
  margin-bottom: 1rem;
}

ul {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  list-style: disc;
  list-style-position: inside;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.5;
}

h1 {
  font-size: 28px;
  margin-top: 32px;
}

h1:first-of-type {
  margin-top: 0px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

p {
  font-size: 14px;
  line-height: 1.75;
  margin-top: 5px;
}

p.l {
  font-size: 16px;
  line-height: 1.5;
}

@media (min-width: 640px) {
  h1 {
    font-size: 32px;
    /*margin-top: 23px;*/
  }

  h2 {
    font-size: 28px;
  }
}

body {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  color: #020001;
  background-color: #ffffff;
  /*background-color: #ff00ff;*/
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
}

@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}

/*** General elements ***/
.site-wrapper {
  overflow: hidden;
}

.pagesection {
  background-attachment: scroll;
  position: relative;
  z-index: 1000;
  overflow: hidden;
}

.pagesection.light {
  color: #ffffff;
}

.pagesection.dark {
  color: #020001;
}

.white {
  background-color: #ffffff;
}
.gray {
  background-color: #f1eff1;
}

div.content {
  width: 100%;
  position: relative;
}

@media (max-width: 640px) {
  #site-wrapper {
    padding-top: 87px;
  }

  .pagesection {
    width: 90%;
  }

  .pagesection.reg-pad {
    padding: 10% 5%;
  }

  .pagesection.sm-pad {
    padding: 5% 5%;
  }
}

@media (min-width: 640px) {
  #site-wrapper {
    padding-top: 80px;
  }

  .pagesection {
    width: 95%;
  }

  .pagesection.reg-pad {
    padding: 60px 2.5%;
  }

  .pagesection.sm-pad {
    padding: 30px 2.5%;
  }

  .content {
    max-width: 900px;
    margin: 0 auto;
  }
  /*
  .content.mid {
    max-width: 920px;
  }
  .content.sm {
    max-width: 740px;
  }
  */
}

/*** Navbar ***/

#main-nav {
  position: fixed;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 5000;
  background-color: #ffffff;
  padding: 22px 20px 22px 20px;
  -webkit-transition: background-color 0.5s ease;
  transition: background-color 0.5s ease;
}

#main-nav .logo img {
  width: 79px;
}

#main-nav .cta {
  min-width: unset;
  margin: 0;
  padding: 6px 33px 8px;
}

#main-nav #menu-toggle {
  position: relative;
  width: 21px;
  height: 18px;
  margin-bottom: 8px;
  margin-left: 44px;
  margin-right: 14px;
  box-sizing: border-box;
  cursor: pointer;
}

@media (max-width: 640px) {
  #main-nav.active {
    background-color: #f1eff1;
  }

  #main-nav.active .cta {
    display: none;
  }
}

@media (min-width: 640px) {
  #main-nav {
    padding: 16px 40px 22px 40px;
  }

  #main-nav #logo {
    flex: 1;
  }

  #main-nav #logo img {
    width: 104px;
  }

  #main-nav .cta {
    margin: 0 0 0 auto;
  }

  #main-nav #menu-toggle {
    margin-left: 41px;
    margin-right: 0px;
  }
}

/** Hamburger toggle and overlay ***/
#main-nav #menu-toggle span {
  background-color: #05003d;
  position: absolute;
  width: 21px;
  height: 4px;
  border-radius: 2px;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

#menu-toggle span.top {
  top: 0px;
}
#menu-toggle span.middle {
  top: 7px;
}
#menu-toggle span.bottom {
  top: 14px;
}

#menu-toggle.active .top {
  -webkit-transform: translateY(7px) translateX(14px) rotate(45deg);
  -ms-transform: translateY(7px) translateX(14px) rotate(45deg);
  transform: translateY(7px) translateX(14px) rotate(45deg);
}
#menu-toggle.active .middle {
  -webkit-transform: translateY(0px) translateX(14px) rotate(-45deg);
  -ms-transform: translateY(0px) translateX(14px) rotate(-45deg);
  transform: translateY(0px) translateX(14px) rotate(-45deg);
}
#menu-toggle.active .bottom {
  -webkit-transform: translateY(-7px) translateX(14px) rotate(-45deg);
  -ms-transform: translateY(-7px) translateX(14px) rotate(-45deg);
  transform: translateY(-7px) translateX(14px) rotate(-45deg);
}

#overlay {
  position: fixed;
  background: #f1eff1;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  opacity: 0;
  -webkit-transition: opacity 0.5s, height 0.5s;
  transition: opacity 0.5s, height 0.5s;
  overflow: hidden;
}
#overlay.open {
  opacity: 1;
  height: 100%;
  z-index: 2000;
}

ul.menu {
  list-style: none;
  padding: 0;
}

@media (max-width: 640px) {
  #main-menu {
    display: block;
    margin-left: 22px;
    margin-right: 22px;
    margin-top: 87px;
    overflow: hidden;
  }

  #main-menu a {
    display: block;
    font-size: 14px;
    margin-top: 20px;
    padding: 11px 17px;
    color: #000000;
    text-decoration: none;
    background-color: #ffffff;
  }

  .admin-bar #overlay {
    top: 46px;
  }
}

@media (min-width: 640px) {
  #main-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 120px 0px;
  }
  ul#main-menu {
    width: 100%;
  }

  ul#main-menu li {
    margin-top: 34px;
    text-align: center;
  }

  #main-menu a {
    font-size: 28px;
    line-height: 1;
    padding: 4px;
    color: #020001;
    text-decoration: none;
    text-align: center;
  }

  .admin-bar #overlay {
    top: 32px;
  }
}

/*** Buttons ***/

.btn-wrapper.left,
.btn-wrapper.alignleft {
  text-align: left;
}
.btn-wrapper.center,
.btn-wrapper.alignCenter {
  text-align: center;
}
.btn-wrapper.right,
.btn-wrapper.alignRight {
  text-align: right;
}

.round-btn {
  display: inline-block;
  box-sizing: border-box;
  padding: 6px 20px 8px;
  margin: 8px 10px;
  min-width: 140px;
  margin-top: 10px;
  border-radius: 50px;
  background: #4bc2ec;
  background: #2b92cc; /* Colors from real game */

  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  text-decoration: none;

  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.btn-wrapper.alignleft .round-btn:first-of-type {
  margin-left: 0px;
  margin-right: 20px;
}

.btn-wrapper.alignright .round-btn:first-of-type {
  margin-left: 20px;
  margin-right: 0px;
}

.round-btn:hover {
  background-color: #55a7d6;
  background-color: #55a7d6; /* Colors from real game */
}

.round-btn.orange {
  background: #ff8f00;
}

.round-btn.orange:hover {
  background-color: #ff9e1e;
  background-color: #f9a433;
}

/*** Landing page ***/
#landing-header-wrapper {
  background-color: #f1eff1;
  padding-bottom: 50px;
  box-sizing: border-box;
  overflow: hidden;
  /*-webkit-clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);*/
}

#landing-header-wrapper.slick-dotted.slick-slider {
  margin-bottom: 0px;
}

#landing-header-wrapper .slick-dots {
  bottom: 20px;
}

.landing-header .header-content {
  width: 80%;
  margin: 0 auto;
}

.landing-header .header-content h1 {
  margin-top: 8px;
}

@media (min-width: 640px) {
  .landing-header .header-content {
    max-width: 420px;
  }
}

.landing-header.snapchance_photo {
}

.landing-header .snapchance_photo-wrapper,
.landing-header .video-wrapper {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-header .snapchance_photo-wrapper:before,
.landing-header .video-wrapper:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 170px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
  background: #ffffff;
}

.snapchance_photo-wrapper .img-wrapper {
  display: inline-block;
  position: relative;
  margin-top: 14px;
  margin-bottom: 8px;
}

.inner-img-wrapper {
  position: relative;
  display: inline-block;
  background-color: #efefef;
  background-color: #fbfbfb;
  padding: 9px 11px 39px 11px;
  /*padding: 4% 5% 18%;*/
  /*border: 2px solid #9e9e9e;*/
  box-shadow: 0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%);
  border-radius: 4px;
  z-index: 1;
}

.snapchance_photo-wrapper .img-wrapper img.main-img {
  width: 210px;
  height: 210px;
  background-color: #ffffff;
  border-radius: 4px;
}

.snapchance_photo-wrapper .img-wrapper .leaf {
  position: absolute;
  z-index: 0;
}

.snapchance_photo-wrapper .img-wrapper .leaf-left {
  left: -33%;
  bottom: 12%;
  width: 70%;
}

.snapchance_photo-wrapper .img-wrapper .leaf-right {
  right: -25%;
  top: 1%;
  width: 70%;
}

@media (min-width: 640px) {
  /*.landing-header .snapchance_photo-wrapper:before {
    top: -260px;
    width: 150%;
    transform: skew(267deg);
  }
  */

  .landing-header .snapchance_photo-wrapper:before {
    height: 120px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 25%);
  }
}

.landing-header.photo {
  width: 100%;
}

.landing-header .photo-wrapper {
  padding-top: 90%;
  background-color: #ffffff;
  background-size: cover;
  background-position: center center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%);
}

@media (min-width: 640px) {
  .landing-header .photo-wrapper {
    padding-top: 50%;
  }
}

@media (min-width: 1024px) {
  .landing-header .photo-wrapper {
    padding-top: 600px;
  }
}

.inner-video-wrapper {
  position: relative;
  display: inline-block;
  background-color: #efefef;
  background-color: #fbfbfb;
  width: 70%;
  max-width: 380px;
  padding: 9px 11px 39px 11px;
  margin-top: 14px;
  margin-bottom: 8px;
  /*padding: 4% 5% 18%;*/
  /*border: 2px solid #9e9e9e;*/
  box-shadow: 0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%);
  border-radius: 4px;
  z-index: 1;
}

.inner-video-wrapper.paused:before {
  content: "";
  display: inline-block;
  background-image: url(../img/play-btn.svg);
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: 60px;
  background-position: center;
  background-color: rgb(255 255 255 / 75%);

  /** Fix pop in when sliding **/
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.inner-video-wrapper:focus {
  border: 0;
  outline: 0;
}

.video-wrapper .inner-video-wrapper video {
  border: none;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
/*
.video-control-btn {
  display: block;
  background-image: url(../img/play-btn.svg);
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0%;
  right: 0%;
  top: 0%;
  bottom: 0%;
  margin: auto;
  background-size: 60px;
  background-position: center;
  background-color: rgb(255 255 255 / 75%);
}
/

.video-control-btn.hide {
  display: none;
}
*/

@media (min-width: 640px) {
  /*.landing-header .snapchance_photo-wrapper:before {
    top: -260px;
    width: 150%;
    transform: skew(267deg);
  }
  */

  .landing-header .snapchance_photo-wrapper:before {
    height: 120px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 25%);
  }
}

.steps {
  margin-left: auto;
  margin-right: auto;
}

.step img {
  width: 100%;
  max-width: 67px;
}

.step p {
  margin-top: 10px;
}

@media (min-width: 640px) {
  .steps {
    max-width: 530px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .step img {
    max-width: 90px;
  }
}

.secure-logos {
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.content > .secure-logos:first-child {
  margin-top: 0px;
}

.col.secure-logo {
  margin: 5px 0px;
}

.secure-logo img {
  transform: scale(0.65);
  max-height: 43px;
}

@media (min-width: 640px) {
  .secure-logos {
    margin-top: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .col.secure-logo {
    margin: 15px 0px;
    padding: 0px 26px;
  }
  /*
  .secure-logo:nth-of-type(odd) {
    text-align: right;
  }
  .secure-logo:nth-of-type(even) {
    text-align: left;
  }
  */
  .secure-logo img {
    transform: scale(1);
  }
}

#testimonials {
  margin-top: 60px;
  width: 100%;
}

.testimonial-wrapper {
  width: 100%;
  margin-bottom: 24px;
}

.testimonial {
  text-align: left;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 15px 25px 22px;
  max-width: 285px;
  box-sizing: border-box;
  margin: 0 auto;
}

.person {
  margin-left: -40px;
  display: flex;
  align-items: center;
}

.person .person-image {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.person .person-name {
  margin-left: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.stars {
  display: flex;
  margin-top: 1px;
}

.stars img {
  margin-right: 5px;
}

.quote {
  margin-top: 4px;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .testimonial {
    margin: 0;
  }

  .testimonial-wrapper:nth-of-type(odd) .testimonial {
    margin-left: auto;
    margin-right: 12px;
  }
  .testimonial-wrapper:nth-of-type(even) .testimonial {
    margin-right: auto;
    margin-left: 12px;
  }
}

@media (min-width: 680px) {
  .testimonial-wrapper:nth-of-type(odd) .testimonial {
    margin-right: 27px;
  }
  .testimonial-wrapper:nth-of-type(even) .testimonial {
    margin-left: 27px;
  }
}

/*** Sub-page ***/

#page-header {
  width: 100%;
  padding-top: 90%;
  background-color: #ffffff;
  background-size: cover;
  background-position: center center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%);
}

.page {
  background-color: #ffffff;
}

.page #site-wrapper {
  background-color: #f1eff1;
}

.page.home #site-wrapper {
  background-color: #ffffff;
}

#page-content.pagesection,
#post-content.pagesection {
  padding-top: 16px;
  padding-bottom: 64px;
}

p.excerpt {
  color: #4db6ac;
  margin-top: 0;
}

.article-content {
  width: 100%;
  max-width: 780px;
}

.article-content p {
  margin-top: 30px;
}

.article-content p:first-of-type {
  margin-top: 10px;
}

.article-content p a {
  color: #020001;
  font-weight: bold;
  text-decoration: none;
}

.article-content p a:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  #page-header {
    padding-top: 50%;
  }
}

@media (min-width: 1024px) {
  #page-header {
    padding-top: 600px;
  }
}

/*** Post content ***/
.latest-posts {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

.post-link-wrapper {
  width: 100%;
  margin-top: 32px;
}

.post-img {
  padding-top: 67%;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
}

.post-link-wrapper h3 {
  margin-top: 8px;
}
.post-link-wrapper p {
  margin-top: 0px;
}

.post-link-wrapper a.post-link {
  margin-top: 20px;
  margin-left: 0px;
}

@media (min-width: 640px) {
  .latest-posts {
    flex-direction: row;
    justify-content: space-between;
    max-width: 700px;
  }

  /*.post-link-wrapper {
    width: 46%;
  }*/
}

/*** Layouts ***/

/*** Column-wrappers ***/

div.col-wrapper {
  display: flex;
  align-items: stretch;
  flex-direction: row;
  flex-wrap: wrap;
}

div.col-wrapper.justify-space-between {
  justify-content: space-between;
}
div.col-wrapper.align-items-center {
  align-items: center;
}
div.col-wrapper.just-center {
  justify-content: center;
}
div.col-wrapper.hidden {
  display: none;
}

div.col {
  flex-grow: 0;
  flex-shrink: 0;
  margin: 15px;
  box-sizing: border-box;
  position: relative;
}

div.no-margin div.col {
  margin: 0px !important;
}

div.col-1,
div.col-2,
div.col-3,
div.col.margin-lg,
div.col-4 {
  flex-basis: 100%;
  margin-left: 0;
  margin-right: 0;
}

div.col > .text-container {
  max-width: none;
  margin: 10px 0px 0px;
}

@media only screen and (min-width: 640px) {
  div.col {
    margin: 15px;
  }
  div.col-1 {
    flex-basis: 100%;
  }
  div.col-2 {
    flex-basis: calc((100% - 30px) / 2);
  }
  div.col-3 {
    flex-basis: calc((100% - 90px) / 3);
  }
}

/*** Footer ***/
#footer-wrapper {
  background-color: #ffffff;
}
#footer-wrapper.pagesection {
  padding-top: 44px;
  padding-bottom: 60px;
}

#footer img.logo {
  display: block;
  width: 79px;
  margin: 0 auto;
}

#footer-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
}

#footer-menu li {
  margin: 8px;
}

#footer-menu a {
  font-size: 16px;
  text-decoration: none;
  color: #707070;
  padding: 4px;
}

#footer-menu a:hover {
  color: #020001;
}

@media only screen and (min-width: 640px) {
  #footer-wrapper.pagesection {
    padding-top: 18px;
  }

  #footer img.logo {
    width: 112px;
  }

  #footer-menu {
    margin-top: 20px;
  }
}

/*** Slanted styles ***/
.slanted {
}

.slanted-bottom-left.big {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
}

.slant-wrapper,
.slant {
  width: 100%;
}

.slant {
  height: 15px;
}

.slant.big {
  height: 30px;
}

.slant.top-right {
  clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
}

.slant.top-left {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

@media only screen and (min-width: 640px) {
  .slant {
    height: 30px;
  }

  .slant.big {
    height: 80px;
  }
}

/*** Wordpress tweaks ***/
figure > img {
  width: auto;
  height: auto;
}
