body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f3f5f7;
}

.page {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  background: white;
}
.sidebar {
  width: 280px;
  background: linear-gradient(180deg, #4b6cb7, #3bb78f);
  color: white;
  padding: 30px;
}

.profile img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: block;
  margin-bottom: 20px;
}
.main {
  padding: 30px;
  display: block;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.card experience {
  grid-column: 1 / 2;
}

.experience {
  grid-column: 2 / 3;
}

.skills {
  grid-column: 1 / 3;
}
.timeline .item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.year {
  font-weight: bold;
  color: #4b6cb7;
}
.skills-grid {
  display: flex;
  gap: 40px;
}

.skill {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 8px solid #4b6cb7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.item {
  margin-bottom: 24px;
}

.period {
  font-size: 0.9rem;
  color: #777;
}

.position {
  font-weight: 600;
}

.company {
  color: #4b6cb7;
}
@media (min-width: 900px) {
  .main {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "experience experience"
      "education education"
      "skills skills";
  }

  .experience { grid-area: experience; }
  .education  { grid-area: education; }
  .skills     { grid-area: skills; }
}
.experience .timeline {
  display: block;
}
@media (min-width: 900px) {
  .experience .timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

