html, body, div {
  font-size: 100%;
  margin: 0;
  padding: 0;
  color: #263238;
  background-color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

html, body {
  width: 100vw;
  height: 100vh;
}

a {
  color: #59656B;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  width: 100vw;
  height: 5rem;
  font-size: 2rem;
  font-family: "Asap", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: bold;
  color: white;
  background: #263238;
  transition: .5s ease-in-out all;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

label {
  display: none;
}

header > span {
  margin: 0 1rem 0 1rem;
}

#source {
  color: #FFF;
  transition: .5s ease-in-out all;
}

select {
  font-family: inherit;
  background-color: transparent;
  width: 42.5%;
  font-size: 1rem;
  padding: 4px;
  border: none;
  border-bottom: 1px solid #263238;
  text-align-last: center;
}

button {
  background: #263238;
  transition: .5s ease-in-out all;
  color: #fff;
  width: 15%;
  min-width: fit-content;
  min-width: -moz-fit-content;
  font-size: 1rem;
  padding: 8px 8px;
  border: 0;
}

button:disabled {
  background: #59656B;
  cursor: not-allowed;
}

#page {
  width: 100vw;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

#intro {
  position: relative;
  background: #EEE;
  width: 85vw;
  max-width: 1000px;
  height: fit-content;
  height: -moz-fit-content;
  padding-left: 16px;
  padding-right: 16px;
  margin: 3vh 0;
  border-radius: 4px;
}

#introclose {
  position: absolute;
  top: 8px;
  right: 12px;
  background-color: inherit;
  cursor: pointer;
}

#selections {
  width: 580px;
  height: 10%;
  min-height: fit-content;
  min-height: -moz-fit-content;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: space-between;
}

#osSelection {
  width: 100%;
  display: flex;
  margin-bottom: 16px;
}

#versions {
  width: 100%;
  display: flex;
  justify-content: center;
}

#properties {
  display: flex;
  width: 100%;
  justify-content: space-around;
}

.property {
  text-decoration: none;
  border-bottom: 2px dotted #263238;
  cursor: help;
}

#downloads {
  height: 50%;
  width: 70vw;
  max-width: 700px;
}

.row {
  width: 100%;
  height: fit-content;
  height: -moz-fit-content;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #8C989E;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.row:last-child {
  border-bottom: 0px;
}

.cell {
  float: left;
  display: block;
  width: auto;
  margin: 0px 2px;
  overflow: hidden;
}

#nodeStatusIcon {
  display: block;
  position: absolute;
  left: 16px;
  bottom: 16px;
  cursor: help;
}

.loading {
  color: #ffab00;
}

.ready {
  color: #2e7d32;
}

.error {
  color: #d50000;
}

@media screen and (max-width: 900px) {
  .row {
    flex-direction: column;
  }
}

@media screen and (max-width: 600px) {
  select {
    width: 100%;
  }
  button {
    width: 100%;
  }
  #page {
    justify-content: flex-start;
  }
  #osSelection, #properties {
    flex-direction: column;
  }
  #properties {
    align-items: center;
  }
  #selections, #downloads, #osSelection {
    width: 95vw;
    height: fit-content;
    height: -moz-fit-content;
  }
  #properties {
    width: 100%;
  }
}

.blink {
  animation: blink 2s ease infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 0
  }
  50% {
    opacity: 1
  }
}
