:root {
  --color-main: linear-gradient(180deg, #2E4BE6 0%, #2E3DE6 100%);
  --color-main-hover: linear-gradient(180deg, #2B47D9 0%, #2B3AD9 100%);
  --color-main-active: linear-gradient(180deg, #2943CC 0%, #2936CC 100%);
  --color-secondary: #303235;
  --color-text: rgba(255, 255, 255, .9);
  --color-bg: rgba(89, 89, 89, 0.3);
  --color-bg-black: #1F2022;
  --color-bg-black-transparent: rgba(0, 0, 0, .8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #000;
  height: 100vh;
  overflow: hidden;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .3s cubic-bezier(0, 0, 0, 1);
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1001;
  background-image: url('../img/noise.gif');
  opacity: .05;
  pointer-events: none;
  background-size: 350px;
}

.progress {
  width: 250px;
  background: rgba(255, 255, 255, .2);
  overflow: hidden;
}

.progress .inner {
  height: 4px;
  background: var(--color-main);
  width: 0;
}

.progress.main {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: none;
  z-index: 25;
}

.progress.main .inner {
  height: 2px;
}

.text-center {
  text-align: center;
}

.lang-ua .eng,
.lang-en .ua {
  display: none !important;
}

::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* Phone */
.header,
.content-backdrop,
.footer {
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
}

.header,
.content,
.content-backdrop,
.footer {
  position: fixed;
  left: 50%;
  width: 440px;
  transform: translateX(-50%);
}

.header,
.footer,
.content,
.content-backdrop,
.content-border {
  transition: transform .3s cubic-bezier(0, 0, 0, 1), opacity .3s cubic-bezier(0, 0, 0, 1), left .4s cubic-bezier(0, 0, 0, 1);
  z-index: 23;
}

.phone.hidden {
  pointer-events: none;
}

.phone.hidden .header,
.phone.hidden .footer,
.phone.hidden .content,
.phone.hidden .content-backdrop,
.phone.hidden .content-border {
  transform: translate(-50%, 30px);
  opacity: 0;
}

/* Credits */
.credits-on .header,
.credits-on .content,
.credits-on .content-backdrop,
.credits-on .content-border,
.credits-on .footer {
  left: 33%;
}

.credit-logo-m img {
  height: 48px;
  width: auto;
}

.credit-m {
  font-size: 24px;
  margin-top: 32px;
  line-height: 140%;
}

.credit-button-group {
  margin-top: 32px;
}

.credit-button-group a.button.primary {
  margin-right: 24px;
}

.content-overlay {
  position: fixed;
  top: 50%;
  left: 33%;
  width: 380px;
  padding: 32px;
  text-align: center;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0px 40px 80px rgb(0 0 0 / 20%);
  backdrop-filter: blur(80px);
  transform: translate(-50%, -50%) scale(1);
  border-radius: 12px;
  transition: opacity .4s cubic-bezier(0, 0, 0, 1), transform .15s cubic-bezier(0, 0, 0, 1);
  z-index: 24;
}

.content-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.8);
}

.content-overlay-heading {
  font-size: 24px;
  line-height: 100%;
  font-weight: 900;
  margin-top: 16px;
  margin-bottom: 16px;
}

.content-overlay-text {
  margin-bottom: 32px;
}

.content>.messages,
.footer>*,
.header>* {
  transition: opacity .4s cubic-bezier(0, 0, 0, 1);
}

.faded .content>.messages,
.faded .footer>*,
.faded .header>* {
  opacity: 0.1;
}

.credits-on .content,
.credits-on .footer,
.credits-on .header,
.mobile-menu-on .content,
.mobile-menu-on .footer,
.mobile-menu-on .header {
  pointer-events: none;
}

.keep-reading .content,
.keep-reading .footer {
  pointer-events: auto;
}

.keep-reading .footer .icon-btn {
  pointer-events: none;
  opacity: .1;
}


.credits {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 22;
  background-color: #000;
  transition: opacity 10s ease-out, background-color 10s ease-out;
}

.credits.post {
  background-color: rgba(0, 0, 0, .1);
  transition: background 10s ease-out;
}

.credits.hidden {
  opacity: 0;
  pointer-events: none;
}

.credit-section {
  position: absolute;
  left: calc(50% + 65px);
  width: 500px;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity .4s cubic-bezier(0, 0, 0, 1);
}

.credit-section.hidden {
  opacity: 0;
}

.credit-sasha {
  display: block;
  width: 250px;
  border-radius: 12px;
  margin-bottom: 64px;
}

.credit-big {
  font-size: 32px;
  line-height: 1.4;
}

.credit-subtext {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #fff;
}

.credit-by {
  font-size: 32px;
  font-weight: 900;
  color: rgba(255, 255, 255, .8);
}

.credit-by+.credit-subtext {
  margin-top: 64px;
}

.header {
  top: 90px;
  padding: 23px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, .05);
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
  border-radius: 40px 40px 0 0;
}

.header .recipient {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.header .recipient .avatar {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background-image: url(../img/alina_avatar.png);
  background-size: 100% 100%;
}

.header .user {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px;
  gap: 4px;
}

.header .user .name {
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
}

.header .user .status {
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  color: rgba(255, 255, 255, .5);
}

.header .uaid-small {
  width: 30px;
  height: 24px;
  background-image: url(../img/uaid_symbol.svg);
}


/* Footer */
.footer {
  bottom: 60px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 24px 24px;
  gap: 16px;
  border-radius: 0 0 40px 40px;


  background: rgba(85, 85, 85, 0.01);

  flex: none;
  order: 2;
  align-self: stretch;
  flex-grow: 0;
}

.icon-btn {
  width: 32px;
  height: 32px;
  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;
  opacity: .5;
  cursor: pointer;
}

.icon-btn.play[data-play="false"] {
  background-image: url(../img/play.svg);
}

.icon-btn.play[data-play="true"] {
  background-image: url(../img/pause.svg);
}

.icon-btn.mute[data-mute="false"] {
  background-image: url(../img/mute.svg);
}

.icon-btn.mute[data-mute="true"] {
  background-image: url(../img/muted.svg);
}

.icon-btn.reply {
  background-image: url(../img/reply.svg);
}

.icon-btn.emote {
  background-image: url(../img/emote.svg);
}


.button {
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;

  text-align: center;
  border: none;
  cursor: pointer;
  text-decoration: none;

  background-color: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .7);
  transition: background-color .1s cubic-bezier(0, 0, 0, 1), color .1s cubic-bezier(0, 0, 0, 1);
}

.button:hover {
  background-color: rgba(255, 255, 255, .2);
  color: #fff;
}

.button:active {
  background-color: rgba(255, 255, 255, .25);
  color: #fff;
}

.button.primary {
  background: var(--color-main);
  color: var(--color-text);
}

.button.primary:hover {
  background-color: var(--color-main-hover);
  color: #fff;
}

.button.primary:active {
  background-color: var(--color-main-active);
  color: #fff;
}


.button.big {
  padding: 16px 24px;
}

.button.full-width {
  display: block;
}

.donate-cta {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  flex: none;
  order: 2;
  flex-grow: 1;
}

/* Content */
.spacer {
  padding-top: 60vh;
}

.content-backdrop {
  top: 90px;
  bottom: 60px;
  border-radius: 40px;
  position: fixed;

  background: linear-gradient(0deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)), linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(164.96deg, rgba(171, 171, 171, 0.1) 20.36%, rgba(0, 0, 0, 0.1) 66.37%);
  box-shadow: 0px 40px 80px rgba(0, 0, 0, 0.2);
}

