body {
    margin: 0 auto;
    background-color: #102126;
    font-family: Ubuntu, sans-serif;
    /*background-image: url("../Images/background_planets.webp");*/
    background-image: url("../Images/gravityBackground.jpg");
    /*background-image: url('https://cdn.discordapp.com/attachments/874643599235624980/1122849165458808932/background_planets.webp');*/
	background-size: cover;
	background-position: bottom;
	width: 100vw;
	height: 100vh;
}

.CCAP {
    font-family: ccap, serif;
    line-height: normal;
    line-break: normal;
}

.ALBA {
    font-family: alba, sans-serif;
}

.UBUNTU {
    font-family: Ubuntu, sans-serif;;
    color: white;
    line-height: normal;
    line-break: normal;
}

.Hidden{
  visibility: hidden;
}

.FullHWAbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.loaderContainer {
    top: 50%;
    left: 40%;
    position: absolute;
}

.FullHWAbsHidden {
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
}

.FullWAbs {
    position: absolute;
    width: 100%;
}

.outer {
    margin: 0 auto;
    text-align: center;
}

#adOuter{
	width: 750px;
	height: 300px;
	margin-left: auto;
	margin-right: auto;
}
/*#adOuter2{
	width: 336px;
	height: 0px;
	margin-left: auto;
	margin-right: auto;
}*/
.fb-login-button{
    display: block;
}
.respawnAds-big{

    position: absolute;
    /*top: 20%;*/
    /*left: 38%;*/
    z-index: -100;
}

.inner {
    text-align: center;
}
h1 {
    font-size: 80px;
}
h3 {
    margin-top: 0;
}
.logo {
    width: 40%;
    border-radius: 1rem;
    border: 3px solid white;
    box-shadow: 2px 2px 4px black;
}

.loginPanel {
    padding: 10px 40px;
    color: #f2f8ff;
    text-align: center;
    text-decoration: none;
    border: none;
    display: inline-block;
}

.loginButton {
    background-color: #12b01d;
    font-size: 37px;
    border: 3px solid white;
    box-shadow: 2px 2px 4px black;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    border-radius: 1rem;
}

.loginButton--background {
    background-image: url("/Images/playbutton.png");
    background-color: white;
    border-radius: 3.5rem;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    width: 310px;
    height: 120px;
}
.smallButton {
    background-color: #1f2a36;
    text-align: center;
    text-decoration: none;
    border: none;
    display: inline-block;
    padding: 5px;
    font-size: 16px;
}
.loginInput {
    margin: 15px 0;
    background-color: #242424;
    font-size: 26px;
    border: 3px solid white;
    box-shadow: 2px 2px 4px black;
    border-radius: 1rem;
    width: 40%;
}
.gearButton {
    padding: 10px 20px;
    background-color: #242424;
}
#Plej {
    cursor: crosshair;
}
#Loading > p {
 display: flex;
 height: 75%;
 justify-content: center;
 align-items: center;
 font-size: 70px;
 color: white;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
}
#InfoContainer {
    cursor: crosshair;
    height: 95% auto;
}

#InfoContainer.FullHWAbs {
    min-height: 620px !important;
}
#Display {
    height: 100%;
}
#Display, #InfoContainer {
    display: flex;

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

/* Tutorial */

#tutorialConteiner {
    background-color: rgba(255, 255, 255, 0.1);
    display: block;
    position: absolute;
    right: 8px;
    top: 80%;
    margin-top: -160px;
    width: 430px;
    height: 240px;
    overflow: hidden;
}

#tutorialConteiner > div {
    width: 480px;
    height: 320px;
    display: inline-block;
}

#tutorialConteiner > button {
    background-color: rgba(78,131,183, 0.5);
    border: none;
    color: #f2f8ff;
    padding: 4px 8px 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 32px;
}

#tutorialConteiner > .leftLink {
    position: absolute;
    top: 60px;
    left: 5px;
    display: block;
}

