:root {
  --base-font-size: 16px;
  --scale-factor: 0.5vw;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Merriweather', serif;
  font-size: calc(var(--base-font-size) + var(--scale-factor));
  color: #666666;
}

.container {
  display: flex;
  min-height: calc(100vh - 50px); /* Adjust for footer height */
}

header {
  width: 30%;
  padding: 20px;
}

main {
  width: 68%;
  padding: 20px;
  margin-right: 10%;
}

footer {
  width: 100%;
  height: 50px;
  background-color: #333;
  color: white;
  text-align: center;
  line-height: 50px;
}

h1, h2 {
  font-family: "Aboreto", cursive;
  color: #3D84B8;
  font-size: calc(1.4 * (var(--base-font-size) + var(--scale-factor)));
}

h3 {
  font-family: "Aboreto", cursive;
  font-size: calc(1.3 * (var(--base-font-size) + var(--scale-factor)));
  color: #3D84B8;
}

h4, h5, h6 {
  font-family: "Aboreto", cursive;
  font-size: calc(1.1 * (var(--base-font-size) + var(--scale-factor)));
  color: #3D84B8;
}

ul {
  list-style: none;
  padding-left: 0;
}

#bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.circle-image img {
  width: calc(90px + 2vw);
  border-radius: 45%;
  overflow: hidden;
}

nav ul {
  padding: 0;
  list-style-type: none;
}

nav ul li {
  margin-bottom: 10px;
}

a,
a:visited {
  text-decoration: none;
  font-family: "Aboreto", cursive;
  color: #3D84B8;
  font-size: calc(1.1 * (var(--base-font-size) + var(--scale-factor)));
}

main p {
  margin-bottom: 2em;
}

main ul li p {
  text-align: justify;
}

@media (max-width: 768px) {
  :root {
    --scale-factor: 1vw;
  }

  .container {
    flex-direction: column;
  }

  header,
  main {
    width: 100%;
    padding: 20px;
  }
}

@media (min-width: 1200px) {
  :root {
    --scale-factor: 0.3vw;
  }
}

div#certs img{
  width: 100px;
}

div#certs ul{
  list-style-type: none;
}

div#certs ul li{
  float: left;
}

.center-column ul{
  margin-left: 50px;
}