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

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #fafafa;
  color: #333;
  padding: 20px;
}

.hero {
  text-align: center;
  margin: 60px 0 40px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 600;
}

.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 810px;
  margin: 0 auto;
  padding: 20px 0;
}

.intro-text {
  flex: 1;
}

.intro-text p {
  margin-bottom: 1rem;
}

.intro-image {
  flex: 1;
  text-align: right;
}

.social-logo {
  max-height: 25px;
  padding-right: 10px;
}

.intro-image img {
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  max-height: 159px;
}

.about {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: 810px;
  margin: 60px auto;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,0.3);
  padding-top: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
  padding-bottom: 0;
}

.about-text {
  flex: 1;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.2rem;
}

.about-interests {
  flex: 1;
  font-size: 1rem;
  line-height: 1.7;
}

.about-interests h3 {
  margin-bottom: 1rem;
  font-weight: 400;
  font-size: unset;
}

.about-interests ul {
  list-style: none;
  padding-left: 0;
}

.about-interests li {
  margin-bottom: 1.2rem;
}

.about-interests a {
  color: rgba(55, 53, 47, .4);
}

.about-interests a:hover {
  text-decoration: underline;
}

.languages {
  max-width: 810px;
  margin: 60px auto;
  line-height: 1.8;
  padding: 20px 0;
  color: #444;
  border-top: 1px solid rgba(0,0,0,0.3);
  padding-top: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
  padding-bottom: 0;
}

.experience, .education, .contact {
  max-width: 810px;
  margin: 60px auto;
  border-top: 1px solid rgba(0,0,0,0.3);
  padding-top: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
  padding-bottom: 0;
}

.experience details, .education details, .contact details {
  margin: 0;
  padding: 0;
}

.experience h2, .education h2, .contact h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 400;
}

.experience details details, .education details details, .contact details details {
  padding-left: 1rem;
}

.details-inner {
  padding-left: 1rem;
}

.experience summary, .education summary, .contact summary {
  cursor: pointer;
  margin-bottom: 0.3rem;
}

.experience summary a, .education a, .contact a {
  color: rgba(55, 53, 47, .4);
}

p.prettylinks a {
  color: rgba(55, 53, 47, .4);
}

.experience summary a:hover, .education a:hover, .contact a:hover {
  text-decoration: underline;
}

.experience ul, .education ul, .contact ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
  list-style-type: disc;
}

.project-list {
  list-style-type: circle;
}

.project-list a {
  color: #555;
  text-decoration: none;
}

.project-list a:hover {
  text-decoration: underline;
}

.personal {
  max-width: 810px;
  margin: 60px auto;
  line-height: 1.8;
  border-top: 1px solid rgba(0,0,0,0.3);
  color: #444;
  padding-top: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
  padding-bottom: 0;
}

a.social-links {
  text-decoration: none;
}

a.social-links:hover {
  text-decoration: none;
}

a.social-links:visited {
  text-decoration: none;
}

.contact {
  text-align: center;
}


@media (max-width: 768px) {
  .intro, .about {
    flex-direction: column;
    text-align: center;
  }

  .intro-text, .intro-image, .about-text, .about-interests {
    flex: unset;
  }
}
