:root {
  --background-primary: #f4f4f9;
  --background-secondary: #ffffff;
  --text-primary: #333333;
  --text-secondary: #7d7d7d;
  --highlight-color: #4a90e2;
  --highlight-color-secondary: #ff6f61;
  --border-color: #dddddd;
  --star-active-color: #ffd700;
  --star-inactive-color: #ccc;
  --success-color: #4caf50;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --strong-color: #ff6f61;
  --h3-color: #4a90e2;
}

.dark-theme {
  --background-primary: #1f1f1f;
  --background-secondary: #2c2c2c;
  --text-primary: #e0e0e0;
  --text-secondary: #bbbbbb;
  --highlight-color: #4a90e2;
  --highlight-color-secondary: #ff6f61;
  --border-color: #444444;
  --star-active-color: #ffd700;
  --star-inactive-color: #555555;
  --shadow-color: rgba(255, 255, 255, 0.1);
  --strong-color: #ff6f61;
  --h3-color: #4a90e2;
}

body {
  background-color: var(--background-primary);
  font-family: "Arial", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
}

h1,
h2 {
  color: var(--highlight-color);
  text-align: center;
}

h2 {
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 10px;
}

h3 {
  color: var(--h3-color);
  text-align: center;
}

p,
li {
  color: var(--text-secondary);
}

p {
  text-align: center;
}

strong {
  color: var(--strong-color);
  text-align: center;
}

a {
  color: var(--highlight-color);
}


footer {
  text-align: center;
  color: var(--text-secondary);
  background-color: var(--background-secondary);
  border-top: 1px solid var(--border-color);
  border-radius: 8px;
}

.container {
  background-color: var(--background-secondary);
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px var(--shadow-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  flex-direction: column-reverse;
  align-items: center;
}

.profile-picture img {
  border-radius: 50%;
  width: 200px;
  height: 200px;
}

.stars {
  display: inline-block;
}

.star {
  font-size: 20px;
  color: var(--star-inactive-color);
}

.star.active {
  color: var(--star-active-color);
}


#theme-toggle {
  background-color: var(--highlight-color);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 5px;
}

#theme-toggle:hover {
  background-color: #357abd;
}

.experience {
  margin-top: 20px;
  
}

.job {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
 
}

.job img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.job div { 
  text-align: center;

}

.job h3 {
  margin: 0;
  font-size: 1.5em;
  color: var(--text-primary);
}

.job p {
  margin: 5px 0;
  color: var(--text-secondary);
  text-align: center;
  flex: 2;
}

.skills ul {
  list-style-type: none;
  padding: 0;
}

.skills li {
  margin-bottom: 10px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill-description {
  display: flex;
  flex-direction: column;
}


.skill-description span {
  margin-left: 5px;
  text-align: center;
}

.social-links a {
  margin-right: 15px;
  color: inherit;
  font-size: 30px;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--highlight-color);
}

.color-buttons {
  display: flex;
  gap: 5px;
}

.highlight-color-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.highlight-color-btn:hover {
  transform: scale(1.1);
}



@media (min-width: 480px) {
  .container {
    padding: 30px;
  }
  
  .header-container{
    flex-direction: row;   
  }

  h2 {
    font-size: 1.8em;
  }
  .job div {
    width: 220px;
  }
  .job img {
   
    height: auto;
  }

  .job h3 {
    font-size: 1.2em;
  }

  .job p {
    font-size: 0.9em;
  }

  .skill-item {
    flex-direction: row;
    align-items: center;
  }

  .skill-description {
    flex-direction: row;
    margin-bottom: 5px;
  }


  .skill-description p {
    margin-left: 0px;
  }

  .skill-item .stars {
    align-self:center;
  }
}


@media (min-width: 768px) {
  h2 {
    border-bottom: none;
  }
  strong{
    text-align: left;
  }
 
  .theme-toggle{
    width: 200px;
    display: flex;
    justify-content: flex-end;
  }
  .job {
    flex-direction: row;
    align-items: center;
    gap:20px;
    text-align: left;
  }

  .job h3 {
    text-align: left;
    font-size: 1.3em;
  }

  .job p {
    text-align: left;
  }

  .job div{
    text-align: left;
   
  }

  .skill-item {
    flex-direction: row;
    align-items: center;
  }

  .skill-item .stars {
    margin-left: 20px;
  }
  
}

