@font-face {
    font-family: Main-Menu; 
    src: url('files/fonts/AscenderUni.ttf');
}

@font-face {
    font-family: LCD-Solid; 
    src: url('files/fonts/LCDSolid.ttf');
}

@font-face {
    font-family: OCR-A; 
    src: url('files/fonts/OCR-A.ttf');
}

@font-face {
    font-family: Consolas; 
    src: url('files/fonts/consolas.ttf');
}

body{
    background: black;
    overflow: hidden;
    user-select: none;
    color: white;
    font-family: Consolas;
    font-size: 1.5vmax;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
}

.warning{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.warning p{
    font-family: Consolas;
    text-align: center;
    width: 35%;
}

.playButton{
    position: absolute;
    width: 5vmax;
    font-family: Main-Menu;
    transition: transform 0.125s;
    text-align: center;
    align-content: center;
    border: 0.25vmax solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.25);
    padding: 1%;
    border-radius: 2vmax;
    bottom: 10%;
}

.playButton:hover{
    transform: scale(1.5);
}

.title{
    margin: 5%;
    font-family: Main-Menu;
    font-size: 150%;
    width: 6%;
}

a{
    display: contents;
}

p{
    margin: 0;
    padding: 0;
}

main{
    position: absolute;
    top: 0%;
    width: 100%;
    height: 100%;
}

.MMenuCharacter{
    width: 70%;
    height: 100%;
    position: absolute;
    right: 0%;
    top: 0%;
    z-index: 1;
    filter: opacity(0.25);
}

.MMenuChr-img{
    width: 70%;
    height: 80%;
    position: absolute;
    background-position: top center;
    right: 0%;
    bottom: 0%;
}

.newspaper{
    background-image: url(files/images/menu/newspaper.png);
    background-size: 100% 100%;
    position: absolute;
    z-index: 10;
    top: 0;
    opacity: 0%;
    width: 100vw;
    height: 100vh;
    transition: opacity 2.5s;
}

.gameOver{
    position: absolute;
    top: 0%;
    width: 100%;
    height: 100%;
    background-image: url(files/images/menu/gameover.png);
    background-size: 25% 25%;
}

.visible{
    opacity: 100%;
}

.MMSelector{
    margin: 5%;
    display: flex;
    flex-direction: column;
    display: inline-block;
}

.text{
    transition: transform 0.125s, text-shadow 0.125s, font-weight 0.125s, color 0.125s, filter 0.125s;
}

.text:hover{
    transform: scale(1.25);
    text-shadow: 0 0 1vmax white;
    font-weight: 1000;
}

.nightShow{
    font-size: 3vmax;
    width: 100vw;
    height: 100vh;
    text-align: center;
    align-content: center;
}

.nightShow h1{
    margin: 0;
    padding: 0;
}

.office-back{
    z-index: 0;
    position: absolute;
    background-image: url(files/images/office/office_back.png);
    background-size: 200% 100%;
    width: 100vw;
    height: 100vh;
}

.office-front{
    z-index: 5;
    position: absolute;
    background-image: url(files/images/office/office_front.png);
    background-size: 200% 100%;
    width: 100vw;
    height: 100vh;
}

.office-front-calendar{
    z-index: 6;
    position: absolute;
    background-image: url(files/images/office/calender.png);
    background-size: 200% 100%;
    width: 100vw;
    height: 100vh;
}

.calender-day{
    z-index: 7;
    position: absolute;
    width: 100vw;
    height: 100vh;
}

.move-divs{
    z-index: 10;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
}

.left, .right{
    width: 20vw;
    height: 100vh;
}

.left{
    position: absolute;
    left: 0%;
}

.right{
    position: absolute;
    right: 0%;
}

.timeText{
    font-family: LCD-Solid;
    transition: transform 0.125s;
}

.timer{
    font-family: LCD-Solid;
    text-align: right;
    position: fixed;
    z-index: 16;
    width: 10vmax;
    top: 2.5%;
    right: 2.5%;
}

.character-contain{
    position: relative;
    z-index: 12;
    width: 100%;
    height: 100%;
}

