/* Reset some default styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url("background.jpeg"); /* Replace 'your-background-image.jpg' with the actual path to your image */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* This keeps the background fixed as the content scrolls */
}

.follow-me {
  padding: 10px;
  text-align: right;
  vertical-align: top;
  z-index: 999; /* Ensure it's above other content */
}

h3 {
  font-size: 1rem; /* Adjust the font size as needed */
}

.social-icon {
  width: 24px; /* Adjust the width as needed */
  height: 24px; /* Adjust the height as needed */
  margin: 0 5px; /* Adjust the margin as needed */
}

/* Header Styles */
.header {
  background-color: #0070ff;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.header h1 {
  font-size: 24px;
  margin: 0;
}

/* Navigation Links in Header */
.header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center; /* Center the navigation links */
}

.header nav li {
  display: inline;
  margin-right: 20px;
}

.header nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px; /* Adjust the font size as needed */
  letter-spacing: 2px; /* Add letter spacing for spacing out the links */
}

/* Add spacing between links */
.header nav li:not(:last-child) {
  margin-right: 30px;
}

/* Container Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sidebar Styles */
.sidebar {
  width: 250px;
  background-color: #f0f0f0;
  padding: 20px;
}

/* Content Styles */
.content {
  flex: 1;
  padding: 20px;
}

/* Preview Sections Styles */
#intro {
  text-align: center;
}

#games-preview,
#projects-preview {
  margin-top: 30px;
}

#games-preview h2,
#projects-preview h2 {
  font-size: 20px;
  margin: 0;
  color: #0070ff;
}

#games-preview a,
#projects-preview a {
  text-decoration: none;
  color: #0070ff;
  font-weight: bold;
}

/* Content Styles */
.content {
  flex: 1;
  padding: 20px;
}

/* Preview Sections Styles */
#intro {
  text-align: center;
}

#games-preview,
#projects-preview {
  margin-top: 30px;
}

#games-preview h2,
#projects-preview h2 {
  font-size: 20px;
  margin: 0;
  color: #0070ff;
}

#games-preview a,
#projects-preview a {
  text-decoration: none;
  color: #0070ff;
  font-weight: bold;
}

/* Button Styles */
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0070ff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #0056cc; /* Darker shade on hover */
}

/* New Sections Styles */
#about-section,
#games-section,
#projects-section,
#htopics-section {
  margin-top: 30px;
}

#about-section h2,
#games-section h2,
#projects-section h2,
#htopics-section h2 {
  font-size: 24px;
  margin: 0;
  color: #0070ff;
}

#about-section p,
#games-section p,
#projects-section p,
#htopics-section p {
  font-size: 16px;
  margin-top: 10px;
}

/* Style the buttons in new sections */
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0070ff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #0056cc; /* Darker shade on hover */
}

/* Footer Styles */
.footer {
  background-color: #0070ff; /* Change the background color to blue */
  color: #fff;
  text-align: center; /* Horizontally justified (centered) text */
  padding: 20px 0;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

#projects-preview h2 {
  font-size: 30px;
  margin: 0;
  color: #0070ff;
}

.test-button {
  padding: 10px 20px;
  background-color: #ffffff; /* Your desired button color */
  color: #3215d6;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap; /* Prevent text from wrapping */
  z-index: 1; /* Ensure text is above any overflow */
}

.test-button:hover {
  background-color: #0056b3; /* Change the color on hover */
}

.draggable {
  cursor: grab;
  position: absolute;
}

/* Cookie Clicker section styles */
.right-sidebar-content h3 {
  font-size: 20px;
  margin-top: 20px;
}

.cookie-image {
  width: 250px; /* Adjust the size as needed */
}

#cookie-count {
  font-size: 18px;
  margin-top: 10px;
}

/* Center the game container */
.cookie-clicker-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

/* Style game title and info */
.game-title {
  font-size: 24px;
}

.game-info {
  margin-top: 10px;
}

/* Style game elements */
.cookie-container {
  margin-top: 20px;
}

.cookie-container img {
  width: 350px;
  cursor: pointer;
}

#timer,
#score {
  font-size: 18px;
}

#start-button {
  margin-top: 20px;
  background-color: #3498db;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

#leaderboard {
  margin-top: 20px;
}

#leaderboard-list {
  list-style: none;
  padding: 0;
}

#global-stats {
  margin-top: 20px;
}

h1 {
  font-size: 1.5rem; /* Adjust the font size as needed */
  margin-right: 20px; /* Adjust the margin as needed */
}

.follow-me {
  top: 0;
  right: 0;
  padding: 10px;
  text-align: right;
  z-index: 999; /* Ensure it's above other content */
}

h3 {
  font-size: 1rem; /* Adjust the font size as needed */
}

.contact-box {
  position: fixed;
  top: 50%;
  right: 50px; /* Adjust as needed to control its position from the right */
  transform: translate(0, -50%);
  background-color: #0070ff;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 999;
}

.contact-box h2 {
  font-size: 24px;
  margin: 0;
}

.contact-box p {
  font-size: 16px;
  margin: 10px 0;
}
.contact-box a {
  text-decoration: none; /* Remove underline */
  color: inherit; /* Use the default text color */
  cursor: pointer; /* Show the pointer cursor on hover */
}
.cookie-count {
  color: #000; /* Initial text color (black) */
}