:root {
    --color-green: #b0d400;
    --color-lightgreen: #c8e14c;
    --color-white: #ffffff;
    --color-anthrazit: #4a4f59;
    --color-lightanthrazit: #6e727a;
    --color-grey: #f1f1f2;
    --color-lightgrey: #f6f6f7;
    --color-darkgrey: #e4e5e6;
    --color-error: #BB342F;
    --color-black: #000000;
    --color-black-40: #999999;
    --color-black-30: rgba(0,0,0,0.3);
    --color-anthrazit-40: rgba(74, 79, 89, 0.4);
    --color-green-25: rgba(176,212,0, 0.25);
    --color-lightgreen-25: rgba(200, 225, 76, 0.25);

    
    --font-family-sans: 'Open Sans', "Helvetica Neue", sans-serif;
    --font-family-headline: 'Poppins', "Helvetica Neue", sans-serif;
}

/* open-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* open-sans-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/open-sans-v35-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* open-sans-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

  /* poppins-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/poppins-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/poppins-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/poppins-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

html, body {
    font-family: var(--font-family-sans);
    color: var(--color-anthrazit);
}

a {
    transition: all 0.3s ease-in-out;
    color: var(--color-green);
}
a:is(:hover, :focus) {
    color: var(--color-lightgreen);
}

header {
    background-color: var(--color-anthrazit);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    height: 40px;

    color: var(--color-white);
    padding: 20px;

    font-size: 12px;
}

@media(max-width: 1180px) {
    header {
        flex-direction: column;
        height: 90px;
    }
}

@media(max-width: 930px) {
  header .logo {
      flex-direction: column;
  }

  header {
    height: auto;
  }
}

header a:not(:hover, :focus) {
    color: var(--color-white);
    text-decoration: none;
}

ul.nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
}

.logo img {
    height: 40px;
}

h1 {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-headline);
    font-weight: 600;
}

h2 {
    margin: 0;
    padding: 0;
    margin-bottom: 16px;
    font-family: var(--font-family-headline);
    font-weight: 600;
}

main {
    padding: 20px 20px;
}

.hide {
    display: none !important;
}

#error {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    padding-top: 80px;
    padding-bottom: 80px;
}

#error .msg {
    font-size: 14px;
    font-weight: normal;
    padding: 10px;
    font-style: italic;
}

.big-icon {
    color: var(--color-error);
    font-size: 120px;
}

#loading {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    padding-top: 80px;
    padding-bottom: 80px;
}


.lds-ring {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
  }
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 184px;
    height: 184px;
    margin: 8px;
    border: 8px solid var(--color-green);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--color-green) transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }


  #login form {
    display: flex;
    align-items: start;
    justify-content: center;
    background-color: var(--color-grey);
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
    width: 250px;
    margin: 0 auto;

    gap: 15px;
  }

  #login form > div {
    display: flex;
    align-items: start;
    flex-direction: column;
    width: 100%;
  }

  #login form label {
    font-weight: 600;
    
  }
  #login form input {
    width: 100%;
    height: 28px;
    margin-top: 6px;
  }

  button {
    background-color: var(--color-green);
    border: 2px solid var(--color-green);
    font-weight: 900;
    text-align: center;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }

  button:is(:hover, :focus) {
    background-color: var(--color-lightgreen);
  }


  #datahouse {
    overflow-x: scroll;
    font-size: 12px;
  }
  
  .last-updated-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 25px;
  }

  .last-updated {
    display: grid;
    grid-template-columns: minmax(0, max-content) 1fr;
    gap: 0 5px;
  }