/* #region Fonts */

*{
    font-family: "Caveat", monospace;
}

/* #endregion Fonts */


/* Colour Schemes */

.colour1
{
    background-color: rgba(112, 109, 84);
    color: white;
}

.colour2
{
    background-color: rgba(160, 137, 99);
    color: white;
}

.colour3
{
    background-color: rgba(201, 177, 148);
    color: black;
}

.colour4
{
    background-color: rgba(219, 219, 219);
    color: black;
}


/* #region Background CSS */
    .backgroundImage
    {

        background-color: rgba(201, 177, 148);

        @media (max-width : 768px) {
            background-color: rgba(201, 177, 148);
        }    

    }
/* #endregion Background CSS End */


/* #region Start Menu */
    .startMenu__div
    {
        display: grid; 
        position: absolute; 
        width: 60dvw;
        height: 30dvh;
        top: 50dvh;
        left: 50dvw;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr; 
        transform: translate(-50%, -50%);
        z-index: 3; 
        font-size: 24px;     
        
    }

    .startMenu__btn
    {
        display: block;
        height: 90%;
        width: 100%;    
        word-wrap: normal; 
        overflow: scroll;
        color: white;
        font-size: 24px;
        border: solid black 4px;        
        
    }

    
/* #endregion Start Menu End */

/* #region Toolbar */

    .toolbar__div
    {
        display: none;
        position: absolute; 
        width: 95dvw;
        height: 5dvh;
        min-height: 50px;
        top: 0dvh;
        left: 5dvw;        
        z-index: 25; 
        font-size: 32px; 

        text-align: center; 
        align-content: center;
        color: black;        

        border: solid black 4px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;

        

        @media (max-width : 768px) {
            height: 10dvw;
            width: 90dvw;
            left: 10dvw;
            font-size: 16px;
        }        
    }

    .toolbar__element
    {
        display: block;    
        width: 100%;
        height: 100%;
        
        
        font-size: 16px; 
        text-align: center; 
        align-content: center;
        color: white;

        border: solid black 1px;

        

        @media (max-width : 768px), (max-height : 768px) {        
            font-size: 12px;
        }        
    }

/* #endregion Toolbar End */

/* #region Home Map */
.homeMap__div
{
    position: absolute;
    display: none;
    top: 0dvh;
    left: 0dvw;
    width: 100dvw;
    height: 100dvh;        
    
    z-index: 10;
    font-size: 16px;
    color: white;      
    
    
    @media (max-width : 768px) {
        font-size: 12px;        
    }   
}

.homeMap__missions__btn
{
    position: absolute;
    display: block;
    top: 30dvh;
    left: 30dvw;
    width: 40dvw;
    height: 15dvh;      
    
    
    z-index: 20;
    font-size: 24px;    
    color: white;      
    
    
    @media (max-width : 768px) {
        font-size: 16px;        
    }   
}

.homeMap__characters__btn
{
    position: absolute;
    display: block;
    top: 50dvh;
    left: 30dvw;
    width: 40dvw;
    height: 15dvh;   
    
    
    z-index: 20;
    font-size: 24px;
    
    color: white;      
    
    
    @media (max-width : 768px) {
        font-size: 16px;        
    }   
}
/* #endregion Home Map */

/* #region Campaign Map */

.campaignMap__mission__buttons__div
{
    position: absolute;
    display: none; 

    top: 10%;
    left: 10%;   
    
    width: 30%;
    height: 40%;

    grid-template-columns: repeat(1,1fr); 
    z-index: 5;
    

    font-size: 24px;
}

.campaignMap__mission__button
{
    display: "block";
    width: 100%;
    height: 90%;  

    font-size: 24px;
    color: white;

    
    background-size: "100% 100%";

    border: solid black 2px;
}


.campaignMap__mission__info__div
{
    position: absolute; 
    display: none; 

    justify-items: center;
    align-items: center;

    top: 10dvh;
    left: 50dvw;
    
    width: 40dvw;
    height: 80dvh;

    grid-template-rows: 1fr 3fr 4fr 1fr; 
    z-index: 2;

    border: solid black 4px;
}

.campaignMap__mission__info__title
{    
    display: block; 

    width: 100%;
    height: 100%;

    font-size: 24px;
    color: white;

    border: solid black 2px;
    
    background-size: "100% 100%";
    
}

.campaignMap__mission__info__image
{    
    width: 90%;
    height: 90%;

}

