﻿/* Minimal CSS Reset */

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Main styles */

:root {
  --primary-color: #808080;
  --strong-accent: #262626;
  --medium-accent: #595959;
  --light-accent: #b3b3b3;
  --bg-color: #ffffff;
}

#wrapper {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: url("static/assets/bg.png");
}

#container {
  margin: 0 auto;
  width: 800px;
  text-align: center;
  font-size: 14pt;
  font-family: "Helvetica";
}

#sheet {
  padding: 32px;
  background-color: var(--bg-color);
  box-shadow: 0px 0px 10px 4px rgb(0 0 0 / 20%);
  border-radius: 5px;
}

#sheet > * {
  margin: 0 auto;
}

a {
  color: var(--medium-accent);
  text-decoration: none;
}

a:hover {
  color: var(--strong-accent);
}

a:visited {
  color: var(--medium-accent);
}

a:visited:hover {
  color: var(--strong-accent);
}

a:before {
  content: "🔗";
  font-size: 12pt;
}

#footer {
  background-color: var(--medium-accent);
  background-clip: text;
  color: transparent;
  text-shadow: rgba(240,240,240,0.5) 0.5px 1px 1px;
  font-size: 12pt;
  padding: 6px;
}

#buttons-container {
  margin-top: 1em;
}

#description-container {
  margin-top: 1em;
}

#title:before {
  background: url("static/assets/logo/Icon_bird.svg") no-repeat 0 0;
  content: "";
  width: 1.2em;
  height: 1.2em;
  display: inline-block;
  margin-right: 16px;
  vertical-align: center;
}

.screenshot {
  box-shadow: 0px 0px 10px 4px rgb(0 0 0 / 50%);
  border-radius: 5px;
}

.button {
  margin: 6px;
  display: inline-block;
  padding: 10px;
  color: white;
  background-color: var(--light-accent);
  width: 240px;
  text-decoration: none;
  border-radius: 5px;
  text-shadow: 1px 1px 2px black;
}

.button:visited {
  color: white;
}

.button:hover {
  background-color: var(--medium-accent);
}

.button:visited:hover {
  color: white;
}

.button::before {
  content: "";
  width: 1.3em;
  height: 1.3em;
  display: inline-block;
  margin-right: 10px;
  vertical-align: center;
}

.disabled {
  pointer-events: none;
  background-image: linear-gradient(
    45deg,
    transparent 10%,
    var(--medium-accent) 10% 15%,
    transparent 15% 60%,
    var(--medium-accent) 60% 65%,
    transparent 65% 100%
  );
  background-size: 20px 20px;
}

.flathub::before {
  background: url("static/assets/logo/flathub-logo-mini.svg") no-repeat 0 0;
  background-size: 1.3em 1.3em;
}

.flathub:hover::before {
  background: url("static/assets/logo/flathub-logo-mini-white.svg") no-repeat 0 0;
  background-size: 1.3em 1.3em;
}

.snap::before {
  background: url("static/assets/logo/snapcraft-favicon.png") no-repeat 0 0;
  background-size: 1.3em 1.3em;
}

.deb::before {
  background: url("static/assets/logo/package.svg") no-repeat 0 0;
  background-size: 1.3em 1.3em;
}

.github::before {
  background: url("static/assets/logo/GitHub_Invertocat_Black.svg") no-repeat 0 0;
  background-size: 1.3em 1.3em;
}

.github:hover::before {
  background: url("static/assets/logo/GitHub_Invertocat_White.svg") no-repeat 0 0;
  background-size: 1.3em 1.3em;
}