#tutorialConteiner > .rightlink {
    position: absolute;
    top: 60px;
    right: 5px;
    display: block;
}
.achievement {
   border: 5px ;
}
.modal {
    display: none;
    text-align: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -khtml-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}
.achievement-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.achievement-cell-AD {
  /*border: 2px solid #000055 !important;*/
  width: 200px !important;
  height: 200px !important;
  position: relative;
  margin: 0 25px 10px;
  overflow: visible;

/*width: 200px   !important;
  height: 200px  !important;
  position:        relative;
  margin:       0 25px 10px;
  overflow:         visible;*/
}
.achievement-cell img.locked{
  /*border: 2px solid #000055 !important;*/
  width: 200px !important;
  height: 200px !important;
  filter: grayscale(75%) brightness(120%) contrast(140%);
}

.achievement-cell img.locked:hover{
  /*border: 2px solid #000055 !important;*/
  width: 200px !important;
  height: 200px !important;
  filter: grayscale(25%) brightness(100%) contrast(105%);
  animation: filterAnimation 0.5s;
}

@keyframes filterAnimation{
  0%    {filter: grayscale(75%) brightness(120%) contrast(140%);}
  100%  {filter: grayscale(25%) brightness(100%) contrast(105%);}
}

.achievement-cell div:nth-child(2){
  width: 120px;
  height: 60px;
  position: absolute;
  top: -60px;
  left: -16px;
  visibility: hidden;
  display: inline-block;
  line-height: 1.4em;
  vertical-align: bottom;
}
.achievement-cell:hover div:nth-child(2){
  visibility: visible;
}
.achievement-cell div:nth-child(2) div{
  bottom:0;
  width:100%;
  border-radius: 5px;
  background-color: rgba(88,176,255,1);
  position: absolute;
  padding: 6px;
  box-shadow: 0 0 2px 1px white;
}
#achievements h4{
  margin-bottom: 50px;
}
/*#achievements .close{
  position: absolute;
  position: fixed;
  right: 165px;
  top: 55px;
}*/
#achievements .modal-content{
  overflow: auto;
  margin: 50px 12%;
}
.achievement-cell {
    width: 200px !important;
    /*: 200px !important;*/
    position: relative;
    margin: 0 25px 10px;
    overflow: visible;
}

.achievement-cell div:nth-child(3){
    height: 22px !important;
    width: 100% !important;
    display: block;
    position: absolute;
    top: 178px;
    background-color: rgba(255,255,255,0.6);
    text-align: center;
    font-weight: 900;
    text-shadow: 0 0 2px white;
}
.achievement-cell div.unlocked{
    height: 22px !important;
    width: 100% !important;
    display: block;
    position: absolute;
    top: 66px;
    background-color: rgba(255,255,255,0.0)!important;
    text-align: center;
    font-weight: 900;
    text-shadow: 0 0 2px white;
}

.modal-content {
    background-color: #ecf8fc;
    overflow: hidden;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    position: relative;
}
.modal-column {
    text-align: center;
    width: 25%;
    float: left;
    padding: 10px;
}
.preview {
    position: relative;
}
#roomlist > .modal-content {
    width: 30%;
}
#topscores img{
    height: 40px;
}
#topscores > .modal-content {
    margin: 50px auto;
    width: 40%;
    display: inline-block;
}
#topscores th, #topscores td {
    padding: 1px 10px;
}

.playerskin {
    left: 128px;
    z-index: 1;
}
.player a{
    margin: 0 30px;
}
#player-skins, #cannon-skins, #hat-skins {
    display: inline-block;
    padding: 15px 0 30px;
}
.cannonskin {
    margin-top: -5px;
    z-index: 2;
}
.modal-column > h3 {
    text-align: center;
}
.modal-column > img {
    display: inline;
}
.color-picker {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #96a9b1;
}
.color {
    display: inline-block;
    margin: 2px;
    width: 30px;
    height: 30px;
}
.color1 {
    background-color: #a58adf;
}
.color2 {
    background-color: #4cebe7;
}
.color3 {
    background-color: #9c5da9;
}
.color4 {
    background-color: #ff12c1;
}
.color5 {
    background-color: #ff02c2;
}
.color6 {
    background-color: #96a9b1;
}
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #1d1d1d;
    float: right;
    font-size: 28px;
    font-weight: bold;
    opacity: 0.5;
}

