:root {
  --font-heading: 'Ubuntu', sans-serif;
  --font-text: 'Roboto', sans-serif;
  --font-text: 'Noto Sans', sans-serif;
  --font-text: 'Oxygen', sans-serif;

  --color-light: #E4E2E0;
  --color-neutral: #D4D2D0;

  --color-text-light: #2C2A28;
  --color-text-light-faded: #7B7977;
  --color-panel-light: #FEFDFC;
  --color-background-light: #D4D2D0;
  --color-highlight-light: rgb(33, 136, 255);
  --color-highlight-light-faded:  rgb(144, 193, 253);

  --color-text-dark: #FEFDFC;
  --color-text-dark-faded: #7B7977;
  --color-panel-dark: #2C2A28;
  --color-background-dark: #7B7977;
  --color-highlight-dark: rgb(219, 144, 0);
  --color-highlight-dark-faded:  rgb(135, 96, 20);

  --color-shadow: rgba(0, 0, 0, 0.3);
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 11pt;
  background: var(--color-panel-light);
  display: grid;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

.section {
  display: inline-block;
  width: 100%;
}
.section:not(:first-of-type) {
  position: relative;
  z-index: 0;
}

#head.section {
  background: linear-gradient(to bottom right, var(--color-highlight-light-faded) 0%, rgb(209, 229, 253) 25%, white 60%);
  background-attachment: fixed;
  height: 100vh;
}
#head.section > img {
  position: fixed;
}
.section.light {
  color: var(--color-text-light);
  background: var(--color-light);
}
.section.dark {
  color: var(--color-text-light);
  background: var(--color-neutral);
}
#foot.section {
  color: var(--color-text-dark);
  background: var(--color-panel-dark);
}

#downloads.section.sticky {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1;
}
#downloads.section {
  background: var(--color-highlight-light-faded);
}
#downloads .zone {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}
button {
  border: none;
  width: 200px;
  height: 60px;
  border-radius: 10px;
  background: var(--color-highlight-light);
  color: var(--color-text-dark);
  font-size: 11pt;
  font-weight: normal;
  font-family: var(--font-heading);
  cursor: pointer;
}
button:hover {
  box-shadow: 0 0 5px 0 var(--color-shadow);
}
button:active {
  box-shadow: 0 0 5px 0 var(--color-shadow) inset;
}
button p:first-child {
  margin: 0;
  font-weight: normal;
}
button p:last-child {
  margin: 4px 0 0 0;
  font-size: 9pt;
}

#head .zone {
  position: fixed;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.zone div#preview {
  margin: 0 auto;
  margin-bottom: 5vh;
}

.zone #osx.window {
  border-radius: 6px;
}
.zone #windows.window {
  border-radius: 0px;
}
.zone #ubuntu.window {
  border-radius: 6px;
}

.zone img.window {
  box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072),
    0 41.8px 33.4px rgba(0, 0, 0, 0.086),
    0 100px 80px rgba(0, 0, 0, 0.12);
  width: auto;
  height: auto;
  z-index: 0;
}
.zone h1 {
  text-align: center;
  font-weight: lighter;
  font-size: 28pt;
  margin: auto;
  color: var(--color-highlight-light);
  line-height: 1.5em;
  padding-top: 10vh;
}
.zone h1 span {
  font-weight: normal;
}

.zone {
  max-width: 900px;
  padding: 0 100px;
  margin: auto;
  overflow: hidden;
}

.zone h2 {
  font-weight: lighter;
  margin: 0 0 20px 0;
  font-size: 24pt;
}
.section.light h2 {
  color: var(--color-highlight-light);
}
.section.dark h2 {
  color: var(--color-highlight-dark);
}

.zone p {
  letter-spacing: 0.05em;
  margin: 20px 0 0 4px;
  font-weight: lighter;
  line-height: 1.5em;
}

.zone div.cutout {
  overflow: hidden;
  float: left;
  border-radius: 10px;
  box-shadow: 0 0 20px 0 var(--color-shadow) inset;
}
#step-1 div.cutout {
  width: 240px;
  height: 208px;
  margin: 40px 0 20px 0;
}
#step-2 div.cutout {
  width: 240px;
  height: 208px;
  margin: 20px 0 40px 0;
}

.zone img {
  width: 240px;
  height: 228px;
  object-fit: none;
  position: relative;
  z-index: -1;
}
.zone img#upper {
  object-position: top;
  transform: translateY(0px);
}
.zone img#lower {
  object-position: bottom;
  transform: translateY(-20px);
}

.zone .description {
  height: 268px;
  display: flex;
}
.zone .description.node {
  width: calc(100% - 280px);
}
.zone .description .text {
  margin: auto 0px auto 70px;
}
#features .description .text {
  margin: auto 0px auto 20px;
}

#step-3.section .description {
  height: 496px;
}
#step-3.section .description .text {
  width: 100%;
  text-align: center;
  margin-top: 73.5px;
}
#step-3.section .description h2 {
  margin: 0;
}

#features.section .zone {
  display: flex;
  padding-top: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

div.feature {
  margin-bottom: 20px;
}

div.feature div.cutout {
  box-shadow: 0 0 20px 0 var(--color-shadow) inset;
  border-radius: 50%;
}

div.feature img {
  object-position: top;
  object-fit: none;
  width: 120px;
  height: 120px;
  float: left;
}

div.feature div.description {
  height: 120px;
  width: 300px;
  box-sizing: border-box;
}

div.feature div.description h3 {
  margin: 0;
  font-size: 16pt;
  font-weight: normal;
  color: var(--color-highlight-dark);
  border-left: 2px solid;
  padding-left: 5px;
}
div.feature div.description p {
  margin-top: 10px;
}

#foot div.description {
  height: 70px;
}
#foot div.description .text {
  margin: auto 0;
  width: 100%;
}
#foot div.description p {
  margin: 0;
}
#foot a {
  color: var(--color-highlight-light-faded);
  text-decoration: none;
}
#foot a:hover {
  text-decoration: underline;
}
