@font-face {
	font-family: Pixelated MS Sans Serif;
	src: url(ms_sans_serif.woff) format("woff");
	src: url(ms_sans_serif.woff2) format("woff2");
	font-weight: 400;
	font-style: normal;
}

body {
  background-color: #103010;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  user-select: none;
  background-size: 100vw 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/*Text*/
p {
  margin: 0;
  color: #00ff00;
  font-size: calc(0.6vw + 0.5vh);
}

#dialog {
  color: #206020;
  font-size: calc(1.5vw + 2vh);
  margin-left: 3vw;
  margin-right: 3vw;
  margin-top: 2.5vw;
  line-height: calc(1.8vw + 2.4vh);
  font-family: 'Permanent Marker';
}

#skipText {
  position: absolute;
  top: 1vw;
  left: 1vw;
  color: #505050;
  font-size: calc(0.5vw + 2.0vh);
  line-height: calc(0.5vw + 2.0vh);
  display: none;
  font-weight: bold;
}

#topBarInfo {
  position: absolute;
  top: 0.3vh;
  right: 0.4vh;
  z-index: 2;
  text-align: right;
  color: #106010;
  font-size: 1.8vh;
  line-height: 2vh;
}

#portalDivText {
  color: #00b000;
  font-size: 1.4vw;
  position: absolute;
  bottom: 91.2vh;
  right: 69vw;
  line-height: 1.4vw;
}

#yoshisText {
  font-size: 1.6vw;
  text-shadow: 0 0 0.5vw #00ff00;
  line-height: 1.6vw;
  margin: 1vw;
}

#yoshiSoftcapText {
  margin: 1vw;
  margin-top: 0;
  margin-bottom: 0.6vw;
  display: none;
  color: #ff6060;
}

#yoshiSoftcapText2 {
  margin: 1vw;
  margin-top: 0;
  margin-bottom: 0.6vw;
  display: none;
  color: #ff0000;
}

#yoshiSoftcapText3 {
  margin: 1vw;
  margin-top: 0;
  margin-bottom: 0.6vw;
  display: none;
  color: #a00000;
}

#yoshiSoftcapText4 {
  margin: 1vw;
  margin-top: 0;
  margin-bottom: 0.6vw;
  display: none;
  color: #800000;
}

#yoshisPerClickText {
  margin: 1vw;
  margin-top: 0;
  margin-bottom: 0.6vw;
  display: none;
}

#automatorsText {
  font-size: 1vw;
  margin: 0.5vw;
}

#RnDDivText {
  color: #8080ff;
  font-size: 1.4vw;
  position: absolute;
  bottom: 91.2vh;
  right: 1.3vw;
  line-height: 1.4vw;
  display: none;
}

#rewindText {
  color: white;
  font-size: 1.6vw;
  line-height: 3vw;
  margin-top: 0;
  margin-left: 0.5vw;
  margin-right: 0.5vw;
}

#tachyonsTextBox {
  position: absolute;
  top: 4.5vh;
  left: 0;
  width: 35%;
}

#tachyonsText {
  color: white;
  text-align: center;
  font-size: 1.6vw;
  line-height: 1.6vw;
  margin: 1.2vw;
}

#yoshisTextBox {
  position: absolute;
  top: 4.5vh;
  right: 0;
  width: 35%;
}

#yoshisText2 {
  text-align: center;
  font-size: 1.6vw;
  line-height: 1.6vw;
  margin: 1.2vw;
}

#capitalismTitle {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 4vw;
  line-height: 6vw;
  font-weight: bold;
  color: #20ff20;
  text-shadow: 0.3vw 0.3vw #106010
}

#taxText {
  margin: 0;
  margin-top: 1vw;
  width: 100%;
  text-align: center;
  font-size: 2vw;
  line-height: 2.4vw;
  color: #20ff20;
}

#blessingsDivText {
  color: #ffff60;
  font-size: 1.4vw;
  position: absolute;
  top: 4.5vh;
  left: 1vw;
  line-height: 2vw;
}

#TvPText {
  color: #ffff60;
  font-size: 1vw;
  position: absolute;
  top: calc(4.5vh + 2vw);
  left: calc(41.3vw + 8px);
  width: 10vw;
}

#blessingTimeText {
  position: absolute;
  top: calc(4.5vh + 43vw);
  left: 1vw;
  width: 40vw;
  text-align: center;
  color: white;
  font-size: 1.8vw;
}

#blessingInfo1 {
  text-align: center;
  color: black;
  font-size: 1.2vw;
  margin: 0.2vw;
  font-weight: bold;
  font-family: Pixelated MS Sans Serif;
}