.close:hover{
  opacity: 1;
  }
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.confirm-btn {
    overflow:hidden;
}
.mySlides {
    display: inline;
}
.btn-floating {
    display: inline;
}
.btn-display-left {
}
.gift {
    text-align: center;
}
.gift img {
    display: inline;
}
.lajk {
    display: inline;
}
.fb-like {
    display: inline-block !important;
}
.gift span {
    visibility: hidden;
}
.gift span:hover {
    visibility: visible;
}
/* Youtube Partners */

#ytPartners{
    height: 100vh;
    width: 280px;
    position: absolute;
    font-weight: 500;
    top: 0;
    left: 0;
    /*-webkit-box-shadow: 2px 4px 5px #012140;*/
    /*-webkit-box-shadow: 2px -4px 5px #012140;*/
    /*-moz-box-shadow: 2px 4px 5px #012140;*/
    /*-moz-box-shadow: 2px -4px 5px #012140;*/
    /*box-shadow: 2px 4px 5px #012140;*/
    /*box-shadow: 2px -4px 5px #012140;*/
    background: transparent;
}
#rightSide{
    height: 100vh;
    width: 280px;
    position: absolute;
    font-weight: 500;
    top: 0;
    right: 0;
    /*-webkit-box-shadow: -2px -4px 5px #012140;*/
    /*-webkit-box-shadow: 2px -4px 5px #012140;*/
    /*-moz-box-shadow: -2px -4px 5px #012140;*/
    /*-moz-box-shadow: 2px -4px 5px #012140;*/
    /*box-shadow: -2px 0px 5px #012140;*/
    /*box-shadow: -2px 0px 5px #012140;*/
    background: transparent;
}

.ytHeader{
    font-size: 1.4em;
    font-weight: 700;
    padding: 12px 0 12px;
    text-align: center;
    color: #f2f8ff;
    font-family: 'Ubuntu';
}

.ytBlock {
    padding: 16px 0 16px;
    border-top: 2px solid rgba(255,255,255,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5em;
}

.buttonsContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.buttons {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    flex-wrap: wrap;
    left: 0;
    bottom:3%;
    width: 35%;
    height: 30%;
}

.buttons > #up {
    grid-column: 1 / span 2;
    grid-row: 1;
}

.buttons > #left {
    grid-column: 1;
    grid-row: 2;
}

.buttons > #right {
    grid-column: 2;
    grid-row: 2;
}

.buttons > #down {
    grid-column: 1 / span 2;
    grid-row: 3;
}

.profile {
    padding-top: 0px;
    border: none;
}

.ytBody .ytVideoLink {
    vertical-align: top;
    text-decoration: none;
}

.ytHeader img{
    width: 100px;
    height: 43px;
    margin: 5px 0 0 15px;
}

.ytBody {
    text-align: center;
    color: #f2f8ff;
    margin-top: 15px;
    position: absolute;
    width: 100%;
    bottom: 0;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
}
/*#rightSide > .ytBody {
    text-align: left;
}*/

.ytBody ul{
    margin:0;
    padding:0;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    list-style: none;
}

.nickname {
    font-size: 18px;
}
.account{
    position: relative;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 15px;
    margin-bottom:10px;
}
.account a{
    font-size: 0.9em;
    position: absolute;
    top: -2px;
    right:15px;
}

.character {
    margin: 0 auto;
}

.ytBody span{
    margin-top:35px;
    padding: 10px;
}

.ytBody a{
    color: #6fb6fc;
    text-decoration: underline;
    font-weight: 900;
}

