@import url('bulma.css');
@import url('delta.css');
@import url('fontawesome.min.css');

:root {
    --background: #E3E9F7;
    --bg1: #F1F4FB;
    --bg2: #FFFFFF;

    --primary-light: #78B7FF;
    --primary: #4B9FFF;
    --primary-dark: #376196;
    --primary-very-dark: #212C3E;

    --purple-light: #B76CBD;
    --purple: #9F3AA6;
    --purple-dark: #612F69;

    --green-light: #40D2B4;
    --green: #00C39A;
    --green-dark: #117363;

    --red-light: #FB796B;
    --red: #F94C39;
    --red-dark: #8E3833;

    --yellow-light: #FFCD72;
    --yellow: #FFBC42;
    --yellow-dark: #C77A3B;

    --orange-light: #F59D65;
    --orange: #FA8334;
    --orange-dark: #C26930;

    --text: #313641;
    --title: #121418;

    --cover: url(../assets/dark-bg.svg), url(../assets/dark-bg2.svg), url(../assets/logo.svg);
    --soft: 
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --background: #1A1B22;
        --bg1: #22232C;
        --bg2: #313641;

        --text: #838692;
        --title: #FFFFFF;

        --cover: url(../assets/bg.svg), url(../assets/bg2.svg), url(../assets/logo.svg);
    }
}

*:not(.fas) {
    font-family: 'Source Sans Pro', sans-serif;
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-light);
}

#game,
.high {
    height: 100vh;
}

.section {
    height: 100%;
}

html {
    overflow: hidden;
    font-size: 12px;
    background: var(--background);
    background-image: var(--cover);
    background-repeat: repeat, repeat, no-repeat;
    background-position: center;
    background-size: 500px, 200px, 250px;
    height: 100%;
    width: 100%;

}

body {
    letter-spacing: 0.2rem;
    margin: 0;
    height: 100%;
    width: 100%;
    color: var(--text);
}

hr {
    background-color: var(--bg2);
    margin-top: 5px;
    margin-bottom: 5px;
}

strong,
.is-white{
    color: var(--title)!important;
}

.logicon {
    max-height: 50px;
    display: block;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 25px;
}

.digi {
    font-family: 'Orbitron', sans-serif;
}

.input {
    background-color: var(--background);
    border-color: var(--bg2);
    color: var(--text) !important;
    box-shadow: none;
}

::placeholder {
    color: var(--text) !important;
}

.input:focus {
    border-color: var(--primary);
}

/* COLORS */

.is-gold {
    color: var(--yellow);
}

.is-blue {
    color: var(--primary);
}

.is-red {
    color: var(--red);
}

.is-green {
    color: var(--green);
}

.is-purple {
    color: var(--purple);
}

.is-orange {
    color: var(--orange);
}

/* ICONS */

.icon.large i{
    font-size: 2.5rem;
}

/* BUTTON */

