@font-face {
  font-family: Mark Pro;
  src: url(MARK-PRO.OTF);
  font-display: swap;
}

@font-face {
  font-family: Mark Pro Heavy;
  font-weight: 900;
  src: url(MARK-PRO-HEAVY.OTF);
  font-display: swap;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
  font-family: Mark Pro, Helvetica, sans-serif;
  color: #001932;
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

/* Header */

header {
  width: 100%;
  min-height: 250px;
  background-image: url("../images/header.png");
  background-size: cover;
  background-position: center;
  display: flex;
}

.logo {
  height: 80px;
  width: 100%;
  margin: auto;
}

/* Main */

main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f1f9fc;
  padding-top: 50px;
  padding-bottom: 50px;
  min-height: fit-content;
}

.title {
  text-align: center;
  font-size: 20px;
}

.title span {
  font-size: 38px;
  font-family: Mark Pro Heavy, Helvetica, sans-serif;
}

.detail {
  text-align: center;
  margin: 20px 10px;
  color: darkgray;
}

.auto-download {
  text-align: center;
  font-size: 1.1em;
}
.auto-download.hidden {
  display: none;
}

section {
  display: flex;
  flex-direction: row;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.item {
  background-color: white;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  margin: 15px;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.item.hidden {
  display: none;
}

.itemPatch {
  width: 35px;
  height: 35px;
  align-self: flex-start;
  margin-bottom: -35px;
  cursor: pointer;
}

.itemPatch.disabled {
  display: none;
}

.itemLogo {
  width: 80px;
  height: 80px;
  margin: 50px;
}

.itemTitle {
  font-size: 20px;
  font-family: Mark Pro Heavy, Helvetica, sans-serif;
}

.itemDetail {
  margin-top: 5px;
  font-size: 16px;
  color: darkgray;
}

.itemVersion {
  width: 100%;
  margin: 15px 0 -5px;
  font-size: 14px;
  color: darkgray;
  display: flex;
  justify-content: space-between;
  opacity: 0.5;
}

.itemVersion select {
  width: 100px;
  height: 35px;
  border-radius: 5px;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 15px;
}

a {
  text-decoration: none;
}

.link {
  min-width: 100px;
  min-height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #64c8c3;
  border-radius: 5px;
  color: white;
  font-size: 13px;
  cursor: pointer;
}

.link.disabled {
  background-color: #dfdfdf;
  cursor: default;
}

.linkLogo {
  max-height: 15px;
  margin-right: 5px;
}

.betaHeadband {
  position: absolute;
  background: #64c8c3;
  color: white;
  right: 0;
  width: 100px;
  text-align: center;
  transform: rotate(45deg);
  margin-right: -30px;
  margin-top: 2px;
}

.betaHeadband.red {
  background: #ffbf43;
}

/* Footer */

footer {
  width: 100%;
  min-height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #001932;
  font-size: 20px;
  line-height: 22px;
  color: white;
}

footer a,
footer a:link,
footer a:hover,
footer a:active {
  color: #64c8c3;
  text-align: center;
}

footer .other {
  margin: 26px;
  color: darkgray;
  font-size: 15px;
}

/* Responsive */

@media screen and (max-width: 740px) {
  header {
    min-height: 175px;
  }

  .logo {
    height: 75px;
  }

  main {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  section {
    margin-top: 10px;
  }

  .itemLogo {
    margin: 40px;
  }
}