.character{
    filter: saturate(0);
    position: absolute;
    width: 25%;
    height: 50%;
}

.character-office{
    position: relative;
    width: 100%;
    height: 100%;
}

.anim-office{
    position: absolute;
    width: 25%;
    height: 50%;
}

.robert{
    display: none;
    position: absolute;
    z-index: 12;
    background: url(files/images/characters/robert/main.png);
    background-size: 100% 100%;
    width: 25%;
    height: 50%;
    left: 37%;
    bottom: 0%;
}

.camera{
    position: absolute;
    transition: 0.25s top, 0.25s transform;
    top: 100%;
    transform: scale(0.9);
    z-index: 13;
    background: url(files/images/office/camera.png);
    filter: saturate(0);
    background-size: 100% 100%;
    width: 100%;
    height: 100vh;
}

.cam-screen{
    display: none;
    width: 100%;
    height: 100%;
    z-index: 14;
    position: absolute;
    top: 0;
}

.screen{
    background: url(files/images/camera/b1.png);
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
}

.screen-border{
    position: absolute;
    top: 0%;
    box-sizing: border-box;
    border: 0.25vmax solid white;
    width: 100%;
    height: 100%;
    z-index: 15;
    transform: scale(0.97)
}

.static{
    background: url(files/images/camera/static.gif);
    background-size: 100% 100%;
    opacity: 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 15;
}

.cam-change{
    background: url(files/images/camera/changecam.gif);
    mix-blend-mode: screen;
    background-size: 100% 100%;
    opacity: 100%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 16;
}

.call-button{
    font-family: LCD-Solid;
    z-index: 17;
    background: rgba(128, 128, 128, 0.5);
    position: absolute;
    padding: 0.5%;
    border: 0.5vmax solid rgb(128, 128, 128);
    border-radius: 1vmax;
    left: 6%;
    top: 2%;
}

.radar{
    display: flex;
    flex-direction: column;
    z-index: 17;
    position: absolute;
    bottom: 2%;
    right: 2%;
    width: 40%;
    height: 70%;
}

.radar-top{
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-bottom: white 0.3vmax solid;
}

.current-cam-text{
    font-family: LCD-Solid;
    padding: 1%;
    text-align: center;
    align-content: end;
}

.map{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 16;
}

.change-floor-button{
    font-family: LCD-Solid;
    font-size: 1vmax;
    background: rgba(128, 128, 128, 0.5);
    text-align: left;
    align-content: center;
    width: auto;
    padding: 3%;
    margin: 2%;
    height: auto;
    border: 0.2vmax solid white;
    z-index: 16;
}

.button{
    font-family: LCD-Solid;
    font-size: 1vmax;
    position: absolute;
    background: rgba(128, 128, 128, 0.5);
    text-align: left;
    align-content: center;
    width: auto;
    padding-right: 3%;
    height: auto;
    border: 0.2vmax solid white;
}

.button-clicked{
    background: rgb(150 168 8);
}

.music-box{
    width: 25%;
    z-index: 16;
    position: absolute;
    top: 70%;
    left: 0%;
    display: none;
    padding: 1%;
    transform: scale(0.75)
}

.circle{
    background: conic-gradient(rgba(255, 255, 255, 1) 0deg 360deg,rgba(255, 255, 255, 0) 0deg 360deg);
    width: 35%;
    border-radius: 5vmax;
}

.music-button{
    border: 0.25vmax solid rgb(0, 125, 0);
    margin: 5%;
    background: rgb(128, 128, 128);
    width: 50%;
    height: 10%;
    padding: 1%;
    text-align: center;
}

.music-button:hover{
    cursor: pointer;
    background: rgb(200, 200, 200);
    color: rgb(50, 50, 50);
}

.a1{
    left: 45%;
    top: 45%;
}

.a2{
    left: 40%;
    top: 55%;
}

.t1{
    left: 65%;
    top: 15%;
}

.q1{
    left: 60%;
    top: 70%;
}

.r11{
    left: 69%;
    top: 35%;
}

