@import url('https://fonts.googleapis.com/css2?family=Chokokutai&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    margin: 0;    
    font-family: Arial, Helvetica, sans-serif;
}
header{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    background-color: rgb(218, 187, 147);
    font-family: "Chokokutai", system-ui;
    font-size: 10px;
    text-align: center;
    padding: 10px;
    text-wrap: balance;
    z-index: 10;
}
footer{
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background-color: antiquewhite;
    padding: 30px;
    z-index: 10;
}

footer nav ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
footer nav ul li{
    list-style: none;
    text-align: center;
}
footer p {
    text-align: center;
    margin-top: 10px;
}
#fullscreen{position: fixed;z-index: 10;right: 10px;top: 10px;}

/* Loading Screen - https://jsfiddle.net/sojzu8a5/1/ */
#loading-screen {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff9d;
    opacity: 1;
     transition: 1s opacity;
}

#loading-screen.fade-out {
    opacity: 0;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgb(218, 187, 147);
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgb(214, 154, 75);
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}
#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgb(255, 145, 0);
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#progress {
    position: relative;
    left: 50%;
    top: 50%;
    font-family: Arial, Helvetica, sans-serif;
    width: 50px;
    height: 30px;
    margin: -85px 0 0 -25px;
    font-weight: bold;
    text-align: center;
}
#rotate-cam {
    position: absolute;
    top: -54px;
    right: 10px;
    padding: 5px;
    font-size: 1.7em;
}