.infobox{
  width: max-content;
  margin: auto;
  padding: 9px;
  border-width: 1px;
  border-style: solid;
  border-color: #aba89c;
  background: #d7d4c6;
  border-radius: 15px;
}
#gameInfoMenu{
  margin: auto;
  height: 60vh;
  width: 60vw;
  visibility: hidden;
  position: absolute;
  left: 20vw;
  top: 20vh;
  background: rgba(0, 0, 0, 0.2);
}
.upgrade2{
  font-family: quicksand;
  border-radius: 5px;
  width: 100%;
  height: 4vh;
  border-style: solid;
  z-index: 50;
  margin: 1px;
  display: block;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px black;
  font-size: 1vw;
}
#upgradecount{
  display: block;
  width: 100%;
}
#upgradecountwrapper{
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  bottom: 1vh;
  z-index: 100;
  width: 15vw;
}
#lb{
  position: absolute;
  top: 5px;
  left: 5px;
  background-filter: blur(10px);
  width: 24vw;
  border-radius: 5px;
  height: min-content;
}
#lbheader{
  text-align: center;
  font-family: quicksand;
  width: 100%;
  font-weight: 700;
  padding: 0;
  margin: 0;
  background-color: var(--primary);
  color: var(--secondary);
  font-size: 1em;
}
#lblist{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}
.sbu{
  width: 19%;
  font-family: quicksand;
  background: var(--secondary);
  border-radius: 9px;
  font-size: 2vh;
  height: 15%;
  border-style: solid;
  border-color: var(--primary);
}
.sbu:hover{
  background: #e0ddd0;
}
.sbu input{

}
#statusbox{
  position: absolute;
  z-index: 2109;
  background: var(--secondary);
  height: min-content;
  padding: 10px;
  border-radius: 10px;
  width: min-content;
  top: 50%;
  min-width: 15vw;
  left: 50%;
  visibility: hidden;
  box-shadow: 0px 0px 5px black;
  transform: translate(-50%, -50%);
  font-family: quicksand;
  display: flex;
  flex-direction: column;
}
.arrow{
  height: 25px;
  background: gray;
  width: 25px;
}

#play{
  width: 62%;
  height: 30%;
  border-style: solid;
  background: var(--primary);
  font-family: quicksand;
  border-color: var(--secondary);
  color: var(--secondary);
  border-radius: 10px;
  color: rbga(0, 0, 0, 0.3);
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.6);
  font-size: 4vh;
  transition: color 2s, background 2s, border-color 2s;
}
#play:hover{
  border-radius: 10px;
  color: var(--primary);
  background: var(--secondary);
  border-color: var(--primary);
  transition: color 0.5s, background 0.5s, border-color 0.5s;
}
.upgrade{
  width: 150px;
  height: 28px;
  color: white;
  pointer-events: auto;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0, 0, 0, 1);
  font-family: quicksand;
  border-radius: 5px;
  font-size: 14px;
  border-style: solid;
  z-index: 50;
  margin: 5px;
}
.upgrade .tooltip{
  visibility: hidden;
  text-align: center;
  position: absolute;
  width: 100vw;
  left: 0;
  font-size: 18px;
  bottom: 40px;
}
.upgrade:hover .tooltip{
  visibility: visible;
}
#upgradebar{
  text-align: center;
  position: absolute;
  padding: 0;
  pointer-events: none;
  z-index: 140244;
  margin: 0;
  width: 100%;
  bottom: 10vh;
}
.lbthing{
  width: 100%;
  font-family: quicksand;
  height: 1.4em;
  border-style: solid;
  font-weight: 700;
  font-size: 0.9em;
  border-radius: 5px;
  border-color: rgba(0, 0, 0, 0.2);
  border-width: 2px;
  color: white;
  text-indent: 10px;
  display: inline-grid;
  grid-template-columns: 1fr max-content;
  background: rgba(0, 0, 0, 0.3); 
}
.lbthing sub{
  vertical-align: baseline;
}

#advertisement {
  width: 80vw;
  height: 60vh;
  z-index: 102938471039847120398712;
  background: var(--secondary);
  border-radius: 10px; 
  position: absolute;
  left: 10vw;
  padding: 10px;
  border-style: solid;
  border-color: #C6C4B8;
  overflow-y: scroll;
  border-width: 3px;
  top: 20vh;
}

.mainButton{
  font-family: quicksand;
  color: var(--primary);
  border: solid 1px var(--primary);
  text-align: center;
  padding: 5px;
}
.mainButton2{
  font-family: quicksand;
  border: solid 1px var(--primary);
  text-align: center;
  background: var(--secondary);
  width: 100%;
  padding: 5px;
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  transition: background 2s;
}
.mainButton2:hover{
  background: #c5d3c5;
}
#socials{
  width: 100%;
  display: flex;
  gap: 5px;
  height: 20%;
  justify-content: center;
}
#socials div{
  aspect-ratio: 1/1;
  border: solid 1px var(--tertiary);
  border-radius: 5px;
  margin: 5px;
  padding: 5px;
  font-size: 1.2em;
  background: var(--primary);
  color: var(--secondary);
  transition: background 0.3s;
}
#socials div:hover{
  background: var(--tertiary);
}