.campaignMap__mission__info__description
{
    display: block; 

    width: 100%;
    height: 100%;

    font-size: 24px;
    color: white;

    padding: 15px;

    border: 0;

    
    background-size: "100% 100%";
}

.campaignMap__mission__info__startMission__btn
{
    display: block; 

    width: 100%;
    height: 100%;

    font-size: 24px;
    color: white;

    border: solid black 2px;
    
    background-size: "100% 100%";
}


/* #endregion Campaign Map End */


/* #region  Storyline*/

.storyline__div
{
    position: absolute; 
    display: none; 

    top: 5%; 
    left: 5%; 
        
    width: 90%; 
    height: 90%; 

    z-index: 7; 
    border: 0
}

.storyline__text
{
    display: block;

    margin: auto;
    border: 0;    

    height: 30%;
    width: 100%;
        
    color: white; 
    font-size: 20px;

    pointer-events: none;

    
    background-size: "100% 100%";
}

.storyline__image
{
    display: block;

    margin: auto;
    border: 0;    

    height: 70%;
    width: 100%;
        
    /* grid-column-end: span 2; */
    pointer-events: none;
    
    background-size: "100% 100%";
}

.storyline__start__btn
{
    display: block;
    position: absolute;

    top: 85%;
    left: 30%;

    height: 10%;
    width: 40%;

    color: white; 
    font-size: 20px;

    grid-column-end: "span 4";
    grid-row-end: "span 1";

    margin: "auto";

    border: 0;

    
    background-size: "100% 100%";
}

/* #endregion  Storyline*/

/* #region Battle Preparation */

.missionPrep__div
{
    display: none; 
    position: absolute; 
    
    top: 5%; 
    left: 10%; 

    width: 80%;
    height: 40%;
    
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 4fr; 
    z-index: 5; 

    justify-content: center; 
    align-items: center;
}

.missionPrep__title
{
    display: block; 
    
    width: 100%; 
    height: 100%; 

    font-size: 24px;
    color: white;
    border: solid black 4px;
    
    
    background-size: 100% 100%;

    grid-column-end: span 2;
}

.missionPrep__selectedCharacters
{
    height: 20%; 
    width: 100%; 
    
    margin: auto;

    color: white;
    font-size: 24px;

    

    border: solid black 1px;
    padding: 0px;
}

.missionPrep__selectedCharacters__div
{
    display: inline-block; 
    
    z-index: 2; 
    
    width: 100%; 
    height: 100%;
}

.missionPrep__image
{
    display: block; 
    
    width: 100%; 
    height: 100%; 
    
    z-index: 2; 
    
    
    background-size: 100% 100%;
}

.missionPrep__possibleCharacters__div
{
    position: absolute; 
    display: none; 

    top: 50%;
    left: 10%;

    height: 30%;
    width: 60%;

    row-gap: 5px;
    column-gap: 5px;
    
    grid-template-columns: repeat(5, 1fr); 
    grid-template-rows: 1fr 1fr; 
    
    z-index: 2;
}

.missionPrep__possibleCharacters
{
    display: "block";
    width: "100%";
    height: "100%";  

    font-size: 24px;
    color: white;

    
    background-size: "100% 100%";

    border: 0;
}

.missionPrep__possibleCharacters__info__div
{
    position: absolute; 
    display: none;

    width: 20%;
    height: 30%;

    left: 75%;
    top: 50%;



    grid-template-columns: repeat(1, 1fr); 
    
    z-index: 2;
}

.missionPrep__possibleCharacters__info__text
{
    height: 100%; 
    width: 100%; 
    
    padding: 0px;

    color: white;
    font-size: 20px;

    
    background-size: "100% 100%";

    border: 0;
}

.missionPrep__startMission__btn
{
    position: absolute; 
    display: none; 

    top: 85%;
    left: 70%;
    
    width: 20%; 
    height: 10%; 

    
    background-size: 100% 100%;

    color: white;
    font-size: 20px;
    border: 0;

    z-index: 2
}

.missionPrep__roster__btn
{
    position: absolute; 
    display: none; 

    top: 85%;
    left: 40%;
    
    width: 20%; 
    height: 10%; 

    
    background-size: 100% 100%;

    color: white;
    font-size: 20px;
    border: 0;

    z-index: 2
}

.missionPrep__back__btn
{
    position: absolute; 
    display: none; 

    top: 85%;
    left: 10%;
    
    width: 20%; 
    height: 10%; 

    
    background-size: 100% 100%;

    color: white;
    font-size: 20px;
    border: 0;

    z-index: 2
}

