:root {
  --civ-gradient: linear-gradient(90deg, #bfbeda, #dbc795);
}

@media (max-width: 768px) {
  header .logo-container h1 {
    /* display: none; */
    font-size: 1.2rem;
  }
}

a.icon-nav svg {
  margin-top: 0.18em;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 21rem;
  text-align: center;
}

.hero .hook {
  max-width: 700px;
}

.hook p {
  text-wrap: balance;
}

.hero h1,
header h1 {
  font-size: 3.5rem;
  margin-bottom: 0.2rem;
  background: var(--civ-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

header h1 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.hero p:not(:last-child) {
  font-size: 2rem;
  /* margin-bottom: 1rem; */
  color: var(--pico-muted-color);
  margin-bottom: 2.5rem;
}

.detect-platform .download-card {
  display: none;
}

.download-card.active {
  display: block;
}

.downloads {
  display: flex;
  justify-content: center;
  align-items: center;
}

.downloads-help {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.downloads .download-card {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.downloads-help {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.downloads-other-platform {
  font-size: 0.9rem;
  margin-top: 1rem;
  text-align: center;
}

.small {
  font-size: 0.8rem;
}

.downloads-other-platform a {
  margin-left: 1rem;
}

.downloads-help a.secondary,
.downloads-other-platform a {
  color: #9098a8;
  text-decoration-color: #9098a8;
}

.downloads button.secondary {
  background-color: transparent;
  border: none;
  margin-left: 1rem;
}

.screen {
  margin-top: 2.5rem;
  width: 100%;
  text-align: center;
  /* // Colorful gradient as shadow */
}

.screen img {
  max-width: 100%;
  max-height: 600px;
  box-shadow: 0 0 10px 10px var(--civ-gradient);
}

footer p {
  text-align: center;
  font-size: 0.8rem;
  color: var(--pico-muted-color);
}

main.mod {
  padding: 4rem 0;
}

.hidden {
  display: none;
}

article > header.mod-header {
  background-color: #292c4c;
}

img.mod-icon {
  width: 68px;
  height: 68px;
  border-radius: 0.4rem;
  margin-bottom: 0.5rem;
}

img.mod-icon.profile {
  max-width: 32px;
  max-height: 32px;
  aspect-ratio: 1;
  border-radius: 4px;
  margin-bottom: 0;
}

tr.mod-row:hover {
  background-color: #2a2c3f;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container img {
  margin-left: 0.4rem;
}

.code {
  padding: 0.8rem 1.2rem;
  border-radius: 0.4rem;
  position: relative;
  background-color: #0f1115;
}

pre,
code {
  word-break: break-all;
}

.code > pre,
.code > code {
  background-color: transparent;
}

.copy-button {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  background-color: #292c4c;
  color: white;
  border: none;
  padding: 0.4rem 0.6rem;
  border-radius: 0.4rem;
  cursor: pointer;
}

#generate-result h6 {
  margin-top: 1rem;
}

.help {
  text-align: center;
}

/** Release notes */
.release article header h6 {
  margin-bottom: 0;
}

.markdown-alert {
  border-left: 4px solid #ccc;
  padding: 0.2rem 1rem;
  margin-bottom: 2rem;
}

.markdown-alert p {
  margin-bottom: 0.1rem;
}

.markdown-alert-title {
  font-weight: 500;
  font-size: 1.2rem;
}

.markdown-alert-title .octicon {
  width: 1.8rem;
  transform: scale(1.4);
}

.markdown-alert.markdown-alert-warning {
  border-color: #f0ad4e;
}
.markdown-alert.markdown-alert-warning .markdown-alert-title {
  color: #f0ad4e;
}

.markdown-alert.markdown-alert-caution {
  border-color: #d9534f;
}
.markdown-alert.markdown-alert-caution .markdown-alert-title {
  color: #d9534f;
}

.markdown-alert.markdown-alert-note {
  border-color: #4493f8;
}
.markdown-alert.markdown-alert-note .markdown-alert-title {
  color: #4493f8;
}

.markdown-alert.markdown-alert-tip {
  border-color: #5cb85c;
}
.markdown-alert.markdown-alert-tip .markdown-alert-title {
  color: #5cb85c;
}

.markdown-alert.markdown-alert-important {
  border-color: #ab7df8;
}
.markdown-alert.markdown-alert-important .markdown-alert-title {
  color: #ab7df8;
}
