:root {
  --trans: 600ms cubic-bezier(0.23, 1, 0.32, 1);
  --color-text: 0, 0, 0;
  --color-bg: 255, 255, 255;
}

html {
  height: 100%;
}

html,
.images {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(var(--color-text), 0.03);
  padding: 40px;
  min-height: 100%;
  font-family: Montserrat, sans-serif;
  color: rgba(var(--color-text), 0.9);
}

button {
  background: none;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: inherit;
  font: inherit;
  margin: 0;
}

.main-card {
  background-color: rgb(var(--color-bg));
  border-radius: 20px;
  max-width: 590px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

p {
  line-height: 1.5;
}

small {
  margin-top: 40px;
  opacity: 0.7;
}

small a {
  color: rgba(var(--color-text), 0.9);
}

h1 {
  margin: 0;
  margin-left: 25px;
  font-size: 25px;
}

h2 {
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  font-size: 20px;
}

.h1-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.h1-wrap img {
  margin: -12px;
}

.bottom-buttons {
  border-top: 1px solid rgba(var(--color-text), 0.1);
  display: flex;
}

.bottom-buttons > *:not(div) {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  text-decoration: none;
  color: rgba(var(--color-text), 0.9);
  transition: var(--trans);
  cursor: pointer;
}

.bottom-buttons > *:not(div):hover {
  background: rgba(var(--color-text), 0.08);
}

.bottom-buttons > *:not(div).on {
  background: rgba(var(--color-text), 0.1);
}

.bottom-buttons > div {
  width: 1px;
  align-self: stretch;
  background: rgba(var(--color-text), 0.1);
}

a {
  color: #0091ff;
}

.privacy-wrap {
  max-height: 0px;
  overflow: hidden;
  transition: var(--trans);
}

.privacy-wrap.on {
  max-height: 220px;
}

.padding-div > :first-child {
  margin-top: 0;
}

.padding-div > :last-child {
  margin-bottom: 0;
}

.line {
  height: 1px;
  width: 100%;
  background: rgba(var(--color-text), 0.1);
}

.padding-div {
  padding: 40px;
}

.app-stores {
  display: flex;
  margin-top: 40px;
  gap: 20px;
}

.app-stores a {
  height: 32px;
  width: 100%;
  flex-grow: 1;
}

.app-stores img {
  height: 100%;
}

.images {
  display: flex;
  overflow: auto;
  padding-left: 40px;
  padding-bottom: 20px;
  margin-bottom: -20px;
}

.images div {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.images .scroll-to {
  position: absolute;
  /* background: blue; */
  top: -50vh;
  bottom: -50vh;
  left: -40px;
  right: -40px;
}

.visible-img img {
  width: 100%;
  height: 100%;
  transition: var(--trans);
}

.images .visible-img {
  width: 80%;
  margin-right: 20px;
  border: 1px solid rgba(var(--color-text), 0.1);
  border-radius: 4px;
  transition: var(--trans);
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.images img:hover {
  opacity: 0.6;
}

.visible-img img:last-of-type {
  margin-right: 0px;
}

.lightbox {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1em;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: var(--trans);
  backdrop-filter: blur(5px);
}

.lightbox:target {
  opacity: 1;
  pointer-events: all;
}

.lightbox span {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: scale(0.9);
  transition: var(--trans);
}

.lightbox:target span {
  transform: scale(1);
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 5px;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 500px) {
  body {
    padding: 0;
    padding-bottom: 40px;
  }
  .main-card {
    border-radius: 0;
  }
  .h1-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .h1-wrap img {
    width: 70px;
    margin: -7px;
  }

  h1 {
    margin-left: 0;
    margin-top: 20px;
  }
  .privacy-wrap.on {
    max-height: 290px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-text: 255, 255, 255;
    --color-bg: 0, 0, 0;
  }
  body {
    background: rgba(var(--color-bg), 0.9);
  }
}