.missionStart__info__div
{
    position: absolute; 
    display: none; 

    top: 20%; 
    left: 5%; 

    width: 90%;
    height: 60%;
    
    z-index: 10; 
    font-size: 32px;

    border: 0;

    grid-template-rows: repeat(1,2fr 1fr); 

    
}

.missionStart__info__title
{
    display: block;

    width: 100%;
    height: 100%;

    border: 0;

    font-size: 24px;
}

.missionStart__info__description
{
    display: block;
    
    width: 100%;
    height: 100%;

    font-size: 24px;
    color: white;

    border: 0;

    
}

.missionStart__info__start__btn
{
    display: block;
    
    width: 100%;
    height: 100%;

    font-size: 24px;
    color: white;

    border: 0;

    
}

/* #endregion Battle Preparation End */

/* #region Battle Scene */

.battleScene__div
{
    display: none;
    position: absolute;
    width: 100dvw;
    height: 100dvh;
    top: 0dvh;
    left: 0dvw;    
    z-index: 10;


}

.battleScene__characters__div
{
    display: block;
    position: absolute;
    width: 100dvw;
    height: 60dvh;
    top: 5dvh;
    left: 0dvw;
    grid-template-rows: 3fr 1fr 3fr;
    
    border: 0;

    z-index: 10;
       
}

.battleScene__title
{
    display: none;
    position: absolute;
    width: 80dvw;
    height: 80dvh;
    top: 5dvh;
    left: 10dvw;
    grid-template-rows: 1fr 2fr 1fr 3fr;

    border: solid black 1px;

    z-index: 10;

    
   

}



.battleScene__character__name
{
    display: block;
    color: white;    
        
    text-wrap: nowrap;
    overflow: scroll;
    
    font-size: 16px;
    border: 0;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 12px;
    }
}

.battleScene__character__image
{
    display: block;
    color: black;
    
    font-size: 20px;
    border: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 16px;
    }
}

.battleScene__character__info
{
    display: grid;
    color: black;
    text-wrap: nowrap;
    overflow: scroll;

    width: 100%;
    height: 100%;
    
    font-size: 14px;
    border: 0;

    grid-template-columns: 1fr;
    grid-template-rows: 1fr 3fr;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }
}

.battleScene__character__energyBar
{
    display: block;  
    border: 0;
    padding: 0;
    margin: 0; 
    width: 100%;
    height: 100%;
    
} 

.battleScene__character__statuses
{
    display: block;
    
    font-size: 12px;
    border: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    
    color: white;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }
}


.battleScene__player__name
{
    display: block;
    color: black;
    text-wrap: nowrap;
    overflow: scroll;
    
    font-size: 16px;
    border: 0;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 12px;
    }
}

.battleScene__player__image
{
    display: block;
    color: black;
    
    font-size: 20px;
    border: solid black 1px;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 16px;
    }
    
}

.battleScene__player__info
{
    display: block;
    color: black;
    text-wrap: nowrap;
    overflow: scroll;
    
    font-size: 14px;
    border: 0;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }
}

.battleScene__playerTurn__div
{
    position: absolute;
    display: none;
    bottom: 0dvh;
    left: 0dvw;
    width: 20dvw;
    height: 10dvh;            
    z-index: 20;
    font-size: 16px;
    color: white;
    grid-template-columns: 1fr;    
    grid-template-rows: 1fr 3fr;
    border: solid black 2px;
    

    @media (max-width : 768px) {
        font-size: 12px;        
    }        
}

.battleScene__playerTurn__name
{
    display: block;
    color: white;
    
    font-size: 14px;
    border: 0;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }
}

.battleScene__playerTurn__image
{
    display: block;
    color: white;
    
    font-size: 14px;
    border: 0;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }
}

.battleScene__actionBar__div
{
    position: absolute;
    display: none;
    bottom: 0dvh;
    left: 20dvw;
    width: 80dvw;
    height: 10dvh;        
    
    z-index: 20;
    font-size: 16px;
    color: white;
    grid-template-columns: 5fr 1fr;    
    grid-template-rows: 1fr;
    border: 0;
    
    @media (max-width : 768px) {
        font-size: 12px;        
    }        
}

.battleScene__playerMoves__div
{    
    display: none;           
    
    z-index: 20;
    font-size: 16px;
    color: white;
    grid-template-columns: repeat(5,1fr);    
    grid-template-rows: 1fr;
    

    @media (max-width : 768px) {
        font-size: 12px;        
    }        
}

