@font-face {
  font-family: "Anonymous Pro";
  src: url("fonts/AnonymousPro-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Anonymous Pro";
  src: url("fonts/AnonymousPro-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Anonymous Pro";
  src: url("fonts/AnonymousPro-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Anonymous Pro";
  src: url("fonts/AnonymousPro-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --green: #42bb4b;
  --green-light: #71cd5d;
  --green-pale: #a7f187;
  --green-dim: #215e26;
  --green-dark: #0e2a10;

  --font-main: "Anonymous Pro", monospace;

  --border: 3px solid var(--green);
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-main);
  max-width: 1440px;
  margin: 0 auto;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.section {
  padding: 50px 60px;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.three-columns {
  display: grid;
  grid-template-columns: 410px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.section__title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section__subtitle {
  font-size: 32px;
  color: var(--green-pale);
  margin: 6px 0 24px 38px;
}

.text {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.note {
  margin-top: 32px;
  padding: 16px 36px;
  border: var(--border);
  color: var(--green);
  font-size: 26px;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.note--caps {
  padding: 14px 10px;
  font-size: 22px;
}

.chevron {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-top: 5px solid var(--green);
  border-right: 5px solid var(--green);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-right: 4px;
}

.chevron--small {
  width: 16px;
  height: 16px;
  border-width: 3px;
}

.chevron--left {
  transform: rotate(-135deg);
  margin: 0 0 0 4px;
}

.chevron--dark {
  border-color: var(--black);
}

.folder {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 24px;
  margin-top: 6px;
  background: var(--green-light);
  flex-shrink: 0;
}

.folder::before {
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
  width: 14px;
  height: 6px;
  background: var(--green-light);
}

.box {
  border: var(--border);
}

.progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  padding: 0 12px 0 6px;
  border: 8px solid var(--green-light);
}

.progress__cells {
  display: flex;
  gap: 4px;
}

.progress__cells span {
  width: 66px;
  height: 42px;
  background: var(--green-light);
}

.progress__value {
  font-size: 52px;
  color: var(--green-light);
}

.window__titlebar {
  display: flex;
  justify-content: space-between;
  height: 80px;
  border: var(--border);
}

.window__title {
  align-self: center;
  padding-left: 44px;
  font-size: 36px;
  color: var(--green-light);
}

.window__buttons {
  display: flex;
}

.window__button {
  width: 78px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: var(--border);
  font-size: 44px;
  color: var(--green-light);
}

.window__body {
  display: grid;
  grid-template-columns: 395px 1fr;
  border-left: var(--border);
}

.menu {
  border-right: var(--border);
  padding: 24px 14px;
}

.menu__link {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 58px;
  margin-bottom: 11px;
  padding-left: 8px;
  font-size: 30px;
  color: var(--green-light);
}

.menu__link--active {
  background: var(--green-light);
  color: var(--black);
}

.menu__link--active .folder,
.menu__link--active .folder::before {
  background: var(--black);
}

.menu__link:hover {
  background: var(--green-dark);
}

.menu__link--active:hover {
  background: var(--green-light);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 8px;
}

.hero__binary {
  font-size: 84px;
  line-height: 84px;
  color: var(--green);
  white-space: nowrap;
}

.hero__title {
  font-weight: 700;
  font-size: 104px;
  line-height: 84px;
  padding-left: 22px;
  color: var(--white);
}

.hero__hand {
  position: absolute;
  top: 105px;
  right: 0;
  width: 430px;
}

.hero__wait,
.hero__process {
  color: var(--green-pale);
  text-align: center;
  padding-left: 80px;
}

.hero__wait {
  font-size: 58px;
  margin-top: 26px;
}

.hero__process {
  font-size: 42px;
  margin-bottom: 26px;
}

.panel {
  border: var(--border);
}

.panel__header {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
  padding-left: 34px;
  border-bottom: var(--border);
  font-size: 28px;
  color: var(--green);
}

.panel__body {
  padding: 28px 36px;
}

.facts {
  border: var(--border);
  padding: 22px 36px;
  font-size: 26px;
  line-height: 41px;
  color: var(--green);
}

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  font-size: 26px;
  color: var(--green);
}

.timeline__item {
  padding: 4px 16px;
  border: var(--border);
  text-align: center;
  line-height: 1;
}

.timeline__year {
  display: block;
  font-size: 40px;
}

.timeline__arrow {
  font-size: 30px;
  color: var(--green);
}

.glyph-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 22px;
}

.glyph-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 196px;
  padding: 8px 8px 14px;
  border: var(--border);
  color: var(--green);
  overflow: hidden;
}

.glyph-card__label,
.glyph-card__caption {
  font-size: 17px;
  letter-spacing: 0.05em;
}

.glyph-card__caption {
  text-align: center;
}

.glyph-card__char {
  font-size: 170px;
  line-height: 0.75;
  text-align: right;
  align-self: end;
}

.style-grid {
  display: grid;
  grid-template-columns: 308px 308px;
  gap: 56px 34px;
}

.style-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 210px;
  padding: 26px 28px 30px;
  border: var(--border);
  border-radius: 22px;
  color: var(--green);
}

.style-card__name {
  font-size: 34px;
}

.style-card__sample {
  font-size: 72px;
  line-height: 1;
}

.style-card--bold .style-card__name,
.style-card--bold .style-card__sample {
  font-weight: 700;
}

.style-card--italic .style-card__name,
.style-card--italic .style-card__sample {
  font-style: italic;
}

.align-right {
  text-align: right;
}

.align-right .section__title {
  justify-content: flex-end;
}

.align-right .section__subtitle {
  margin-left: 0;
  margin-right: 38px;
}

.align-right .text {
  font-size: 28px;
  padding-left: 80px;
}

.chaos {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 60px;
  padding: 26px 0 0 42px;
  border: var(--border);
}

.chaos__lines {
  padding-bottom: 30px;
}

.chaos__line {
  font-size: 34px;
  line-height: 46px;
  color: var(--green);
  white-space: nowrap;
}

.chaos__line--1 { color: var(--green-dim); }
.chaos__line--2 { font-weight: 400; }
.chaos__line--3 { font-weight: 700; }
.chaos__line--4 { font-weight: 700; -webkit-text-stroke: 1px var(--green); }
.chaos__line--5 { font-weight: 700; -webkit-text-stroke: 2px var(--green); }
.chaos__line--6 { font-weight: 700; -webkit-text-stroke: 3px var(--green); }
.chaos__line--7 { font-weight: 700; -webkit-text-stroke: 4px var(--green); }

.chaos__cat {
  width: 316px;
}

.usage {
  border: var(--border);
  border-radius: 26px;
  padding: 10px 0 20px;
}

.usage__title {
  margin: 0 10px 12px;
  padding: 0 14px 4px;
  border-bottom: var(--border);
  font-size: 28px;
  color: var(--green);
}

.usage__list {
  padding: 0 24px;
  font-size: 24px;
  line-height: 42px;
  letter-spacing: 0.02em;
}

.usage__list li {
  display: flex;
  gap: 20px;
}

.terminal {
  border: var(--border);
  align-self: start;
  margin-top: 40px;
}

.terminal__header {
  padding: 4px 16px;
  background: var(--green-dark);
  border-bottom: var(--border);
  font-size: 28px;
  color: var(--green-light);
}

.terminal__screen {
  display: flex;
  justify-content: space-between;
}

.terminal__text {
  padding: 30px 28px;
  font-family: var(--font-main);
  font-size: 26px;
  line-height: 28px;
  color: var(--green);
}

.terminal__scrollbar {
  width: 32px;
  border-left: var(--border);
  background: var(--green-dark);
  padding-top: 20px;
}

.terminal__thumb {
  display: block;
  height: 54px;
  background: var(--green);
}

.box__header {
  padding: 8px 6px;
  border-bottom: var(--border);
  font-size: 28px;
  color: var(--green);
}

.languages {
  padding: 18px 12px 26px;
}

.languages li {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  margin-bottom: 9px;
  padding-left: 36px;
  font-size: 28px;
  color: var(--green);
}

.languages__active {
  background: var(--green);
  color: var(--black) !important;
}

.languages__active .chevron {
  border-color: var(--black);
}

.alphabet__header {
  display: flex;
  border-bottom: var(--border);
  font-size: 30px;
}

.alphabet__number {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--green);
  color: var(--black);
}

.alphabet__name {
  padding: 8px 16px;
  color: var(--green);
}

.alphabet {
  padding: 14px 14px 20px;
  color: var(--green);
  font-size: 30px;
  line-height: 35px;
}

.alphabet p {
  word-spacing: 6px;
  margin-bottom: 14px;
}

.alphabet p:last-child {
  margin-bottom: 0;
  word-break: break-all;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--black);
  color: var(--green);
  border: 4px dashed var(--green);
}

.tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(
    to right,
    var(--green) 0 4px,
    var(--black) 4px 8px
  );
  z-index: 1;
}

