@font-face {
    font-family: 'underground';
    src: url(./fonts/DarkUnderground.ttf);
}

@font-face {
    font-family: 'cloudy';
    src: url(./fonts/Cloudy.ttf);
}

@font-face {
    font-family: 'MF';
    font-style: normal;
    src: url(./fonts/MaterialIcons-Regular.ttf) format('woff');
}

.MF {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 48px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

.unselectable {
    user-select: none;
}

.flyingcoin {
    position: absolute;
    z-index: 6;
    cursor: pointer;
}

.popupnumber {
    font-family: 'underground';
    font-size: xx-large;
    position: absolute;
    z-index: 5;
    color: rgba(155, 155, 155, 1);
}

body {
    text-align: center;
    background: url(./images/background.jpg) fixed center center no-repeat #a4d6ea;
    background-size: 1250px;
    background-position-x: center;
    font-family: 'underground';
}

#background {
    position: fixed;
    top: 0px;
    left: 19%;
    right: 19%;
    width: 62%;
    z-index: -1;
}

#header {
    color: white;
    font-family: 'cloudy';
}

#goldimg {
    width: 100%;
}


#upgradegoldimg {
    width: 40px;
}

#gold {
    color: black !important;
    font-size: 100px !important;
    user-select: none;
    max-width: 300px;
}

#coins:hover {
    cursor: pointer;
}

#coinclick {
    background-color: rgba(0, 0, 0, 0);
    border-width: 0px;
    position: relative;
    width: 250px;
}

#goldcontainer {
    margin-top: 470px;
    margin-left: auto;
    margin-right: auto;
}

#goldcontainer:active{transform: scale(0.98);}

#coinclick:hover {
    cursor: pointer;
}

.savebutton {
    font-size: 40px;
    user-select: none;
    width: min-content;
    margin: 20px auto;
}

.savebutton:hover {
    cursor: pointer;
}

.upgrademenubutton {
    margin-right: 40%;
    margin-left: 40%;
    width: fit-content;
    padding: 5px;
    margin-top: 120px;
    color: rgb(62, 37, 3);
    border: 0px;
    background-color: rgba(0, 0, 0, 0);
    font-size: xx-large;
    font-family: 'underground';
    user-select: none;
}

.upgrademenubutton:hover {
    cursor: pointer;
    text-shadow: 2px 2px rgb(155, 116, 9);
}

#menu {
    background-image: url(./images/UpgradeMenuBackground.jfif); 
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    color: white;
    overflow-y: scroll;
    z-index: 10;
}

#settingsmenu {
    background-image: url(./images/UpgradeMenuBackground.jfif); 
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    color: white;
    overflow-y: scroll;
    z-index: 15;
}

.changeclick {
    height: 150px;
    width: 150px;
    margin-top: 10px;
    float: left;
    margin-left: 30px;
    border: white 5px solid;
    background-size: 100%;
}

#dailyrewards {
    background-image: url(./images/UpgradeMenuBackground.jfif); 
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    color: white;
    overflow-y: scroll;
    z-index: 100;
}

.noselectbutton {
    user-select: none;
}

.noselectbutton:hover {
    cursor: pointer;
}

.menuclosebutton {
    position: fixed;
    top: 10px;
    right: 25px;
}

/* menu div {
    float: left;
} */

.menuheader {
    float: none;
}

.stat-text {
    font-size: x-large;
}

.tiny-stat-text {
    font-size: x-small;
}

.upgrade {
    margin-top: 10px;
    float: left;
    margin-left: 50px;
}

.buttonlessupgrade {
    margin-top: 10px;
    float: left;
    margin-left: 50px;
    margin-bottom: 48px;
}

.row {
    overflow: auto;
    max-width: 1100px;
    width: fit-content;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.upgradeimg {
    width: 100px;
    height: 100px;
}

.close {
    font-size: xx-large;
    background-color: red;
    color: black;
    border: 3px solid darkred;
    border-radius: 3px;
    margin-bottom: 10px;
    cursor: pointer;
    user-select: none;
    float: none !important;
}

.buy {
    font-size: large;
    background-color: yellow;
    color: black;
    border: 3px solid orange;
    border-radius: 3px;
    margin: 10px 5px;
    cursor: pointer;
    user-select: none;
}

.redbuy {
    font-size: large;
    background-color: rgb(198, 0, 0);
    color: black;
    border: 3px solid rgb(140, 0, 0);
    border-radius: 3px;
    margin: 10px 5px;
    cursor: pointer;
    user-select: none;
}

.redbuynohover {
    font-size: large;
    background-color: rgb(198, 0, 0);
    color: black;
    border: 3px solid rgb(140, 0, 0);
    border-radius: 3px;
    margin: 10px 5px;
    user-select: none;
}

.greenbuy {
    font-size: large;
    background-color: rgb(0, 255, 81);
    color: black;
    border: 3px solid rgb(0, 135, 34);
    border-radius: 3px;
    margin: 10px 5px;
    user-select: none;
}


.dailyrewardimage {
    width: 125px;
    height: 91px;
}

.dailyreward {
    float: left;
    margin-top: 10px;
    margin-right: 10px;
    border: white solid 5px;
}

.dailyrewardrecived {
    float: left;
    margin-top: 10px;
    margin-right: 10px;
    border: green solid 5px;
}

.dailyrewardvalue {
    font-size: large;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'underground';
}
