* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: #fcfcfc;
  padding: 40px 20px;
  line-height: 1.6;
  color: #1a1a1a;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 50px 70px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.header-content {
    flex-grow: 1; 
    text-align: left;
    padding-right: 40px;
}

.avatar-container {
  flex-shrink: 0;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

#profileName {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 0px;
    line-height: 1.1;
    color: #000;
}

.alias-style {
    font-size: 1.1em;
    color: #6a6a6a;
    margin-top: 5px;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.1em;
    font-weight: 500;
    color: #444;
    margin-top: 5px;
    margin-bottom: 10px;
}

.note-style {
    font-size: 1em;
    color: #444;
}

.role-style {
    color: #333;
}

.separator {
    margin: 0 8px;
    color: #999;
    font-weight: 400;
}

.links {
  margin-top: 15px;
}
.links a {
  color: #007bff;
  text-decoration: none;
  margin-right: 15px;
  font-size: 1em;
}

.links a:hover {
  text-decoration: underline;
  color: #0056b3;
}

.header-divider {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 30px;
}

.year-section {
  margin-bottom: 30px;
  padding: 0; 
}

.year-section h2 {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 40px;
}

.year-section p {
  color: #1a1a1a;
  margin-bottom: 10px;
  padding-left: 0;
  display: list-item; 
  list-style-type: disc;
  margin-left: 20px;
}
.year-section .line1 {
  list-style-type: none;
  margin-left: 0;
  font-weight: 600;
  margin-bottom: 15px;
}

.skills {
  margin-top: 10px;
  padding-left: 20px;
}

.skill {
  display: inline-block;
  background: #f0f0f0;
  color: #333;
  padding: 5px 10px;
  margin: 5px 5px 5px 0;
  border-radius: 3px;
  font-size: 0.9em;
  font-weight: 500;
}

.lang-btn {
  background: #333;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
  cursor: pointer;
  
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1000;
}

@media (max-width: 600px) {
  .container {
    padding: 20px;
  }
  
  .header {
    flex-direction: column;
    align-items: center;
  }
  
  .header-content {
    padding-right: 0;
    text-align: center;
    order: 2;
  }
  
  .avatar-container {
    margin-left: 0;
    margin-bottom: 15px;
    order: 1;
  }

  .links {
    text-align: center;
  }

  .subtitle {
      text-align: center;
      display: block; 
  }
  .links a {
      display: block;
      margin: 5px 0;
  }
  .separator {
      display: none;
  }
  
  #profileName {
    font-size: 2em;
  }
  
  .year-section h2 {
    font-size: 1.5em;
  }
}