@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap);

*, body, html {
  background-color: #f3f3f3;
  border: 0;
  color: #000000;
  font-family: Roboto, Arial, Sans-Serif;
  margin: 0;
  padding: 0;
}

h1, #nojs {
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  margin: 42px 0 18px;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 26px;
  margin: 22px 0 12px;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  margin: 18px 0 8px;
}

img {
  padding: 1ex 1em 1ex 0;
  cursor: zoom-in;
}

.no-zoom {
  cursor: auto;
}

figcaption {
  font-size: 0.85em;
  font-style: italic;
  font-weight: 700;
  margin-top: -0.5ex;
  padding-bottom: 1.5ex;
}

p, .question {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding: 0.5ex 0;
}

ul, ol {
  padding-top: 0.5ex;
}

#menu {
  display: inline-block;
  margin-top: 2ex;
}

#menu li {
  text-align: left;
}

li {
  margin-left: 1.75em;
  padding-bottom: 1ex;
}

ul ul {
  margin-bottom: -1ex;
  padding-top: 1ex;
}

a {
  color: #0000ff;
  text-decoration: underline;
}

.content {
  padding-top: 2ex;
  text-align: left;
}

#container {
  background: url("info.png") top no-repeat;
  margin: 65px 0 0;
  padding: 71px 1em 2ex;
  text-align: center;
}

#container.help {
  background: url("help.png") top no-repeat;
  margin-bottom: 6ex;
  margin-left: auto;
  margin-right: auto;
  max-width: 50em;
}

#message {
  margin: 0 auto;
  max-width: 345px;
}

#platforms {
  margin-top: 42px;
}

#android, #apple {
  display: inline-block;
  margin: 0 10px 20px;
  padding: 64px 0 0;
  width: 140px;
}

#android {
  background: url("android.png") top no-repeat;
}

#apple {
  background: url("apple.png") top no-repeat;
}

.question {
  cursor: pointer;
  display: block;
  font-weight: 700;
  margin-top: 1ex;
  padding: 0.75ex 1em 0.75ex 2.5em;
  position: relative;
  text-align: left;
  width: 100%;
}

.active, .question:hover {
  background-color: #dddddd;
}

.question:before {
  content: ">";
  font-weight: 700;
  left: 1em;
  position: absolute;
  transition-duration: 0.4s;
}

.active:before {
  transform: rotate(90deg);
  transition-duration: 0.4s;
}

.answer {
  overflow: hidden;
  padding: .5ex 1em .5ex 2.5em;
  text-align: left;
  transition-duration: 0.4s;
}

.answer p:last-child {
  padding-bottom: 2ex;
}


/* Back to top button */

#to-top, #to-top:visited {
  background-color: #000000;
  border-radius: 2em;
  bottom: 2ex;
  color: #ffffff;
  display: none;
  font-size: 16px;
  padding: 0.85em;
  position: fixed;
  right: 1em;
  text-decoration: none;
  z-index: 99;
}

@media only screen and (hover) {
  /* wrappered in media query, otherwise stuck blue after tap in iOS */
  #to-top:hover {
    background-color: #0000ff;
  }
}

/* Large image overlay */

#overlay {
  background-color: #000000; /* fallback */
  background-color: #000000e6; /* with alpha */
  cursor: zoom-out;
  display: none;
  height: 100%;
  left: 0;
  overflow: auto;
  padding-top: 5ex;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

#overlay img {
  padding: 0;
}

#large-image {
  cursor: zoom-out;
  display: block;
  margin: auto;
  max-width: 75%;
}

.in {
  animation-duration: 0.6s;
  animation-name: zoom;
}

.out {
  animation-duration: 0.6s;
  animation-name: zoom-out;
}

@keyframes zoom {
  from {transform:scale(0.2)}
  to {transform:scale(1)}
}

@keyframes zoom-out {
  from {transform:scale(1)}
  to {transform:scale(0)}
}

@media only screen and (max-width: 700px){
  #large-image {
    max-width: 100%;
  }

  #overlay {
    padding-top: 2ex;
  }
}