:root {
    --sat: env(safe-area-inset-top);
    --sar: env(safe-area-inset-right);
    --sab: env(safe-area-inset-bottom);
    --sal: env(safe-area-inset-left);
}

html {
    /* has to be vh and not % for IOS to fill entire phone screen */
    height: 100vh;
    width: 100vw;
}

body { 
    background-color: #0d3b94;
    color: #0d3b94;

    margin: 0;
    padding:0px;
    
    /* padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left); //iOS 11.2
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); */

    /* position: fixed; */
    width: 100%;
    height: 100vh;
    /* overflow: hidden; */
    /* display: flex; */
    /* flex-direction: column; */
}

#description {
    position:absolute;
    z-index: -100;
}

#content {
    margin: 0; 
    padding: 0;
    width: 100%;
    /* height: 100%; */
    height: calc(100% + env(safe-area-inset-top, 0) + env(safe-area-inset-bottom, 0));
}

#bottom_share_buttons {
    color:white;
    position: fixed; /* относительно окна браузера */
    bottom: 60px;
    display: none;
    text-align: center;
    height: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

#bottom_links {
    color:white;
    position: fixed; /* относительно окна браузера */
    bottom: 10px;
    display: block;
    text-align: center;
    height: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}

#store_links {
    position: fixed; /* относительно окна браузера */
    display: none;
    flex-direction: column;
    justify-content: center;
    top: 200px;
    bottom: 200px;
    right: 0px;
}

#mobile_buttons_block {
    display: none; 
    color: white;
    /* background-color: #0691b8cc; */
    position: fixed;
    top: 0;
    left: 0;
    align-content: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

canvas {
    width: 100%;
    height: 100vh;
    position: fixed;    /* относительно окна браузера */
}

a {
    color: white;
    text-align: center;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}
@font-face {
    font-family: "Rajdhani";
    src: url(./955ad2c739164f2b01b6.ttf);
    font-weight: normal;
}

@font-face {
    font-family: "Rajdhani";
    src: url(./0d5cc77aaa325cbb9ce5.ttf);
    font-weight: bold;
}