#blessingInfo2 {
  text-align: center;
  color: black;
  font-size: 0.8vw;
  margin-top: 0;
  font-family: Pixelated MS Sans Serif;
}

#blessingInfo3 {
  text-align: center;
  color: black;
  font-size: 1vw;
  margin: 0.2vw;
  margin-top: 1.5vw;
  font-family: Pixelated MS Sans Serif;
}

#lightCoinsText {
  color: white;
  font-size: 1.5vw;
  margin-top: 0.6vw;
  line-height: 1.5vw;
  text-align: center;
}

#lightCoinsSubtext {
  color: white;
  font-size: 1vw;
  margin-top: 0.6vw;
  line-height: 1vw;
  text-align: center;
}

#alterationsTitle {
  position: absolute;
  top: 4.5vh;
  left: 20%;
  width: 60%;
  margin: 0;
  text-align: center;
  color: #702020;
  -webkit-text-stroke: 0.12vw #d05050;
  text-shadow: 0.3vw 0.3vw #300808;
  font-size: 6vw;
}

#alterationsDesc {
  text-align: center;
  color: #501010;
  font-size: 1.2vw;
  margin-top: 0.5vw;
  margin-bottom: 0.6vw;
}

#alterationName {
  text-align: center;
  color: #501010;
  font-size: 2.4vw;
  font-weight: bold;
  margin-top: 0.2vw;
}

#alterationSubtitle {
  text-align: center;
  color: #501010;
  font-size: 1.3vw;
}

#alterationInfo {
  text-align: center;
  color: #501010;
  font-size: 1vw;
  margin-top: 0.8vw;
}

#currentAlterationInfo {
  text-align: center;
  color: #501010;
  font-size: 1.5vw;
  font-weight: bold;
  margin-top: 3.5vw;
}

#endingText {
  font-size: 3vw;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

#optionsTitle {
  color: #b0b0b0;
  margin: 1vw;
  margin-bottom: 3vw;
  font-size: 2.5vw;
  line-height: 2.5vw;
}

/*Buttons*/
button {
  border: 3px solid #00b000;
  background-image: linear-gradient(#106010, #104010);
  color: white;
  font-size: calc(0.4vw + 0.8vh);
  cursor: pointer;
}

button:hover {
  filter: brightness(115%);
}

#portalButton {
  margin-left: 1vw;
  margin-right: 1vw;
  font-size: calc(0.6vw + 1.1vh);
  display: block;
}

#buyMaxUpgradesButton {
  margin-left: 1vw;
  margin-top: 0.5vw;
  display: none;
}

#unlockAutomatorButton {
  margin-left: 1vw;
  margin-top: 0.5vw;
  display: block;
  color: #a0a0a0;
}

#unlockRnDButton {
  margin-left: 1vw;
  margin-top: 0.5vw;
  display: none;
  color: #a0a0ff;
}

#takeOverWorldButton {
  margin-left: 1vw;
  margin-top: 0.5vw;
  display: none;
  color: #ffa0a0;
}

#unlockCapitalismButton {
  margin-left: 1vw;
  margin-top: 0.5vw;
  display: none;
  background-image: linear-gradient(#10a010, #107010);
  color: #20ff20;
}

#unlockBlessingsButton {
  margin-left: 1vw;
  margin-top: 0.5vw;
  display: none;
  background-image: linear-gradient(#f0f050, #d0d000);
  border-color: #a0a000;
  box-shadow: 0 0 0.8vw #e0e050;
  color: white;
}

#unlockAlterationsButton {
  margin-left: 1vw;
  margin-top: 0.5vw;
  display: none;
  background-image: linear-gradient(#d08080, #a06060);
  border-color: #604040;
  color: #402020;
}

#buyAutomatorButton {
  color: #b0b0b0;
  display: block;
  margin: 0.5vw;
  margin-top: 2vw;
}

#doubleAutomatorButton {
  color: #b0b0b0;
  display: block;
  margin: 0.5vw;
  margin-top: 0;
}

#autobuyButton {
  margin: 0.5vw;
  margin-top: 0;
  display: none;
}

#rewindButton {
  position: absolute;
  top: 9vh;
  left: 50%;
  transform: translateX(-50%);
  border: 0.2vw solid white;
  box-shadow: 0 0 1.5vw white;
  background-color: black;
  background-image: none;
  height: 4vw;
}

.upgrade {
  transition: color 200ms;
  font-size: calc(0.6vw + 0.4vh);
}

