:root {
  --def-size: 1rem;
  --col-gutter: 2rem;
  --elem-gutter: 0.5rem;
  --time: 4s;
  color-scheme: light dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --text-blk: #454545;
    --ref-white: #F8FBFA;
    --url-color: #0072A3;
    --url-visited: #0079AD;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-blk: #F8FBFA;
    --ref-white: #454545;
    --url-color: #e9e914;
    --url-visited: #b5b546;
  }
}

  @font-face {
    font-family: "ArimoVar";
    src: url("Arimo-VariableFont_wght.ttf") format("TrueType");
    font-weight: 125 950;
    font-stretch: 75% 125%;
    font-style: normal;
    font-display: swap;
  }
  
  body {
      font: var(--def-size) "ArimoVar", Helvetica, sans-serif;
      color: var(--text-blk);
      background-color: var(--ref-white);
      text-rendering: optimizeSpeed;
      scroll-behavior: smooth;
      /* min-height: 100vh; */
      overflow-x: hidden;
  }
  
  h1 {
      font-size: 2rem;
      font-weight: bold;
      letter-spacing: -0.2rem;
  }
  
  h2 {
      font-size: 1.5rem;
      font-weight: bold;
  }
  
  p {
      line-height: 1.3rem;
  }
  
  small {
      font-size: 0.875rem;
  }

  a {
    color: var(--url-color);
  }

  a:visited {
    color: var(--url-visited);
  }
  
  @keyframes blink { 50% { color: transparent } }
  .dot { animation: var(--time) blink infinite }
  .dot:nth-child(4n) { animation-delay: calc( var(--time) * 1 / 4) }
  .dot:nth-child(4n+1) { animation-delay: calc( var(--time) * 2 / 4) }
  .dot:nth-child(4n+2) { animation-delay: calc( var(--time) * 3 / 4) }  
  .dot:nth-child(4n+3) { animation-delay: calc( var(--time) * 4 / 4) }


  .main {
      width: 100vw;
  }
  .container {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      margin: 2rem 15vw 6rem;
  }
  
  header, footer {
      width: 100%;
      flex-shrink: 0;
      text-align: center;
  }

  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    background-color: var(--ref-white);
  }
  
  .mother-col {
      width: 33%;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
  }
  
  .col-end {
      margin-left: calc(66% + 0.5 * var(--def-size) );
  }

  .col-row-flex-end {
    flex-direction: row;
    align-items: flex-end;
  }

  .col-row-flex-end figure {
    margin: 0;
  }

  .col-row-flex-end img {
    max-width: 100%;
    height: auto;
  }

  .col-row-flex-end figcaption {
    font-size: small;
    text-align: center;
  }

  .strike {
    text-decoration: line-through;
  }

  blockquote {
    border-left: 2px solid var(--url-visited);
    font-style: italic;
    font-size: 0.875rem;
    padding-left: 1rem;
    margin:0;
  }
  
@media screen and (max-width: 768px) {
    
    .container {
        margin: 2rem 5vw 2rem;
        padding-bottom: 2rem;
    }

    .mother-col {
        width: auto;
    }

    .col-end {
        margin-left: auto;
        margin-bottom: 2rem;
    }
}