.jscolor {
    /*margin-top: 20px;*/
    width: 140px;
    height: 40px;
}
#ue-bottom {
    position: absolute !important;
    bottom: 0px !important;
    right: 47% !important;
}
.menu_icon {
    padding: 4px;
    background-color: #022a53;
    position: absolute;
    top: 50px;
    right: 0;
    display: none;
}

.menu-icon {
    width: 35px;
    height: 5px;
    background-color: white;
    margin: 6px 0;
}

/* Fonts */

@font-face {
    font-family: Ubuntu;
    src: url("../Assets/Fonts/ubuntu.ttf") format('truetype');
}

@font-face {
    font-family: alba;
    src: url("../Assets/Fonts/alba.ttf") format('truetype');
}

@font-face {
    font-family: ccap;
    src: url("../Assets/Fonts/ccapshad.ttf") format('truetype');
}

/* media queries (adapting to narrow windows) */

@media only screen and (max-width: 963px) {
    .hideOn960 {
        display: none !important;

    }
}

@media only screen and (max-width: 1027px) {
    .hideOn1024 {display: none !important;}
    /*.menu_icon {display: block;}*/
}

@media only screen and (min-width: 1027px) {
    .hideOn1024 {display: block !important;}
}

@media only screen and (max-width: 1187px) {
    .hideOn1184 {display: none !important;}

}

.nipple .front {
    background: rgba(255, 255, 255, 0.65) !important;
}

.nipple .back {
    background: radial-gradient(#7d7d7d85, #7d7d7d52 66%) !important;
}
.nipple .front, .nipple .back {
    scale: 1.2 !important;
}
.noSelect {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
}
.noSelect:focus {
    outline: none !important;
}

.loader{
    display: inline-block;
    text-align: center;
    line-height: 86px;
    text-align: center;
    position: relative;
    padding: 0 48px;
    font-size: 48px;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}
.loader:before, .loader:after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background: currentColor;
    position: absolute;
    animation: load .7s infinite alternate ease-in-out;
    top: 0;
}
.loader:after {
    top: auto;
    bottom: 0;
}
@keyframes load {
    0% {
        left: 0;
        height: 43px;
        width: 15px;
        transform: translateX(0)
    }
    50% {
        height: 10px;
        width: 40px
    }
    100% {
        left: 100%;
        height: 43px;
        width: 15px;
        transform: translateX(-100%)
    }
}

.txt-fs25 {
	font-size: 2.5em;
}

.txt-fs20 {
	font-size: 2em;
}

.txt-fs15 {
	font-size: 1.5em;
}

.txt-fs125 {
	font-size: 1.25em;
}

.dialogue-container {
	align-items: center;
	display: none;
	flex-direction: column;
	gap: 1em;
	height: 100vh;
	justify-content: center;
	left: 0;
	position: absolute;
	top: 0;
	width: 100vw;
}

.dialogue-container .dialogue {
	background: orange;
	border-radius: 2em;
	display: none;
	flex-direction: column;
	justify-content: center;
	padding: 2em;
	text-align: center;
    box-shadow: 4px 4px 8px -4px black;
}

.dialogue-container button {
	background: blue;
	border-color: #f2f2f2;
	border-radius: 0.25em;
	border-style: solid;
	border-width: 0.125em;
	color: #f2f2f2;
}

.dialogue-container button:hover {
	filter: brightness(125%);
}

.dialogue-container button.respawn {
	background-color: #00000000;
	background-image: url(/Images/respawnbutton.png);
	background-size: contain;
	background-repeat: no-repeat;
	border: none;
	border-radius: 0.25em;
	height: 5em;
	width: 13em;
}

.dialogue-container button.backToEsim {
    background-color: #00000000;
    background-image: url(/Images/backButton.png);
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    border-radius: 0.25em;
    height: 5em;
    width: 11em;
    margin: 0 auto;
}

.dialogue-container button:disabled,
.dialogue-container button[disabled] {
	opacity: 0.5;
}
