:root { 
    --color-1: #2b2f38;
    --color-2: #6c7075;
    --color-3: #565b61;
    --color-4: #4f5461;
    --color-5: #228b22;
    --color-red-1: #dd2c36;
    --color-red-2: #cc1d26;
}
.somme-charge, .somme-grenade {
    --color-1: #3a3423;
    --color-2: #5c553d;
    --color-3: #524b32;
    --color-4: #4c4632;
    --color-5: #228b22;
    --color-red-1: #c5222b;
    --color-red-2: #b5222a;
}
.frontier {
    --color-1: #583f22;
    --color-2: #896a42;
    --color-3: #6d512d;
    --color-4: #7b5f3b;
    --color-5: #229322;
    --color-red-1: #c5222b;
    --color-red-2: #b5222a;
}
.flooded {
    --color-1: #2c2525;
    --color-2: #487269;
    --color-3: #2f544c;
    --color-4: #235046;
    --color-5: #228b22;
    --color-red-1: #dd2c36;
    --color-red-2: #cc1d26;
}
.southwest {
    --color-1: #61302a;
    --color-2: #6f594a;
    --color-3: #634a39;
    --color-4: #5f4a3c;
    --color-5: #228b22;
    --color-red-1: #dd2c36;
    --color-red-2: #cc1d26;
}
.salute {
    --color-1: #333742;
    --color-2: #4b5b6e;
    --color-3: #415062;
    --color-4: #3e4e62;
    --color-5: #228b22;
    --color-red-1: #dd2c36;
    --color-red-2: #cc1d26;
}
.desert, .desert-2 {
    --color-1: #4e4b34;
    --color-2: #7f7350;
    --color-3: #6e6343;
    --color-4: #726746;
    --color-5: #43b043;
    --color-red-1: #d8202a;
    --color-red-2: #c11922;
}
.office {
    --color-1: #121918;
    --color-2: #394b49;
    --color-3: #243331;
    --color-4: #2e3d3b;
    --color-5: #228b22;
    --color-red-1: #dd2c36;
    --color-red-2: #cc1d26;
}
.area-15 {
    --color-1: #343a41;
    --color-2: #4d5561;
    --color-3: #5d6165;
    --color-4: #6d7e8b;
    --color-5: #228b22;
    --color-red-1: #dd2c36;
    --color-red-2: #cc1d26;
}
.heist {
    --color-1: #2a3239;
    --color-2: #5a676f;
    --color-3: #4a4f54;
    --color-4: #495862;
    --color-5: #228b22;
    --color-red-1: #dd2c36;
    --color-red-2: #cc1d26;
}
.moonbase {
    --color-1: #262c35;
    --color-2: #77777b;
    --color-3: #4e555c;
    --color-4: #555562;
    --color-5: #228b22;
    --color-red-1: #dd2c36;
    --color-red-2: #cc1d26;
}

body {
    margin: 0;
    background-color: black;
}

.main-content {
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    overflow: hidden;
    position: relative;
    display: flex;
    color: rgba(255,255,255,.9);
    font-size: 30px;
    font-size: calc(16px + (20 - 16) * ((100vw - 800px) / (1600 - 800)));
}


