html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, serif;
  min-height: 100vh;
}

h1, h2 {
  font-size: xx-large;
  margin-bottom: 2rem;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
}

nav {
  display: none;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #545454;
  font-size: small;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  padding-bottom: 1rem;
  padding-top: 1rem;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 1;
}

footer p {
  margin: 0;
  padding: 0 0 0.5rem 0;
}

footer .privacy {
  font-size: x-small;
}

.container {
  display: grid;
  grid-template-columns: 50vw auto;
  padding: 10px;
  align-items: start;
}

.container article {
  padding: 0px 100px;
  font-size: large;
}

.signature {
  font-family: cursive;
  font-size: xx-large;
}

article p {
  font-size: large;
  line-height: 1.5;
  max-width: 60ch;
}

.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list a, .icon-list a:visited {
  color: #000;
  text-decoration: none;
}

.icon-list a:hover {
  color: #0077b5;
}

.icon-list li {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.icon-list i {
  display: inline-block;
  width: 1.5rem;
  text-align: center;
  margin-right: 0.5rem;
  line-height: 1.5;
}

footer a, footer a:visited {
  color: #000;
  text-decoration: none;
}

footer a:hover {
  color: #0077b5;
}

.content-nav-right {
  font-size: xxx-large;
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  padding: 2.5rem 7.6rem 1.5rem 1.5rem;
}

.content-section h1 {
  display: inline-block;
}

.content-nav-right a, .content-nav-right a:visited {
  color: #000;
  text-decoration: none;
}

.content-nav-right a:hover {
  color: #0077b5;
}

@media (min-width: 1600px) {
  .container {
    grid-template-columns: 40vw auto;
  }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1149px) {
  .container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .container article {
    padding: 1rem;
    font-size: medium;
  }

  article p {
    line-height: 1.6;
    max-width: 70ch;
  }

  h1, h2 {
    font-size: x-large;
  }

  footer {
    font-size: small;
  }

  .content-nav-right a:hover {
    color: #000 !important;
  }

  .content-nav-right {
    padding-right: 2rem;
  }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  body section {
    height: auto;
    align-items: flex-start;
    padding-bottom: 1rem;
    margin-top: 2.5rem;
  }

  nav {
    display: block;
    font-size: medium;
  }

  .container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .container article {
    padding: 1rem 1rem 0 1rem;
  }

  article p {
    line-height: 1.7;
  }

  h1, h2 {
    font-size: x-large;
  }

  footer {
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: static; /* not fixed on mobile */
  }

  .container article {
    font-size: medium;
  }

  nav a, nav a:visited {
    color: #000;
    text-decoration: none;
  }

  nav a:hover {
    color: #0077b5;
  }

  .header-nav-right a:hover {
    color: #000 !important;
  }

  nav {
    background-color: #fff;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    padding: 2rem;
  }

  nav .signature {
    font-size: inherit;
  }

  .footer-link {
    display: none;
  }

  nav .header-nav-right {
    position: fixed;
    right: 0;
    top: 0;
    padding: 1.7rem 2rem 1.5rem 2rem;
    font-size: x-large;
  }

  .content-nav-right {
    display: none;
  }

  .content-section h1 {
    display: block;
  }
}
