* {
    font-family: PlexSans-L;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    color: white;
    background-color: #29323a;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.grid {
    display: grid;
    width: 100vw;
    height: 100vh;
    place-items: center;
    position: absolute;
}

.login-box {
    width: 360px;
    height: 500px;
    background-color: #29323a;
    /* background-color: red; */
    border-radius: 3px;
    display: grid;
    z-index: 2;
    /* box-shadow: 0px 0px 28px 3px rgba(0,0,0,0.75); */
}

.topImg {
    width: 100%;
    display: grid;
    margin: auto;
    margin-bottom: -15px;
}

.container {
    display: grid; 
    grid-template-columns: 1fr; 
    grid-template-rows: 1fr 1fr 0.3fr 1fr; 
    grid-template-areas: 
      "username"
      "password"
      "rememberCheck"
      "login"; 
    margin-top: 20px;
}

.rememberCheck {
    grid-area: rememberCheck;
    align-self: center;
    justify-self: center;
    width: 308px;
    margin-top: -5px;
    font-size: 13px;
    /* margin-left: 15px; */
}

.username {
    grid-area: username;
    display: grid;
}

.passlabel {
    grid-area: passlabel;
    align-self: center;
}

.password {
    grid-area: password;
    display: grid;
}

.login {
    justify-self: center; 
    align-self: center;
    grid-area: login; 
  }

form {
    width: 308px;
    margin-left: 20px;
    display: inline-block;
}

#username, #password {
    display: flex;
    /* margin-bottom: 10px; */
}

div#username, div#password {
    width: 300px;
    height: fit-content;
    padding: 2px;
    border: none;
    border-radius: 5px;
    background-color: #29323a;
    border-color: rgb(179, 179, 179);
    border-width: 2px;
    border-style: solid;
    color: white;
    justify-self: center;
}

#username > input, #password > input {
    height: 30px;
    width: 100%;
    background-color: #29323a;
    align-self: center;
    border: none;
    color: white;
    font-size: 15px;
}

#username > input[disabled], #password > input[disabled] {
    height: 30px;
    width: 100%;
    background-color: #37434d;
    align-self: center;
    border: none;
    color: white;
    font-size: 15px;
}

input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0px 9999px #29323a;
    -webkit-text-fill-color: white;
    color: white;
    caret-color: white;
    font-size: 15px;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow:0 0 0 50px #29323a inset;
    -webkit-text-fill-color: white;
    color: white;
    caret-color: white;
    font-size: 15px;
}

input:-webkit-autofill[disabled] {
    -webkit-box-shadow: inset 0 0 0px 9999px #37434d;
    -webkit-text-fill-color: white;
    color: white;
    caret-color: white;
    font-size: 15px;
}
input:-webkit-autofill:focus[disabled] {
    -webkit-box-shadow:0 0 0 50px #37434d inset;
    -webkit-text-fill-color: white;
    color: white;
    caret-color: white;
    font-size: 15px;
}

#username > input:focus, #password > input:focus {
    outline: none;
}

#username > img, #password > img {
    height: 20px;
    align-self: center;
}

.disabledInput {
    background-color: #37434d !important;
}

.login {
    display: inline-block;
    width: 308px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    background-color: #34b66a;
    color: white;
    cursor: pointer;
    font-family: PlexSans-M;
    margin-top: 10px;
}

.login[disabled] {
    background-color: #569c73;
}

#gameContainer {
    position: absolute;
    top: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1;
}

#unity-canvas {
    width: 100% !important;
    height: 100% !important;
    z-index: 2;
}

form a:link {
    /* color: #34b66a; */
    color: white;
    background-color: transparent;
    text-decoration: none;
    font-size: 15px;
  }

.message {
    text-align: right;
    margin: 5px 0 5px 0;
}

.message a:visited{
    color: white;
}

.bg {
    display: grid;
    width: 100vw;
    height: 100vh;
    /* z-index: 0; */
    position: absolute;
}

@font-face {
    font-family: PlexSans-M;
    src: url(IBMPlexSans-Medium.otf);
}

@font-face {
    font-family: PlexSans-L;
    src: url(IBMPlexSans-Light.otf);
}

#error {
    color: red;
    text-align: center;
}

.hidden {
    display: none;
}

.hiddenI {
    display: none !important;
}


#buildTxt {
    width: min-content;
    height: fit-content;
    display: flex;
    flex-direction: row;
    font-family: PlexSans-L;
    font-size: 15px;
    color: white;
    overflow: visible;
    align-self: self-end;
    justify-self: self-end;
    margin: 5px;
    z-index: 10;
}

#buildTxt > img {
    width: 1.5vw;
    height: fit-content;
    opacity: 100%;
    
}

#buildTxt > p {
    display: grid;
    word-wrap: break-word;
    width: max-content;
    height: fit-content;
    align-self: center;    
    opacity: 40%;
}


.customCheck {
    /* margin-top: 5px; */
    display: block;
    position: relative;
    padding-left: 25px;
    margin-top: 2px;
    margin-bottom: 18px;
    cursor: pointer;
    font-size: 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    align-self: center;
    justify-self: center;
}

/* Hide the browser's default checkbox */
.customCheck input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    border: 2px solid #ddd;
    border-radius: 50%;
}

/* When the checkbox is checked, add a blue background */
.customCheck input:checked ~ .checkmark {
    background-color: #ddd;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.customCheck input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.customCheck .checkmark:after {
    left: 4px;
    top: 2px;
    width: 4px;
    height: 7px;
    border: solid #29323a;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.loadingGrid {
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: grid; 
    grid-template-columns: 1fr; 
    grid-template-rows: 1fr; 
    gap: 0px 0px; 
    grid-template-areas: 
      "loadingInner"; 
}

.loadingInner {
    height: fit-content;
    width: fit-content;
    display: block;
    grid-area: loadingInner;
    justify-self: center;
    align-self: center;
}

.mask1 {
    display: flex;
    -webkit-mask-image: url(Parallelo_icon_black.png);
    mask-image: url(Parallelo_icon_black.png);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-size: auto;
    width: 320px;
    height: 471px;
}

.progressBlock {
    align-self: center;
    height: 100%;
    width: 100%;
    /* background-color: red; */
}

/* @media only screen and (min-height : 1080px) {
    .login-box {
        transform: scale(1.5, 1.5);
    }

    #buildTxt {
        font-size: 30px;
    }
}

@media only screen and (min-height : 1440px) {
    .login-box {
        transform: scale(2, 2);
    }

    #buildTxt {
        font-size: 40px;
    }
}

@media only screen and (min-height : 2000px) {
    .login-box {
        transform: scale(2.5, 2.5);
    }

    #buildTxt {
        font-size: 50px;
    }
} */

#buildTokens {
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: row;
}

#buildTokens > p {
    display: grid;
    position: relative;
    font-size: 14px;
    margin: 4px;
    padding: 3px;
    color: white;
    border-radius: 4px;
    width: max-content;
    justify-items: center;
}

#buildTokens > p:hover .tooltip {
    visibility: visible;
  }

.tooltip {
    visibility: hidden;
    width: 160px;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    font-size: .75rem;
    
    /* Position the tooltip */
    position: absolute;
    z-index: 3;
    bottom: 80%;
}


.dev {
    background-color: rgb(221, 172, 82);
}

.dev * {
    background-color: rgb(221, 175, 89);
}

.pre {
    background-color: rgb(101, 135, 236);
}

.pre * {
    background-color: rgb(115, 144, 233);
}

.stack {
    background-color: rgb(221, 79, 79);
}

.stack * {
    background-color: rgb(221, 87, 87);
}

