element {
    --border-color: black;
}

.currentSelector {
    background: #b1b1b1!important;
}
#free-to-play {
    position: absolute;
    top: -10px;
    right: 0px;
    z-index: 2
}
img.opaque {
    opacity: 1;
}
.infantry {
    margin: 0 10px;
    transform: scale(1.5);
}
#infantries {
    background: #ddddbe;
    border-radius: 5px;
    box-shadow: 0 0 4px 4px rgba(221, 221, 190, 0.61);
    list-style-type: none;
    padding: 0;
    text-align: center;
}
#infantries-div {
    margin-top: 25px;
}
#infantries li {
    display: inline-block;
    margin: 0 22px;
}
#infantries li img {
    width: 24px;
}
#left-troops {
    bottom: 0;
    position: absolute;
}
.homepage-btn {
    text-align: left;
    padding-left: 5px;
    transition: 0.35s;
}
.homepage-btn:hover {
    filter: brightness(90%);
    transition: 0.25s;
}
#main-information {
    background: url('../terrain/homepage_buttons_4.gif') no-repeat;
}
#main-browse {
    background: url('../terrain/homepage_buttons_5.gif') no-repeat;
}
#main-maps {
    background: url('../terrain/homepage_buttons_2.gif') no-repeat;
}
#main-league {
    background: url('../terrain/homepage_buttons_3.gif') no-repeat;
}
#main-tutorials {
    background: url('../terrain/homepage_buttons_6.gif') no-repeat;
}
#register-text {
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto;
    position: absolute;
    width: 100%;
    z-index: 3
}
.selector {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #c6c3c3;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 16px;
    width: 16px;
    z-index: 100;
}
#selectors {
    margin: auto auto 0 auto;
    z-index: 3
}
.slide {
    box-shadow: 0 5px 8px 8px rgba(0, 0, 0, 0.44); 
    opacity: 0;
    transition: opacity 1s ease-in-out;
    left: 0;
    margin: 50px auto;
    position: absolute;
    right: 0;
    z-index: 2;
}
#slideshow {
    background: #fafadd;
    display: flex;
    flex-direction: inherit;
    justify-content: center;
    height: 500px;
    position: relative;
    text-align: center;
    top: 10px;
    width: 100%;
}
#slideshow-buttons {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 25px;
    top: 25px;
    z-index: 2;
}
#slideshow-buttons button {
    border: 1px solid #DDDDDD;
    border-radius: 10px;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    height: 80px;
    margin-top: 8px;
    width: 250px;
}
#slideshow-buttons button:hover {
    /* background-color: #DEDEDE; */
    border: 1px solid #DDDDDD;
    border-radius: 10px;
    color: #009966;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    height: 80px;
    margin-top: 8px;
    width: 250px;
}
#slideshow-intro {
    text-align: center;
    width: 100%;
}
#slideshow-intro header {
    align-items: center;
    background: #cccca8;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#slideshow p {
    border-bottom: 1px solid rgba(221, 221, 190, 0.9);
    bottom: 0;
    font-size: 20px;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
}
#slideshow-left-co {
    left: 25px;
    position: absolute;
    z-index: 1;
}
.rotating-co {
    left: 25px;
    position: absolute;
    z-index: 1;
    height: 432px;
    box-shadow: none;
    margin: 0;
}
#slideshow-right-co {
    position: absolute;
    right: 10px;
    z-index: 1;
}
#video-container {
    background: url('../terrain/homepage_newspaper_welcome.png') no-repeat;
    background-position: center;
    background-size: 100% 100%;
    width: 600px;
    height: 365px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    image-rendering: pixelated;
    z-index: 1;
}
#video-status {
    background: url('../terrain/homepage_video_status.png') no-repeat;
    background-position: center;
    background-size: 100% 100%;
    width: 150px;
    height: 62px;
    image-rendering: pixelated;
    position: absolute;
    top: 77.5px;
    right: 430px;
    z-index: 1;
    animation-name: bob;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    opacity: 1;
    transition: cubic-bezier(0.55, 0.055, 0.675, 0.19) 2s;
    transition-delay: 2s;
}
#module-status {
    background: url('../terrain/homepage_module_status.png') no-repeat;
    background-position: center;
    background-size: 100% 100%;
    width: 150px;
    height: 62px;
    image-rendering: pixelated;
    position: absolute;
    bottom: 432.5px;
    left: 28px;
    z-index: 1;
    animation-name: bob;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    opacity: 1;
    transition: cubic-bezier(0.55, 0.055, 0.675, 0.19) 0.5s;
}
@keyframes bob {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 10px); }
    100%   { transform: translate(0, -0px); }   
}

