@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+3');

body{
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13pt;
  margin: 0px;
  color: #282828;
}

.col3 {
  float: left;
  width: 33.33%;
  text-align: center;
  height: 20px;
}

.col2 {
  float: left;
  width: 50%;
  height: 25px;
  text-align: left;
}

.col1 {
  float: left;
  width: 99%;
  text-align: center;
  height: 20px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
  padding: 5px;
}

.center_img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  padding-bottom: 10px;
}

.inline-icon {
  height: 20px;
  width: 20px;
  padding-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

.button_container {
  position: relative;
  text-align:center;
}

.button_link {
  height: 43px;
  width: 100px;
  display: inline-block;
  margin: 10px;
  border-radius: 5px;
}

.button_link:hover {
  background: #e7e7e7;
}

.scroll_box {
  overflow-x: scroll;
}

.small_header {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 20px 0;

}

.small_header_box {
  height: 60px;
  flex: 1;
  min-width: 300px;
  margin: 15px 0;
}

.name_header_box {
  display: inline-block;
  margin: 0 auto;
}

.name_header_img {
  float: left;
  width: 80px;
}

.name_header_name {
  float: left;
  position: relative;
  bottom: 15px;
}

.language-python.highlighter-rouge {
  background-color: #eee;
  padding: 2.5px 5px;
  margin: 10px 0 10px 0;   /* top, right, bottom, left */
  border-radius: 5px;
}

.language-matlab.highlighter-rouge {
  background-color: #eee;
  padding: 1px 5px;
  margin: 10px 0 10px 0;   /* top, right, bottom, left */
  border-radius: 5px;
}

.language-r.highlighter-rouge {
  background-color: #eee;
  padding: 1px 5px;
  margin: 10px 0 10px 0;   /* top, right, bottom, left */
  border-radius: 5px;
}

.post_tag {
  display: inline-block;
  background: #20c997;
  color: #343a40;
  padding: 0.2rem 0.5rem;
  margin: 0.25rem;
  border-radius: 5px;
}

.post_tag:hover {
  background: #212529;
  color: #0bdea0;
}

.col1 img, span {
  vertical-align: middle;
}

.col2 img, span {
  vertical-align: middle;
}

.header {
  background-color: #0f191f;
  color: #a9d5c4;
}

.header h1, a {
  text-decoration: none;
  text-align: center;
}

.header a {
  color: #a9d5c4;
}

.header a:hover {
  color: #aa802b;
}

.footer {
  color: #a9d5c4;
}

.footer a {
  color: #a9d5c4;
}

.footer a:hover {
  color: #aa802b;
}

.content a {
  color: #5fb950;
}

.content a:visited {
  color: #5fb950;
}

.content {
  padding: 20px 40px;
}

.post_block h3 {
  margin-block-end: 2px;
}

/* Dark mode */




  body {
    background-color: #132027;
    color: #e0e0e0;
  }

  .header {
    background-color: #0f191f;
    color: #a9d5c4;
  }

  .header a {
    color: #93cf95;
  }

  .header a:hover {
    color: #459c48;
  }

  .content a {
    color: #459c48;
  }

  .content a:visited {
    color: #459c48;
  }

  .post_tag {
    background: #f0fff4;
    color: #ffffff;
  }

  .post_tag:hover {
    background: #459c48;
    color: #f0fff4;
  }

  .language-python.highlighter-rouge {
    background-color: #272822;
  }

  .language-matlab.highlighter-rouge {
    background-color: #272822;
  }

  .language-r.highlighter-rouge {
    background-color: #272822;
  }

  .button_link:hover {
    background: #272822;
  }





/* Large screen widths */
@media print, screen and (min-width: 1240px) {

  .header {
    position: fixed;
    width: 350px;
    height: 100%;
    top: 0;
    left: 0;
  }

  .footer {
    position: fixed;
    width: 300px;
    bottom: 20px;
    left: 20px;
  }

  .link_group {
    padding-top: 30px;
  }

  .name_group {
    padding-top: 20px;
    padding-bottom: 10px;
  }

  div.small_header {
    display:none;
  }

  .content {
    width: 850px;
    position: relative;
    left: calc(calc(100% - 350px)/2 - 125px);
  }

}

/* Small screen widths */
@media print, screen and (max-width: 1240px) {

  .header {
    width: 100%;
  }

  div.big_header {
    display:none;
  }

  div.small_header {
    display:flex;
  }

  .footer{
    background-color: #0f191f;
    padding: 20px;
  }

}
