*, *:after, *:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}
html {
  font-size: 18px;
  overflow-y: scroll;
  background-color: transparent;

  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media screen and (min-width:721px) {
  html {
    font-size: 20px;
  }
}
body {
  font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
  overflow: hidden;
  margin: 0;
  transition: color .2s ease-in-out, background-color .2s ease-in-out;
  text-align: center;
}
a, a:visited, a:hover, a:active {
  white-space: nowrap;
  color: inherit;
}
.fun {
  font-size: .8rem;
  font-weight: bold;
  display: block;
  margin: 5px 0 4px 0;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.large {
  font-size: 120%;
  line-height: 1.5;
}

#what {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
#what p {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  height: 5.5em;
  padding: 10px 0 0 0;

  justify-content: flex-start;
  align-items: center;
}


#coin, #coin div {
  width: calc(100vw - 40px);
  max-width: 470px;
  height: calc(100vw - 40px);
  max-height: 470px;
}
#coin {
  position: relative;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 50%;
}
#coin div {
  font-size: 96px;
  font-weight: bold;
  line-height: 464px;
  position: absolute;
  top: 0px;
  left: 0px;
  display: block;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out;
  letter-spacing: .02em;
  border-width: 6px;
  border-style: double;
         border-radius: 50%;

  -khtml-border-radius: 50%;
  -webkit-text-size-adjust: none;
  -webkit-touch-callout: none;
   -khtml-user-select: none;
}
@media screen and (max-width:520px) {
  #coin div {
    font-size: 19vw;
    line-height: calc(100vw - 46px);
  }
}

#what, .content {
  width: 100%;
  max-width: 990px;
  margin: 0 auto;
  padding: 0 15px;
}
#flips {
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
  margin: .1em auto;
  letter-spacing: .08em;
}

p {
  font-size: 1.25rem;
  line-height: 150%;
  margin: 0;
  padding: 0;
}

#what > p .start {
  white-space: nowrap;
}

@media screen and (min-width: 1024px) {
  #share .whatsapp {
    display: none !important;
  }
}

/* CONTENT */

.content {
  font-size: 16px;
  max-width: 680px;
  margin: 3em auto;
  padding: 3em 2em;
  text-align: left;
  background-color: rgba(255, 255, 255, .1);
}
header nav {
  max-width: 650px;
  margin: 0 auto;
}
body.white .content {
  background-color: rgba(0, 0, 0, .1);
}
.content p {
  font-size: 1em;
  line-height: 1.5;
  margin: 1em 0;
  padding: 0;
}
.content ul, .content ol, .content blockquote {
  line-height: 1.5;
  margin: 1em 0 1em 3em;
}
.content blockquote {
  font-style: italic;
  margin: 1em 0 1em 2em;
}
.content h1 {
  font-size: 2em;
  position: relative;
  margin-bottom: .8em;
  padding-bottom: .8em;
  text-align: center;
}
.content h2 {
  font-size: 1.4em;
}
.content h3 {
  font-size: 1.4em;
  position: relative;
  padding-bottom: 1em;
  text-align: center;
}
.content h3::after, .content h1::after {
  position: absolute;
  bottom: 0;
  left: calc(50% - 1em);
  width: 2em;
  content: '';
  border-bottom: 1px solid #aaa;
}
.content h4 {
  font-size: 1.1em;
  line-height: 1.4;
  margin-top: 2em;
}
.content h3 + p, .content h3 + h4 {
  margin-top: 1.5em;
}
.content h4 + p, .content .answer > p {
  margin-top: .5em;
}

.content.famous p.a {
  padding-left: 0;
  text-indent: 0;
}

.content.terms-links {
  padding: 0;
  background-color: transparent !important;
}
.content.terms-links ul, header nav ul {
  font-size: 16px;
  margin: 0;
  list-style: none;
  text-align: center;
}
.content.terms-links li, header nav li {
  display: inline-block;
  padding: .5em;
}
header .fun {
  margin-bottom: .65em;
}

.content.terms {
  font-size: 16px;
  margin-bottom: 50px;
}
body.white .content.terms {
  background-color: rgba(0, 0, 0, .1);
}