.column {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction:column;
    /* border: 1px solid black; */
  }
  
  .header {
    height:35px;
    /* width: 100%; */
    background: var(--color-1);
    /* line-height: 60px; */
    padding-left: 15px;
    display: flex;
    align-items: center;
    font-size: calc(16px + (20 - 16) * ((100vw - 800px) / (2560 - 800)));
    font-weight: 600;
  }
  
  .header.discord-community {
      background-color: #6f85d5;
      height: 50px;
  }

  .channel.left .discord-community{
      display: none;
  }

  .body-color {
    background-color: var(--color-2);
  }

  .fixed-body {
    height: 60px;
    min-height: 40px;
    display: flex;
  }

  .fixed-body.icons {
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
  }
  
  .fixed-body.support-text {
    justify-content: flex-start;
    align-items: center;
    padding-left: 20px;
  }

  .fixed-body.nick-text {
    justify-content: left;
    align-items: center;
    padding-left: 15px;
  }

  /* .fixed-body.twitch-streamers {
    max-height: 210px;
    overflow: auto;
    overflow-x: hidden;
  } */

  .flex-body {
    flex: 1;
    overflow: auto;
    overflow-x: hidden;
  }
  
  .item {
    height: 20px;
    background: gold;
    /* border: 1px solid black; */
    margin-left: 30px;
  }

  .streamer {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .twitch-streamers {
    max-height: 110px;
    min-height: 40px;
    overflow: hidden;
    overflow-y: auto;
    height: auto;
  }

  .twitch-streamers .name {
    padding-left: 10px;
  }

  .twitch-streamers a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    width: 100%;
    display: flex;
    flex-direction: row;
    height: auto;
    /* min-height: 20px; */
    height: 35px;
    align-items: center;
  }

  .twitch-streamers img {
    width: 25px;
    padding-left: 10px;
    max-width: 100%;
    height: auto;
  }

  .twitch-streamers .name {
    flex: 1;
    padding-left: 10px;
    letter-spacing: 1px;
  }

  .streaming-container {
      width: 100%;
  }
 
  .mode-selection-container {
    margin-top: 150px;    
    box-shadow: 0 1rem 3rem rgba(0,0,0,.8)!important;
    /* box-shadow: 5px 10px #888888; */
  }
  

  .logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.border-bottom {
    border-bottom: 3px solid var(--color-3);
}

#stats-header-sm {
    display: none;
}

#my-stats-not-logged-in {
    color: rgb(154, 155, 155)
}


.container{
    width: 100%
}

.channel {
    height: 100vh;
    width: 25vw;
    max-width: 400px;
    min-width: 300px;
    display: flex;
    display: flex;
    flex-direction:column;
}

.channel.left, .channel.right {
    box-shadow: 5px 8px 20px rgba(0, 0, 0, 0.6);
}


/* .channel.left {
    height: 100vh;
    width: 25vw;
    max-width: 400px;
    display: flex;
    box-shadow: 8px 8px 26px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction:column;
} */

.center-channel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: calc(100vh - 120px);
    align-items: center;
    position: relative;
}

/* .channel.right {
    height: 100%;
    width: 25vw;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
} */

.login-container .section-header {
    background-color: rgba(35, 35, 63, .7);
}

.text-box {
    padding-left: 15px;
}

.login-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    height: auto;
    padding: 20px 0px;
    gap: 5px;
}

/* #google_custom_signin > div {
    width: 3vw;
    max-height: 40px;
    max-width: 40px;
} */

#logged-in-nick {
    display: hidden;
    /* background-color: rgba(72, 74, 108, .4) */
}

.scrollbar::-webkit-scrollbar {
    width: 10px;
}
.scrollbar::-webkit-scrollbar-track {
    background: var(--color-1); 
}
.scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--color-2);
    border: 3px solid transparent;
    border-radius: 9px;
    background-clip: content-box;
    
}
.scrollbar::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

.scrollbar {
    scrollbar-color: var(--color-light-blue) var(--color-1);
    scrollbar-width: thin;
    background-image: linear-gradient(to top, var(--color-2), var(--color-2)),
    linear-gradient(to top, var(--color-2), var(--color-2)),
    linear-gradient(to top, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0));
    background-position: bottom center, top center, bottom center, top center;
    background-repeat: no-repeat;
    background-size: 100% 20px, 100% 20px, 100% 10px, 100% 10px;
    background-attachment: local, local, scroll, scroll;
}



a.stat-link {
    text-decoration: none;
    color: rgba(255,255,255,.9);
    width: 100%;
    display: block;
    height: 35px;
    display: flex;
    align-items: center;
}

.friends {
    /* min-height: 100px; */
    max-height: 100vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;   
}
.friends #log-in-friend-msg {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.friends #friend-list {
    display: none;
    width: 100%;
    height: 100%;    
}
.friends .friend {
    width: 100%;
    /* min-height: 30px; */
    height: auto;
    cursor: pointer;
    display: flex;
}
.friends .friend.Offline{
    color: #a09e9e;
}
.friends .name {
    width: 100%;
    font-weight: 600;
    padding-left: 15px;
}
.friends .server {
    font-size: calc(14px + (16 - 14) * ((100vw - 800px) / (1600 - 800)));
    margin-top: -5px;
    color: rgb(185 191 197);
    padding-left: 15px;
    text-transform: uppercase;
}
.friends a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
}