.r12{
    left: 73%;
    top: 51%;
}

.r13{
    left: 43%;
    top: 28%;
}

.r14{
    left: 20%;
    top: 45%;
}

.b1{
    left: 54%;
    top: 27%;
}

.r21{
    left: 33%;
    top: 30%;
}

.r22{
    left: 36%;
    top: 87%;
}

.r23{
    left: 55%;
    top: 88%;
}

.r24{
    left: 70%;
    top: 5%;
}

.cam-hover{
    position: absolute;
    left: 32%;
    bottom: -2.5%;
    z-index: 15;
    background: url(files/images/office/arrow.png);
    background-size: 100% 50%;
    background-repeat: no-repeat;
    width: 35%;
    height: 10%;
    opacity: 100%;
    filter: opacity(0.5) saturate(0) brightness(5);
}

.pause{
    align-items: center;
    text-align: center;
    z-index: 20;
    position: absolute;
    background: rgba(0, 0, 0, 0.75);
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
}

.pause h1{
    font-family: Main-Menu;
    margin-top: 15%;
    font-size: 5vmax;
}

.pause p{
    display: contents;
    font-size: 2vmax;
    margin: 1%;
}

.timer h3{
    padding: 0;
    margin: 0;
}

.power-number-lost{
    transition: bottom 0.5s, filter 0.5s, opacity 5s;
    filter: opacity(0);
    color: rgb(255, 0, 0);
    left: 11.27%;
    bottom: 6.4%;
    font-family: OCR-A;
    position: absolute;
    z-index: 20;
}

.power{
    font-family: OCR-A;
    position: absolute;
    z-index: 20;
    padding: 2%;
    bottom: 0;
    z-index: 19;
}

.power p{
    display: contents;
}

.power-usage{
    display: flex;
    gap: 5%;
}

.usage{
    display: flex;
    gap: 0.1vmax;
}

.usage div{
    width: 1vmax;
    height: 2vmax;
}

.usage div:nth-child(1){
    background: rgb(0, 255, 0);
}

.usage div:nth-child(2){
    background: rgb(105, 255, 0);
}

.usage div:nth-child(3){
    background: rgb(255, 255, 0);
}

.usage div:nth-child(4){
    background: rgb(255, 0, 0);
}

.usage div:nth-child(5){
    background: rgb(100, 0, 0);
}

footer{
    z-index: 1;
    display: flex;
    position: absolute;
    justify-content: space-between;
    width: 80%;
    bottom: 0;
}

footer p{
    margin: 1%;
    padding: 0;
}

.navbar{
    width: 100vw;
    height: 100vh;
    display: flex;
    align-content: center;
}

.settings{
    z-index: 25;
    width: 100vw;
    height: 100vh;
    top: 0%;
    display: none;
    position: absolute;
    align-content: center;
}

.nav-text{
    backdrop-filter: brightness(0.25) blur(1vmax);
    position: relative;
    align-content: center;
    top: 0%;
    min-width: 15vmax;
    height: 100%;
    color: white;
}

.settings-text{
    backdrop-filter: brightness(0.25) blur(1vmax);
    position: relative;
    align-content: center;
    top: 0%;
    min-width: 15vmax;
    height: 100%;
    color: white;
}

.nav-selector, .settings-selector{
    margin: 15%;
    display: flex;
    flex-direction: column;
    display: inline-block;
}

.top-bar{
    z-index: 5;
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    height: 10%;
}

.bottom-bar{
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0%;
    width: 100%;
    height: 90%;
}

.scene-num{
    margin: 1%;
}

.cn-modes{
    display: flex;
    gap: 5%;
}

.cn-add{
    text-wrap-mode: nowrap;
    display: flex;
    text-align: center;
    align-items: center;
    background: rgba(128, 128, 128, 0.5);
    border-radius: 0.5vmax;
    margin: 1%;
    padding: 1%;
}

