html, body {
    background: transparent;
    color: #c1e7d2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 14px;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: bold;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 100vh;
    background-image: url('/assets/gfx/bg.png');
    background-repeat: no-repeat;
    background-size: 850px 850px;
    background-position: 0% 120px;
}

html {
    background-color: #3a6666;
    background: linear-gradient(180deg, rgba(58,102,102,1) 33%, rgba(0,51,51,1) 98%);
}

.sample-player {
    position: absolute;
    right: 2vw;
    bottom: 3vh;
    z-index: +25;
    width: 150px;
    height: 85px;
}
.sample-player .player-box.friendly-tank {
    --c: green;
}
.sample-player .player-box.enemy-tank {
    --c: red;
}
.sample-player .player-box {
    --b: 5px;
    --c: green;
    --w: 15px;

    border: var(--b) solid #0000; /* space for the border */
    --_g: #0000 90deg,var(--c) 0;
    --_p: var(--w) var(--w) border-box no-repeat;
    background:
      conic-gradient(from 90deg  at top    var(--b) left  var(--b),var(--_g)) 0    0    / var(--_p),
      conic-gradient(from 180deg at top    var(--b) right var(--b),var(--_g)) 100% 0    / var(--_p),
      conic-gradient(from 0deg   at bottom var(--b) left  var(--b),var(--_g)) 0    100% / var(--_p),
      conic-gradient(from -90deg at bottom var(--b) right var(--b),var(--_g)) 100% 100% / var(--_p);

    width: 110px;
    height: 65px;
    box-sizing: border-box;
    margin: 5px;
    display: inline-flex;
    font-size: 30px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.sample-player .player-box span.handle {
    position: absolute;
    top: -18px;
    font-size: 18px;
    color: #ffffff;
    font-family: "VT323", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.sample-player img.tank {
    width: 175px;
    height: auto;
    position: absolute;
    z-index: -1;
    left: -8px;
    top: 10px;
}

a,
a:link,
a:active,
a:hover,
a:focus {
    color: #facb5e;
    text-decoration: none;
}

footer {
    position: relative;
}

footer a,
footer a:link,
footer a:active,
footer a:hover,
footer a:focus,
header a,
header a:link,
header a:active,
header a:hover,
header a:focus {
    color: #c1e7d2;
    text-decoration: none;
}
a:hover {
    text-decoration: underline !important;
}

header {
    position: relative;
    padding: .4rem 0 0;
    background-color: #0a3333;
    min-height: 130px;
}
header div.playercount {
    position: absolute;
    top: 80px;
    right: 25vw;
    z-index: 4;
}
header div.playercount a {
    text-decoration: underline;
}
.left-menu {
    background-color: #6c9999;
    float: left;
    min-width: 100px;
    max-width: 100px;
    padding: 18px;
}
.left-menu ul {
    margin-left: 0px;
    padding-left: 0px;
}
.left-menu ul li {
    list-style-type: none;
}
.left-menu ul li a {
    color: #000000;
    text-decoration: none !important;
    font-weight: bold;
}
.left-menu ul li a:hover {
    color: #c1e7d2;
}
.menu {
    position: absolute;
    bottom: 0px;
    background-color: #facb5e;
    border-bottom: 1px solid #000000;
    z-index: +100;
    width: 100vw;
}
header ul {
    display: block;
    list-style-type: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    text-align: left;
}
header li {
    display: inline-block;
    vertical-align: middle;
    border-right: 2px solid #000000;
}
header li a {
    display: block;
    text-decoration: none !important;
    padding-left: 15px;
    padding-right: 15px;
    height: 24px;
}
header li a svg {
    color: #000000;
    height: 21px;
    display: inline-block;
    vertical-align: middle;
}
header li a span {
    display: inline-block;
    vertical-align: middle;
}
header li.menu-item a {
    color: #000000;
    display: inline-block;
    text-align: center;
}
header li.menu-item:first-child a {
    padding-left: 15px;
}
header li.menu-item.active a,
header li.menu-item a:hover,
header li.menu-item a:focus {
    background-color: #6c9999;
    color: #ede4b6;
    text-decoration: none !important;
}
header li a:hover .svg-stroke {
    stroke: #ede4b6 !important;
}
header .logo {
    position: absolute;
    height: 68px;
    padding: 15px;
    z-index: 4;
}
footer .logo {
    margin-top: 25px;
}
header .menu-toggle {
    display: none;
    float: left;
    font-size: 2rem;
    font-weight: bold;
}
header .menu-toggle button {
    background-color: #facb5e;
    border: none;
    border-radius: 3px;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
    font: inherit;
    font-size: 1.3rem;
    height: 36px;
    padding: 0;
    margin: 11px 0;
    overflow: visible;
    width: 40px;
}
header .menu-toggle button:hover,
header .menu-toggle button:focus {
    background-color: #facb5e;
    color: rgba(255, 255, 255, .8);
}
section h1 {
    font-size: 16px;
    color: #fde8a0;
    margin: 0px;
    padding: 0px;
    margin-bottom: 4px;
}
section ol li,
section ul li {
    font-weight: normal !important;
}
section h2 {
    font-size: 16px;
    color: #f7f1db;
}
section p {
    margin: 0px;
    padding: 0px;
    font-weight: normal !important;
}
section {
    margin: 0 auto;
    max-width: 65vw;
    padding: 2.5rem 1.75rem 3.5rem 1.75rem;
}
section a {
    color: #d9e7b3;
}
section.content {
    clear: all;
    margin-top: 25px;
    min-height: 50vh;
}

section.content ul li,
section.content ol li {
    margin-top: 8px;
    margin-bottom: 8px;
    list-style-position: inside;
}

section.content img.screenshot {
    border: 1px solid #000000;
    margin-right: 50px;
    margin-bottom: 25px;
    margin-top: 25px;
    margin-left: 50px;
    min-width: 33%;
    max-width: 350px !important;
}
section.content a.player {
    display: inline-block;
    vertical-align: middle;
}
section.content a.player:hover span {
    text-decoration: underline;
}
section.content a.player span {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
section.content img.avatar {
    height: 22px;
    width: auto;
    margin: 3px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}
.svg-stroke {
    fill: none;
    stroke: #000000 !important;
    stroke-width: 32px;
}
.svg-fill {
    fill: #000000 !important;
}

section div.activity,
section.content.media iframe {
    display: inline-block;
    vertical-align: bottom;
}

section.content.media iframe {
    margin-bottom: 5px;
}

section ul.actions {
    overflow-y: scroll;
    max-height: 250px;
    max-width: 450px;
    background-color: rgba(255,255,255,0.4);
    border: 1px solid #c7c7c7;
    color: #333333;
    padding-left: 5px;
    padding-right: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}
section ul.actions li {
    list-style-type: none;
}

footer {
    border-top: 1px solid #628e8e;
    text-align: center;
    margin-bottom: 50px;
}
footer ul {
    padding: 0px;
    margin: 0px;
    margin-top: 10px;
}
footer ul li {
    list-style-type: none;
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    vertical-align: middle;
}
footer ul li a {
    vertical-align: middle;
}
footer .copyrights {
    color: #8ab09c;
    padding: .25rem 1.75rem;
}

footer a.social-media {
    display: inline-block; 
    width: 25px; 
    height: 25px;
    margin-left: 4px;
    margin-right: 4px;
}

footer a.social-media .svg-stroke {
    stroke: #ffffff !important;
}

footer span.visitors {
    display: inline-block;
    font-size: 16px;
    color: #ffffff;
    font-family: "VT323", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    letter-spacing: .05em;
    margin-top: 20px;
}

div.poll-container {
    border: 1px solid #fde8a0;
    display: inline-block;
    padding: 15px;
    margin: 15px;
}
div.poll-container ul {
    padding-inline-start: 5px;
}
div.poll-container ul li {
    list-style-type: none;
    padding-left: 10px;
    margin-left: 0px;
}

div.poll-container ul li span.bar {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 5px;
    height: 8px;
    background-color: #fde8a0;
}

div.poll-container ul li input {
    margin-right: 6px;
}

div.poll-container ul li input,
div.poll-container ul li span.text {
    display: inline-block;
    vertical-align: middle;
}

div.poll-container a.button {
    display: inline-block;
    padding: 5px;
    padding-left: 8px;
    padding-right: 8px;
    border: 1px solid #fde8a0;
    margin-right: 8px;
    margin-top: 5px;
}

@media screen and (max-width: 620px), screen and (max-height: 620px) {
    header .logo {
        height: 55px;
        z-index: +5;
    }
    header div.playercount {
        top: 80px;
        left: 20px;
        right: 0px;
        font-size: 12px;
    }
    header ul {
        padding: 0;
    }
    .menu {
        bottom: auto;
        top: 120px;
    }
    header .menu-toggle {
        padding: 0 1rem;
    }
    header .menu-item {
        margin: 0 15px;
        width: calc(100% - 30px);
    }
    header .menu-toggle {
        display: block;
    }
    header .hidden {
        display: none;
    }
    header li {
        border-right: 0px;
    }
    header li.menu-item a {
        display: block;
        background-color: rgba(221, 72, 20, .1);
    }
    header li.menu-item a:hover,
    header li.menu-item a:focus {
        background-color: #facb5e;
        color: rgba(255, 255, 255, .8);
    }

    section.left-menu {
        margin-right: 5vw !important;
        margin-bottom: 5vh !important;
        min-width: 140px !important;
        z-index: +5;
        padding-top: 40px;
    }

    section.left-menu ul li {
        padding: 0px;
        margin: 0px;
    }

    section.content img {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    section.content.media {
        margin: 0px !important;
    }

    section.content.media video {
        position: relative;
        left: -2vw;
        width: 90vw;
        margin-left: auto;
        margin-right: auto;
        border: 0px !important;
        background-color: #333333;
    }

    section.content.media iframe {
        width: 86vw;
        margin-left: auto;
        margin-right: auto;
        border: 1px solid #c7c7c7 !important;
        background-color: #333333;
        margin-top: 15px;
    }

    section ul.actions {
        width: 84vw;
    }

    .sample-player {
        top: auto;
        bottom: 0px;
        right: 1vw;
        width: 100px;
    }
    .sample-player .player-box {
        width: 80px;
        height: 45px;
    }
    .sample-player img.tank {
        width: 125px;
        left: 5px;
        top: 5px;
    }

    div.poll-container {
        margin: 0px;
    }
}

@keyframes move-background {
    from {
          -webkit-transform: translate3d(0px, 0px, 0px);
      }
      to { 
          -webkit-transform: translate3d(1000px, 0px, 0px);
      }
  }
  @-webkit-keyframes move-background {
    from {
          -webkit-transform: translate3d(0px, 0px, 0px);
      }
      to { 
          -webkit-transform: translate3d(1000px, 0px, 0px);
      }
  }
  
  @-moz-keyframes move-background {    
      from {
          -webkit-transform: translate3d(0px, 0px, 0px);
      }
      to { 
          -webkit-transform: translate3d(1000px, 0px, 0px);
      }
  }
  
      @-webkit-keyframes move-background {
      from {
          -webkit-transform: translate3d(0px, 0px, 0px);
      }
      to { 
          -webkit-transform: translate3d(1000px, 0px, 0px);
      }
  }
  
  .stars {
    background: black url("/assets/gfx/stars.png") repeat;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    z-index: 0;
  }
  
  .twinkling{
    width:10000px;
    height: 100%;
    background: transparent url("/assets/gfx/twinkling.png") repeat;
    background-size: 1000px 1000px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
      
      -moz-animation:move-background 70s linear infinite;
    -ms-animation:move-background 70s linear infinite;
    -o-animation:move-background 70s linear infinite;
    -webkit-animation:move-background 70s linear infinite;
    animation:move-background 70s linear infinite;
      
  }
  
  .clouds{
    width:10000px;
    height: 100%;
    background: transparent url("/assets/gfx/clouds.png") repeat;
    background-size: 1000px 1000px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
  
     -moz-animation:move-background 150s linear infinite;
    -ms-animation:move-background 150s linear infinite;
    -o-animation:move-background 150s linear infinite;
    -webkit-animation:move-background 150s linear infinite;
    animation:move-background 150s linear infinite;
  }
  img.moon{
    height: 55px;
    width: 55px;
    position: absolute;
    z-index: 4;
    right: 20px;
  }
  