.friend .join-text {
    display: none;
}

.header.social-media {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    padding-left: 0px;
    height: 50px;
}

.support-icons {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #484a6c;
    padding: 20px 0px;
}
.support-icons img {
    width: 70%;
}
.support-icons a, .social-media-icons a{
    display: flex;
    justify-content: center;
    align-items: center;
} 
.social-media-icons {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    background-color: #484a6c;
    padding: 20px 0px
}
.social-media-icons img{
    width: 70%;
}

.grid-list {
    width: 100%;
    background-color: var(--color-light-blue);
    display: grid;
    overflow-y: auto;
    row-gap: 5px;
}

.grid-list.friends {
    grid-template-columns: 40% 30% 30%;
}
.grid-list.twitch {
    grid-template-columns: 50px auto 60px 70px;
}
.grid-list.twitch .icon {
    grid-column: 1/2;
    width: 90%;
    max-width: 30px;
    display: flex;
    align-items: center;
    justify-self: center;
}
.grid-list.twitch .name {
    grid-column: 2/3;
    align-self: center;
    justify-self: flex-start;
    color: white;
    padding-left: 5px;
}
.grid-list.twitch .name a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
}
.grid-list.twitch .watching {
    grid-column: 3/4;
    align-self: center;
    justify-self: center;
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.grid-list.twitch .watching img{
    height: 100%;
    width: 100%;
}
.grid-list.twitch .watching-count {
    grid-column: 4/5;
    align-self: center;
    justify-self: flex-start;
}

.video-wrap {
    z-index: -1;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);    
    overflow: hidden;
}

video {
    height: 100%;
    width: 179vh; /* 100 * 16 / 9 */
    min-width: 100%;
    min-height: 56.25vw; /* 100 * 9 / 16 */
}






.login-header {
    height: 50px;
    display: flex;
    align-items: center;
    /* box-shadow: 3px 3px 6px -1px #1b1b30; */
}


.icon-href {
    height: 75%
}

.icon {
    height: 100%;
    /* max-height: 40px;
    max-width: 40px; */
}

#promo-header{
    justify-content: center;
    padding: 0px;
    height: 40px;
}

.wb-promo-container {
    width: 30%;
    min-width: 200px;
    max-width: 400px;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    cursor: pointer;
}

.wb-promo {
    width: 5vw;
}

.promo-details-background {
    display: flex;
    justify-content: center;
    background-color: #262523;
}

/* .wb-promo {
    position: absolute;
    top: 0;
    left: 0;
    width: 12vw;
    max-width: 100%;
    height: auto;
    margin-left: 10px;
    margin-top: 10px;
    box-shadow: 8px 8px 26px rgb(0 0 0 / 60%);
} */

.wb-logo {
    position: absolute;
    top: 10px;
    padding-top: 2vh;
    width: 30vh;
    max-width: 300px;
    height: auto;
}

.twitchStream {
    height: 70px;
}

.twitchStream .icon {
    height: 40px;
    width: 40px;
}



.snow{
    background-image:
        /* url(/img/embers/snow-small_blur.png), 
        url(/img/embers/snow-small_blur2.png), 
        url(/img/embers/snow-medium_blur.png),  */
        url(/img/embers/snow-large.png);
    animation: snow 100s linear infinite;
    }
@keyframes snow {
    /* 0% {background-position: 0px 400px, 0px 200px, 0px 400px, 100px 800px}
    100% {background-position: 0px 0px, 0px 0px, 0px 0px, 0px 0px } */
    0% {background-position: -800px -400px}
    100% {background-position: 0px 0px}
}


.mode-select {
    grid-area: mode-select;
}

.login {
    grid-area: login;
}

.twitch-streamers-outer{
    grid-area: twitch-streamers;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    box-shadow: 3px 3px 6px -1px #1b1b30;
}




#login-create-account-header {
    box-shadow: inset -1px -3px 0px -1px black;
    color: #ee991b;
    cursor: pointer;
    z-index: 5;
    height: 50px;
}