.content-border {
  left: 50%;
  width: 442px;
  position: fixed;
  top: 89px;
  bottom: 59px;
  border-radius: 40px;
  transform: translateX(-50%);
  box-shadow: inset 1px 0px 0 0 rgb(0 0 0 / 15%), inset 0px 1px 0 0 rgb(255 255 255 / 25%), inset 0px -1px 0 0 rgb(255 255 255 / 20%);
}

.content {
  border-radius: 40px;
  top: 90px;
  bottom: 60px;
  overflow: hidden;
  position: fixed;
  transition: mask-image .25s ease-out, left .4s cubic-bezier(0, 0, 0, 1), transform .3s cubic-bezier(0, 0, 0, 1);
}

.messages {
  scroll-behavior: smooth;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: -17px;
  padding: 8px 41px 88px 24px;
  /* Auto layout */
  display: flex;
  flex-direction: column;
  /*justify-content: flex-end;*/
  align-items: flex-start;
  gap: 4px;
  /* Inside auto layout */
  overflow-y: scroll;
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 1;
}

.messages .date {
  /* Auto layout */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 64px 10px 16px;

  /* Inside auto layout */

  flex: none;
  align-self: stretch;
  flex-grow: 0;

  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.msg {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 8px;
}

.msg .icon-btn {
  width: 24px;
  height: 24px;
  opacity: 0;
  transition: opacity .3s cubic-bezier(0, 0, 0, 1);
}

.msg:hover .icon-btn {
  opacity: 1
}

.message {
  padding: 8px 16px;
  background: var(--color-secondary);
  color: var(--color-text);
  /*backdrop-filter: blur(80px);*/
  /*-webkit-backdrop-filter: blur(80px);*/
  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;
  font-size: 20px;
  line-height: 140%;
  font-weight: 300;
}

.message .inner {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
}

.one,
.two {
  flex: none;
  align-self: stretch;
}

.one .message {
  border-radius: 16px 16px 16px 3px;
  animation: msgAppear .2s cubic-bezier(0, 0, 0, 1);
  transform-origin: bottom left;
}

.one+.one .message {
  border-radius: 6px 16px 16px 3px;
}

.two {
  flex-direction: row-reverse;
}

.one+.two,
.two+.one {
  padding-top: 20px;
}

.two .message {
  border-radius: 16px 16px 3px 16px;
  background: var(--color-main);
  animation: msgAppear .2s cubic-bezier(0, 0, 0, 1);
  transform-origin: bottom right;
}

.two+.two .message {
  border-radius: 16px 6px 3px 16px;
}

.msg.emoji+.two .message {
  border-radius: 16px 16px 3px 16px;
}

.msg.emoji+.msg {
  margin-top: 8px;
}

/* Link */
.msg.link .message {
  background: rgba(40, 39, 39, 0.6);
  padding: 0;
  overflow: hidden;
  max-width: 252px;
  text-decoration: none;
}

.msg.link .message .thumbnail,
.msg.link .message .thumbnail img {
  width: 100%;
  height: 140px;
}

.msg.link .message .caption {
  padding: 12px;
  font-size: 16px;
  line-height: 16px;
  color: #fff;
}

.msg.link .message .caption .url {
  font-size: 12px;
  line-height: 12px;
  opacity: .5;
  margin-top: 4px;
}

/* Media */

.media-popup {
  position: fixed;
  z-index: 100;
  background: var(--color-bg-black-transparent);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .3s cubic-bezier(0, 0, 0, 1);
}

.media-popup.hidden {
  pointer-events: none;
  opacity: 0;
}

.media-popup img {
  border-radius: 8px;
  max-height: 90vh;
}

.msg.media .message {
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  max-width: 70%;
}


.msg.media .message.vertical img {
  width: auto;
  height: 260px;
}

.msg.media .message.horizontal {
  max-width: 252px;
  height: 168px;
}

.msg.media .message img {
  display: block;
  max-width: 100%;
}

/* Emoji */
.msg.emoji {
  background: none;
  user-select: none;
}

.msg.emoji .emoji {
  font-size: 44px;
  line-height: 1;
}

@keyframes msgAppear {
  from {
    transform: scale(0.9);
  }

  to {
    transform: scale(1);
  }
}

@keyframes imgFade {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

@keyframes imgFadeMobile {
  from {
    background-size: auto 35%;
  }

  to {
    background-size: auto 40%;
  }
}

@keyframes fadeOver {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Intro Screens */
.intro-overlay {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: var(--color-bg-black);
  transition: opacity .6s cubic-bezier(0, 0, 0, 1), background-color .3s cubic-bezier(0, 0, 0, 1);
}

.headphones {
  width: 48px;
  height: 48px;
  background-image: url(../img/headphones.svg);
  background-repeat: no-repeat;
  background-position: center center;
  margin: 0 auto 12px;
}

.intro-overlay.black {
  background-color: #000;
}

.intro-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.intro-section {
  color: rgba(255, 255, 255, .8);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity .6s cubic-bezier(0, 0, 0, 1);
  padding-bottom: 10vh;
}

.intro-section.hidden {
  opacity: 0;
  pointer-events: none;
}

.lang-select {
  display: flex;
  gap: 64px;
}

.lang-select .lang {
  cursor: pointer;
  color: rgba(255, 255, 255, .5);
  transition: color .3s cubic-bezier(0, 0, 0, 1);
  font-size: 28px;
  font-weight: 300;
}

.lang-select .lang:hover {
  color: rgba(255, 255, 255, 1);
}

.intro-created-by {
  display: flex;
  gap: 100px;
}

.line {
  width: 1px;
  background-color: rgba(217, 217, 217, .3);
  align-self: stretch;
}

.intro-line {
  width: 64px;
  height: 1px;
  background-color: rgba(217, 217, 217, .3);
  margin: 48px auto;
}

.intro-created-by .created-logo {
  display: flex;
  margin-top: 28px;
}

.intro-section .logo {
  margin-bottom: 64px;
  font-size: 80px;
  color: #3C5BFF;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 112px;
  padding-left: 112px;
}

/* Intro Text Styles */
.subtext {
  font-weight: 400;
  font-size: 11px;
  line-height: 160%;

  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: opacity .6s cubic-bezier(0, 0, 0, 1);
}

.subtext.hidden {
  opacity: 0;
}

.disclaimer {
  font-weight: 400;
  font-size: 32px;
  line-height: 140%;
  margin: 24px 0 64px;
}

.disclaimer a,
.disclaimer a:visited,
.disclaimer a:link {
  color: rgba(255, 255, 255, .8);
}

/* Locked screen */
.locked-screen {
  position: fixed;
  z-index: 9;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: opacity .3s cubic-bezier(0, 0, 0, 1);
  /*TEMP*/
  background-color: rgba(0, 0, 0, .5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.locked-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.locked-screen .time {
  text-align: center;
  font-size: 120px;
  line-height: 120px;
  font-weight: 100;
  margin-bottom: 8px;
}

.locked-screen .date {
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.locked-screen.hidden .locked-content {
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .3s cubic-bezier(0, 0, 0, 1), transform .3s cubic-bezier(0, 0, 0, 1);
}

.notifications {
  height: 180px;
}

.notification {
  display: flex;
  width: 400px;
  border-radius: 20px;
  background-color: rgba(66, 66, 66, .5);
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  gap: 14px;
  align-items: center;
  padding: 16px;
  transition: transform .15s cubic-bezier(0, 0, 0, 1), opacity .15s cubic-bezier(0, 0, 0, 1), background-color .15s cubic-bezier(0, 0, 0, 1), margin .15s cubic-bezier(0, 0, 0, 1);
  cursor: pointer;
  transform-origin: top;
}

.notification:hover {
  background-color: rgba(37, 37, 37, .8);
}

.notification+.notification {
  margin-top: 12px;
}

.notification.hidden+.notification {
  margin-top: -80px;
}

.notification.hidden {
  opacity: 0;
  transform: scale(.3);
}

.notification .avatar {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background-image: url(../img/alina_avatar.png);
  background-size: 100% 100%;
}

.notification .msg-content {
  flex-grow: 1;
}

.notification .msg-content .sender,
.notification .msg-content .msg-boody {
  font-size: 16px;
  line-height: 16px;
}

.notification .msg-content .sender {
  font-weight: 500;
  margin-bottom: 4px;
}

.notification .timestamp {
  margin-bottom: 24px;
  opacity: .5;
}

/* messages paused button */

.messages-paused {
  display: inline-block;
  padding: 8px 16px 8px 32px;
  position: fixed;
  bottom: 160px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 38px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  background: var(--color-bg-black-transparent);
  cursor: pointer;
  z-index: 23;

  transition: background .3s cubic-bezier(0, 0, 0, 1), bottom .3s cubic-bezier(0, 0, 0, 1), opacity .3s cubic-bezier(0, 0, 0, 1);
}

.messages-paused:before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  background-image: url(../img/play.svg);
  background-size: 100%;
  height: 20px;
  width: 20px;
}

.messages-paused.hidden {
  bottom: 140px;
  opacity: 0;
  pointer-events: none;
}

.messages-paused:hover {
  background: var(--color-bg-black);
}

.credits-on .messages-paused {
  left: 33%;
}


/* Tooltips */

[data-tooltip] {
  position: relative;
}

[data-tooltip]:before {
  content: attr(data-tooltip);
  position: absolute;
  background: var(--color-bg-black);
  padding: 4px 8px;
  color: #fff;
  border-radius: 4px;
  white-space: nowrap;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

[data-tooltip]:hover:before {
  display: block;
}


/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px 240px;
  z-index: 22;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
  transition: opacity .3s cubic-bezier(0, 0, 0, 1);
}

header.hidden {
  opacity: 0;
  pointer-events: none;
}

header .header-inner {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
}

header .header-inner.right {
  gap: 32px;
}

header .header-inner .logo {
  width: 74px;
  height: 20px;
  background-image: url(../img/uaid.svg);
  background-size: 100% auto;
}

header .header-inner .plus {
  color: #fff;
  font-size: 16px;
  letter-spacing: 22px;
  font-weight: 900;
  text-transform: uppercase;

}

header .header-inner .link {
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: color .3s cubic-bezier(0, 0, 0, 1);
}

header .header-inner .link:hover {
  color: #fff;
}


/* Mobile Menu */
.mobile-nav {
  display: none;
  gap: 24px;
  align-items: center;
}

a,
a:visited,
a:link {
  color: rgba(255, 255, 255, .5);
}

.mobile-nav .link,
.mobile-nav .link {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, .5);
}

.burger,
.burger-close {
  display: block;
  width: 32px;
  height: 32px;
  border: none;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.burger {
  background-image: url(../img/burger.svg);
}

.burger-close {
  background-image: url(../img/close.svg);
}

.mobile-menu {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-black);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  transition: opacity .25s cubic-bezier(0, 0, 0, 1);
}

.mobile-menu-on .mobile-menu {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-top {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
}

.mobile-menu-top>div {
  display: flex;
  align-items: center;
}

.mobile-menu-top .left {
  gap: 12px;
}

.mobile-menu-top .right {
  gap: 24px;
}

.mobile-menu .logo {
  width: 60px;
  height: 16px;
  background-image: url(../img/uaid.svg);
  background-size: 100% auto;
}

.mobile-menu .plus {
  color: #fff;
  font-size: 16px;
  letter-spacing: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-menu-on .link {
  color: rgba(255, 255, 255, .5);
}

.mobile-menu-inner {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-left: 64px;
  padding-right: 64px;
  padding-bottom: 25vh;
  transition: gap .25s cubic-bezier(0, 0, 0, 1), padding .25s cubic-bezier(0, 0, 0, 1);
}

.mobile-menu-on .mobile-menu-inner {
  gap: 32px;
  padding-bottom: 10vh;
}

.mobile-menu-inner .link {
  font-size: 20px;
  text-decoration: none;
}

.mobile-menu-inner .mobile-menu-button {
  padding-top: 64px;
  align-self: stretch;
}

.mobile-menu-inner .line {
  width: 24px;
  height: 1px;
  display: inline-block;
  align-self: center;
}


/* BG */
.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transition: transform 20s cubic-bezier(0, 0, 0, 1);
  transform: scale(1.1);
}

.bg-layer.transition {
  animation: imgFade 20s cubic-bezier(0, 0, 0, 1);
}

.bg-layer.layer-1,
.bg-layer.over {
  z-index: 0;
}

.bg-layer.over {
  display: none;
  animation: fadeOver 1s cubic-bezier(0, 0, 0, 1);
}


/* Day Change */
.day-change {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 25;
  background-image: url('../img/burn.gif');
  background-size: cover;
  pointer-events: none;
  transition: opacity .8s cubic-bezier(0, 0, 0, 1);
}

.day-change .day-change-text {
  font-weight: 900;
  font-size: 60px;
  line-height: 1;
  letter-spacing: 50px;
  color: #fff;
  text-transform: uppercase;
  pointer-events: none;
}

.day-change .day-change-text.hidden {
  transition: opacity 6s ease-out;
}

.day-change.hidden {
  transition: opacity 6s ease-out;
}

.day-change.hidden,
.day-change-text.hidden {
  opacity: 0;
}

.about-button-mobile {
  display: none;
  padding: 16px 24px;
  width: 100%;
  margin-top: 8px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
}


/* About */
.about {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  padding-top: 120px;
  z-index: 26;
  background: var(--color-bg-black);
  transition: opacity .3s cubic-bezier(0, 0, 0, 1);
  opacity: 0;
  pointer-events: none;
  scroll-behavior: smooth;
}

.about-on .about {
  opacity: 1;
  pointer-events: auto;
}

.about-on header .header-inner .link.about-link {
  color: #fff;
}

.about-on .about-content {
  transform: scale(1);
}

.about-on header.main {
  z-index: 27;
  padding-bottom: 20px;
}

.back {
  position: fixed;
  top: 100px;
  left: 32px;
  padding-left: 40px;
  color: rgba(255, 255, 255, .5);
  background-image: url(../img/arrow-left.svg);
  background-repeat: no-repeat;
  background-position: center left;
  cursor: pointer;
  transition: color .3s cubic-bezier(0, 0, 0, 1);
}

.back:hover {
  color: #fff;
}

.about-content {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .8);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 300;
}

.about-content section:before {
  display: block;
  content: " ";
  margin-top: -285px;
  height: 285px;
  visibility: hidden;
  pointer-events: none;
}

.about-content h1 {
  color: #3C5BFF;
  font-size: 48px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 48px;
  text-align: center;
  padding-left: 48px;
  padding-bottom: 64px;
  margin-bottom: 48px;
}

.about-content h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 48px;
}

.about-content section+section {
  margin-top: 120px;
}

.about-content p b {
  font-weight: 500;
  font-style: italic;
}

.about-content p+p {
  margin-top: 32px;
}

.about-content blockquote {
  position: relative;
  margin-top: 48px;
  margin-bottom: 48px;
  font-style: italic;
  font-weight: 400;
}

.about-content blockquote:before {
  content: '';
  position: absolute;
  left: -12px;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, .3);
  width: 2px;
}

.about-content blockquote .cite {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
  color: rgba(255, 255, 255, .5);
}

.about-content p+blockquote {
  margin-top: 48px;
}

.about-content .image {
  margin-top: 16px;
  margin-bottom: 48px;
}

.about-content .image .image-description {
  margin-top: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .5);
}

.about-content .image img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.about-donate {
  padding-top: 64px;
}

.about-donate .button {
  width: 200px;
  display: block;
  margin: 0 auto;
}

.about-nav {
  position: fixed;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
  list-style: none;
}

.about-nav li a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  display: block;
  padding: 16px 8px 16px 20px;
  position: relative;
  transition: color .3s cubic-bezier(0, 0, 0, 1);
}