#video-container-back:before, #video-container-back:after {
    content: "";
    height: 365px;
    position: absolute;
    width: 600px;
    background: url('../terrain/homepage_newspaper_welcome_back.png') no-repeat;
    background-position: center;
    background-size: 100% 100%;
}
#video-container-back:before {
    /* background: #f8f0d0; */
    box-shadow: 0px 0.45rem 4px 0px rgba(0,0,0,0.44);
    left: 300px;
    top: 60px;
    transform: rotate(-2.5deg);
    z-index: 0;
}
#video-container-back:after {
    /* background: #f8f0d0; */
    box-shadow: 0px 0.45rem 4px 0px rgba(0,0,0,0.44);
    right: 300px;
    top: 60px;
    transform: rotate(1.4deg);
    z-index: 0;
}

#welcome-video {
    opacity: 0;
    transition: cubic-bezier(0.55, 0.055, 0.675, 0.19) 2s;
    transition-delay: 2s;
    transition-property: opacity;
}

#slideshow-bottom {
    height: 60px;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -15px;
}

#slideshow-bottom span {
    font-size: 18px;
}

.homepage-banner-root {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid;
    border-color: var(--border-color);
    justify-content: center;
    overflow: hidden;
    padding: 1px;
    position: relative;
    width: 400px;
    font-family: "Nova Square", cursive;
}

.homepage-banner-content {
    align-items: center;
    border-style: solid;
    border-width: 4px 2px;
    border-color: var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px 0;
    z-index: 2;
    font-size: 18px;
}

#homepage-discord-link {
    position: relative;
    margin-right: 15px;
}

#homepage-reddit-link {
    position: relative;
    margin-left: 15px;
}

.btn {
    height: 60px;
    width: 60px;
    transform:scale(1.0);
    transition: 0.25s;
}

.btn:hover {
    transform:scale(1.05);
    transition: 0.25s;
}

#register-login-div {
    position: absolute;
    align-self: center;
    top: 1px;
}

#features-module {
    width: 1160px;
    align-items: center;
    display: flex;
    align-self: center;
    justify-content: center;
    margin-left: 20px;
}

#feature-flex {
    width: 1200px;
    height: 400px;
    display: flex;
    background-color: #fafadd;
    margin-bottom: 40px;
    overflow: hidden;
	transition: 0.3s;
}

.feature-div-root {
    position: relative;
    width: 190px;
    height: 400px;
    image-rendering: pixelated;
    transition: 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
    margin: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    filter: sepia(0.8);
}

.feature-div-root:hover {
    transition: 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
    width: 350px;
    filter: sepia(0);
}

.feature-div-root:hover h1 {
    transition: 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
    opacity: 0;
}

#feature-flex:hover #module-status {
    opacity: 0;
    transition: cubic-bezier(0.55, 0.055, 0.675, 0.19) 0.5s;
}

.feature-div-root h1 {
    transition: 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
    font-family: "Nova Square", cursive;
    text-shadow: 0px 0px 10px white;
    font-size: 34px;
    opacity: 1;
    width: 120px;
    overflow-x: wrap;
}

.feature-header {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: -140px;
    text-align: center;
    font-size: 34px;
}

.feature-content {
    transition: 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
    position: absolute;
    font-family: "Nova Square", cursive;
    opacity: 0;
    color: white;
    font-size: 22px;
    width: 260px;
    visibility: hidden;
}

.feature-content a {
    color: rgb(20, 196, 138);
}

.feature-content a:hover {
    color: rgb(0, 153, 102);
}

.feature-div-root:hover .feature-content {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.1s;
}

.terrain-background {
    width: 00px;
    image-rendering: pixelated;
    transition: 0.25s cubic-bezier(0.39, 0.575, 0.565, 1)
}

