:root {
  --off-white: #f2f2f7;
  --lightgrey: #e6e6e6;
  --grey: rgba(11, 18, 21, 0.5);
  --darkgrey: #282020;
  --red: #ec2d25;
  --black: #0b1215;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--off-white);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  padding: 2em 3em 1em 3em;
  display: flex;
  align-items: center;
  height: 2em;
  color: var(black);
}

header p {
  font-size: 24px;
  font-weight: 600;
}

header img {
  width: 3em;
  padding: 0 1em 0 0;
  filter: drop-shadow(0 0 4px rgb(0, 0, 0, 0.17));
}

h1 {
  font-size: 3em;
  font-weight: 600;
  color: var(--black);
  line-height: 1.1;
}

h2 {
  font-size: 1.5em;
  font-weight: 400;
  color: var(--black);
  opacity: 0.5;
  line-height: 1.3;
}

p {
  margin: 0;
}

.background {
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  filter: blur(30px);
  z-index: -1;
}

.background img {
  position: absolute;
  top: 50px;
  right: -50px;
  width: 60%;
}

.head {
  display: flex;
  padding: 3em;
  display: flex;
  justify-content: space-between;
}

.left {
  width: 50vw;
  height: 50vh;
  max-width: 600px;
}

.right {
  width: 50vw;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.right img {
  width: 80%;
  filter: drop-shadow(0 0 10px rgb(0, 0, 0, 0.2));
}

.logo {
  width: 150px;
  filter: drop-shadow(0 0 10px rgb(0, 0, 0, 0.2));
}

.main {
  display: flex;
  justify-content: center;
  width: 100%;
}

.download-container {
  filter: drop-shadow(0 0 10px rgb(0, 0, 0, 0.2));
  margin: 3em;
  padding: 1em 2em 1em 2em;
  border-radius: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.download-left {
  margin: 0 3em 0 0;
  display: flex;
  align-items: center;
}

.info {
  display: flex;
  justify-content: center;
  margin: 1em;
  gap: 0.5em;
}

.downloads {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.version {
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.version p:first-child {
  padding: 5px 10px 3px 10px;
  background-color: var(--black);
  color: var(--off-white);
  border-radius: 5px 0 0 5px;
  width: 100%;
  text-align: center;
}

.version p:last-child {
  padding: 5px 10px 3px 10px;
  background-color: var(--off-white);
  color: var(--black);
  border-radius: 0 5px 5px 0;
}

.version p {
  font-size: 0.9em;
  padding: 2px 4px 2px 4px;
}

.appname {
  padding: 3px 1px 1px 1px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  background-color: var(--black);
  color: var(--off-white);
  border-radius: 5px;
  margin-top: 0.5em;
}

.button {
  padding: 3px 10px 1px 10px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  background-color: var(--black);
  color: var(--off-white);
  border-radius: 5px;
  cursor: pointer;
}

.button p {
  font-size: 0.9em;
  padding: 2px 4px 2px 4px;
}

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

.donations {
  display: flex;
  justify-content: center;
}

.download {
  height: fit-content;
  padding: 0.6em 1.5em 0.8em 1.5em;
  background-color: var(--black);
  color: var(--off-white);
  border-radius: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 0 10px rgb(0, 0, 0, 0.2));
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-disabled {
  height: fit-content;
  padding: 0.6em 1.5em 0.8em 1.5em;
  background-color: var(--grey);
  color: var(--off-white);
  border-radius: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 0 10px rgb(0, 0, 0, 0.2));
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-disabled img {
  width: 2em;
  padding: 0 1em 0 0;
}

.download img {
  width: 2em;
  padding: 0 1em 0 0;
}

.download:hover {
  background-color: var(--darkgrey);
}

.download-text p:first-child {
  font-size: 1.1em;
  margin: 8px 0 2px 0;
}

.download-text p:last-child {
  font-size: 0.9em;
}

.icon-linux {
  margin-top: 3px;
}

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

@media only screen and (max-width: 768px) {

  header {
    padding: 2em 1em 2em 1em;
    width: auto;
  }

  .head {
    flex-direction: column;
    padding: 0 1em 0 1em;
  }

  h1 {
    font-size: 2em;
    font-weight: 600;
    color: var(--black);
    line-height: 1.1;
  }

  h2 {
    font-size: 1.2em;
    font-weight: 400;
    color: var(--black);
    opacity: 0.5;
    line-height: 1.3;
  }

  .left {
    width: auto;
    height: auto;
  }

  .right {
    width: auto;
    height: auto;
  }

  .right img {
    width: 100%;
  }

  .main {
    padding: 0 1em 4em 1em;
    width: auto;
  }

  .download-container {
    margin: 0em;
    padding: 0em;
  }

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

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

  .background img {
    position: absolute;
    top: 20px;
    right: -200px;
    width: 200%;
  }
}
