.countryBallContainer .countryBallWrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    background-image: url('/img/bgForElements/texture3.png');
    background-color: #000000b5;
    border-radius: 6px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    color: #f2f2f2;
}

.mobile .countryBallContainer {
    width: 1024px;
}
.mobile .containerPaddingBottomFix.foundation-style {
    display: block;
}

.countryBallContainer .countryBallBanner {
    transition: transform 100ms;
    height: 75vh;
    width: 87.7vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 6px;
    border: 2px solid black;
    box-shadow: 0 0 3px 1px #050505 inset;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin: 0 auto;
}

.countryBallContainer .countryBallHeader {
    display: flex;
    justify-content: center;
    align-items: center;
}
.countryBallContainer .countryBallHeader > h1 {
    color: white;
    font-size: 2em;
    font-weight: bold;
    position: absolute;
    top: -2px;
    border-radius: 0 0 12px 12px;
    padding: 0.3em;
    background: #000000c7;
    margin: 0;
    z-index: 1;
    box-shadow: 0 1px 4px 3px black;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
}

.mobile .countryBallContainer .countryBallHeader > h1 {
    font-size: 4.5em;
}

.countryBallContent > div {
    transform: translateX(-100%);
}

.countryBallContainer .countryBallBack {
    top: 9%;
    position: absolute;
    font-size: 3em;
    color: #dc4309;
    background: black;
    left: 3%;
    border: 3px solid black;
    filter: drop-shadow(0px 1px 2px black);
    border-radius: 50%;
    cursor: pointer;
}

.countryBallContainer .navigationContainer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1em;
    -webkit-transition: opacity 500ms linear;
    transition: opacity 500ms linear;
}

.mobile .countryBallContainer .navigationContainer {
    font-size: 2.5em;
}

.countryBallContainer .navigationContainer.active {
    animation: fade 500ms linear;
}

.countryBallContainer .navigationContainer > .bookmarkBtn,
.loadouts > .bookmarkBtn,
.myGear, .equipmentListBtn {
    position: relative;
    min-width: 110px;
    min-height: 30px;
    text-transform: uppercase;
    max-height: 60px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    border-radius: 0.5em;
}

.mobile .countryBallContainer .navigationContainer > .bookmarkBtn,
.mobile .loadouts > .bookmarkBtn,
.mobile .myGear, .mobile .equipmentListBtn {
    padding: 1em 1.5em !important;
    border-radius: 10px !important;
}

.countryBallContainer .navigationContainer > .bookmarkBtn.active,
.loadouts > .bookmarkBtn.active,
.myGear.active {
    box-shadow: inset 0px -3px 1px 0px #0047b7, inset 0px 1px 1px 0px rgb(255 255 255) !important;
    background: linear-gradient(to bottom, #2c79f3 0, #00b0f4 100%) !important;
    pointer-events: none;
    opacity: 1 !important;
}
.countryBallContainer .navigationContainer > .bookmarkBtn.active:hover,
.loadouts > .bookmarkBtn.active:hover,
.myGear.active:hover {
    background: linear-gradient(to bottom, #2caaf3 0, #00bff4 100%) !important;
}

.countryBallContainer .countryballTitle {
    cursor: pointer;
    background-color: #ff1e0085;
    color: white;
    padding: 4px 20px;
    font-weight: bold;
    font-size: 1.25em;
    border-radius: 5px;
    width: max-content;
    outline: 3px solid white;
    filter: drop-shadow(2px 3px 2px black);
    text-shadow: 1px 1px 2px #000, 1px 1px 1px #000;
}

.countryBallContainer .building .countryballTitle {
    position: unset;
}

.mobile .countryBallContainer .countryballTitle {
    font-size: 2em;
}

.mobile .countryBallContainer .building .countryballTitle {
    font-size: 4em;
}

.countryBallContainer .countryBall {
    transform: scale(1);
}

.mobile .countryBallContainer .countryBall {
    transform: scale(2.4) !important;
}

.countryBallContainer .countryBall:not(.topLeft):hover::after {
    display: none !important;
}

.countryBallContainer .building {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: #f2f2f2;
    position: absolute;
    width: 16%;
    height: 33%;
    text-shadow: 0  0 2px #000;
    transition: all 0.3s;
}

.countryBallBanner:not(.townBanner) .building {
    width: 33%;
    height: 33%;
}

.mobile .countryBallContainer:not(.town) .building {
    width: 40%;
    height: 40%;
}

.countryBallContainer .building:hover {
    cursor: pointer;
    filter: saturate(1.25) brightness(1.25) drop-shadow(0 0 0.75rem #fffa);
}

.mobile .countryBallContainer .countryBall:hover {
    filter: unset;
}

.countryBallContainer .iconLinks {
    z-index: 99 !important;
    align-content: space-around;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 150px;
    background: #000000c7;
    box-shadow: 0 1px 4px 3px black;

}
.countryBallContainer .iconLinks.right {
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
    right: 0;
}

.countryBallContainer .iconLinks.left {
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
    left: 0;
}

.countryBallContainer .iconLinks i {
    background-color: white;
    border-radius: 50%;
    box-shadow: 1.5px 1.5px 4px #0008, 0 0 3px #000a;
    font-size: 2.5em;
    padding: 0.5em;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s;
    width: fit-content;
    color: #000000;
    border: 3px solid black;
}
.countryBallContainer .iconLinks i:hover {
    cursor: pointer;
    transform: scale(1);
}

.mobile .countryBallContainer .iconLinks.left {
    position: fixed;
    bottom: 235px;
    top: unset;
    margin: 0;
}

.mobile .countryBallContainer .iconLinks i {
    font-size: 5em;
}


