body {
  font-family: "Kulim Park", Verdana;
  max-width: 960px;
  margin: auto;
}

nav {
  display: flex;
  justify-content: space-between;
  margin: 40px;
  align-items : center;
}

#name {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: bold;
}

li {
  display: inline;
}

ul {
  display: flex;
  column-gap: 28px;
}

a:link {
  color: #d00000;
}

a:visited {
  color: #dc2f02;
}

a:hover {
  font-weight : bold;
}

a:active {
  font-weight : bold;
  color: #e85d04;
}

main {
  margin: 40px;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: bold;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: normal;
}

p {
  font-size: 16px;
}

#hero {
  line-height: 0.4;
  margin-top: 100px;
  margin-bottom: 100px;
}

#footer {
  line-height: 0.4;
  margin-top: 40px;
  margin-bottom: 40px;
}

.hint {
  font-weight: 200;
  font-style: Italic;
  color: #adb5bd;
}

@media screen and (max-width: 608px) {
  #hero {
    line-height: 1;
  }
  #footer {
    line-height: 1;
  }
}

@media screen and (max-width: 510px) {
  nav {
    display: grid;
    justify-content: center;
    justify-items: center;
  }
  ul {
    margin: 0;
    padding: 0;
    column-gap: 8px;
  }
}
