.btn-new{
	background: linear-gradient(90deg, rgba(27,11,171,1) 10%, rgba(5,5,5,1) 35%, rgba(194,16,187,1) 65%, rgba(171,172,12,1) 85%);
	color: white;
	font-weight: bold;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    width:calc(10% - 2px);
    float: left;
    border-width: 2px 1px 0px 1px;
    border-style: solid;
    height: 100%;
    width: calc(10% - 2px);
    border-color:black;
}

.btn-new:hover,
.btn-new:focus,
.btn-new.focus,
.btn-new:active,
.btn-new.active,
.open > .dropdown-toggle.btn-new {
	background: linear-gradient(90deg, rgba(127,127,128,1) 10%, rgba(23,105,37,1) 26%, rgba(108,9,157,1) 41%, rgba(122,23,23,1) 57%, rgba(107,74,19,1) 75%, rgba(161,110,8,1) 92%);
	color: white;
}

.open > .dropdown-toggle.btn-new {
  background-image: none;
}

body {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    background-image: url(../img/background.png);
}

.sectionLeft {
    float: left;
    width: 80%;
    height:100%;
}

.sectionRight {
    float: right;
    width: 20%;
}

.sectionFooter {
    margin-top: 20%;
}

div#Stars {
    color: white;
    white-space: pre-wrap;
    text-align: center;
    text-indent: 25px;
    position: absolute;
    border-color:white;
    /* float: left; */
    border-width: 2px 1px 2px 1px;
    border-style: solid;
    height: 25px;
    width: 193px;
    margin: 1px 0 0 1px;; 
    align-items: center;
    text-align: center;
    text-shadow:black;
    display: inline-block;
    padding:3px;
    left:11px;
    top:208px;
}

div#Stars span {
    font-weight: bold;
}

.stars-button {
    background-color: gray;
    color: white;
    width: 200px;
    text-align: center;
}


div#totalScoreEarned {
    color: white;
    white-space: pre-wrap;
    text-align: center;
    text-indent: 25px;
    position: absolute;
    border-color:white;
    /* float: left; */
    border-width: 2px 1px 2px 1px;
    border-style: solid;
    height: 25px;
    width: 193px;
    margin: 1px 0 0 1px;
    align-items: center;
    text-align: center;
    text-shadow: black;
    display: inline-block;
    padding:3px;
    left:11px;
    top:243.5px;
}

div#totalScoreEarned span {
    font-weight: bold;
    position: relative;
}

.building .building-image:hover:before {
    content: attr(data-text);
    position: absolute;
    top: 20px;
    left: 50px;
    background-color: gray;
    color: white;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1;
}

.building-image{
    width: 64px;
    height: 64px;
}

.building {
    position: relative;
    color: white;
    width: 256px;
}

#building-info {
    align-items: center;
    font-size: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    overflow-y: auto;
    /* enable vertical scrolling */
    max-height: 200px;
    /* set maximum height to restrict scrolling to this height */
}

p.name,
p.cost,
p.count {
    font-size: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.upgrades {
    margin: 10px 0;
}

.upgrade-info {
    font-size: 10px;
}


.buy {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 10px;
}

.buyxten {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 10px;
}

.sell {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 10px;
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #000 url(img/darkNoise.jpg);
    background-image: url(img/shadedBordersSoft.png), url(img/darkNoise.jpg);
    color: white;
    font-weight: bold;
    padding: 10px;
    font-size: 18px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 9999;
}

.saveGameNotify {
    border: 1px solid #e2dd48;
    background: #000 url(img/darkNoise.jpg);
    background-image: url(img/shadedBordersSoft.png), url(img/darkNoise.jpg);
    background-size: 100% 100%, auto;
    background-color: #000;
    border-radius: 2px;
    box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.5), 0px 2px 4px rgba(0, 0, 0, 0.25), 0px 0px 2px 2px #000 inset, 0px 1px 0px 1px rgba(255, 255, 255, 0.5) inset;
    text-shadow: 0px 1px 1px #000;
    color: #ccc;
    line-height: 100%;
    display: none;
    height: 32px;
    bottom: 20px;
    position: absolute;
    text-align: center;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
}


.achievementScreen {
    border-width: 3px;
    width: fit-content;
    border-style: solid;
    background-image: url(img/shadedBordersSoft.png);
    background: #000 url(/img/darkNoise.jpg);
    color: white;

}

#bottomRibbon {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5vh;
    line-height: 5vh;
    font-size: 1vw;
    color:white;
    text-align: center;
    font-weight: bold;
}

.ribbonButton {
    float: left;
    border-width: 2px 1px 0px 1px;
    border-style: solid;
    height: 100%;
    width: calc(10% - 2px);
}

#ribbonButton {
    float: left;
    border-width: 2px 1px 0px 1px;
    border-style: solid;
    height: 100%;
    width: calc(10% - 2px);
}

#versionButton {
    font-style: italic;
}
  .jbBlock.achBlock {
    width: calc(33% - 10px);
}

.jbButton.achButton {
    color:white;
}
.AchievementsContainer {
    color:white;
}

#achievement-container {
    color:white;
  }
.achievements-grid {
    display:grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(5, minmax(0, 1fr));
    gap: 75px; 
}














   /* #ResourcesContainer .stars-image:hover:before {
    content: attr(data-text);
    position: absolute;
    top: 20px;
    left: 225px;
    background-color: gray;
    color: white;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1;
    width:250px;
   }

.stars-button {
    background-color: gray;
    color: white;
    width: 200px;
    text-align: center;
}

#ResourcesContainer {
    position: relative;
    color: white;
    width: 256px;
} */