html, button, input, select, textarea {
  color: #444;
}

html {
  font-size: 1em;
  line-height: 1.4;
  font-family: "source-sans-pro", Arial, sans-serif;
}

body {
  background: #777;
  margin: 0;
}

#wrapper {
  max-width: 900px;
  min-width: 320px;
  margin: 20px auto;
  background: #fff;
  padding: 20px 30px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.page-header {
  border: 1px solid #ccc;
  box-shadow: 2px 4px rgba(0, 0, 0, 0.2);
  padding: 15px;
  background-color: #f5f5f5;
}

.page-header img {
  float: right;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 10px;
  border: 2px solid #ccc;
}

h1 {
  font-family: "source-sans-pro", sans-serif;
  font-size: 2rem;
  margin: 0;
}

h2 {
  color: #333;
  font-size: 1.3rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 3px;
  margin-top: 25px;
}

h3 {
  color: #333;
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

h4 {
  margin-bottom: 4px;
  color: #444;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.5;
}

ul {
  margin: 5px 0 15px 20px;
}

li {
  margin-bottom: 5px;
}

dl {
  margin-left: 15px;
}

dt {
  font-weight: bold;
  color: #222;
}

dd {
  margin-bottom: 8px;
  color: #555;
}

footer {
  text-align: center;
  color: #eee;
  background: #444;
  padding: 15px 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 25px;
}

footer a {
  color: #ddd;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.btn-details {
  margin-left: .5rem;
  font-size: .85rem;
  padding: .2rem .5rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #f7f7f7;
  cursor: pointer;
}

.btn-details:hover {
  background: #eee;
}

.details {
  overflow: hidden;
  transition: height .25s ease, opacity .25s ease, transform .25s ease;
  transform-origin: top;
}

.details > * {
  transform: scale(0.95);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}

.details:not([hidden]) > * {
  transform: scale(1);
  opacity: 1;
}

.skill {
  color: #2c5aa0;
  font-weight: 500;
  cursor: help;
  border-bottom: 2px dotted #2c5aa0;
  padding-bottom: 2px;
}

.skill:hover {
  color: #1a3d73;
  border-bottom: 2px solid #1a3d73;
}

#tooltip {
  position: fixed;
  background: #333;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  max-width: 250px;
  display: none;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

#tooltip.show {
  display: block;
}

#skills-rating {
  margin-bottom: 25px;
}

.skill-rating-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.skill-rating-item .skill-name {
  font-weight: 500;
  color: #333;
}

.skill-rating-item .stars {
  color: #ffd700;
}

#skills-chart {
  display: block;
  margin: 20px auto;
  border: 1px solid #ddd;
  max-width: 100%;
  height: auto;
}