/* Button Style */
.button-increase {
    background-color: #4CAF50; /* Green background */
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hover Effect */
.button-increase:hover {
    background-color: #45a049; /* Slightly darker green on hover */
}

/* Active State */
.button-increase:active {
    transform: scale(0.98); /* Button slightly shrinks when clicked */
    background-color: #388e3c; /* Even darker green when pressed */
}

/* Disabled State */
.button-increase:disabled {
    background-color: #b0b0b0; /* Light gray when disabled */
    cursor: not-allowed;
    opacity: 0.6;
}

/* Icon (if you want an icon with the button) */
.button-increase i {
    margin-right: 8px; /* Space between icon and text */
}

/* Example: Number display */
.number-display {
    font-size: 2rem;
    color: #fff;
    margin-top: 20px;
    text-align:center;
}

  /* Cookie counter */
  .cookie-counter {
    font-size: 3rem;
    color: #ff5722;
    font-weight: bold;
    margin: 20px 0;
  }
  
  .cookie-counter span {
    font-size: 1.2rem;
    color: #999;
  }
  
  /* Cookie icon/button */
  .cookie-icon {
    background-image: url("../images/myFace.png"); /* Add your cookie icon image here */
    background-size: cover;
    background-position: center;
    width: 150px;
    height: 150px;
    margin: 20px auto;
    border: 3px solid #ff5722;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease;
  }
  
  .cookie-icon:hover {
    transform: scale(1.1); /* Slightly enlarge the cookie icon on hover */
    box-shadow: 0px 0px 20px rgba(255, 87, 34, 0.8); /* Glow effect on hover */
  }
  
  .cookie-icon:active {
    transform: scale(0.95); /* Shrink slightly when clicked */
  }
  
  /* Upgrade buttons */
  .upgrade {
    background-color: #4caf50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    margin: 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.1s ease;
  }
  
  .upgrade:hover {
    background-color: #45a049;
    transform: scale(1.05);
  }
  
  .upgrade:disabled {
    background-color: #9e9e9e;
    cursor: not-allowed;
  }
  
  .upgrade:active {
    transform: scale(0.95);
  }
  
  /* Upgrade description */
  .upgrade-description {
    font-size: 1rem;
    color: #555;
    margin-top: 5px;
  }
  
  /* Upgrade container */
  .upgrade-container {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: center;*/
    gap: 20px;
    margin-top: 60px;
  }
  
  /* Achievement notifications */
  .achievement {
    background-color: #2196f3;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.2rem;
    margin: 20px 0;
    display: none;
  }
  
  .achievement.show {
    display: block;
    animation: fadeIn 1s ease-in-out;
  }
  
  /* Animation for achievements */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Game settings panel */
  .game-settings {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
    width: 250px;
    display: none;
  }
  
  .game-settings.show {
    display: block;
  }
  
  .game-settings button {
    background-color: #ff5722;
    color: white;
    padding: 10px 15px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .game-settings button:hover {
    background-color: #e64a19;
  }
  
  /* Modal background */
  .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }
  
  .modal-backdrop.show {
    display: block;
  }
  
  /* Modal window */
  .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }
  
  .modal h2 {
    font-size: 1.8rem;
  }
  
  .modal p {
    font-size: 1.2rem;
    color: #555;
  }
  
  /* Close button in modal */
  .modal .close-btn {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .modal .close-btn:hover {
    background-color: #e64a19;
  }
  
/* Global Styles */
body {
    background-color: #121212;  /* Dark background */
    color: #e0e0e0;  /* Light text */
    font-family: 'Arial', sans-serif;  /* Choose your desired font */;
    line-height: 1.6;
    height: 100vh;
	display: flex;
	flex-direction: column;
	margin: 0px;
}

#content{
	display: flex;
	flex: auto;
}


/* Header Styles */
header {
    background-color: #1f1f1f;  /* Slightly lighter dark background for header */
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

nav {
    background-color: #232323;  /* Dark gray background for nav */
    text-align: center;
    padding: 30px;
}

nav ul {
	display: flex;
	justify-content: space-around;
}

nav li {
	padding: 10px;
}

nav a {
    color: #ffffff;  /* White text for navigation links */
    font-size: 16px;
    display: flex;
	justify-content: space-around;
}

nav a:hover {
    color: #bb86fc;  /* Purple hover effect for links */
}

main {
	width: 70%;
	padding: 30px;
}

main h2 {
    font-size: 1.5em;
}

main ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 20px;
}

main ul li {
    margin-bottom: 8px;
}

aside {
	background-color: lightgray;
	width: 30%;
	padding: 30px;
}

a {
    color: #bb86fc;  /* Light purple for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}






/* Section Styles */
section {
    background-color: #1e1e1e;  /* Slightly lighter background for sections */
    margin-bottom: 30px;
    padding: 20px;
    
}

section h2 {
    color: #bb86fc;  /* Light purple for section headings */
    font-size: 24px;
}

/* Footer Styles */
footer {
    background-color: #1f1f1f;
    color: #888888;  /* Light gray text for footer */
    text-align: center;
    padding: 30px;
}


/* Buttons */
button.notgame {
    background-color: #6200ee;  /* Purple background for buttons */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    
    transition: background-color 0.3s;
}

button:hover.notgame {
    background-color: #3700b3;  /* Darker purple on hover */
} 

/* Form Styles */
input, textarea {
    background-color: #333333;  /* Dark background for form inputs */
    color: #e0e0e0;  /* Light text */
    margin-bottom: 15px;
    width: 100%;
    border-radius: 5px;
}

input:focus, textarea:focus {
    border-color: #bb86fc;  /* Purple border on focus */
    outline: none;
}

/* Card/Container Styles */
.card {
    background-color: #1e1e1e;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card h3 {
    color: #bb86fc;
}

.card p {
    color: #e0e0e0;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    nav a {
        display: block;
        
    }

    main {
        padding: 20px;
    }

    section {
        margin-bottom: 20px;
    }
}
button.center {
    margin:auto;
    text-align:center;
    display:block;
}
.center {
    margin:auto;
    text-align:center;
    display:block;
}
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 45vh; /* vh stands for viewport height */
}

.form {
    width: 50%; /* adjust this value to control the form's width */
    margin:auto;
    text-align:center;
    display:block;
    justify-content:center;
}