/* Menu Top and Bottom */
.MenuTop {
    color: rgb(255, 255, 255);
    border: 2px solid gray;
    border-radius: 5px;
    margin: 0px 200px 0px 200px;
    text-align: center;
    background-color: rgb(0, 0, 0, 0.8);
    
}
.MenuDown {
    color: rgb(255, 255, 255);
    border-style: solid;
    border-color: gray;
    border-radius: 5px;
    margin: 50px 200px 0px 200px;    
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);

}
.website {
    color: white;
    text-decoration: none;
}
.website:visited {
    color: white;
    text-decoration: none;
}
.website:hover {
    text-decoration:underline;
    color: red;
}

body {
    overflow: hidden;
}

.MoneyPanel {
    color: white;
    border: 2px solid gray;
    border-radius: 5px;
    margin: 0px 200px 50px 200px;
    text-align: center;
    overflow: hidden;
    background-color: rgb(0, 0, 0, 0.8);

}

.MoneyButton {
    margin: 10px 20px 10px 0;
    font-size: 20px;
    border: 2px solid rgb(10, 10, 10);
    border-radius: 12px;
    padding: 8px 16px;
    white-space: nowrap;
    min-width: 120px;
    background-color: greenyellow;
}

.MoneyButton:hover {
    border-color: red;
}

.MoneyButton:active {
    scale: 0.95;
}

/* The page Container */
.container {
    display: flex;
    width: 100%;
}

.Material {
    border: 2px solid;
    border-radius: 10px;
    width: 40%;
    background-color: rgb(211, 211, 211, 0.6);
    position: relative;
    padding: 15px;
    margin: 10px;
    display: flex;
    flex-direction: column;
}
/* All but the last material */
.Clicks ,.Coal ,.Silver, .Gold, .Diamond{ 
    width: auto;
    border: 2px solid black;
    border-radius: 5px;
    position: relative;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    min-height: 60px;
}


/* Last Material */
.Uranium {
    width: auto;
    border: 2px solid black;
    border-radius: 5px;
    position: relative;
    padding: 10px;
    display: flex;
    align-items: center;
    min-height: 60px;
}


.Buttons-Material {
    margin: 0 20px 0 0;
    font-size: 20px;
    border: 2px solid rgb(10, 10, 10);
    border-radius: 12px;
    padding: 8px 16px;
    white-space: nowrap;
    min-width: 120px;
}



.Amount {
    width: 150PX;
}

.SpanAmount {
    width: 100px;
    border: solid;
    padding: 5px;
    margin-right: 10px;
}
.Level {
    margin-right: 5px;
}

.SpanLevel {
    margin-right: 30px;
}

.Cost{
    margin-right: 10px;
}

.SpanCost {
    margin-right: 10px;
}

.Persec {
    margin-left: 3px;
}

.Buttons-Right {
    font-size: 20px;
    border: 2px solid red;
    border-radius: 12px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 12px;
    background: white;
    margin-left: auto;
}
.Buttons-Material:hover, .Buttons-Right:hover {
    background-color: red;
    color: lightgrey;
    transition-duration: 1s;
}


/* The Achievements Tab */
.Achievements {
    width: 20%;
    border-style: solid;
    border-radius: 30px;
    text-align: center;
    background-color: rgb(211, 211, 211, 0.6);
}

.Achievements h3 {
    text-align: center;
    text-decoration: underline 2px;
}
.Achievements-Locked {
    max-width: 40px;
    max-height: 50px;
    border-style:double;
    border-color: black;
    border-radius: 5px;
    opacity: 50%; 
    /* Debug with opacity */
    filter: saturate(150) grayscale(1) contrast(10);

}

.Achievements-Unlocked {
    max-width: 40px;
    max-height: 40px;
    border-style:ridge;
    border-color: rgb(71, 70, 70);
    border-radius: 5px;
    background-color: white;
}

@keyframes example {
    0% {
        opacity: 100%;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 50%; 
        transform: translateY(-40px) scale(1.2);
    }
    100% {
        opacity: 0%;
        transform: translateY(-80px) scale(0.8);
    }
}

.PopUpNumber {
    position :fixed;
    color :rgb(255, 39, 18);
    z-index: 1000;
    pointer-events : none;
    padding : 10px;
    animation-name: example;
    animation-duration: 2s;
    /* border-radius: 50%; */
    scale: 150%;
    /* background-color: rgb(50, 248, 0); */
}


.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 2s ease-out;
}
.loading-h1 {
    color: red;
    scale: 200%;
}
.Lodingicon {
    scale: 50%;
    align-items: center;
}


.reset {
    text-align: end;
}

.Background-Text {
    position: absolute;
    top: 5%;
    left: 11%;
    scale: 250%;
    color: gray;
    z-index: -1;
    opacity: 70%;
}

.Background-Picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
}

.backgroundLogo {
    position:absolute;
    scale: 15%;
    left: 69%;
    top: -40%;
    animation-name: LogoAnimasion;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    border-radius: 50%;
}

@keyframes LogoAnimasion {
    0%  {
        box-shadow: 0 0 100px grey;
    }
    25% {
        box-shadow: 0 0 150px pink;
    }
    50% {
        box-shadow: 0 0 200px red;
    }
    75% {
        box-shadow: 0 0 150px pink;
    }
    100% {
        box-shadow: 0 0 100px gray;
    }
}