.cn-begin{
    justify-content: center;
    align-items: center;
    padding: 2%;
    background: rgba(128, 128, 128, 0.5);
    transition: transform 0.125s, background-color 0.125s;
    border: 0.1vmax solid rgba(255, 255, 255, 0.5);
    border-radius: 1vmax;
    margin: 1%;
    text-align: center;
}

.cn-begin:hover{
    transform: scale(1.25);
    background-color: rgba(128, 128, 128, 1);
}

.characters{
    display: flex;
}

.cn-character{
    padding: 1%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 15vmax;
    height: 25vmax;
    margin: 1%;
    border-radius: 2vmax;
}

.character-img{
    width: 90%;
    height: 90%;
    border-radius: 1vmax;
}

.cn-arrows{
    display: flex;
    justify-content: center;
}

.chr-arrow{
    padding: 10%;
    background: rgba(128, 128, 128, 0.5);
    border-radius: 1vmax;
    margin: 5%;
}

.dif-text{
    font-size: 150%;
}

.light-div{
    position: fixed;
    display: flex;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5%;
    height: 10%;
    margin: 1%;
    background: url(files/images/office/lightbutton.png);
    background-size: 100% 100%;
    border-radius: 1vmax;
    z-index: 7;
}

.pause-button{
    position: fixed;
    width: 4%;
    height: 7%;
    margin: 1%;
    background: url(files/images/office/pausebutton.png);
    background-size: 100% 100%;
    border-radius: 1vmax;
    z-index: 15;
}

.door-button{
    border-radius: 1vmax;
    width: 5%;
    height: 10%;
    position: absolute;
    background: url(files/images/office/button.png);
    transition: 0.1s filter;
    background-size: 100% 100%;
    z-index: 100;
    bottom: 35%;
}

.door-button-left, .door-button-right{
    z-index: 10;
}

.extra-title{
    font-size: 200%;
}

.scene-container{
    width: 80%;
    height: 90%;
}

