body {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    place-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-image: url("abstract-1963838_1280.jpg");
    background-blend-mode:soft-light;
    background-color: rgb(49, 49, 49);
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    color: white;
    user-select: none;
    font-family: sans-serif;
}

#main {
    flex: 2;
}

#left {
    flex: 1;
    padding: 2em;
    max-width: 12.5em;
}

#right {
    flex: 1;
    padding: 1em;
    opacity: 0.5;
}

img {
    display: block;
}

.img-click:active {
    opacity: 0.8;
    transform: scale(1.04);
}

.upgrade-img {
    width: 40px;
}

.upgrade-img2 {
    padding-right: 20px;
    height: 66px;
    width: 51px;
}

.upgrade-img3 {
    padding-right: 5px;
    width: 50px;
}

.upgrade-img4 {
    width: 55px;
    height: 27.5px;
}

.diamond-img {
    width: 16px;
    height: 16px;
}

.upgrade, .unavailable-upgrade {
    display: flex;
    align-items: center;
    width: 330px;
    height: 60px;
    border: 4px solid #808080;
    justify-content: space-around;
    padding: 10px 20px;
    border-radius: 5px;
    position: relative;
    background-color: #00000f;
}

.unavailable-upgrade {
    background-color: #000000;
    opacity: 0.6;
}


.cost-info {
    display: flex;
    gap: 5px;
    align-items: center;
}

.mid-section h4 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.mid-section p {
    margin: 0;
}

.next-level-info {
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 18px;
    background-color: grey;      
    width: 140px;
    height: 80px;
}

.left {
    text-align: center;
    font-size: 22px;
}

.glow-on-hover {
    margin: 20px;
    width: 220px;
    height: 80px;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    display: none;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.all-levels {
    font-weight: 900;
    font-size: 24px;
    color: coral;
}

.mensch-zähler {
    color:white;
    border: 2px solid white;
    border-radius: 20px;
    background-color: #ff7300;
    text-align: center;
    font-weight: 900;
    position: relative;
    bottom: -326px;
    height: 105px;
    line-height: 3.3em;
    max-width: 15.87em;
}

#erde-container {
    display: block;
    align-items: center;
    max-width: 41em;
    margin-right: auto;
    margin-left: auto;
    padding-left: 5em;
}

#erde-bild {
    margin: 0;
    padding: 0;
    max-width: 40em;
    height: auto;

}

#erde:active {
    opacity: 93%;
    transform: scale(1.04);
}

#pointer {
    animation: pointer;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
    position: relative;
    left: 400px;
    bottom: 50px;
    height: 1px;
}

@keyframes pointer {
    0% {
        transform: scale(100);
    }
    10% {
        transform: scale(100);
    }
    50% {
        transform: scale(200);
    }
    
    100% {
        transform: scale(100);
    }
}

#erde:active #pointer {
    display: none;
}

#erde:hover {
    cursor: pointer;
}

#bank {
    width: 200px;
    cursor: pointer;
}

#bank:hover {
    opacity: 92%;
}

#bank:active {
    transform: scale(1.04)
}

#input-bank {
    width: 100%;
    margin-bottom: 0.5em;
    box-sizing: border-box;
    padding: 5px;
    border-radius: 16px;
    border: none;
}

#input-bank::placeholder {
    color: black;
}

#einzahl-btn {
    margin-right: 0.15em;
}

#einzahl-btn, #auszahl-btn {
    width: calc(50% - 0.25em);
    border-radius: 16px;
    background-color: coral;
    border: 1.75px solid white;
    color: white;
    line-height: 25px;
    font-weight: bolder;
}

#bank-visible {
    visibility: hidden;
    animation-duration: 1.6s;
    background-color: #00000f;
    padding: 16px;
    border-radius: 16px;
    margin-top: 2em;
}

#h4 {
    margin-top: 0;
}

@keyframes bankeffekt {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bankeffekt2 {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#kontostand2 {
    text-align: center;
    font-weight: bolder;
}

#konto-container {
    background-color: #00000f;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 1em;
}