:root {
    --nemtilmeld-colors-gray-200: #e5e5e5;
    --nemtilmeld-colors-gray-300: #dedede;
    --nemtilmeld-colors-gray-400: #c9c9c9;
    --nemtilmeld-colors-gray-900: #212529;
    --nemtilmeld-colors-blue-50: #f6f7f9;
    --nemtilmeld-colors-blue-100: #e9edf1;
    --nemtilmeld-colors-blue-200: #bbd5f7;
    --nemtilmeld-colors-blue-300: #84b3f0;
    --nemtilmeld-colors-blue-400: #3380e6;
    --nemtilmeld-colors-blue-500: #1860bf;
    --nemtilmeld-colors-blue-600: #134b96;
    --nemtilmeld-colors-blue-700: #0f3b76;
    --nemtilmeld-colors-blue-800: #0b2e5b;
    --nemtilmeld-colors-blue-900: #11233b;
    --nemtilmeld-colors-blue-950: #091320;

    --nemtilmeld-text-color: var(--nemtilmeld-colors-gray-900);
}

.hidden {
    display: none;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    color: var(--nemtilmeld-text-color);
}

html {
    font-size: 14px;
    font-family: Lato, sans-serif;
    line-height: 1.4;
    font-weight: 400;
}

body {
    display: grid;
    grid-template-areas:
        "header"
        "content"
        "footer";
    grid-template-rows: 68px 1fr 96px;
    grid-template-columns: 1fr;
}

h1 {
    margin-top: 0px;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    word-break: break-word;
}

p {
    margin-block-start: 1rem;
    margin-block-end: 1rem;
}

header {
    grid-area: header;
    background: var(--nemtilmeld-colors-gray-300);
    display: flex;
    align-items: center;
    padding: 0 55px;
}

main {
    grid-area: content;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    grid-area: footer;
    background: var(--nemtilmeld-colors-gray-300);
    display: flex;
    align-items: center;
    padding: 0 55px;
}

.content {
    max-width: 768px;
    width: 100dvw;
    display: flex;
    flex-direction: column;
    row-gap: 45px;
    margin: 45px 0;
}

.content__branding {
    margin-left: 45px;
    max-width: 280px;
}

.content__information {
    border: 1px solid var(--nemtilmeld-colors-gray-400);
    padding: 45px;
}

.loading__message {
    font-weight: bold;
    font-size: 19px;
    line-height: 100%;
    margin-bottom: 0;
}

.powered_by {
    text-decoration: none;
}

@media only screen and (max-width: 768px) {
    header {
        display: none;
    }

    body {
        grid-template-rows: 0px 1fr 96px;
    }

    .content {
        align-items: center;
    }

    .content__branding {
        margin: 0;
    }

    .content__information {
        border: none;
        padding: 0 45px;
    }

    footer {
        justify-content: center;
        text-align: center;
    }

    footer .powered_by {
        font-weight: 900;
    }

}

/** Loader **/
.lds-ellipsis {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 80px;
    height: 48px;
}

.lds-ellipsis div {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #D3D3D3;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

.progress__bar {
    width: 100%;
    height: 20px;
    border: 0;
    background-color: var(--nemtilmeld-colors-gray-200);
}

.progress__value {
    height: 100%;
    background: linear-gradient(123deg,
        var(--nemtilmeld-colors-blue-500),
        var(--nemtilmeld-colors-blue-500),
        var(--nemtilmeld-colors-blue-300),
        var(--nemtilmeld-colors-blue-500),
        var(--nemtilmeld-colors-blue-500)
        );
    background-size: 400% 100%;
    animation: progress-bar 3s linear infinite;
    transition: width 0.6s ease;
}

@keyframes progress-bar {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.ellipsis:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  animation: ellipsis steps(4, end) 1250ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
  width: 0px;
}

@keyframes ellipsis {
  to {
    width: 1em;
  }
}