@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.webp");
  background-size: cover;
  background-position: center;
  display: flex;
}

.logo {
  height: 80px;
  width: 100%;
  margin: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* Main */

main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f8f5ec;
  /* 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: #3b3b3b
}

.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;
  border: 1px solid #cacacab0;
  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: 40px;
}

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

.itemDetail {
  margin-top: 5px;
  font-size: 16px;
  color: #3b3b3b;
}

.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;
  font-weight: bold;
  cursor: pointer;
}

.link.disabled {
  background-color: #bababa;
  font-weight: normal;
}

.link.hidden {
  display: none;
}


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

/* 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;
  }
}