.pushable {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    text-align: center;
    padding: 2.5px 15px;
    border-radius: 2.5px;
    background-color: var(--primary-light);
    color: var(--primary-very-dark) !important;
    font-weight: 900 !important;
    cursor: pointer;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.pushable.tall{
    height: 70px !important;
}

.pushable.disabled {
    background-color: var(--background);
    color: var(--text) !important;
    cursor: not-allowed;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.pushable.disabled:hover {
    background-color: var(--background);
}

.pushable:hover {
    background-color: var(--primary);
}

.pushable i,
.pushable span {
    margin-left: 5px;
    margin-right: 5px;
}

/* WINDOW */

.window {
    z-index: 1;
    border-radius: 5px;
    background: var(--bg1);
    border: 2px solid var(--bg2);
    box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.3);
    min-width: 300px;
    max-width: 760px;
    position: absolute;
    top: 20%;
    left: 20%;
    -webkit-touch-action: none;
    -khtml-touch-action: none;
    -moz-touch-action: none;
    -ms-touch-action: none;
    touch-action: none;
}

.window .window-bar {
    background: var(--bg2);
    backdrop-filter: blur(2px);

    border-radius: 3px 3px 0px 0px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 35px;
    cursor: move;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: var(--title);
}

.window .window-bar .close {
    display: flex !important;
    align-items: center;
    height: 15px;
    width: 15px;
    color: var(--red);
    cursor: pointer;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.window .window-bar .close:hover {
    color: var(--red-light);
}

.window-body {
    margin: 1em;
}

.window:focus {
    z-index: 99;
}

.window-modal {
    border-radius: 5px;
    background: var(--bg1);
    border: 2px solid var(--bg2);
    box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.1);
    min-width: 300px;
    max-width: 800px;
    top: 20%;
    left: 20%;
    -webkit-touch-action: none;
    -khtml-touch-action: none;
    -moz-touch-action: none;
    -ms-touch-action: none;
    touch-action: none;
}

.window-modal .window-bar {
    background: var(--bg2);

    border-radius: 3px 3px 0px 0px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 35px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: var(--title);
}


.window.is-large th{
    width: 150px;
}

.window.is-small{
    width: 400px;
}

.window.is-medium{
    width: 450px;
}

.window .manuel {
    padding: 1em;
    height: 540px;
    overflow-y: scroll;
}

.window .map {
    border-top: 2px solid var(--bg2);
    height: 540px;
    width: 565px;
    overflow-y: scroll;
}

.map.illustration {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    height: 540px !important;
    width: 565px;
}

.explo.illustration {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    height: 178.5px !important;
    width: 422px;
}

/* PLANET */

.planet {
    border-radius: 5px;
    margin: 1em;
    padding: 1em;
    border: 1px solid var(--bg1);
    background-color: var(--bg2);
}

/* TABLE */

.table {
    background-color: transparent !important;
}

.table th {
    vertical-align: middle;
    color: var(--text) !important;
    font-weight: 400;
    border-bottom: 1px solid var(--bg2);
}

.table th .pushable {
    font-weight: 700;
}

.table thead th {
    font-weight: 700;
    color: var(--text) !important;
}

.table tbody tr {
    height: 43.5px;
}

/* SOFT */

.soft {
    display: flex;
    align-content: center;
    cursor: pointer;
    margin-bottom: 15px;
    width: 300px;
}

.soft p {
    margin-left: 10px;
}

.soft i {
    font-size: 15px;
}

.soft p {
    color: var(--title);
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--background);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary);
}

/* MAP TABS */

.tabs ul {
    background: var(--bg1);
    border: 2px solid var(--bg2);
    border-radius: 4px;
    flex-direction: column;
    position: absolute;
    left: -62px;
    top: 34px;
    align-items: flex-end;
}

.tabs.offset ul {
    top: 94px;
}

.tabs ul li a {
    height: 50px;
    width: 50px;
}

.tabs ul li a {
    color: var(--white) !important;
}

.tabs.is-boxed a:hover {
    border-radius: 3px;
    background: var(--bg2);
    border-color: var(--primary) !important;
}

.tabs.is-boxed li.is-active a {
    border-radius: 3px;
    cursor: auto;
    background: var(--bg2);
    border-color: var(--primary);
    border-bottom-color: var(--primary) !important;
}

.tabs:not(:last-child) {
    margin-bottom: 0rem;
}

/* DRONES */

.drones {
    display: flex;
    align-items: center;
}

.drone {
    border: 1px solid var(--bg2);
    text-align: center !important;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    margin-right: 5px;
    color: var(--text);
    background-color: var(--bg1);
}

.drone.ok {
    border: none;
    color: var(--title);
    background-color: var(--primary);
}

.drone-push {
    cursor: pointer;
    text-align: center !important;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    margin-right: 5px;
    background-color: var(--primary-light);
    color: var(--primary-very-dark) !important;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.drone-push:hover {
    background-color: var(--primary) !important;
}

.drone-push.disabled {
    background-color: var(--bg1);
    color: var(--text) !important;
    cursor: not-allowed;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.drone-push.disabled:hover {
    background-color: var(--bg1) !important;
}

/* AVATAR */

.avatar img{
    border-radius: 5px;
}


.avatar img.selected{
    border: 4px solid var(--primary);
}