.terrain-background:hover {
    width: 400px;
    transition: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#feature-1 {
    background: url('../terrain/homepagefeatures/module_terrain_1.png') no-repeat;
    background-size: cover;
    background-position: center;
    margin-left: 10px;
}

#feature-2 {
    background: url('../terrain/homepagefeatures/module_terrain_2.png') no-repeat;
    background-size: cover;
    background-position: center;
}

#feature-3 {
    background: url('../terrain/homepagefeatures/module_terrain_3.png') no-repeat;
    background-size: cover;
    background-position: center;
}

#feature-4 {
    background: url('../terrain/homepagefeatures/module_terrain_4.png') no-repeat;
    background-size: cover;
    background-position: center;
}

#feature-5 {
    background: url('../terrain/homepagefeatures/module_terrain_5.png') no-repeat;
    background-size: cover;
    background-position: center;
}

#feature-6 {
    background: url('../terrain/homepagefeatures/module_terrain_6.png') no-repeat;
    background-size: cover;
    background-position: center;
    margin-right: 10px;
}

#feature-6 {
    margin-right: 10px;
}

.shadow {
    text-shadow: 0px 0px 15px black;
    filter: drop-shadow(0px 0px 1px black) drop-shadow(0px 0px 10px black);
}

.no-select {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* FEATURE 1 - FREE TO PLAY */

#feature-1 {
    overflow: hidden;
}

#f1-omega-land {
    width: 350px;
    height: 350px;
    position: absolute;
    bottom: -420px;
    left: -45px;
    opacity: 0;
    transition: 0.15s;
    border-radius: 1000px;
}
 
 #feature-1:hover #f1-omega-land {
     opacity: 0.9;
     transition: 0.8s ease-out;
     bottom: -380px;
     animation: rotation 60s infinite linear;
}

@keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
  }

/* FEATURE 2 - UP TO 16 PLAYERS */

.f2-infantry-l {
    position: absolute;
    top: -80px
}

.f2-infantry-r {
    position: absolute;
    top: 180px
}

.f2-infantry-l img,
.f2-infantry-r img  {
    opacity: 0;
    position: absolute;
    width: 30px;
    height: auto;
    transition: 0.15s;
    border-radius: 0;
}

#inf-l-1 {
    --t-time: 0.6s;
    --t-delay: 0.9s;
    --left-start: 32px;
    --left-end: 0px;
    left: var(--left-start);
}

#inf-l-2 {
    --t-time: 0.6s;
    --t-delay: 0.8s;
    --left-start: 64px;
    --left-end: 32px;
    left: var(--left-start);
}

#inf-l-3 {
    --t-time: 0.6s;
    --t-delay: 0.7s;
    --left-start: 96px;
    --left-end: 64px;
    left: var(--left-start);
}

#inf-l-4 {
    --t-time: 0.6s;
    --t-delay: 0.6s;
    --left-start: 128px;
    --left-end: 96px;
    left: var(--left-start);
}

#inf-l-5 {
    --t-time: 0.6s;
    --t-delay: 0.5s;
    --left-start: 160px;
    --left-end: 128px;
    left: var(--left-start);
}

#inf-l-6 {
    --t-time: 0.6s;
    --t-delay: 0.4s;
    --left-start: 192px;
    --left-end: 160px;
    left: var(--left-start);
}

#inf-l-7 {
    --t-time: 0.6s;
    --t-delay: 0.3s;
    --left-start: 224px;
    --left-end: 192px;
    left: var(--left-start);
}

#inf-l-8 {
    --t-time: 0.6s;
    --t-delay: 0.2s;
    --left-start: 256px;
    --left-end: 224px;
    left: var(--left-start);
}

#feature-2:hover #inf-l-1,
#feature-2:hover #inf-l-2,
#feature-2:hover #inf-l-3,
#feature-2:hover #inf-l-4,
#feature-2:hover #inf-l-5,
#feature-2:hover #inf-l-6,
#feature-2:hover #inf-l-7,
#feature-2:hover #inf-l-8 {
    left: var(--left-end);
    transition: var(--t-time);
    transition-delay: var(--t-delay);
    opacity: 1;
}

#inf-r-1 {
    --t-time: 0.6s;
    --t-delay: 0.2s;
    --left-start: -32px;
    --left-end: 0px;
    left: var(--left-start);
}