.about-nav li a:before {
  content: '';
  width: 2px;
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  background-color: rgba(255, 255, 255, .5);
  border-radius: 2px;
  transition: background-color .3s cubic-bezier(0, 0, 0, 1);
}

.about-nav li a:hover {
  color: #fff;
}

.about-nav li a:hover:before {
  background-color: #fff;
}

.about-end {
  font-size: 24px;
  line-height: 1;
  margin-top: 120px;
  font-weight: 900;
  letter-spacing: 24px;
  text-align: center;
  padding-left: 24px;
  color: rgba(255, 255, 255, .5);
}

.about-nav-button {
  display: none;
}

/* about footer */
.about-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px 16px;
  margin-top: 200px;
}

.about-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

.about-footer-links>div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.about-footer-links a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color .3s cubic-bezier(0, 0, 0, 1);
}

.about-footer-links a:hover {
  color: rgba(255, 255, 255, .8);
}

.about-footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}

.close-overlay {
  position: absolute;
  height: 24px;
  width: 24px;
  right: 12px;
  top: 12px;
  background-image: url(../img/close.svg);
  background-size: 100%;
}

.close-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}


/* tall screens */
@media only screen and (min-height: 1024px) {
  .header {
    top: 15vh;
  }

  .content {
    top: 15vh;
    bottom: 15vh;
  }

  .content-backdrop {
    top: 15vh;
    bottom: 15vh;
  }

  .content-border {
    top: calc(15vh - 1px);
    bottom: calc(15vh - 1px)
  }

  .footer {
    bottom: 15vh;
  }

  .messages-paused.hidden {
    bottom: calc(15vh + 80px);
  }

  .messages-paused {
    bottom: calc(15vh + 100px);
  }
}


