html {
  scroll-behavior: smooth;
  word-wrap: break-word;
  /* Fallback for older browsers */
  overflow-wrap: break-word;
  /* Modern standard */
  font-size: 100%;
  /* Respects user browser settings */
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  /* 16px usually */
}

main,
nav {
  color: #0a0a0a;
  max-width: 777px;
  margin: 0 auto;
  padding: 0 8px;
}

header,
footer {
  background: #f8f8f8;
}

header>.section,
footer>.section {
  max-width: 48.5rem;
  margin: 0 auto;
  padding: 0.5rem;
}

header>.section>h1 {
  font-size: 1rem;
  font-weight: normal;
}

h2 {
  font-size: 1rem;
  font-weight: normal;
}

footer {
  margin-top: 50px;
}


a {
  color: blue;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

summary {
  cursor: pointer;
}

details {
  margin-top: 42px;
}

ul {
  list-style-type: square;
}

#favTit {
  color: blue;
}



@media (prefers-color-scheme: dark) {
  body {
    background: #141414;
    color: hsla(0, 0%, 100%, 0.9);
  }

  main,
  nav {
    color: hsla(0, 0%, 100%, 0.9);
  }

  header,
  footer {
    background-color: black;
  }

  a,
  a:visited,
  a:hover,
  a:active {
    color: #e85d01;
  }

  summary::marker {
    color: #e85d01;
  }

  #favTit {
    color: #e85d01;
  }
}