/* static/share.css */
@font-face {
  font-family: "Basis Grotesque Pro";
  src: local("Basis Grotesque Pro Bold"), local("BasisGrotesquePro-Bold"), url(../fonts/BasisGrotesquePro-Bold.woff2) format("woff2"), url(../fonts/BasisGrotesquePro-Bold.woff) format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Basis Grotesque Pro";
  src: local("Basis Grotesque Pro Medium"), local("BasisGrotesquePro-Medium"), url(../fonts/BasisGrotesquePro-Medium.woff2) format("woff2"), url(../fonts/BasisGrotesquePro-Medium.woff) format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
html,
body {
  height: 100%;
}
body {
  background-color: #000;
  font-family: "Basis Grotesque Pro", sans-serif;
  font-weight: 500;
}
body {
  display: flex;
  flex-direction: column;
}
.share-top-bar {
  align-items: center;
  border-bottom: 2px solid #212121;
  display: flex;
  height: 96px;
  min-height: 96px;
  justify-content: space-between;
  padding: 0 32px;
}
.share-top-bar .logo {
  width: 100px;
}
.controls {
  align-items: center;
  display: flex;
}
.controls .button {
  margin-right: 16px;
}
.controls .button--green {
  margin: 0;
}
.button {
  align-items: center;
  background: #1A1A1A;
  box-sizing: border-box;
  color: #fff;
  border-radius: 9999px;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  height: 48px;
  justify-content: center;
  text-decoration: none;
  padding: 0 16px;
  white-space: nowrap;
}
.button:hover {
  cursor: pointer;
}
.button--white {
  background: white;
  color: #000;
}
.button--green {
  background: #3CFDA2;
  color: #000;
  font-weight: 700;
}
.record-button {
  margin-left: 66px;
}
.player {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: center;
}
.footer {
  align-items: center;
  background: #1A1A1A;
  border-top: 2px solid #212121;
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  height: 52px;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 32px;
}
.footer .footer-right a {
  color: #666;
  font-size: 14px;
  text-decoration: none;
}
.footer .footer-right a:hover {
  color: #fff;
}
.footer .footer-right a:first-of-type {
  margin-right: 24px;
}
.try-popup {
  background: #212121;
  border-radius: 16px;
  box-sizing: border-box;
  bottom: 76px;
  color: #fff;
  display: none;
  font-size: 16px;
  flex-direction: column;
  left: 24px;
  line-height: 24px;
  opacity: 0;
  max-width: 211px;
  padding: 24px;
  position: absolute;
  transition: opacity 1s ease-in-out;
  z-index: 999;
}
.try-popup .button {
  margin-top: 24px;
}
.loading {
  align-items: center;
  display: none;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}
.loading .text {
  align-items: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 600;
  position: absolute;
}
.download-spinner {
  animation: rotation 4s infinite linear;
  margin-bottom: 10px;
  width: 30px;
}
.share-panel-overlay {
  align-items: center;
  background: rgba(255, 255, 255, .3);
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}
capsule-share-panel {
  max-width: 540px;
  width: 90%;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
@media all and (max-width: 600px) {
  capsule-player {
    height: 100%;
    padding: 0 24px;
    width: 100%;
  }
  capsule-player::part(capsule-video-player) {
    border-radius: 0;
  }
  .player {
    order: 1;
  }
  .share-top-bar {
    height: 72px;
    min-height: 72px;
    padding: 0 24px;
  }
  .button {
    height: 40px;
  }
  .share-top-bar .logo {
    width: 63px;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
    font-size: 14px;
    height: 80px;
    justify-content: center;
    order: 3;
    padding: 0 20px;
  }
  .footer .footer-right {
    margin-top: 24px;
  }
  .button {
    font-size: 16px;
  }
  .try-popup {
    display: none !important;
  }
}