/* small screens */
@media only screen and (max-width: 1024px) {
  .about-content {
    max-width: 500px;
    font-size: 16px;
  }
}

@media only screen and (max-height: 650px) {
  .header {
    padding: 12px 16px;
  }

  header .header-inner .line {
    display: none;
  }

  .header .recipient .avatar {
    width: 36px;
    height: 36px;
  }

  .header .user .name {
    font-size: 14px;
  }

  .content-backdrop,
  .content,
  .header,
  .footer {
    width: 350px;
  }

  .content-border {
    width: 352px;
    border-radius: 34px;
    top: 39px;
    bottom: 19px;
  }

  .content-backdrop {
    border-radius: 32px;
    top: 40px;
    bottom: 20px;
  }

  .header {
    border-radius: 32px 32px 0 0;
    top: 40px;
  }

  .footer {
    padding: 8px 16px;
    border-radius: 0 0 32px 32px;
    bottom: 20px;
  }

  .donate-cta {
    padding: 8px;
  }

  .messages-paused {
    bottom: 80px;
  }

  .messages-paused.hidden {
    bottom: 60px;
  }

  .content {
    top: 40px;
    bottom: 20px;
  }

  header .header-inner.right {
    gap: 20px;
  }

  .messages {
    padding: 8px 16px 58px 16px;
  }

  .message {
    font-size: 16px;
    padding: 6px 12px;
  }

  .one+.two,
  .two+.one {
    padding-top: 16px;
  }

  .disclaimer {
    font-size: 24px;
  }
}

