.overlay * {
    pointer-events: all;
}

body {
    margin: 0;
    padding: 0;
    max-width: 100dvw;
    max-height: 100dvh;
    overflow: hidden;

    background-color: #535353;
}

iframe {
    position: fixed;
    width: 100dvw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #535353;
    outline: none;
    border: none;
}

.loading {
    position: fixed;
    top: 0;
    width: 100dvw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #535353bb;
    /* align-content:; */
    text-align: center;
    /* align-items: self-start; */
    z-index: 100000000;
    color: white;
    font-family: 'Dosis', sans-serif;
    pointer-events: none;
    font-size: 32px;
    font-weight: bold;

    display: grid;
    grid-template-rows: 30dvh 30dvh 1fr;

    transition-duration: 0.4s;
}

.loadingtext {
    color: white;
    font-family: 'Dosis', sans-serif;
    /* font-size: 3dvw; */
    font-size: clamp(32px, 3dvw, 84px);
    font-weight: bold;
    align-self: flex-end;
    justify-self: center;
    margin: 0;
}

.loadinggif {
    justify-self: center;
    align-self: flex-start;
    max-width: 100%;
    max-height: 100%;
}

.loadingfacts {
    font-weight: normal;
    font-size: .9rem;
    text-align: center;
    align-content: center;
    max-width: 85dvw;
    justify-self: center;
    align-self: center;
}

.notifications {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000000000000000000;
    width: 100dvw;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    pointer-events: none;

    /* display: grid; */
    /* grid-template-columns: 20dvw; */
    /* padding: 2dvh 0; */

    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: flex-end;
}

.notification {
    position: relative;
    max-width: 35dvw;
    min-width: 25dvw;
    width: max-content;
    box-sizing: border-box;
    /* display: flex; */
    height: max(min-content, 12dvh);
    max-height: max(min-content, 12dvh);
    overflow: hidden;
    margin: 0;
    /* left: 0; */
    /* pointer-events: none; */
    pointer-events: all;

    background-color: rgb(80, 80, 80);
    color: white;
    font-family: 'Dosis', sans-serif;

    /* border-radius: 10px; */
    border-radius: 1dvh;
    /* justify-self: center; */
    padding: 1dvh;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin: 1dvh 0;
}

.progress-bar {
    position: absolute;
    width: 100%;
    height: 0.5dvh;
    transition: width linear;
    bottom: 0;
    left: 0;
}

.notification h1 {
    font-size: clamp(1em, 2vw, 1.4em);
    margin: 0;
    padding: 0;
}

.notification p {
    font-size: clamp(0.8em, 2vw, 1em);
}

@media screen and (max-width: 600px) {
    .notification {
        max-width: 75dvw;
        min-width: 75dvw;
    }

    .notification h1 {
        font-size: clamp(1em, 3vw, 1.4em);
    }

    .notification p {
        font-size: clamp(0.8em, 3vw, 1em);
    }
}

.info {
    background-color: rgb(0, 183, 255);
}

.warning {
    background-color: rgb(255, 183, 0);
}

.error {
    background-color: rgb(203, 20, 0);
}

.success {
    background-color: rgb(0, 203, 54);
}

.close-button {
    position: absolute;
    top: 0.5dvh;
    right: 1.5dvh;
    width: 1.5dvh;
    height: 1.5dvh;
    background-color: rgb(80, 80, 80);
    border-radius: 50%;
    border: none;
    color: white;
    transition-duration: 0.2s;
    cursor: pointer;
}

.close-button:hover {
    color: rgb(238, 238, 238);
    transition-duration: 0.2s;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100dvw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    z-index: 1000000000000000000;
    pointer-events: none;
}

.bannerstart {
    height: 100%;
    /* width: 3px; */
    width: 100%;
    /* border-radius: 1px; */
    border-top-left-radius: 1dvh;
    border-bottom-left-radius: 1dvh;
    border-top-right-radius: 1px;
    border-bottom-right-radius: 1px;
    display: inline-block;
}

.bannertext {
    /* height: 100%; */
    display: inline-block;
    vertical-align: middle;
    padding: 0 10px;
    margin: 1dvh 0;
    font-size: 1dvw;
}

.check-geo-services {
    position: absolute;
    right: 1dvw;
    top: 8.5dvh;
    width: 4dvw;
    height: 4dvw;
    max-width: 4dvw;
    max-height: 4dvw;
    border-radius: 1dvw;
    background-color: rgb(80, 80, 80);
    color: white;
    font-family: 'Dosis', sans-serif;
    font-size: 3dvw;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    box-shadow: 0 0 1.5dvh rgba(0, 0, 0, 0.4);

    translate: 0 calc(var(--offset) * 4.5dvw);
}

.check-geo-services * {
    width: 3dvw;
    height: 3dvw;
    object-fit: contain;

    margin: 0;
    padding: 0;
}

.geo-services {
    position: absolute;
    top: 8.5dvh;
    right: 5.5dvw;
    height: 4dvw;
    max-height: 4dvw;
    width: 20dvw;
    background-color: rgb(80, 80, 80);
    color: white;
    font-family: 'Dosis', sans-serif;
    /* font-size: 3dvw; */
    border-radius: 1dvw;

    display: grid;
    grid-template-columns: 0.4dvw 1fr;
    grid-template-rows: 1fr;
    justify-content: center;
    align-items: center;
    padding: 0.3dvw 0.2dvw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.debug-ping {
    position: absolute;
    bottom: 8.5dvh;
    right: 5.5dvw;
    height: 4dvw;
    max-height: 4dvw;
    width: 20dvw;
    background-color: rgb(80, 80, 80);
    color: white;
    font-family: 'Dosis', sans-serif;
    /* font-size: 3dvw; */
    border-radius: 1dvw;

    display: grid;
    grid-template-columns: 0.4dvw 1fr;
    grid-template-rows: 1fr;
    justify-content: center;
    align-items: center;
    padding: 0.3dvw 0.2dvw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 600px) {
    .check-geo-services {
        width: 6dvh;
        height: 6dvh;
        max-width: 6dvh;
        max-height: 6dvh;
        border-radius: 1.5dvh;
        font-size: 4.5dvh;

        translate: 0 calc(var(--offset) * 6.5dvh);
    }

    .check-geo-services * {
        width: 4.5dvh;
        height: 4.5dvh;
    }

    .geo-services {
        height: 6dvh;
        max-height: 6dvh;
        width: 30dvh;
        border-radius: 1.5dvh;
        right: 8.25dvh;
        grid-template-columns: 0.6dvh 1fr;
    }

    .debug-ping {
        height: 6dvh;
        max-height: 6dvh;
        width: 30dvh;
        border-radius: 1.5dvh;
        right: 8.25dvh;
        grid-template-columns: 0.6dvh 1fr;
    }

    .bannertext {
        font-size: 1.5dvh;
    }
}

.version {
    position: fixed;
    bottom: 0;
    left: 0;
    color: white;
    font-family: 'Dosis', sans-serif;
    font-size: 1.5dvh;
    text-align: left;
}

.version p {
    margin: 0;
    padding: 0;
}