/* Hello */

* { margin: 0; padding: 0; box-sizing: border-box;}

:root {
  --body-background: white;
  --body-text: black;
  --header-background: #f5f5f5;
  --header-text: #333;
  --section-background: #f5f5f5;
  --a-color: #56789a;
  --figure-border: #000;
  --sectionHeaderBackground: #ddd;

}


@media (prefers-color-scheme: dark) {
  :root {
    --body-background: #222;
    --body-text: white;
    --header-background: #282828;
    --header-text: #ddd;
    --section-background: #282828;
    --figure-border: #333;
    --sectionHeaderBackground: #111;
  }
}

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

html {
  color: var(--body-text);
  background-color: var(--body-background);
  font-family: Arial, Helvetica, sans-serif;

}

h1 {
    padding: 10px;
    width: 100%;
    text-align: center;
    /* height: 143px; */
    /*background: url(logo-text.svg);*/
}

main, header {
    margin: auto;
    /* max-width: 500px; */
}

main > section {
  padding: 20px;
  /* background: var(--section-background); */
}

main > section > p {
  margin: auto;
  max-width: 500px;
}

header {
    /* background: var(--header-background); */
    color: var(--header-text);
    margin-bottom: 5px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--body-background);
}

figure {
    width: 100%;
    background: var(--section-background);
    margin-bottom: 15px;
    border: 8px solid var(--section-background);
}
figcaption {
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 8px;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

section > header {
  text-align: center;
}

section > header > p {
  font-size: 22px;
}

section > header > span {
  height: 64px;
  line-height: 64px;
  font-size: 44px;
  vertical-align: middle;
}

section > header > img {
  margin: 0;
  height: 64px;
  width: 64px;
  vertical-align: middle;
  display: inline-block;
}

.MacAppStore {
  display: block;
  margin: auto;
  margin-top: 1rem;
  max-width: 150px;
}

.InfoBoxes {
  display: flex;
  flex: 1;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  justify-content: center;
  margin: auto;
  flex-wrap: wrap;
  margin-top: 15px;
}

.InfoBoxes > section {
  /* background: rgba(0, 0, 0, 0.1); */
  border-radius: 4px;
  flex-grow: 4;
  flex-shrink: 4;
  flex-basis: 150px;
  min-width: 150px;
  max-width: 250px;
  /* box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2); */
  padding: 20px;
  font-size: 0.8rem;;
  position: relative;
}
.InfoBoxes li {
  margin-bottom: 4px;
}
.InfoBoxes header {
  text-align: left;
  opacity: 0.9;
  font-size: 1.3rem;
  mix-blend-mode: hard-light;
  margin-bottom: 5px;
}

.InfoBoxes > section:nth-child(4n + 1) { background-color: rgba(0, 0,255,0.1); }
.InfoBoxes > section:nth-child(4n + 2) { background-color: rgba(128,0,128,0.2); }
.InfoBoxes > section:nth-child(4n + 3) { background-color: rgba(0,128,128,0.2); }
.InfoBoxes > section:nth-child(4n + 4) { background-color: rgba(255,0,0,0.2); }


.InfoBoxes > section > header {
  border: none;
}

ul {
    list-style: none;
}