/* Mobile */
@media only screen and (max-device-width: 767px) {
  header.main {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .lang-select {
    gap: 40px;
    font-size: 20px;
  }

  .lang-select .lang {
    text-align: center;
  }

  .disclaimer {
    font-size: 16px;
    width: 100vw;
    padding: 24px 40px 40px;
    margin: 0;
  }

  .intro-line {
    margin: 24px auto;
  }

  .content-border {
    display: none;
  }

  .header,
  .content,
  .content-backdrop,
  .footer {
    width: 100vw;
    border-radius: 0;
  }

  .content {
    /*-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 5%, #000000 50%);*/
    /*mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 5%, #000000 50%);*/
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, #000000 45%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, #000000 45%);
    top: 0;
    bottom: 0;
  }

  .content-backdrop {
    display: none;
  }

  .header {
    top: 0;
    padding: 12px 16px 50px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
  }

  .footer {
    bottom: 2px;
    padding: 8px 16px 12px;
  }

  .messages-paused {
    bottom: 64px;
  }

  .messages-paused.hidden {
    bottom: 44px;
  }

  .intro-created-by {
    flex-direction: column;
    text-align: center;
  }

  .intro-created-by .line {
    display: none;
  }

  .created-logo {
    text-align: center;
  }

  .created-logo img {
    margin: 0 auto;
  }

  .intro-section {
    padding-bottom: 10vh;
  }

  .intro-section .logo {
    font-size: 50px;
    letter-spacing: 50px;
    padding-left: 50px;
    margin-bottom: 32px;
  }

  .locked-content {
    padding-bottom: 20vh;
  }

  .locked-screen .time {
    font-size: 80px;
    line-height: 80px;
  }

  .locked-screen .date {
    font-size: 18px;
  }

  .notification {
    width: 90vw;
  }

  .noise {
    background-size: 200px;
  }

  .header .recipient .avatar {
    width: 36px;
    height: 36px;
  }

  .header .user .name {
    font-size: 16px;
  }

  .messages {
    padding: 8px 33px 76px 16px;
  }

  .message {
    font-size: 18px;
    font-weight: 400;
  }

  .progress.main {
    top: auto;
    bottom: 0;
  }

  .day-change .day-change-text {
    font-size: 30px;
    letter-spacing: 20px;
    padding-left: 20px;
    padding-bottom: 15vh;
  }

  [data-tooltip]:before {
    content: none;
  }

  .button.donate-cta {
    padding: 8px 24px;
  }

  .bg-layer {
    transform: none;
    background-size: auto 40%;
    background-position: top center;
    -webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 60%, #000000 80%);
  }

  .bg-layer.transition {
    animation-name: imgFadeMobile;
  }

  .media-popup {
    background-color: #000;
  }

  .media-popup img {
    max-height: 100vh;
    width: 100vw;
    border-radius: 0;
  }

  .credits-on .header,
  .credits-on .content,
  .credits-on .content-backdrop,
  .credits-on .content-border,
  .credits-on .footer {
    left: 50%;
  }

  .credit-section {
    left: 16px;
    right: 16px;
    width: auto;
    text-align: center;
  }

  .credit-big {
    font-size: 24px;
  }

  .credit-sasha {
    margin: 0 auto 24px;
    width: auto;
    height: 25vh;
  }

  .content-overlay {
    top: auto;
    bottom: 2px;
    transform: translateY(0px);
    left: 0;
    right: 0;
    position: fixed;
    padding: 12px 24px;
    border-radius: 18px 18px 0 0;
    width: auto;
    box-shadow: 0px -40px 80px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(80px);
  }

  .content-overlay.hidden {
    transform: translateY(30px);
  }

  .content-overlay-heading {
    margin-top: 12px;
    font-size: 18px;
  }

  .credit-subtext {
    margin-bottom: 12px;
    letter-spacing: 3px;
    padding-left: 3px;
  }

  .credit-by {
    font-size: 20px;
  }

  .faded .footer {
    opacity: 0;
  }

  .credit-m {
    font-size: 20px;
  }

  .credit-button-group {
    display: none;
  }

  .about-button-mobile {
    display: block;
  }

  .credit-section {
    padding-bottom: 25vh;
  }

  .preloader .progress {
    margin-bottom: 15vh;
  }

  .content.move-mask {
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, #000000 85%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, #000000 85%);
  }

  .credits-on .header,
  .faded .header {
    z-index: 25;
    pointer-events: auto;
  }

  .credits-on .header *,
  .faded .header * {
    opacity: 1;
  }

  .credits-on .header .recipient,
  .faded .header .recipient {
    opacity: .1;
  }

  .about-content {
    max-width: calc(100vw - 32px);
  }

  .about-footer {
    justify-content: start;
    flex-direction: column-reverse;
    align-items: start;
    gap: 24px;
    margin-top: 136px;
  }

  .about-footer-links {
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }

  .about-content h1 {
    font-size: 32px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    letter-spacing: 32px;
    padding-left: 32px;
  }

  .about-content {
    font-size: 18px;
  }

  .about-content h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .about-content section+section {
    margin-top: 64px;
  }

  .about-content p+p {
    margin-top: 24px;
  }

  .about-nav {
    opacity: 0;
    pointer-events: none;
    transform: none;
    top: auto;
    bottom: 24px;
    left: auto;
    right: 24px;
    z-index: 30;
    background: #1F2022;
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 16px 56px 32px 16px;
    transform: scale(.9);
    transition: transform .3s cubic-bezier(0, 0, 0, 1);
    transform-origin: bottom right;
  }

  .about-nav li a:before {
    content: none;
  }

  .about-nav li a {
    padding: 16px;
  }

  .about-nav-button {
    display: block;
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-bg-black);
    width: 64px;
    height: 64px;
    z-index: 31;
    border-radius: 32px;
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.4);
    background-image: url(../img/section-jump.svg);
    background-repeat: no-repeat;
    background-position: center center;
  }

  .about-nav-show .about-nav-button {
    background-image: url(../img/close.svg);
    box-shadow: none;
  }

  .about-nav-show .about-nav {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .back {
    top: 24px;
    left: 16px;
    background-color: var(--color-bg-black);
    box-shadow: 0px 4px 24px rgb(0 0 0 / 40%);
    z-index: 30;
    padding: 16px 24px 16px 48px;
    border-radius: 26px;
    line-height: 16px;
    background-position: center left 12px;
  }

  .keep-reading .credits {
    opacity: 0;
    pointer-events: none;
  }

  .keep-reading .header .recipient {
    opacity: 1;
  }
}





/* TEMP */
#ticker,
.goto {
  opacity: 0;
  pointer-events: none;
}

.hideControls #ticker,
.hideControls .goto {
  opacity: 0;
  pointer-events: none;
}

#ticker {
  position: fixed;
  z-index: 999;
  bottom: 60px;
  right: 30px;
  font-size: 100px;
  font-weight: 900;
}

.goto {
  position: fixed;
  z-index: 999;
  bottom: 30px;
  right: 30px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
}

.goto button {
  padding: 8px;
}



/* /TEMP */