#inf-r-2 {
    --t-time: 0.6s;
    --t-delay: 0.3s;
    --left-start: 0px;
    --left-end: 32px;
    left: var(--left-start);
}

#inf-r-3 {
    --t-time: 0.6s;
    --t-delay: 0.4s;
    --left-start: 32px;
    --left-end: 64px;
    left: var(--left-start);
}

#inf-r-4 {
    --t-time: 0.6s;
    --t-delay: 0.5s;
    --left-start: 64px;
    --left-end: 96px;
    left: var(--left-start);
}

#inf-r-5 {
    --t-time: 0.6s;
    --t-delay: 0.6s;
    --left-start: 96px;
    --left-end: 128px;
    left: var(--left-start);
}

#inf-r-6 {
    --t-time: 0.6s;
    --t-delay: 0.7s;
    --left-start: 128px;
    --left-end: 160px;
    left: var(--left-start);
}

#inf-r-7 {
    --t-time: 0.6s;
    --t-delay: 0.8s;
    --left-start: 160px;
    --left-end: 192px;
    left: var(--left-start);
}

#inf-r-8 {
    --t-time: 0.6s;
    --t-delay: 0.9s;
    --left-start: 192px;
    --left-end: 224px;
    left: var(--left-start);
}

#feature-2:hover #inf-r-1,
#feature-2:hover #inf-r-2,
#feature-2:hover #inf-r-3,
#feature-2:hover #inf-r-4,
#feature-2:hover #inf-r-5,
#feature-2:hover #inf-r-6,
#feature-2:hover #inf-r-7,
#feature-2:hover #inf-r-8 {
    left: var(--left-end);
    transition: var(--t-time);
    transition-delay: var(--t-delay);
    opacity: 1;
}

/* FEATURE 3 - ALL 28 COs */

#commanders {
   width: 295px;
   height: auto;
   position: absolute;
   bottom: -70px;
   opacity: 0;
   transition: 0.15s;
}

#feature-3:hover #commanders {
    opacity: 0.85;
    transition: 0.8s ease-out;
    bottom: -50px;
}

/* FEATURE 4 - CUSTOM DESIGN MAPS */

#feature-4 {
    overflow: inherit;
}

.hachi-container {
    position: absolute;
    bottom: -45px;
}

#hachi {
    position: absolute;
    top: 0px;
    left: 70px;
    width: auto;
    height: 110px;
    z-index: 2;
    transition: 0.15s;
}

#feature-4:hover #hachi {
    transition: 0.8s;
    top: -14px;
}

.map-bot-container {
    position: absolute;
    bottom: -55px;
}

.map-top-container {
    position: absolute;
    top: -155px;
}

.map-bot-container img {
    position: absolute;
    top: -12px;
    left: -20px;
    width: auto;
    height: 110px;
    opacity: 0.7;
    transform: translate3d(0, 0, 0);
    image-rendering: initial;
    animation: slideshowLeft 60s linear forwards;
}

#feature-4:not(:hover) .map-bot-container img {
    animation-play-state: paused;
}

#feature-4:not(:hover) .map-top-container img {
    animation-play-state: paused;
}

.map-top-container img {
    position: absolute;
    top: 0px;
    left: -170px;
    width: auto;
    height: 118px;
    opacity: 0.7;
    transform: translate3d(0, 0, 0);
    image-rendering: initial;
    animation: slideshowRight 60s linear forwards;
}

@keyframes slideshowLeft {
    100%  { -webkit-transform: translateX(-28%); }
}

@keyframes slideshowRight {
    100%  { -webkit-transform: translateX(32%); }
}


/* FEATURE 5 - RANKED PLAY */

.tourny-banners {
    position: absolute;
    bottom: 0px;
    transition: 0.1s;
    opacity: 0;
}

.tourny-banners img {
    position: absolute;
    top: 0;
    box-shadow: none;
    width: 230px;
    left: 14px;
    height: auto;
    z-index: 2;
    animation-name: swapBanners;
    animation-iteration-count: infinite;
    animation-duration: 12s;
    transition: 0.15s;
}

#banner-2 {
    animation-delay: -8s;
}

#banner-3 {
    animation-delay: -4s;
}

.f5-medals {
    position: absolute;
    width: 100%;
    top: -20px;
}

