@font-face {
    font-family: 'Hand';
    src: url(fonts/RonysiswadiArchitect2-x3POK.ttf) format('truetype');
  }

  :root {
    --logo-multiplier: 1;
    --cw-multiplier: 1;
    --main-block-width: 100%;
    --content-text-size: 16px;
  }

  body {
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    background-color: #e4d8c7;
  }

  .main {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .hidden {
    display: none;
  }

  .bg-image {
    width: 100vw;
    height: 100vh;
  }

  .black-tan-button {
    color: #e4d8c7;
    background-color: black;
    border-radius: 5px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .blink-black-tan {
    border-radius: 5px;
    padding-right: 10px;
    padding-left: 10px;
    animation-name: blink-black-tan;
    animation-duration: 3s;
    animation-direction: linear;
    animation-iteration-count: infinite;
  }

  @keyframes blink-black-tan {
    0% {
      background-color: none;
    }
    50% {
      background-color: black;
      color: #e4d8c7;
    }
    100% {
      background-color: none;
    }
  }

  .header-container {
    position: fixed;
    bottom: var(--big-content-percentage);
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    box-shadow: 0px 4px 4px 0px #8b826c98;
  }

  .menu-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--main-block-width);
    box-sizing: border-box;
  }

  .title-links {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .burger-links {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: right;
    align-items: center;
    box-sizing: border-box;
    padding-left: 1em;
    padding-right: 1em;
  }

  .burger {
    position: relative;
    display: block;
    width: 42px;
    cursor: pointer;

    appearance: none;
    background: none;
    outline: none;
    border: none;
  }

  .burger .bar, .burger::after, .burger::before {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background-color: black;
    margin: 6px 0px;
    transition: 0.4s;
    border-radius: 2px;
  }

  .burger.is-active .bar {
    opacity: 0;
  }

  .burger.is-active::before {
    transform: rotate(-45deg) translate(-8px, 6px);
  }

  .burger.is-active::after {
    transform: rotate(45deg) translate(-9px, -8px);
  }

  .mobile-nav {
    position: fixed;
    top: var(--small-content-percentage);
    left: 100%;
    width: 100%;
    min-height: var(--big-content-percentage);
    display: block;
    padding-top: 1em;
    z-index: 98;
    background-color: antiquewhite;
    background-image: url(images/paper.jpg);
    transition: 0.4s;
  }

  .mobile-nav.is-active {
    left: 0;
  }

  .mobile-nav > a {
    display: block;
    text-align: center;
    margin-bottom: 1em;
    padding: 0.3em;    
  }

  .logo-container {
    position: fixed;
    top: var(--small-content-percentage);
    bottom: var(--small-content-percentage);
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .content-container {
    position: fixed;
    top: var(--small-content-percentage);
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
  }

  .content-container::-webkit-scrollbar {
    width: 10px;
    border: 1px solid black;
    border-radius: 6px;
  }

  .content-container::-webkit-scrollbar:hover {
    background-color: #0002;
  }

  .content-container::-webkit-scrollbar-thumb {
    width: 8px;
    border-radius: 5px;
    border: 1px solid black;
    background-color: #0002;
  }

  .content-container::-webkit-scrollbar-thumb:hover {
    background-color: #0005;
  }

  .row-container {
    position: relative;
    width: 100%;    
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 1em;
  }

  .line-spacer-row {
    border-bottom: 2px solid #5c5c5c;
  }

  .footer-row {
    background-color: rgba(228, 217, 200, 0.5);
  }

  .content-text {
    font-family: Hand, 'Trebuchet MS', Helvetica, sans-serif;
    font-size: var(--content-text-size);
  }

  .main-text-block {
    width: var(--main-block-width);
    box-sizing: border-box;
    padding-left: 2em;
    padding-right: 2em;
  }

  .row-container > .main-text-block :last-of-type {
    padding-bottom: 0;
  }

  .main-image-block {
    width: var(--main-block-width);
    box-sizing: border-box;
    padding: 1em;
  }  

  .image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .img-rounded {
    border-radius: 2%;
  }

  .image-about {
    max-width: 240px;
  }

  .strip-50 {
    position: relative;
    width: 100vw;
    height: 50vh;
    padding-top: 1em;
    padding-bottom: 1em;
  }
  
  .fade-div {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .footer-container {
    position: fixed;
    top: var(--big-content-percentage);
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    display: flex;
    box-shadow: 0px -4px 4px 0px #8b826c98;
    font-size: calc(1em * var(--cw-multiplier));
  }

  .footer-spacer {
    box-sizing: border-box;
    padding-left: 0.5em;
    padding-right: 0.5em;
    width: var(--main-block-width);
    height: 100%;
    justify-content: space-between;
    align-items: center;
    display: flex;
  }

  .copyright {
    font-weight: 200;
    font-size: 0.6em;
  }

  .bg-faded-logo {
    max-height: var(--big-content-percentage);
    max-width: var(--big-content-percentage);
    opacity: 0.07;
  }

  .titles {
    font-family: Hand, 'Trebuchet MS', Helvetica, sans-serif;
    font-size: x-small;
  }

  ul {
    list-style-type: none;
  }

  a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }

  a:hover {
    color: gray;
  }

  .h-links {
    margin-left: 2em;
    margin-right: 2em;
  }

  .s-media-logos {
    height: calc(1.5em * var(--logo-multiplier));
    margin: calc(0.25em * var(--logo-multiplier));
  }

  .s-media-logos:hover {
    opacity: 0.7;
  }

  .news-box {
    display: inline-block;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 3px solid darkred;
    padding: 20px;
  }

  .news-text {
    color: darkred;
    font-weight: 500;
  }

  .news-text-bold {
    color: darkred;
    font-weight: 700;
  }

  .centered-text {
    text-align: center;
    padding-bottom: 0.5em;
  }

  .centered-title {
    text-align: center;
    padding-bottom: 0.6em;
    font-weight: bold;
    font-size: 1.5em;
  }

  .tile-grid {
    width: var(--main-block-width);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .grid4-2-1 {
    width: var(--main-block-width);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .grid3-1 {
    width: var(--main-block-width);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .grid-footer {
    width: var(--main-block-width);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .grid2 {
    width: var(--main-block-width);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .two-row-tile {
    box-sizing: border-box;
    padding: 0.2em;
    display: grid;
    grid-template-rows: auto 1fr;
  }

  .two-column-tile {
    box-sizing: border-box;
    padding: 0.2em;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .small-big-cols {
    width: var(--main-block-width);
    display: grid;
    grid-template-columns: 1fr 3fr;
  }

  .simple-tile {
    box-sizing: border-box;
    padding: 0.2em;
    text-align: center;
  }

  .padding-lr-1 {
    padding-left: 1em;
    padding-right: 1em;
  }

  .feedback-text {
    font-style: italic;
  }

  .feedback-name {
    color: #606060;
  }

  /* Image animation */
  .A {
    animation: animA 10s infinite alternate;
    }
    
    .B {
    animation: animB 10s infinite alternate;
    }
    
    @keyframes animA {
      0%, 25% {
        opacity: 0;
        z-index: 0;
      }
      50% {
        opacity: .5;
      }
      
      100% {
        opacity: 1;
        z-index: 1
      }
    }
    
    @keyframes animB {
      0%,25% {
        opacity: 1;
        z-index: 1;
      }
      50% {
        opacity: .5;
      }
     100% {
        opacity: 0;
        z-index: 0
      }
    }
  /* --------------- */

  /* Start Newsletter subscribe form customization */
  .embedForm {
    background-color: unset !important;
  }
  /* End Newsletter subscribe form customization */

  /* Media queries*/

  @media screen and (max-width: 480px) {
    :root {
      --logo-multiplier: 3;
      --cw-multiplier: 0.4;
      --big-content-percentage: 92%;
      --small-content-percentage: 8%;
    }

    .copyright {
      font-weight: 400;
    }

    .tile-grid {
      grid-template-columns: 1fr 1fr;
    }

    .two-row-tile {
      grid-template-rows: 1fr 1fr;
    }

    .grid-footer, .grid4-2-1, .grid3-1, .small-big-cols {
      grid-template-columns: 1fr;
    }

    .grid4-2-1 > .two-row-tile {
      grid-template-rows: auto auto;
    }

    .grid3-1 > .two-row-tile {
      grid-template-rows: auto auto;
    }
  }

  @media screen and (min-width: 481px) and (max-width: 768px) {
    :root {
      --logo-multiplier: 2.4;
      --cw-multiplier: 0.6;
      --big-content-percentage: 92%;
      --small-content-percentage: 8%;
    }

    .tile-grid {
        grid-template-columns: 1fr 1fr;
    }

    .grid4-2-1 {
      grid-template-columns: 1fr 1fr;
    }

    .grid-footer {
      grid-template-columns: 1fr;
    }
  }

  @media screen and (min-width: 769px) and (max-width: 1024px) {
    :root {
      --logo-multiplier: 1.5;
      --cw-multiplier: 0.8;
      --big-content-percentage: 94%;
      --small-content-percentage: 6%;
      --main-block-width: 90%;
      --content-text-size: 18px;
    }
  }
  
  @media screen and (min-width: 1025px) and (max-width: 1200px) {
    :root {
      --logo-multiplier: 1.5;
      --cw-multiplier: 0.8;
      --big-content-percentage: 94%;
      --small-content-percentage: 6%;
      --main-block-width: 85%;
      --content-text-size: 22px;
    }
  }
  @media screen and (min-width: 1201px) {
    :root {
      --logo-multiplier: 1.5;
      --cw-multiplier: 0.8;
      --big-content-percentage: 94%;
      --small-content-percentage: 6%;
      --main-block-width: 80%;
      --content-text-size: 26px;
    }
  }

  @media screen and (min-height: 301px) and (max-height: 500px) {
    :root {
      --big-content-percentage: 85%;
      --small-content-percentage: 15%;
    }
    
    h2 {
      margin-block-start: 0.2em;
      margin-block-end: 0.2em;
    }

    .mobile-nav > a {
      margin-bottom: 0;
      padding: 0.1em;    
    }
  }

  @media screen and (max-height: 300px) {
    :root {
      --big-content-percentage: 75%;
      --small-content-percentage: 25%;
    }
    
    h2 {
      margin-block-start: 0.1em;
      margin-block-end: 0.1em;
    }

    .mobile-nav > a {
      margin-bottom: 0;
      padding: 0;    
    }
  }

  @media screen and (max-width: 1024px) {
    .title-links {
      display: none;
    }

    .burger-links {
      display: auto;
    }
  }

  @media screen and (min-width: 1025px) {
    .title-links {
      display: auto;
    }

    .burger-links {
      display: none;
    }

    .mobile-nav.is-active {
      left: 100%;
    }
  }