@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono');

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700');

html {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #111;
  background: #F4F4F4;
  font-size: 100%;
  scroll-behavior:smooth;
}

body {
  font-size: 1rem; /*1.1875rem;*/
  line-height: 1.5;
  height: 100%;
  color: #111;
  margin-top: 0px;
  margin-left: 0px;
}

.center {
    text-align: center;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #2f2abb;
}

a:hover {
  text-decoration: underline;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.page-center {
  margin: auto;
  width: 60%;
  text-align: justify;
}

.title {
  font-size: 2rem;
  text-align: center;
  font-weight: normal;
  color: #111;
  /*border-block-start: 0;
  padding-block-start: 0;*/
}

.content {
  margin-bottom: 2rem;
}

.copyright {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
}

.secret {
  margin-top: 1rem;
  color: #cc3714;
  text-align: center;
  font-size: 0.7rem;
}

.lastmodified {
  font-size: 0.7rem;
  text-align: right;
}

.lastmodified-two {
  font-size: 0.7rem;
  display: flex;
  justify-content: space-between;
}

.topmenu a {
  position: relative;
}

.menu a {
  font-weight: bold;
  margin: 0 .75rem;
  color: #111;
}

.menu a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: blue;
  text-decoration-thickness: 0.1rem;
}

.menu a[menu-current] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: blue;
  text-decoration-thickness: 0.1rem;
}

.topmenu {
  display: flex;
  background-color: #ffff;
  text-align: justify;
  width: 100%;
  justify-content: center;
  padding-block: 1rem;
  margin: auto;
}

table {
    border-collapse: collapse;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    margin-left: auto;
    margin-right: auto;
}

table thead tr {
    background-color: #DADADA; /*#F2DFCE;*/
    text-align: center;
}

table th,
table td {
    padding: 12px 15px;
    border-right: thin solid #dddddd;
    border-left: thin solid #dddddd;
}

table tbody tr {
    border-bottom: thin solid #dddddd;
}

code {
    border-collapse: collapse;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    margin-left: auto;
    margin-right: auto;
    padding: 0.2em;
    font-family: 'JetBrains Mono', monospace;
    display: inline-block;
}

.login-button-locked {
    background-color: #2ea44f;
    border: 1px solid rgba(27, 31, 35, .15);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    line-height: 20px;
    padding: 6px 16px;
    text-align: center;
    touch-action: manipulation;
}

h1, h2, h3, h4, h5, h6 {
  color: #1755D1;
  /*border-block-start: .125em solid #1755D1;
  padding-block-start: .25em;*/
}

li::marker {
  color: #1755D1;
}

.grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  column-gap:1rem;
  row-gap:1rem;
  margin-block-end: 1.65rem;
  margin-block-start: 1.65rem;
}

.grid2 {
  display:grid;
  grid-template-columns: 3fr 1fr;
  column-gap:1rem;
  row-gap:1rem;
  margin-block-end: 1.65rem;
  margin-block-start: 1.65rem;
  align-items: center;
}

.grid>div, .grid2>div {
  border-radius:.25em;
  overflow:hidden;
  padding-inline:1rem;
}

.grid .multi-cols {
  margin-block-end:0
}

.grid2 .multi-cols {
  margin-block-end:0
}

.grid-column {
  grid-column:unset;
  background-color: #ffff;
}

.rounded img {
  border-radius:.25em;
  block-size: auto;
  max-inline-size: 100%;
}

figure {
  display:block;
  margin-inline:0;
  border: 0;
  text-align: center;
}

.grid-column2 {
  grid-column:unset;
}

@media only screen and (max-width: 800px) {
  .page-center {
    width: 80%;
  }
  .grid {
    grid-template-columns: auto;
  }

  .grid2 {
    grid-template-columns: auto;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 800px) {
  .page-center {
    width: 65%;
  }
}

@media only screen and (min-width: 1600px) {
  .page-center {
    width: 50%;
  }
}

.blog-grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}

.blog-grid > li {
  list-style: none;
}

.blog-grid > a {
  color: #111;
  text-decoration: none;
}

.blog-article-excerpt > a {
  color: #111;
  text-decoration: none;
}

.blog-img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0.25rem;
}

.blog-tag {
  display: inline-block;
  margin-bottom: .5rem;
  margin-right: .3rem;
}

.blog-tag a {
  padding: .3rem 1rem;
  background: #e8dddd;
  color: #111;
  text-decoration: none;);
}
.blog-tag a:hover {
  background: #111;
  color: #e8dddd;
  text-decoration: none;
}

.blog-article-excerpt {
  line-height: 1.5em;
}
.blog-article-excerpt header {
  margin-bottom: 1.5rem;
}
.blog-article-excerpt figure {
  margin-bottom: .5rem;
}
.blog-article-excerpt-title {
  font-weight: 600;
}
.blog-article-excerpt-date {
  color: grey;
}

@media screen and (min-width: 60rem) {
  .blog-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .blog-grid > .column {
    grid-column: span var(--columns);
  }
}