.tachyonUpgrade {
  position: absolute;
  border: 0.2vw solid white;
  border-radius: 0.5vw;
  height: 4.4vw;
  font-size: 1vw;
  line-height: 1.2vw;
  margin: 1vw;
  background-image: linear-gradient(#004040, #002020);
  transform: translateX(-50%);
  transition: color 200ms;
  white-space: nowrap;
}

.capitalismButton {
  border: 3px solid #106060;
  background-image: linear-gradient(#50c050, #20a020);
  font-size: calc(0.6vw + 1.2vh);
  color: #b0e0f0;
}

.capitalismUpgrade {
  border: 3px solid #106010;
  background-image: linear-gradient(#50c050, #20a020);
  font-size: calc(0.6vw + 1.2vh);
  transition: color 200ms;
}

#resetBlessingUpgrades {
  position: absolute;
  top: calc(4.5vh + 2vw);
  right: 27vw;
  border: 4px solid #606060;
  background-image: linear-gradient(#d0d0d0, #a0a0a0);
  color: black;
  font-size: 1.2vw;
  text-align: center;
}

.blessingUpgrade {
  font-size: 1vw;
}

.buRed {
  border: 4px solid #601010;
  background-image: linear-gradient(#b04040, #901010);
}

.buBlue {
  border: 4px solid #101060;
  background-image: linear-gradient(#4040b0, #101090);
}

#endAlterationButton {
  position: absolute;
  bottom: calc(6vh + 1.2vw);
  left: 67vw;
  border: 3px solid #501010;
  background-color: rgba(40, 15, 15, 0.2);
  background-image: none;
  font-size: 1.5vw;
  font-weight: bold;
  color: #501010;
  display: none;
}

#completeAlterationButton {
  position: absolute;
  bottom: calc(6vh - 1.4vw);
  left: 67vw;
  border: 3px solid #10a010;
  background-color: rgba(15, 100, 15, 0.6);
  background-image: none;
  font-size: 1.5vw;
  font-weight: bold;
  color: #10a010;
}

.alterationUpgrade {
  border: 3px solid #501010;
  background-image: linear-gradient(#904040, #702020);
  font-size: 1.2vw;
  color: white;
}

#endingButton {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0.2vw solid #a00000;
  color: red;
  font-family: Pixelated MS Sans Serif;
  font-size: 2vw;
  padding: 0.2vw;
  background-image: none;
  background-color: black;
}

.optionsButton {
  display: block;
  margin: 1vw;
}

#discordButton {
  display: block;
  background-image: linear-gradient(#0050a0, #003060);
  border-color: #001830;
  margin: 1vw;
}

/*Divs*/
#cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 99;
  opacity: 1;
  transition: opacity 1000ms;
  overflow: hidden;
}

#dialogBox {
  position: absolute;
  bottom: 3vw;
  right: 5vw;
  width: 0;
  height: 0;
  background-image: linear-gradient(#80b080, #609060);
  border: 0.3vw solid #305030;
  border-radius: 2vw;
  transition: width 500ms ease-out, height 500ms ease-out, opacity 500ms ease-out;
  opacity: 0;
}

#topBar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.5vh;
  background-color: #082008;
  display: flex;
  justify-content: center;
}

.topBarTab {
  margin: 0;
  height: 100%;
  padding-left: 0.8vw;
  padding-right: 0.8vw;
  color: #00b000;
  font-size: 1.8vh;
  text-align: center;
  line-height: 4.5vh;
  cursor: pointer;
  z-index: 99;
}

.topBarTab:hover {
  background-color: #104010;
}

#yoshisTab {
  margin-top: 4.5vh;
  margin-left: 0;
  margin-right: 0;
  display: block;
}

#timeMachineTab {
  margin-top: 4.5vh;
  margin-left: 0;
  margin-right: 0;
  display: none;
}

#capitalismTab {
  margin-top: 4.5vh;
  margin-left: 0;
  margin-right: 0;
  display: none;
}

#blessingsTab {
  margin-top: 4.5vh;
  margin-left: 0;
  margin-right: 0;
  display: none;
}

#alterationsTab {
  margin-top: 4.5vh;
  margin-left: 0;
  margin-right: 0;
  display: none;
}

#optionsTab {
  position: absolute;
  left: 4vw;
  top: 8vh;
  width: 92vw;
  height: 84vh;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 0 3vw 0 3vw;
  display: none;
}

#portalDiv {
  position: absolute;
  top: 9.2vh;
  left: 1vw;
  width: 30vw;
  height: 85vh;
  border: 3px solid #00b000;
}

#automatorsDiv {
  position: absolute;
  bottom: 0.5vw;
  left: 0.5vw;
  right: 0.5vw;
  border: 3px solid #00b000;
  display: none;
}

