@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: normal;
  src: url("../assets/fonts/GoogleSans-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 500;
  src: url("../assets/fonts/GoogleSans-Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Google Sans Text";
  src: url("../assets/fonts/GoogleSansText-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  background: var(--bg-page, #202124);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(var(--black), 0);
}

[hidden] {
  display: none !important;
}

.logo {
  padding: 40px 0 20px 0;
  width: 262px;
}

.main-content {
  display: flex;
  padding: 50px 15px;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  flex-shrink: 0;
}

h1 {
  margin: 0;
  color: var(--text-main, #fff);
  text-align: center;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  font-family: "Google Sans";
  font-size: 35px;
  font-style: normal;
  font-weight: 500;
  line-height: 35px; /* 100% */
  text-wrap: pretty;
}

video {
  width: 100%;
  max-width: 640px;
  border: 2.5px solid #fff;
}

.buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
}

.buttons button {
  display: flex;
  padding: 10.5px 37.5px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 56px;
  border: 1px solid #f8f9fa;
  background: transparent;
  color: #f8f9fa;
  text-align: center;
  font-family: "Google Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}

.buttons button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

#downloadBtn .icon-slot {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#downloadBtn .icon-slot .icon {
  display: block;
}

#downloadBtn .icon-slot .loading-circle {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin-top: -13px;
  margin-left: -13px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  animation: share-modal-spin 0.8s linear infinite;
  pointer-events: none;
}

#downloadBtn.is-prefetch-loading .icon-slot .icon {
  visibility: hidden;
}

#downloadBtn.is-prefetch-loading .icon-slot .loading-circle {
  display: block;
}

@keyframes share-modal-spin {
  to {
    transform: rotate(360deg);
  }
}

h2 {
  margin: 0;
  color: #fff;
  text-align: center;
  font-family: "Google Sans";
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

p {
  margin: 0;
  color: #fff;
  text-align: center;
  font-family: "Google Sans Text";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

p a,
p a:visited,
p a:hover,
p a:active {
  color: #fff;
  text-decoration: underline;
}

.deletion-warning {
  color: #fff;
  text-align: center;
  font-family: "Google Sans Text";
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
}