#logged-in-container {
    box-shadow: inset -1px -3px 0px -1px black;
    display: none;
    z-index: 10;
    justify-content: space-between;
    height: 50px;
}

#logged-in-container #user-name {
    color: #ee991b;
    height: 100%;
    align-items: center;
}

#logged-in-container #logout {
    padding: 0px 10px;
    height: 100%;
    align-items: center;
    cursor: pointer;
}


/* #logged-in-account-header {
    box-shadow: inset -1px -3px 0px -1px black;
    color: #ee991b;
    display: none;
    z-index: 10;
} */

.ad-2-banner-small-container {
    width: 720px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 10px;
    right: 0;    
    left: 0;
    margin: auto;
}

.ad-1-square-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-self: center;
    padding: 5px 0px;
    image-orientation: none;
}

.ad-1 {
    max-width: 300px;
    max-height: 250px;
}

.player-count {
    grid-area: player-count;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 15px;
    background: #484a6c;
    font-size: 40px;
    font-family: taurunum-ferrum-steel, sans-serif;
    font-weight: 400;
    font-style: normal;
    color:rgba(255,255,255,.9)
}

.red-background {
    background-color: var(--color-red-1) !important;
    border-color: var(--color-red-2) !important;
}

.canvas-container {
    width:100%
}

  .mode-select-play-now::before {
    content: '';
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    width: 80px;
    height: 100%;
    top: 0;
    filter: blur(30px);
    transform: translateX(-300px) skewX(-15deg);
    animation: shine 3s ease-in-out infinite;
  }

  .mode-select-play-now::after {
    content: '';
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 100%;
    top: 0;
    filter: blur(10px);
    transform: translateX(-300px) skewX(-15deg);
    animation: shine 3s ease-in-out infinite;
  }

  @keyframes shine{
    from {
        transform: translateX(-300px) skewX(-15deg);
    }
    20% {
        transform: translateX(500px) skewX(-15deg);
    }
    100% {
        transform: translateX(550px) skewX(-15deg);
    }
  }

