@view-transition {
  navigation: auto;
}

:root {
  --maintext: rgba(250, 252, 255, 0.694);
  --secondarytext: rgba(255, 253, 250, 0.192);
  --accent: rgb(255, 0, 64);
  --accentBG: rgba(0, 106, 255, 0.096);
  --defaultPadding: 6px;
}

html,
body {
  padding: 0;
  margin: 0;
}

html {
  height: 100%;
}

body {
  color: var(--maintext);
  font-family: Quicksand, sans-serif;
  margin: 0px;
  font-size: 20px;
  background: url("../bg.png");
  min-height: 100%;
  padding-top: 25px;
  background-color: rgb(0, 0, 0);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

/* Backdrop blur overlay */
body::before {
  content: '';
  position: fixed;
  width: 100%;
  min-height: 100%;
  top: 0;
  left: 0;
  backdrop-filter: blur(25px) saturate(200%);
  z-index: -1;
}

nav {
  background-color: rgba(0, 0, 0, 0);
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 5px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

main h1 {
  font-size: 25px;
  margin-top: 32px;
  margin-bottom: -12px;
  padding-bottom: 0px;
}

p {
  width: 35%;
}

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

a:visited {
  color: var(--maintext);
}

button {
  font-family: "Quicksand", sans-serif;
  background-color: transparent;
  color: var(--maintext);
  border-style: solid;
  padding: 5px var(--defaultPadding);
  margin: 0 var(--defaultPadding);
  border-color: rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, 0.2);
  border-width: 1px;
  border-radius: 4px;
  font-size: 15px;
  transition: 0s;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

button:hover {
  color: white;
  border-color: rgb(255, 0, 64);
  filter: drop-shadow(0px 0px 8px rgb(255, 0, 64)) !important;
  transition: 0.25s;
}

button:active {
  color: white;
  border-color: rgb(255, 255, 255);
  filter: drop-shadow(0px 0px 8px rgb(255, 255, 255)) !important;
  transition: 0s;
}

.no-margin {
  margin: 0px !important;
}

.dls {
  border: 1px solid;
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.1);
  width: 60%;
  margin-top: 40px;
  backdrop-filter: saturate(0%);
  border-radius: 8px;
  overflow: hidden;
}

.downloadContainer {
  position: relative;
  border-top: 0.5px rgba(255, 255, 255, 0.2) solid;
  clear: both;
  height: 128px;
  transition: 0.1s;
}

.downloadContainer span {
  padding: var(--defaultPadding);
}

.downloadContainer img {
  width: 128px;
  height: 128px;
}

.downloadContainer .thumbnail {
  width: 128px;
  height: 128px;
  float: left;
  position: relative;
}

.downloadContainer .thumbnail::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 64px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  border-radius: inherit;
}

.download {
  position: absolute;
  bottom: 16px;
  right: 16px;
}

.buttons {
  background-color: rgba(0, 0, 0, 0.646);
  padding-top: 4px;
  padding-bottom: 4px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
}

.buttons button {
  border: none;
}

::-moz-selection {
  color: rgb(255, 255, 255);
  background: rgba(255, 0, 64, 0.1);
  border-radius: 4px;
}

::selection {
  color: rgb(255, 255, 255);
  background: rgba(255, 0, 64, 0.1);
}