/* Make body and html fill the full height */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  transition: background 0.5s, color 0.5s;
}

/* Theme Toggle Button */
#themeToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #00ccaa;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
}

/* Dark and Light Background Themes */
.dark-theme {
  background: #121212;
  color: #ffffff;
}

.light-theme {
  background: #ffffff;
  color: #000000;
}

/* Ensure progress bar backgrounds change too */
.dark-theme .progress-bar {
  background-color: #2c2c2c;
}
.light-theme .progress-bar {
  background-color: #e0e0e0;
}

/* Stretch main skills section to center vertically */
.skills-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  color: #00ccaa;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #00ccaa;
  text-align: center;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 10px;
}

.skill {
  width: 48%;
  text-align: left;
}

.skill span {
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}

/* Progress bar styling */
.progress-bar {
  border-radius: 20px;
  overflow: hidden;
  height: 12px;
}

.progress {
  height: 100%;
  width: 0;
  line-height: 12px;
  color: white;
  text-align: right;
  padding-right: 5px;
  border-radius: 20px;
  font-size: 12px;
  transition: width 2s ease-in-out, background-color 1s ease-in-out;
}
