/*


*/

* {
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.section-1 {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr;
    overflow: hidden;
}

.section-2 {
    display: grid;
    grid-column: 2/3;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    background-color: gray;
}

nav {
    width: 200px;
    padding: 10px;
    display: flex;
    justify-content: center;
    background-color: #E0DED8;
    flex-wrap: wrap;
    align-content: flex-start;
    row-gap: 5px;
}

header {
    min-height: 20px;
    padding: 10px;

    text-align: center;
    font-weight: bold;
    
    color: blanchedalmond;
    background-color: rgb(86, 103, 124);
    /*background-color: rgb(40, 57, 78);*/
    
    font-size: 1.5em;
    text-shadow: 3px 3px 6px rgba(60, 60, 60, 0.8);
}

footer {
    display: grid;
    min-height: 40px;
    padding-right: 20px;
    background-color: rgb(86, 103, 124);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.7em;
    text-align: end;
    align-items: center;
}

main {
    overflow: hidden;
    background-color: gray;
    opacity: 1;

    transition: all 1000ms;
}

main div.content {
    width: 100%;
    height: 100%;

    display: grid !important;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 100%;

    /*background-image: url(../assets/9_3.jpg);
    background-size: cover;
    background-position: right;*/
    

    overflow-x: auto;
    overflow-y: hidden;

    transition: all 300ms;
}

canvas:focus-visible {
    outline: none;
}

.btn {
    width: 150px;
    height: 35px;
    background-color: gray;
    border-radius: 3px;

    display: grid;
    justify-items: center;
    align-items: center;

    cursor: pointer;
}

.btn.on {
    background-color: green;
}



#loading {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: black;
    /*background-image: url(../assets/gui/loading-6324_512.gif);
    background-position: center 90%;
    background-size: 20%;*/
    background-image: url(../assets/gui/galaxy-6141.gif);
    background-position: center 90%;
    background-size: 40%;
    background-repeat: no-repeat;
    
    transition: all 1000ms;
    
    z-index: 1000;
}



.invisible {
    opacity: 0;
    user-select: none;
    z-index: -1;
}




