@font-face {
    font-family: 'WhiteRabbit';
    src: url('../font/WhiteRabbit.eot');
    src: url('../font/WhiteRabbit.eot?#iefix') format('embedded-opentype'),
        url('../font/WhiteRabbit.woff2') format('woff2'),
        url('../font/WhiteRabbit.woff') format('woff'),
        url('../font/WhiteRabbit.ttf') format('truetype'),
        url('../font/WhiteRabbit.svg#WhiteRabbit') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Caslon';
    src: url('../font/CaslonAntique.ttf');
}




*, *:before, *:after {
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
	zoom: reset;
    touch-action: manipulation;
}

a:link{ color:#6969ff; font-weight:bold;} 
a:visited{ color:#6969ff } 
a:hover{ color:#6969ff; } 
a:focus{ color: #16e980; } 
a:active{ color:#d4d365; } 

/* Disable double-click to zoom on links, input fields
   and buttons to improve responsiveness */
a, input, button, .button
{
    touch-action: manipulation;
}

html{
    touch-action: manipulation!important;
}
	
body{
	background-color:#2b2f34;
    background-color: black;  

	overflow-x: hidden;
	padding:0px;
	margin:0px;	
	width:100vw;
    height:100vh;
	zoom: reset;
    user-select:none;
    color:white;
	font-family: Roboto, Arial;
    xfont-family: 'WhiteRabbit';

}

.hidden {
    display:none!important;
}

.greyed {
    filter: saturate(0%) brightness(0.9);
}

.orange {
    color: #ffd748;
    text-shadow: 0 0 1vw #FA1C16, 0 0 3vw #FA1C16, 0 0 10vw #FA1C16, 0 0 0vw #FA1C16, 0 0 .4vw #FED128, 1px 1px 0px #806914;
}

.red {
    color: rgb(255, 152, 152);
    text-shadow: 0 0 1vw #FA1C16, 0 0 3vw #FA1C16, 0 0 10vw #FA1C16, 0 0 0vw #FA1C16, 0 0 .4vw #FED128, 1px 1px 0px #806914;
}

.green {
    color: #b4ffbf;
    text-shadow: 0 0 1vw #16fab9, 0 0 3vw #16fab9, 0 0 10vw #16fab9, 0 0 0vw #16fab9, 0 0 .4vw #FED128, 1px 1px 0px #806914;
}

.blue {
    color: #b4ddff;
    text-shadow: 0 0 1vw #16c9fa, 0 0 3vw #16c9fa, 0 0 10vw #16c9fa, 0 0 0vw #16c9fa, 0 0 .4vw #FED128, 1px 1px 0px #806914;
}

.white {
    color: white;
    text-shadow: 0 0 1vw #fffbc1, 0 0 3vw #fffbc1, 0 0 10vw #fffbc1, 0 0 0vw #fffff8, 0 0 .4vw #FED128, 1px 1px 0px #7e7a68;
}


#content {
    xborder:1px solid lime;

    background-color:#21273b;
    xbackground-color:#161c28;
    position:relative;
    width:100%;
    xmax-width:1200px;
    height:100%;
    xmax-width:400px;
    margin:auto;

    display:flex;
    flex-direction:column;
    xalign-items: end;
    justify-content:space-between ;
}



#view-container {
    xborder:1px solid orange;
    
    width:100%;
    height:75%;
    position:relative;



}

#view-container > .bg-image-layer {
    position:absolute;
    width:100%;
    height:100%;
    xbackground-image: url('../img/gran_half.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-size: 100% 100%;
    xfilter:brightness(400%) contrast(0.4);
}

#view-container > .bg-color-layer {
    position:absolute;
    width:100%;
    height:100%;
    background-color:#1d2352;
    xbackground-color:#1c334f;
}

#view-container > .view {
    xborder:1px solid orange;
 
    position:relative;
    width:100%;
    height:100%;
    flex:1;
 
    display:flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;

    xbackground-image: url('../img/gran.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-size: 100% 100%;


}

#view-container > .view > .view__title {
    xborder:1px solid grey;
    padding:15px 10px 10px 10px;
    text-align: center;
    pointer-events: none;

    font-size:1.7em;
    color:#f5e9d8;
    xletter-spacing: 2px;
    xfont-family: Georgia, 'Times New Roman', Times, serif;
    font-family: Caslon;
	text-transform: uppercase;

    xtext-shadow:0px 0px 10px rgba(0, 0, 0, 0.5), 
                0px 0px 3px rgba(0, 0, 0, 0.5),
                2px 2px 0px rgba(55, 5, 5, 0.99),
                0px 0px 8px orange,
                0px 0px 3px rgb(255, 255, 255);  
                
    xbackground: rgb(2,0,36);
    xbackground: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(0,0,0,0.5) 20%, rgba(0,0,0,0.5) 80%, rgba(0,0,0,0) 100%);
}

#view-container > .view > .section {
    xborder:1px solid lime;
    width:100%;
    height:100%;
    xpadding: 5px;
} 

#view-container > .view > .section > .section__title {
    xborder:1px solid lime;
    xcolor:red;
    font-size:1.2em;
    padding:5px;
    xfont-family: Georgia, 'Times New Roman', Times, serif;
    font-family: Caslon;
} 



.view > .bottom-bar  {
    xborder:1px solid grey;
    xborder:10px solid red!important;
    xborder-top:5px solid rgb(25, 26, 33);
    width:100%;
    height: 15%;
    display:flex;
    justify-content: center;
    align-items: center;
    background-color:rgb(25, 30, 36);
    xflex:1;
    xbox-shadow: 0px -5px 5px rgba(0,0,0,0.8);
    z-index:1;
    padding-bottom:5px;
    flex-shrink:0;
}
 
.view > .bottom-bar > .buttons  {
    xborder:1px solid grey;
    width:100%;
    height: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}
 
.view > .bottom-bar > .buttons > .button {
     height:100%;
     width:50%;
     display:flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     font-family: consolas,monospace;
     position:relative;
     border-radius: 5px;
     margin:5px;
     background-color: rgb(37, 51, 71);
     border-bottom:5px solid rgb(0, 0, 0);
     border-top:2px solid rgba(255,255,255,0.2);
     box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

.view > .bottom-bar > .buttons > .button.disabled {
    opacity:0.4;
}

.view > .bottom-bar > .buttons > .button:active:not(.button.disabled),
.view > .bottom-bar > .buttons > .button.selected {
    color:rgb(68, 171, 255);
    border-bottom:0px solid rgb(0, 0, 0);
    border-top:0px solid rgba(255,255,255,0.2);
    background-color: rgb(18, 25, 36);
    box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.8);
    text-shadow:0px 0px 10px rgba(0, 0, 0, 0.5), 
        0px 0px 3px rgba(0, 0, 0, 0.5),
        2px 2px 0px rgba(55, 5, 5, 0),
        0px 0px 15px rgb(0, 234, 255),
        0px 0px 10px rgba(255, 255, 255, 0.3)
    ;  
    color: #ffd748;
    text-shadow: 0 0 1vw #FA1C16, 0 0 3vw #FA1C16, 0 0 10vw #FA1C16, 0 0 0vw #FA1C16, 0 0 .4vw #FED128, 1px 1px 0px #806914;
} 