.tile--green {
  background: var(--green);
  color: var(--black);
}

.tile span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%) rotate(20deg);
  font-weight: 700;
  font-size: 260px;
  line-height: 1;
}

.log {
  margin-top: 16px;
  padding: 24px 18px;
  border: var(--border);
  font-size: 26px;
  line-height: 53px;
  color: var(--green);
  white-space: nowrap;
}

.final__image {
  width: 100%;
  border: var(--border);
}

.final__message {
  margin-top: 30px;
  padding: 8px 10px 14px;
  border: 3px solid var(--green-pale);
  text-align: center;
}

.final__title {
  font-size: 60px;
  line-height: 1.1;
  white-space: nowrap;
}

.final__subtitle {
  font-size: 28px;
  color: var(--green-pale);
}

.footer {
  background: var(--green-light);
  color: var(--black);
  padding: 40px 20px 30px;
  font-size: 36px;
  line-height: 46px;
  text-align: center;
}

@media (max-width: 1100px) {

  .two-columns,
  .three-columns,
  .window__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 40px 16px;
  }

  .window__title { font-size: 20px; padding-left: 16px; }
  .window__button { width: 44px; font-size: 24px; }

  .menu {
    display: none;
  }

  .hero__binary,
  .hero__title {
    font-size: 48px;
    line-height: 52px;
  }

  .hero__hand {
    width: 220px;
    top: 60px;
  }

  .hero__wait,
  .hero__process {
    padding: 0 16px;
  }

  .hero__wait    { font-size: 36px; }
  .hero__process { font-size: 24px; }

  .section__title { font-size: 26px; }
  .section__subtitle { font-size: 24px; }
  .text { font-size: 22px; }
  .align-right .text { padding-left: 0; font-size: 22px; }
  .hero__title { font-size: 40px; white-space: nowrap; }
  .terminal__header { font-size: 18px; }
  .usage__title { font-size: 20px; }

  .progress__cells { gap: 2px; }
  .progress__cells span { width: 10px; height: 30px; }
  .progress__value { font-size: 28px; }

  .style-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .style-card { height: 140px; padding: 16px; }
  .style-card__name { font-size: 18px; }
  .style-card__sample { font-size: 48px; }

  .chaos { flex-direction: column; padding: 16px; }
  .chaos__line { font-size: 13px; line-height: 24px; }
  .chaos__cat { align-self: flex-end; width: 200px; }

  .glyph-grid { gap: 16px; }
  .glyph-card { height: 150px; }
  .glyph-card__label,
  .glyph-card__caption { font-size: 11px; }
  .glyph-card__char { font-size: 90px; }

  .panel__body { padding: 16px; }
  .facts { padding: 12px 16px; font-size: 18px; line-height: 30px; }
  .timeline { font-size: 16px; }
  .timeline__year { font-size: 26px; }
  .timeline__arrow { font-size: 18px; }

  .terminal__text { font-size: 14px; line-height: 18px; padding: 16px; }
  .usage__list { font-size: 16px; line-height: 30px; padding: 0 12px; }
  .usage__list li { gap: 10px; }

  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile span { font-size: 150px; }

  .log { font-size: 14px; line-height: 34px; padding: 16px 10px; }
  .final__title { font-size: 36px; }
  .final__subtitle { font-size: 16px; }

  .footer { font-size: 13px; line-height: 22px; padding: 30px 10px; }
}
