/**********************************************************************************************************************
* Author:       necio games
* Date:         2022-11-21
* copyright:    © necio games
* webpage:      www.neciogames.com
* Last Update: 	2022-11-23 by: necio games
*______________________________________________________________________________________________________________________
*
* Description:  The stylesheet for neciogames on itch.io
*			
**********************************************************************************************************************/


/****************************************************************************************************************
* Variables Declaration:
*****************************************************/

:root {
    /*--pagewindow-width: 1050px;*/
    /*--screenwidth-mobile: 725px;*/
    --ng-gray: #747474;
    --ng-red: #C5000B;
    --ng-black: #000;
    --ng-light-black: #1A171B;
    --ng-white: #fff;
    --ng-background-color: var(--ng-black);
    --ng-submenu-background-color: var(--ng-light-black);
    --ng-gray-transparent: #747474E6;
    --ng-black-transparent: #000000E6;
    --ng-red-transparent: #C5000B99;
}


/*****************************************************
* End of Variables Declaration!
****************************************************************************************************************/


/****************************************************************************************************************
* Main Page Layout:
*****************************************************/

.background {
    background-color: var(--ng-background-color);
}

.line {
    border-color: var(--ng-gray);
    border: none;
    border-bottom: 1px solid var(--ng-gray);
}

.text {
    color: var(--ng-gray);
}

.font {
    font-family: Arial, monospace, sans-serif;
}


/****************************************************************************************************************
* Online Game Section:
*****************************************************/


/*****************************
* Progress Bar and Spinner:
**/


/*****************************
* Loading Spinner:
**/

.spinner {
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    margin: auto;
}

.spinner-sector {
    border-radius: 50%;
    position: absolute;
    width: 60%;
    height: 60%;
    /*border: 5px solid transparent;*/
}

.spinner-sector-top {
    border-top: 5px solid var(--ng-red);
}

.spinner-sector-bottom {
    animation: spinnerrotation 2.5s ease-in infinite;
    border-bottom: 5px solid var(--ng-red);
}

.spinner-sector-left {
    animation: spinnerrotation 2.5s ease-in infinite;
    border-left: 5px solid var(--ng-black);
}

.spinner-sector-right {
    animation: spinnerrotation 2.5s ease-in infinite;
    border-right: 5px solid var(--ng-black);
}

@keyframes spinnerrotation {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}


/**
* End of Loading Spinner!
*****************************/


/*****************************
* Loading Progressbar:
**/

.container-progress-bar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.progress-bar {
    box-sizing: border-box;
    position: relative;
    width: 200px;
    height: .8em;
    background-color: var(--ng-submenu-background-color);
    border-radius: .8em;
    color: var(--ng-gray);
}

.progress-bar::before {
    content: attr(data-label);
    font-size: .7em;
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: calc(var(--width, 0) * 1%);
    min-width: 0.5rem;
    max-width: calc(100% - 0.5em);
    background-color: var(--ng-red);
    border-radius: 1em;
    padding: 0.2em;
}


/**
* End of Loading Progressbar!
*****************************/


/**
* End of Progress Bar and Spinner!
*****************************/

.game-container {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /*margin: auto;*/
    flex-direction: column;
}


/*****************************
* Fullscreen Icon:
**/

.game-fullscreen-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-fullscreen-icon {
    background-image: url("../_pics/neciogames_fullscreen_icon.png");
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    float: right;
}

.game-fullscreen-icon:hover {
    background-image: url("../_pics/neciogames_fullscreen_icon_hover.png");
}


/**
* End of Fullscreen Icon!
*****************************/


/*****************************
* Unity styles:
**/

#unity-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin: auto;*/
}

#unity-canvas {
    background: #FFFFFF
}


/**
* End of Unity styles!
*****************************/

.onlinegame-show {
    display: block;
}

.onlinegame-hide {
    display: none;
}

.online-game-distance {
    height: 75px;
}


/*****************************************************
* End Online Game Section!
****************************************************************************************************************/


/****************************************************************************************************************
* Consent Modal Section:
*****************************************************/


/*****************************
* Modal Container (background):
**/

.modal-container {
    /* The Modal (background) */
    /* fixed position: */
    position: fixed;
    /* 1 or 3 : 1 doesnot involve the navbar. 3 overlaps everything */
    z-index: 1;
    padding-top: 100px;
    /* Container overtakes the whole screen */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* Enable scroll if needed */
    overflow: auto;
    /* fallback color */
    background-color: var(--ng-black);
    /* transparent color */
    background-color: var(--ng-black-transparent);
}


/**
* End of Modal Container (background)!
*****************************/


/*****************************
* Modal Content:
**/

.modal-content {
    position: relative;
    background-color: var(--ng-black);
    /*margin: auto;*/
    margin-top: 50px;
    margin-right: auto;
    margin-bottom: auto;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--ng-red);
    width: 45%;
    border-radius: 15px;
    box-shadow: 0 0 15px 5px var(--ng-red-transparent);
}

.modal-headline {
    text-align: center;
}

.modal-body {
    background-color: var(--ng-black);
    padding-left: 10px;
    padding-right: 10px;
}

.modal-footer {
    text-align: center;
    padding-bottom: 10px;
}

.modal-button {
    background-color: var(--ng-gray);
    color: var(--ng-black)!important;
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: break-word;
}

.modal-button:hover {
    color: var(--ng-white)!important;
    background-color: var(--ng-gray)!important;
}

@media screen and (max-width: 725px) {
    .modal-content {
        width: 75%;
    }
}


/**
* End of Modal Content!
*****************************/

.modal-show {
    display: block;
}

.modal-hide {
    display: none;
}


/*****************************************************
* End Consent Modal Section!
****************************************************************************************************************/