body {
    font-family: 'Open Sans', sans-serif;
    background-color: #282b30;
    background-image:  linear-gradient(#0f0f13 1.8px, transparent 1.8px), linear-gradient(90deg, #0f0f13 1.8px, transparent 1.8px), linear-gradient(#0f0f13 0.9px, transparent 0.9px), linear-gradient(90deg, #0f0f13 0.9px, #000000 0.9px);
    background-size: 45px 45px, 45px 45px, 9px 9px, 9px 9px;
    background-position: -1.8px -1.8px, -1.8px -1.8px, -0.9px -0.9px, -0.9px -0.9px;
}

.bgtext {
    font-size: 3vw;
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: rgb(109, 119, 155);
    animation: 3s pulse ease-in-out infinite reverse;
    z-index: -1;
}

@keyframes pulse {
    0% {
    opacity: 45%
    }
    50% {
    opacity: 65%
    }
    100% {
    opacity: 45%
    }
}

.osd {
    top: 0;
    left: 0;
    position: absolute; 
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    width: 100%;
    height: 100%;
    transform: translate(0, 0);
    z-index: 0;
}

#sidenavLeft {
    width: 400px;
    z-index: 1;
    opacity: 1;
    background-image:  linear-gradient(#0f0f13 1px, transparent 1px), linear-gradient(to right, #0f0f13 1px, #000000 1px);
    background-size: 20px 20px;
    overflow-x: hidden;
    transition: .25s;
    border-radius: 6px;
    border: 4px solid;
    border-image: repeating-linear-gradient(to top, rgb(100 100 100), rgb(100 100 100), rgb(150 150 150), rgb(150 150 150)) 20 / 1 / 0 stretch;
    order: 1;
    height: fit-content;
    padding: 0px 0px 16px 0px;
}

#sidenavLeft a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    transition: 0.3s;
    white-space: nowrap;
}

#sidenavLeft p {
    padding: 8px 8px 8px 8px;
    text-decoration: none;
    font-size: 30px;
    color: #818181;
    display: block;
    transition: 0.3s;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    margin-left: auto;
    margin-block-start: 10px;
    margin-block-end: 0px;
}

#sidenavLeft a:hover {
    color: #f1f1f1;
}

#sidenavRight {
    width: 0;
    height: fit-content;
    z-index: 1;
    opacity: 1;
    background-image:  linear-gradient(#0f0f13 1px, transparent 1px), linear-gradient(to right, #0f0f13 1px, #000000 1px);
    background-size: 20px 20px;
    overflow-x: hidden;
    transition: .25s;
    border-radius: 6px;
    order: 4;
    padding: 0px 0px 16px 0px;
}

#sidenavRight a, #sidenavRight p, #sidenavRight select, #sidenavRight option {
    font-size: 20px;
    color: #818181;
    transition: 0.3s; 
    text-align: left;
    overflow: hidden;
    margin-block-start: 10px;
    margin-block-end: 0px;
    white-space: nowrap;
}

#sidenavRight p {
    padding: 0px 0px 0px 16px;
    text-decoration: none;
}

#sidenavRight a {
    color: #969696;
}

.credit-title, .credit-footer {
    padding: 0px 8px 8px 16px;
    text-decoration: none;
}

.credit-body {
    font-size: 20px;
    margin-left: 10px;
}

#main-internal:hover, #main2-internal:hover {
    color:rgb(160, 160, 160)
}

#main-internal {
    transition: margin-left .25s;
    padding: 12px;
    z-index: 2;
    text-shadow:
    -1px -1px 0 rgb(160, 160, 160),  
     1px -1px 0 rgb(160, 160, 160),
     -1px 1px 0 rgb(160, 160, 160),
      1px 1px 0 rgb(160, 160, 160);

    margin-right: auto;
    transition: 0.3s;
    order: 2;
    height: 40px;
}

#main2-internal {
    transition: margin-left .25s;
    margin-left: auto;
    padding: 12px;
    z-index: 2;
    transition: 0.3s;
    order: 3;
    height: 40px;

    text-shadow:
   -1px -1px 0 rgb(160, 160, 160),  
    1px -1px 0 rgb(160, 160, 160),
    -1px 1px 0 rgb(160, 160, 160),
     1px 1px 0 rgb(160, 160, 160);
}

#main {
    display: flex;
}

#main-internal, .sidenav p, .bgtext, .sidenav a, .sidenav br, #main2-internal {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.s_port, .navy, .terra, .a_mine, .ships, .old, .penal, .cruiser, .miningfrigate, .merchantship, .raids {
    /* display: none; */
    height: 0px;
    overflow: hidden;
    transition: 0.3s;
}

.subentry {
    padding: 8px 8px 8px 48px !important;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 18px;
  padding-left: 10px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  margin: 2px;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