.extra-container, .settings-container{
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

.scene-show, .settings-show{
    backdrop-filter: brightness(0.25) blur(0.5vmax);
    align-items: center;
    position: relative;
    top: 0%;
    width: 100%;
    height: 100%;
}

.settings-show h1{
    text-align: center;
    margin: 0;
}

.settings-button{
    font-size: 2vmax;
    border: 0.1vmax solid rgba(128, 128, 128, 0.5);
    background: rgba(128, 128, 128, 0.25);
    transition: transform 0.125s, background-color 0.125s;
    border-radius: 2vmax;
    z-index: 10;
    width: 12%;
    text-align: center;
    position: absolute;
    bottom: 2%;
    right: 2%;
    padding: 1%;
    margin: 1%;
}

.settings-button:hover{
    border: 0.1vmax solid rgba(128, 128, 128, 1);
    background-color: rgba(128, 128, 128, 0.5);
    transform: scale(1.25)
}

.scene{
    width: 80%;
    height: 90%;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.arrow{
    filter: brightness(0.5);
    transition: filter 0.125s;
    width: auto;
    height: 3vmax;
    padding: 1%;
    background: rgba(128, 128, 128, 0.5);
    position: absolute;
    text-align: center;
    align-content: center;
    border-radius: 1vmax;
    margin: 2%;
    z-index: 1;
    top: 15%;
}

.arrow:hover{
    filter: brightness(1)
}

.arrow-left{
    left: 0%;
}

.arrow-right{
    right: 0%;
}

.jumpscare{
    position: absolute;
    top: 0%;
    z-index: 12;
    width: 100vw;
    height: 100vh;
}

.doors *{
    position: absolute;
    transition: 0.5s bottom;
    width: 35%;
    height: 75%;
    background: url(files/images/office/door.png);
    background-size: 100% 100%;
    z-index: 4;
}

.switch{
    background: linear-gradient(270deg,rgba(255, 0, 0, 1) 0%, rgba(155, 0, 0, 1) 40%, rgba(255, 0, 0, 1) 49%, rgba(155, 0, 0, 1) 50%, rgba(255, 125, 0, 1) 51%, rgba(155, 65, 0, 1) 60%, rgba(255, 125, 0, 1) 100%);
    border-radius: 0.25vmax;
    margin-right: 5%;
    width: 3.5vmax;
    height: 2vmax;
}

.enabled{
    color: rgb(255, 0, 255);
    text-shadow: rgb(255, 0, 255) 0 0 1vmax;
    filter: hue-rotate(90deg)
}

.cheats{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cheat-text{
    text-align: center;
    align-content: center;
}

.row{
    display: flex;
    flex-direction: row;
    width: 25%;
    margin: 1%;
}

.stars{
    margin: 2%;
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
    top: 0%;
    right: 0%;
}

.stars *{
    z-index: 1;
    background: url(files/images/menu/star.png);
    filter: brightness(0) invert(1);
    background-size: 100% 100%;
    width: 5vmax;
    height: 5vmax;
}

.stars *:nth-child(4){
    animation: starShine 1s infinite
}

.ending{
    position: absolute;
    top: 0%;
    width: 100%;
    height: 100%;
}

.golden-robert{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    background: url(files/images/characters/robert/scare.png);
    background-color: hsl(0, 100%, 25%);
    background-size: 100% 100%;
}

.volume-slider, .volume-slider-master{
    font-size: 2vmax;
    border: 0.1vmax solid white;
    background: rgba(128, 128, 128, 0.25);
    border-radius: 2vmax;
    z-index: 20;
    width: 80%;
    display: flex;
    flex-direction: column;
    margin: 2% auto;
}

.volume-main{
    display: flex;
    justify-content: right;
    margin-right: 3%;
}

.volume-main p{
    margin: 1%;
    text-align: center;
    align-content: center;
}

.volume-button{
    filter: brightness(0.5);
    transition: filter 0.125s;
    background: rgba(128, 128, 128, 1);
    width: 10%;
    margin: 1%;
    border-radius: 0.5vmax;
}

.volume-button:hover{
    filter: brightness(1)
}

.volume-main input{
    font-size: 100%;
    background: rgb(0, 0, 0, 0);
    border: 0 solid;
    color: white;
    text-align: right;
    width: 25%;
}

.gpSettings-master{
    font-size: 2vmax;
    border: 0.1vmax solid white;
    background: rgba(128, 128, 128, 0.25);
    border-radius: 2vmax;
    z-index: 20;
    width: 80%;
    display: flex;
    flex-direction: column;
    margin: 2% auto;
}

.gpSetting{
    display: flex;
    align-items: center;
    justify-content: right;
}

.gpSetting .switch{
    margin: 0 5%;
}

.gpSetting p{
    margin: 1%;
    text-align: center;
    align-content: center;
}

.keyBind{
    display: flex;
}

.keyBind p{
    margin: 1%;
    text-align: center;
    align-content: center;
}

.keyBind-highlight{
    color: red;
    font-weight: 1000;
}

.GDT-reset p{
    padding: 1%;
    text-align: center;
    font-size: 3vmax;
}

.extra-container::-webkit-scrollbar{display: none}
.extra-container{-ms-overflow-style: none;scrollbar-width: none}
.settings-container::-webkit-scrollbar{display: none}
.settings-container{-ms-overflow-style: none;scrollbar-width: none}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button{-webkit-appearance: none}
input[type=number]{-moz-appearance: textfield}

.text:hover, .GDT-reset:hover, .settings-button:hover, .gpSetting:hover, .button:hover, .pause p:hover, .arrow:hover, .row-hover:hover, .chr-arrow:hover,.cn-add:hover, .playButton a:hover, .cn-begin:hover, .door-button-left:hover, .door-button-right:hover, .light-div:hover, .pause-button:hover, .change-floor-button:hover, .call-button:hover, .volume-button:hover{
    cursor: pointer;
}

@keyframes starShine {
    0%{
        filter: drop-shadow(0 0 1rem rgb(255, 200, 0));
    }
    50%{
        filter: drop-shadow(0 0 2rem rgb(255, 255, 125));
    }
    100%{
        filter: drop-shadow(0 0 1rem rgb(255, 200, 0));
    }
}