@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text');

:root {
  --olive: #666600;
  --yellow: #F19706;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 11pt;
  background: #ffffff;
  width: 500px;
  max-width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
}


header {
  text-align: center;
  display: flex;
  justify-content: space-around;
  margin-top: 20%;
}

main {
  /* margin-bottom: 100px; */
  flex: 1;
}

footer {
  font-size: 9pt;
  margin-top: 10%;
  a {
    color: #cdcecf
  }
}

/* .col {
  width: 45%;
} */

#portrait {
  width:200px;
  height:200px;
  border-radius:50%;
  object-fit:cover
}

/* Rounded border */
hr.rounded {
  border: 1px solid;
  border-radius: 1px;
  margin: 10% 25%;
  color: black;
}

i {
  font-style: italic;
}

h1 {
    font-family: 'DM Serif Text', serif;
    font-size: 15;
    text-align: center;
}



#about {
  text-align: left;
}

#icons {
  margin-top: 20px;
}

.icon, .icon_light, .icon_dark {
  width: 30px;
}

#links {
    font-family: 'Work Sans', sans-serif;
    font-size: 13pt;
    text-align: center;
    padding: 15px 0px;
    margin-bottom: 30px;
    width: 100%;
    /*background: #eee;*/
}

ul {
  --cwidth: 200px;
  --cgap: 20px;
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: inherit;
  /* -moz-column-count: 2; */
  -moz-column-gap: var(--cgap);
  -moz-column-width: var(--cwidth);
  /* -webkit-column-count: 2; */
  -webkit-column-gap: var(--cgap);
  -webkit-column-width: var(--cwidth);
  /* column-count: 2; */
  column-gap: var(--cgap);
  column-width: var(--cwidth);
}

a {
  text-decoration: none;
  color: var(--olive);
}

a:hover {
  color: var(--yellow);
}

nav a {
    margin: 0px 10px;
    text-decoration: none;
}

nav a:visited {
  color: inherit;
}

nav .selected {
    background-color: #000000;
    color: #ffffff;
}

.icon_dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  body, hr.rounded {
    background: #2F3031;
    color: #ffffff;
  }
  a  {
    color: #F9BC43;
  }
  a:hover {
    color: #666600;
  }

  .icon_light {
    display: none;
  }

  .icon_dark {
    display: inline;
  }
  
  button {
    color: white;
  }

}

button {
  border-color: unset;
  border-radius: 8px;
  border-style: solid;
  border-width: 0.5px;
  background-color: unset;
}
button:hover {
  border-color: var(--yellow);
  box-shadow: 0px 0px 10px var(--yellow);
}

/* @media screen and (max-width: 510px) {
  .main {
     margin: auto21;
     max-width: 90%;
  }
  ul {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    column-width: 400px;
  }
} */
