:root {
    --app-height: 100%;
}
#day {
    font-size: 50vmin;
    opacity:0.7;
}
* {
    box-sizing: border-box !important;
}

body {
    margin:0;
    padding:0;
    width:100vw;
    height:100vh;
    height:var(--app-height);

    font-family: 'e-Ukraine', "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    overflow-x: hidden;
    overflow-y: hidden;

    background-color:black;
    /*position: relative;*/


}
#app {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background:rgba(0,0,0,0.6);
    position: relative;
}
.loader > div {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    margin: 3px;
    animation: loader 0.6s infinite alternate;
}

.loader > div:nth-child(2) {
    animation-delay: 0.2s;
}

.loader > div:nth-child(3) {
    animation-delay: 0.4s;
}
body.loaded .loader {
    display: none;
}
@keyframes loader {
    to {
        opacity: 0.1;
        transform: translate(0, -20px);
        background: pink;
    }
}
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    position:absolute;
    left:50%;
    top:50%;
    margin-left: -30px;
    margin-top: -30px;
}
main {
    padding-left:2em;
    padding-right:2em;
    cursor:pointer;
}

.war {
    margin-top: 0.5rem;
    opacity: 0.7;
    font-size:0.9rem;
}
.number {
    text-align: center;
    font-family: 'e-Ukraine Head' ;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    user-select: none;
}
@font-face {
    font-family: 'e-Ukraine';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/e-Ukraine-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'e-Ukraine Head';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/e-UkraineHead-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'e-Ukraine Head';
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url('assets/fonts/e-UkraineHead-Bold.woff2') format('woff2');
}

@media all and (max-width: 767px)  {
    main {
        padding-left:1em;
        padding-right:1em;
    }
    #day {
        font-size: 40vmin;
    }
    #app {
        font-size: 0.8rem;
    }
    footer {

        font-size:0.6rem !important;
        max-width: inherit !important;
        left:0px;
        padding-top: 10px;
        padding-left:10px;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }
    .attribution {
        padding-top: 3px;
    }
    /*.attribution {

        display: inline;
        !*text-align: right;*!
    }*/

}
a {
    color:rgba(255,255,255,0.8);
    text-decoration: none;
}
a.hover {
    text-decoration: underline;
}
footer {
    font-size:0.7rem;
    position: absolute;
    max-width:500px;
    text-align: right;
    right:0px;
    bottom:0px;
    padding-right: 10px;
    padding-bottom:10px;
    color:rgba(255,255,255,0.7);

}
.attribution {
    display: block;
    padding-top: 5px;
}
.bg-image.loaded {
    opacity: 1;
}

.bg-image {
    margin:0;
    padding:0;
    position: fixed;
    background-attachment: fixed;
    left:0;
    right:0;
    top:0;
    bottom:0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}
.img-loader {
    position: absolute;
    left: -10000px;
    top: -10000px;
    opacity: 0;
}
main {
    opacity: 0;
    transition: opacity 2s ease;
    visibility: hidden;
}
main.loaded {
    opacity: 1;
    visibility: visible;
}