:root {
  --bg: #f4ff72;
  --text: #000;
  --banner: #000;
  --banner-text: #fff;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Courier New", Courier, monospace;
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

a:hover,
a:focus-visible {
  background: #000;
  color: var(--bg);
  outline: none;
}

.home-wrap,
.page-wrap {
  width: min(var(--max), calc(100% - 7vw));
  margin: 0 auto;
}

.home-wrap {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 5rem 0;
}

.hero {
  width: 100%;
}

.intro {
  margin: 0 0 2.3rem;
  font-size: clamp(1.7rem, 4vw, 4rem);
  line-height: 1.05;
}

.hero h1,
.content-page h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
}

.hero h1 {
  display: inline-block;
  border-bottom: 0.13em solid currentColor;
  padding-bottom: 0.04em;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  margin-top: clamp(4rem, 9vw, 9rem);
}

.choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
  font-size: clamp(2.1rem, 5.5vw, 5.5rem);
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  padding: 0.1em 0.2em;
}

.choice span {
  display: block;
}

.choice-left {
  justify-self: center;
}

.choice-right {
  justify-self: center;
}

.face {
  width: clamp(120px, 18vw, 250px);
  height: auto;
  display: block;
}

.content-page {
  padding: 4.8rem 0 11rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  text-transform: uppercase;
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 270px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: 3.5rem;
}

.big-list {
  margin: 3.5rem 0 0;
  padding-left: 2rem;
  font-size: clamp(1.05rem, 2.15vw, 2rem);
  line-height: 1.35;
}

.big-list li + li {
  margin-top: 2rem;
}

.big-list p {
  margin: 0.45rem 0;
}

.line-link {
  font-style: italic;
}

.poster-link {
  display: block;
}

.poster-link img {
  width: 100%;
  display: block;
}

.learn-page .big-list {
  max-width: 1120px;
}

.udemy-label {
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 2.15vw, 2rem);
}

.udemy-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 0.7fr);
  gap: clamp(1.5rem, 5vw, 6rem);
  align-items: end;
  margin-top: 0.5rem;
}

.udemy-card img,
.udemy-thumb img {
  display: block;
  width: 100%;
}

.bottom-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--banner);
  color: var(--banner-text);
  padding: 1.55rem 0;
}

.bottom-banner p {
  width: min(var(--max), calc(100% - 7vw));
  margin: 0 auto;
  font-size: clamp(1.15rem, 2.4vw, 2.2rem);
  line-height: 1.3;
  font-style: italic;
}

.bottom-banner a:hover,
.bottom-banner a:focus-visible {
  background: var(--bg);
  color: #000;
}

@media (max-width: 760px) {
  .home-wrap {
    align-items: start;
    padding-top: 3rem;
  }

  .choice-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
  }

  .face {
    order: -1;
    justify-self: center;
    width: min(45vw, 180px);
  }

  .choice {
    width: 100%;
    border: 0.12em solid currentColor;
    padding: 0.45em;
  }

  .split-content,
  .udemy-row {
    grid-template-columns: 1fr;
  }

  .poster-link {
    max-width: 260px;
  }

  .content-page {
    padding-top: 2rem;
    padding-bottom: 13rem;
  }

  .bottom-banner {
    position: static;
    margin-top: -9rem;
  }
.foo-hover {
  position: relative;
  display: inline-block;
  cursor: help;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

.foo-tooltip {
  position: absolute;
  left: 50%;
  top: 125%;
  transform: translateX(-50%);
  width: min(340px, 80vw);
  background: #000;
  color: #f6ff6b;
  border: 3px solid #000;
  padding: 1rem;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  line-height: 1.35;
  text-align: left;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
}

.foo-hover:hover .foo-tooltip,
.foo-hover:focus .foo-tooltip,
.foo-hover:focus-within .foo-tooltip {
  opacity: 1;
  visibility: visible;
}

}