.battleScene__playerMoves__skipTurn__btn
{
    display: none;
    color: white;
    
    font-size: 24px;
    border: solid black 1px;
    padding: 5px;
    
    box-sizing: border-box;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 18px;
    }
}

.battleScene__moveDetails__div
{
    position: absolute;
    display: none;
    bottom: 10dvh;
    left: 0dvw;
    width: 40dvw;
    height: 15dvh;            
    z-index: 20;
    font-size: 16px;
    color: white;
    /* grid-template-columns: repeat(6,1fr);     */
    grid-template-rows: 1fr 3fr;
    

    @media (max-width : 768px) {
        font-size: 12px;        
    }        
}

.battleScene__moveDetails__text
{
    display: block;
    color: white;
    
    font-size: 14px;
    border: solid black 1px;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }    
}

.battleScene__characterDetails__statuses__div
{
    position: absolute;
    display: none;
    bottom: 10dvh;
    left: 60dvw;
    width: 40dvw;
    height: 7.5dvh;            
    z-index: 20;
    font-size: 16px;
    color: white;      
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 4fr 1fr;
    

    @media (max-width : 768px) {
        font-size: 12px;        
    }     
}

.battleScene__characterDetails__statuses__text
{
    display: block;
    color: white;
    
    font-size: 14px;
    border: solid black 1px;
    grid-column: span 3;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }   
}

.battleScene__characterDetails__div
{
    position: absolute;
    display: none;
    bottom: 10dvh;
    left: 60dvw;
    width: 40dvw;
    height: 15dvh;         
    z-index: 20;
    font-size: 16px;
    color: white;      
    grid-template-rows: 1fr 3fr;
    

    @media (max-width : 768px) {
        font-size: 12px;        
    }        
}

.battleScene__characterDetails__text
{
    display: block;
    color: white;
    
    font-size: 14px;
    border: solid black 1px;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }    
}

.battleScene__characterDetails__description
{    
    display: grid;    
    z-index: 10;
    font-size: 16px;
    color: white;      
    grid-template-columns: repeat(5,1fr);
    grid-template-rows: 1fr 1fr;
    

    @media (max-width : 768px) {
        font-size: 12px;        
    }        
}

.battleScene__characterDetails__description__text
{
    display: block;
    color: white;
    
    font-size: 12px;
    border: solid black 1px;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 8px;
    }    
}

.battleScene__useMove__btn
{
    position: absolute;
    display: none;
    bottom: 10dvh;
    left: 40dvw;
    width: 20dvw;
    height: 15dvh;        
    z-index: 10;
    font-size: 16px;
    color: white;    
    

    @media (max-width : 768px) {
        font-size: 12px;        
    }        
}

.battleScene__playerMoves__move__div
{
    display: block;
    color: white;

    width: 100%;
    height: 100%;
    
    font-size: 14px;
    border: 0;
    
    
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }
}




/* #region Battle Scene - Rewards */
.battleScene__rewards__div
{
    position: absolute;
    display: none;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;            
    z-index: 10;
    font-size: 16px;
    color: white;    
    
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 5fr 2fr;

    @media (max-width : 768px) {
        font-size: 12px;        
    }    
}

.battleScene__rewards__title
{
    display: block;
    color: white;
    
    font-size: 14px;
    border: 0;


    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }
}

.battleScene__rewards__description
{
    display: block;
    color: white;
    
    font-size: 14px;
    border: 0;


    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }
}

.battleScene__rewards__continue__btn
{
    display: block;
    color: white;
    
    font-size: 14px;
    border: solid black 1px;


    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 10px;
    }
}
/* #endregion Battle Scene - Rewards */

/* #endregion Battle Scene */


/* #region Shader */

.shader__div
{
    display: none; 
    position:absolute; 
    
    top:0; 
    left: 0; 
    
    width: 100dvw; 
    height: 100dvh; 
    z-index: 10; 
    
}

/* #endregion Shader */


/* #region battleActionBar.js */

.battleScene__playerMoves__move__image
{        
    display: block;    
    color: white;    

    width: 100%;
    height: 100%;
    
    font-weight: bold;
    font-size: 28px;    
    border: solid black 1px;

    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    box-sizing: border-box;
    
    @media (max-width : 768px), (max-height : 768px) {        
        font-size: 24px;
    }
}


/* #endregion battleActionBar.js */