@import url('https://fonts.googleapis.com/css2?family=Cabin&Inconsolata:wght@500&display=swap');

body,
:root {
  color: #333;
  font-family: 'Cabin', 'Poppins', 'Noto Sans', sans-serif;

  --nav-top-height: 50px;
  --nav-top-vertical-padding: 25px;
  --nav-social-width: 80px;
  --hero-text-font-size: 4em;
  --hero-text-sub-font-size: .5em;
  --hero-horizontal-padding: 10vw;
  --nav-social-display: flex;
}

body.dark a {
  color: var(--primary);
}

@media (max-width: 750px) {

  body,
  :root {
    --nav-social-width: 0px;
    --hero-horizontal-padding: 5vw;

    --nav-social-display: none;
  }
}

@media (max-width: 400px) {

  body,
  :root {
    --hero-text-font-size: 3em;
    --nav-social-width: 0px;
    --hero-horizontal-padding: 2vw;

    --nav-social-display: none;
  }
}

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

a:visited {
  color: inherit;
}

.body-container {
  min-height: 100vh;
}

.nav-top {
  height: var(--nav-top-height);
  padding: var(--nav-top-vertical-padding) var(--nav-social-width);
  font-family: 'Inconsolata', monospace;
  font-weight: 600;
  font-size: 1.5em;
  display: flex;
  justify-content: space-between;
}

.nav-top-right {
  display: flex;
  justify-content: space-evenly;
  font-size: 1em;
}

.nav-top-item {
  padding: 0 15px;
}

.page-container {
  min-height: calc(100vh - var(--nav-top-height) - (var(--nav-top-vertical-padding) * 2));
  display: flex;
}

.nav-social {
  width: var(--nav-social-width);
  display: var(--nav-social-display);
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  font-size: 1.5em;
}

.hero {
  padding: 0 var(--hero-horizontal-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}

.hero-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: var(--hero-text-font-size);
  z-index: 1;
}

.hero-text-sub {
  font-size: var(--hero-text-sub-font-size);
  text-align: center;
  z-index: 1;
}

.hero-img {
  margin-top: -40px;
  width: 100%;
  text-align: center;
}

#illustration {
  width: calc(100vw - var(--nav-social-width) - (var(--hero-horizontal-padding) * 2));
  max-width: 725px;
  max-height: 100%;
}

section {
  height: 100vh;
}
