@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca&display=swap');

body {
    font-family: 'Lexend Deca', sans-serif;
}

iframe {
    width: 100%;
    height: 100vh;
    border: none;
    /* Iframe is an inline element, so sometimes it leaves blank whitespaces at the bottom.
    either `vertical-align: bottom` or `display: block` can be used to fix the issue of iframe leaving empty whitespace below it */
    vertical-align: bottom;
}

#loader, #error {
    font-size: 1.4rem;
    position: absolute;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
}

#loader {
    z-index: 1;
}

#loader img {
    filter: none;
}

#error:not([hidden="hidden"]) {

    z-index: 2;
}

#error:not([hidden="hidden"]), #loader:not([hidden="hidden"]) {
    display: flex;
}