body {
  text-align: left;
  background-color: #f9f9f9; /* Light background color */
  font-family: Arial, sans-serif; /* Default font family */
}

#Welcome {
  font-weight: 400;
  font-family: 'Silkscreen', sans-serif;
  color: black; /* Darker text color */
}

#version {
  font-family: 'Silkscreen', sans-serif;
  color: #666; /* Medium text color */
}

#Moneydisplay {
  margin: 0px;
  height: 10px;
  font-family: 'Silkscreen', sans-serif;
  display: inline-block;
  position: relative;
  bottom: 7px;
  color: #000000; /* Darker text color */
}

#Walnutdisplay, #Walnutpricedisplay, #inventoryb, .walnutshoppurchasep, .walnutshoppurchase, .walnutfarmpurchasep, .walnutfarmpurchase, .walnutmallpurchase, #upgrades, #speed, #inflationb, #Research, #researcher, .purchasable, .megawalnutb, #timer, .rightside, .megawalnutfarm, .wf1speed, .leveld, .plotb, .sprinklerd, .enchantd, #season, .mgf, .mgwdisplay, .goldsprinkler, .bronzesprinkler, .credits, .silversprinkler, .sprinklers, .platinumsprinkler, .titaniumsprinkler, .ricefarm, .rflevel, .rfsprinkler, #ricedisplay, .ricefarmb, .rfupgrade, .riceshopb, .mgf1speed, .shopamount{
  font-family: 'Silkscreen', sans-serif;
}

#inventory {
  background-color: #ffffff; /* White background */
  border: 1px solid #ccc; /* Light grey border */
  border-radius: 5px; /* Rounded corners */
  padding: 15px; /* Add some padding */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  margin: 20px 0; /* Add some margin */
}

#inventoryb, .walnutshoppurchasep, .walnutshoppurchase, .walnutfarmpurchasep, .walnutfarmpurchase, .walnutmallpurchase, #speed, #inflationb, #researcher, .megawalnutb, .megawalnutfarm, .wf1speed, .plotb, .goldsprinkler, .bronzesprinkler, .silversprinkler, .platinumsprinkler, .titaniumsprinkler, .ricefarmb, .rfupgrade, .riceshopb {
  border-radius: 4px;
  transition: background-color 0.3s, transform 0.3s; /* Smooth transitions */
}

#inventoryb:hover, .walnutshoppurchasep:hover, .walnutshoppurchase:hover, .walnutfarmpurchasep:hover, .walnutfarmpurchase:hover, .walnutmallpurchase:hover, #speed:hover, #inflationb:hover, #researcher:hover, .megawalnutb:hover, .megawalnutfarm:hover, .wf1speed:hover, .plotb:hover, .rfupgrade:hover, .riceshopb:hover, .ricefarmb:hover, .rfupgrade:hover, .seasonupdates:hover{
  background-color: #ffd700; /* Gold color on hover */
  transform: scale(1.05); /* Slightly enlarge on hover */
}

.walnutfarm, .ricefarmdiv, .sprinklers {
  background-color: #f0f0f0; /* Light grey background */
  padding: 20px; /* Add some padding */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  margin: 20px; /* Add some margin */
  
}

.easteregg {
  text-decoration: none;
  color: #ff4500; /* Orange color */
  font-weight: bold;
}

.easteregg:hover {
  text-decoration: underline;
  color: #ff6347; /* Tomato color on hover */
}

.rightside {
  position: absolute;
  right: 0px;
  font-family: 'Silkscreen', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Align all child divs to the right */
  padding: 10px; /* Add some padding */
}

.bronzesprinkler:hover{
  background-color: #cd7f32;
  transform: scale(1.05);
}

.silversprinkler:hover{
  background-color: silver;
  transform: scale(1.05);
}

.goldsprinkler:hover{
  background-color: gold;
  transform: scale(1.05);
}

.platinumsprinkler:hover{
  background-color: #b5fff4;
  transform: scale(1.05);
}

.titaniumsprinkler:hover{
  background-color: #00FFF7;
  transform: scale(1.05);
}

#customAlert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
}

#alertBox {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#alertMessage {
  margin-bottom: 10px;
}

.custom-alert {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.custom-alert-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 500px; /* Maximum width */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.custom-alert-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.custom-alert-close:hover,
.custom-alert-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.seasonupdates{
  background-color: #f0f0f0;
  padding: 10px; /* Adjust padding to fit text inside the button */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px;
  font-family: 'Silkscreen', sans-serif;
  width: 255px; /* Inrease width to fit text in one row */
  height: auto; /* Allow height to adjust based on content */
  display: inline-block; /* Ensure it behaves like a button */
  text-align: center; /* Center the text */
  white-space: nowrap; /* Prevent text from wrapping */
  transition: background-color 0.3s, transform 0.3s; /* Smooth transitions */
  
}

.seasonupdates:hover {
  background-color: #ffd700; /* Gold color on hover */
  transform: scale(1.05); /* Slightly enlarge on hover */
}

.custom-alert-content {
  font-family: "Silkscreen", sans-serif;
} 

.custom-alert-ok {
  background-color: #4CAF50; /* Green background */
  color: white; /* White text color */
  padding: 10px 20px; /* Add some padding */
  border: none; /* Remove borders */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Add a pointer cursor on hover */
  margin: 5px; /* Add some margin */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  transition: background-color 0.3s, transform 0.3s; /* Smooth transitions */
}

.loading-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, black, #00FFF7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-content {
  text-align: center;
  color: white;
  font-family: 'Silkscreen', sans-serif;
}

.spinner {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.double-bounce1, .double-bounce2 {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: black;
  opacity: 0.6;
  animation: bounce 2s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1s;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

.loading-content p {
  font-size: 24px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.account-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  text-align: center;
}

.account-form input {
  display: block;
  width: 80%;
  margin: 10px auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.account-form button {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px;
  border: none;
  border-radius: 5px;
  background-color: #3498db;
  color: white;
  cursor: pointer;
}

.account-form button:hover {
  background-color: #2980b9;
}

.account-form p {
  color: red;
}



.close-account-form {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  
}

.close-account-form:hover{
  cursor: pointer;
}

.account{
  background-color: #39FF14;
  font-family: 'Silkscreen', sans-serif;
  display: inline-block;
  position: absolute;
  right: 0px;
  border-radius: 4px;
}

.account:hover{
  transform: scale(1.05);
}