.play-now-container {
    height: 10%;
    width: 40%;
    min-width: 220px;
    min-height: 70px;
    box-shadow: 8px 8px 26px rgb(0 0 0 / 60%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mode-select-play-now {
    background: var(--color-red-1);
    width: 100%;
    height: 100%;
    font-size: calc(16px + (42 - 16) * ((100vw - 800px) / (1600 - 800)));
    font-weight: 800;
    -webkit-box-shadow: inset 0px 0px 0px 5px var(--color-red-2);;
    -moz-box-shadow: inset 0px 0px 0px 5px var(--color-red-2);;
    box-shadow: inset 0px 0px 0px 5px var(--color-red-2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
}

.mode-select-play-now .play-now {
    position: absolute;
    font-size: calc(100% + 1vw);
    font-weight: 800;
}

.mode-select-play-now .mode-description {
    font-size: calc(70% + 0.1vw);
    position: absolute;
    top: 70px;
    letter-spacing: 3px;
}

.mode-select-button {
    letter-spacing: 1px;
    background-color: var(--color-2);
    /* background-color: rgb(219, 43, 59); */
    /* border: .7vh solid rgb(205, 66, 35, .7); */
    height: 50px;
    width: 100%;
    font-weight: 400;
    /* text-align: center; */
    /* font-size: calc(16px + (28 - 16) * ((100vw - 800px) / (2560 - 800))); */
    /* -webkit-box-shadow: inset 0px 0px 0px 0.5vh rgb(205 66 35 / 70%);
    -moz-box-shadow: inset 0px 0px 0px 0.5vh rgb(205, 66, 35, .7);
    box-shadow: inset 0px 0px 0px 0.5vh rgb(205 66 35 / 70%); */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.mode-select-button .icon-game-mode {
    height: 60%;
    padding-left: 15px;
    padding-right: 10px;
}


.login-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    flex-direction: column;
    gap: 3px;
    background: black;
    border-right: 2px solid black;
    border-bottom: 2px solid black; 
    box-shadow: 8px 8px 26px rgb(0 0 0 / 60%);
}

.login-button {
    cursor: pointer;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    width: 400px;
}

.login-button-div-container {
    display: flex;
    width: 350px;
    height: 60px;
    cursor: pointer;
}

.login-icon-container {
    flex: 0 0 20%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-icon {
    width: 50%;
}

.login-button-div {
    flex: 1;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 10px;
    font-size: calc(16px + (18 - 16) * ((100vw - 800px) / (1600 - 800)));
}

.google {
    background-color: #4285f4;
}
.facebook {
    background-color: #366099;
}
.steam {
    background-color: #0a1e4d;
}
.twitch {
    background-color: #6440a5;
}
.vk {
    background-color: #54769b;
}
.y8 {
    background-color: #f03027;
}

.friend-info {
    display: flex;
}

.join-status{
    width: 10px;
}



.join {
    background-color: var(--color-5);
}
.spectate {
    background-color: var(--color-1);
}

.countdown-bar {
    overflow: hidden;
    background-color: var(--color-1);
  }
.countdown-bar div {
        height: 10px;
        animation: roundtime calc(var(--duration) * 1s) steps(var(--duration))
            forwards;
        transform-origin: left center;
        background: var(--color-4);
        /* background: linear-gradient(to bottom, red, #900); */
}

.countdown-bar[data-style="smooth"] div {
animation: roundtime calc(var(--duration) * 1s) linear forwards;
}

@keyframes roundtime {
    to {
        /* More performant than `width` */
        transform: scaleX(0);
    }
}

/* @media (max-width: 1900px) {
    .wb-logo {
        width: 280px;
    }
} */

@media (max-width: 1650px){
    .channel.left, .channel.right {
        height: calc(100vh - 120px);
    }
}


@media (max-width: 1200px) {
    .channel.left {
        width: 20vw;
    }
    #stats-header {
        display: none;
    }
    #stats-header-sm {
        display: flex;
    }
    #stats {
        /* max-height: 40px; */
        overflow: hidden;
    }
    .login-button-div-container {
        width: 250px;
        height: 50px;
    }
    /* .login-overlay {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0px;
        border-right: none;
        border-bottom: none;
    }
    .login-button-div-container {
        width: 50%;
        border-bottom: 1px solid black;
    } */
}
@media (max-width: 1100px){
    /* .social-media {
        display: none;
    } */
    /* .header {
        height: 35px;
    }     */
}

@media (max-width: 1000px){
    .ad-1-square-container {
        display:none;
    }
    .channel {
        min-width: 250px;
    }
}

@media (max-width: 870px){
    .center-channel {
        height: 100vh;
    }
    .ad-2-banner-small-container {
        display:none;
    }
    .channel.left, .channel.right {
        height: 100vh;
    }
    .center-channel {
        align-items: center;
        padding-top: 0px;
    }
    .play-now {
        font-size: 30px;
    }
    .mode-select-button {
        font-size: 12px;
    } 
    .social-media {
        display: flex;
    }
}

@media (max-width: 650px){
    .play-now {
        font-size: 22px;
    }
}

@media (max-width: 630px){
    .channel.left {
        display: none;
    }
    .channel.right {
        display: none;
    }
}

.too-small img {
    width: 30vw;
}

.too-small .message {
    color: white;
    text-align: center;
    width: 50vw;
    font-size: 20px;
}


@media (max-height: 750px){
    /* .play-now-container {
        top: 70%;
    } */
    .mode-select-button {
        height: 40px;
}

@media (max-height: 750px){
    .header, .header.discord-community, .header.social-media {
        height: 40px;
    }
    .channel.right .discord-community{
        display: none;
    }
    .channel.left .discord-community{
        display: flex;
    }
    a.stat-link, .mode-select-button {
        display: flex;
        min-height: 20px;
    }
}

@media (max-height: 610px){
    .ad-1-square-container {
        display: none;
    }
    .header {
        height: 30px;
    }
    .mode-select-button {
        height: 30px;
    }
    .countdown-bar div {
        height: 5px;
    }
    a.stat-link {
        height: 30px;
    }
    .twitch-streamers a {
        height: 30px;   
    }
    .twitch-streamers {
        max-height: 60px;
    }
}