#RnDDiv {
  position: absolute;
  top: 9.2vh;
  right: 1vw;
  width: calc(20vw + 20vh);
  height: 85vh;
  border: 3px solid #00b000;
  padding: 0.2vw;
  grid-template-columns: auto auto auto;
  grid-gap: 0.4vh;
  display: none;
  justify-content: right;
}

#capitalismBack {
  position: fixed;
  top: 4.5vh;
  left: 0;
  width: 100vw;
  height: 95.5vh;
  background-image: url('img/cashBack.png');
  overflow: hidden;
  z-index: -1;
}

#capitalismButtonsDiv {
  position: absolute;
  bottom: 1vw;
  left: 1vw;
  border: 3px solid #106060;
  padding: 0.2vw;
  display: grid;
  grid-template-columns: auto;
  grid-gap: 0.4vh;
  justify-content: right;
}

#capitalismUpgradesDiv {
  position: absolute;
  bottom: 1vw;
  right: 1vw;
  border: 3px solid #106010;
  padding: 0.2vw;
  display: grid;
  grid-template-columns: auto;
  grid-gap: 0.4vh;
  justify-content: right;
}

.capitalismUpgrade, .capitalismButton {
  font-size: calc(0.5vw + 1.1vh);
}

#blessingsDiv {
  position: absolute;
  top: calc(4.5vh + 2vw);
  left: 1vw;
  width: 40vw;
  height: 40vw;
  border: 4px solid #ffff60;
  background-image: url('img/pixelBack.png');
  image-rendering: pixelated;
}

#blessingInfoDiv {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12vw;
  padding-top: 0.4vw;
  padding-bottom: 0.4vw;
  padding-left: 0;
  padding-right: 0;
  border: 4px solid black;
  background-color: red;
  display: none;
}

.blessing {
  position: absolute;
  width: 4vw;
  height: 4vw;
  background-color: grey;
  background-image: url('img/pixelTriangle.png');
  background-size: 100% 100%;
  border: 0.3vw solid black;
  border-radius: 4vw;
  transform: translate(-50%, 50%);
  cursor: pointer;
}

#blessingUpgradesDiv {
  position: absolute;
  top: calc(4.5vh + 2vw);
  right: 1vw;
  width: 25vw;
  height: 45vw;
  border: 4px solid #404040;
  background-color: #606060;
  display: grid;
  grid-template-columns: auto;
}

#blessingUpgradesBox {
  width: 100%;
  height: 3vw;
}

#alterationsDescDiv {
  position: absolute;
  top: calc(4.5vh + 0.5vw);
  left: 0.5vw;
  width: 20vw;
  border: 3px solid black;
  background-color: #704040;
}

#alterationsDiv {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  width: 32vw;
  height: 32vw;
  transform: translateX(-50%);
  border: 3px solid #501010;
  background-color: rgba(40, 15, 15, 0.2)
}

.alterationImageDiv {
  width: 18%;
  height: 18%;
  transform: translate(-50%, -50%);
  position: absolute;
}

#alterationInfoDiv {
  position: absolute;
  bottom: calc(6vh + 16vw);
  left: 67vw;
  width: 28vw;
  height: 11vw;
  border: 3px solid #501010;
  background-color: rgba(40, 15, 15, 0.2);
}

#currentAlterationDiv {
  position: absolute;
  bottom: calc(6vh + 4vw);
  left: 67vw;
  width: 28vw;
  height: 11vw;
  border: 3px solid #501010;
  background-color: rgba(40, 15, 15, 0.2);
}

#alterationUpgradesDiv {
  position: absolute;
  bottom: 1vw;
  left: 1vw;
  border: 3px solid #501010;
  padding: 0.2vw;
  display: grid;
  grid-template-columns: auto;
  grid-gap: 0.4vh;
  justify-content: right;
}

#endingDiv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transition: opacity 3s linear;
}

/*Other*/
img {
  pointer-events: none;
}

#yoshiIcon {
  position: absolute;
  bottom: calc(3vw + 30.5vh);
  right: 6vw;
  width: calc(6vw + 12vh);
  filter: drop-shadow(0 0 0.3vw #10c030);
  display: none;
}

#blessingCircle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: radial-gradient(rgba(43, 179, 231, 0.7), rgba(43, 179, 231, 0) 70%);
  width: 85%;
  image-rendering: pixelated;
}

.alterationMainImage {
  width: 32%;
  transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
}

.alterationImage {
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  filter: drop-shadow(0 0 0.2vw white);
}

.alterationImageDiv:hover {
  cursor: pointer;
}