@media screen and (max-width:500px) {
  .content {
    padding: 50px 20px;
  }
  .content ul, .content ol {
    margin: 1em 0 1em 2em;
  }
  .content blockquote {
    margin: 1em 0 1em 1em;
  }
}

.back-to-top {
  position: relative;
  margin-top: 1em;
  margin-bottom: -1em;
  padding-top: .5em;
  text-align: center;
}
.back-to-top::before {
  position: absolute;
  top: 0;
  left: calc(50% - 1em);
  width: 2em;
  content: '';
  border-bottom: 1px solid #aaa;
}
.back-to-top a {
  display: inline-block;
  margin: 5px;
  padding: 11px 0 !important;
  cursor: pointer;
  vertical-align: middle;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* COLORS! */

#colors ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#colors ul .white {
  background-color: #fff;
}
#colors ul .black {
  background-color: #000;
}
#colors ul .red {
  background-color: #e60000;
}
#colors ul .purple {
  background-color: #850985;
}
#colors ul .blue {
  background-color: #1c41d4;
}
#colors ul .green {
  background-color: #0a5b0a;
}
#colors li {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 45px;
  margin: 5px;
  padding: 0;
  cursor: pointer;
}

body.white {
  color: black;
  background-color: white;
}
body.white #coin div {
  color: #222;
  border-color: #555;
  background-color: #ddd;
}

body.black {
  color: #efefef;
  background-color: black;
}
body.black #coin div {
  color: #eee;
  border-color: #eee;
  background-color: #555;
}

body.red {
  color: #fff;
  background-color: #a60c00;
}
body.red #coin div {
  color: #ffe6e6;
  border-color: #ffe6e6;
  background-color: #e60000;
}

body.purple {
  color: #fff;
  background-color: #606;
}
body.purple #coin div {
  color: #f0e6f0;
  border-color: #f0e6f0;
  background-color: #520052;
}

body.blue {
  color: white;
  background-color: #1533ad;
}
body.blue #coin div {
  color: #e6e6ff;
  border-color: #e6e6ff;
  background-color: #082083;
}

body.green {
  color: #fff;
  background-color: #030;
}
body.green #coin div {
  color: #e6ebe6;
  border-color: #e6ebe6;
  background-color: #002900;
}

@media screen and (min-width: 720px) {
  body.white #coin div:hover {
    background-color: #e6e6e6;
  }
  body.black #coin div:hover {
    background-color: #666;
  }
  body.red #coin div:hover {
    background-color: #ff1300;
  }
  body.purple #coin div:hover {
    background-color: #850985;
  }
  body.blue #coin div:hover {
    background-color: #1c41d4;
  }
  body.green #coin div:hover {
    background-color: #074707;
  }
}

/* SOCIALS! */

#share {
  margin-bottom: 20px;
}
#share a {
  font-size: .8rem;
  font-weight: bold;
  display: inline-block;
  width: 100%;
  max-width: 8em;
  margin: 5px;
  padding: 11px 0 !important;
  cursor: pointer;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: white;
}
#share a:hover, #share a:active {
  color: white;
}
#share .native {
  font-size: .975rem;
  width: auto;
  max-width: none;
  margin: .25em;
  padding: .9em 1.5em !important;
  letter-spacing: .06em;
  border-radius: 8px;
}
#share .native svg {
  width: 1.3rem;
  height: auto;
  margin: -.2em 0 0 .35em;
  vertical-align: middle;
}
#share .twitter, #share .native {
  background: #00aced;
}
#share .twitter:hover, #share .twitter:active, #share .native:active {
  background: #0084b4;
}
#share .facebook {
  background: #3b5997;
}
#share .facebook:hover, #share .facebook:active {
  background: #2d4372;
}
#share .whatsapp {
  background: #2cb742;
}
#share .whatsapp:hover, #share .whatsapp:active {
  background: #1fa434;
}

.margin, #coin {
  margin-top: 40px;
  margin-bottom: 40px;
}
.adwrap {
  margin: 60px auto;
  text-align: center;
}

footer p.copy {
  font-size: 14px;
  margin-top: 1.5em;
  text-align: center;
}

[tabindex]:focus, [tabindex] *:focus {
  outline: none;
}

[tabindex]:focus-visible {
  outline: 2px solid white;
}
body.white [tabindex]:focus-visible {
  outline: 2px solid black;
}
