html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

nav {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 1rem;
}

nav a {
  text-decoration: none;
}

header h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  padding: 2rem 1rem;
  text-align: center;
}

main {
  padding: 1rem clamp(1rem, 5vw, 10rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

main p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  width: 100%;
  hyphens: auto;
  line-height: 1.6;
  text-align: center;
}

#link-to-slides {
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 2rem);
}

#problem-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1rem, 1.5vw, 2rem);
}

#problem-nav a {
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

a {
  all: unset;
  text-decoration: underline;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

a:hover {
  color: #496bbe;
}