.f5-medals img {
    width: 60px;
    height: auto;
    transition: 0.15s;
}

#left-medal {
    --top-start: -40px;
    --top-end: -80px;
    --t-time: 0.8s;
    position: absolute;
    top: var(--top-start);
    left: 35px;
    transition-property: top;
    transition: var(--t-time);
}

#middle-medal {
    --top-start: -40px;
    --top-end: -90px;
    --t-time: 1s;
    position: absolute;
    top: var(--top-start);
    left: 100px;
    transition-property: top;
    transition: var(--t-time);
}

#right-medal {
    --top-start: -40px;
    --top-end: -75px;
    --t-time: 0.6s;
    position: absolute;
    top: var(--top-start);
    left: 165px;
    transition-property: top;
    transition: var(--t-time);
}

#feature-5:hover #left-medal, 
#feature-5:hover #middle-medal,
#feature-5:hover #right-medal {
    top: var(--top-end);
    transition: var(--t-time);
}

#feature-5:hover .tourny-banners {
    bottom: -30px;
    transition: 0.8s;
    opacity: 1;
}

#feature-5:not(:hover) .tourny-banners img {
    animation-play-state: paused;
}

@keyframes swapBanners {
    0% {opacity: 0; transform: scale(0.9); }
    20% {opacity: 1; transform: scale(1); }
    33% {opacity: 1; transform: scale(1); }
    53% {opacity: 0; transform: scale(0.9); }
    100% {opacity: 0; transform: scale(0.8);}
}

/* FEATURE 6 - RANKED PLAY */

.f6-emojis {
    position: absolute;
    width: 100%;
    top: 0px;
}

.f6-emojis img {
    width: 50px;
    height: auto;
    position: absolute;
    left: 105px;
    top: 20px;
    opacity: 0;
    transition: 0.15s;
}

#emoji-2 {
    /* TOP LEFT */
    --t-time: 0.6s;
    --t-delay: 0.3s;
    --top-start: 0px;
    --top-end: -70px;
    --left-start: 105px;
    --left-end: 20px;
    top: var(--top-start);
    left: var(--left-start);
}

#emoji-1 {
    /* TOP */
    --t-time: 0.6s;
    --t-delay: 0.1s;
    --top-start: 0px;
    --top-end: -100px;
    --left-start: 105px;
    --left-end: 105px;
    top: var(--top-start);
    left: var(--left-start);
}

#emoji-3 {
    /* TOP RIGHT  */
    --t-time: 0.6s;
    --t-delay: 0.5s;
    --top-start: 0px;
    --top-end: -70px;
    --left-start: 105px;
    --left-end: 190px;
    top: var(--top-start);
    left: var(--left-start);
    width: 57.5px;
}

#emoji-6 {
    /* BOTTOM RIGHT */
    --t-time: 0.6s;
    --t-delay: 0.4s;
    --top-start: 0px;
    --top-end: 125px;
    --left-start: 105px;
    --left-end: 190px;
    top: var(--top-start);
    left: var(--left-start);
}

#emoji-4 {
    /* BOTTOM */
    --t-time: 0.6s;
    --t-delay: 0.2s;
    --top-start: 0px;
    --top-end: 155px;
    --left-start: 105px;
    --left-end: 105px;
    top: var(--top-start);
    left: var(--left-start);
}

#emoji-5 {
    /* BOTTOM LEFT */
    --t-time: 0.6s;
    --t-delay: 0.6s;
    --top-start: 0px;
    --top-end: 125px;
    --left-start: 105px;
    --left-end: 20px;
    top: var(--top-start);
    left: var(--left-start);
}

#feature-6:hover #emoji-1, 
#feature-6:hover #emoji-2,
#feature-6:hover #emoji-3,
#feature-6:hover #emoji-4,
#feature-6:hover #emoji-5,
#feature-6:hover #emoji-6 {
    top: var(--top-end);
    left: var(--left-end);
    opacity: 1;
    transition: var(--t-time);
    transition-delay: var(--t-delay);
}

/* body {
    animation: animatedBackground 1000s linear infinite;
}

@keyframes animatedBackground {
    from {
      background-position: 0 0;
    }
    to {
      background-position: -10000px 10000px;
    }
  } */