/* Base reset */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

body {
  font-family: 'Geist', sans-serif;
}

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

/* Background Gradient */
body, html {
  /* background: linear-gradient(to top right, #ff416c, #8e54e9); */
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: top;
  padding: 20px;
}

/* Centered Container */
.container {
  width: 100%;
  max-width: 720px;
  /* background: white; */
  /* border-radius: 24px; */
  padding: 40px;
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); */
  position: relative;
}

/* Language Toggle */
.lang-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 14px;
}

.lang-toggle a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

/* Profile */
.profile {
  display: flex;
 /* align-items: column;
  gap: 16px;
  flex-wrap: wrap;*/
  flex-direction: column; /* stack image + text vertically */
  align-items: left; /* center align */
  text-align: left;

}

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

.text h1 {
  font-size: 28px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.text p {
  font-size: 16px;
  color: #757575;
  line-height: 24px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.links a {
  font-size: 14px;
  color: #0077cc;
  text-decoration: none;
}

/* Timeline */
.timeline {
  margin: 32px 0;
  padding-left: 20px;
}

.timeline li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

/* Experience Section */
.experience {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon {
  width: 32px;
  height: 32px;
  background-color: #eee;
  border-radius: 6px;
}

/* Optional different colors per role */
.software {
  background-color: #ffafcc;
}
.webdev {
  background-color: #bde0fe;
}
.dev {
  background-color: #caffbf;
}

.year {
  font-size: 13px;
  color: #777;
}

/* 🔁 Mobile Responsiveness */
@media (max-width: 600px) {
  .container {
    padding: 24px;
  }

  .lang-toggle {
    position: static;
    text-align: right;
    margin-bottom: 10px;
  }

  .profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .avatar {
    width: 50px;
    height: 50px;
  }

  .text h1 {
    font-size: 20px;
      margin-bottom: 20px;
      margin-top: 20px;
  }

  .text p {
    font-size: 14px;
  }

  .links {
    flex-direction: column;
    gap: 6px;
  }

  .timeline {
    padding-left: 10px;
  }

  .timeline li {
    font-size: 14px;
  }

  .job {
    flex-direction: row;
    align-items: flex-start;
  }

  .icon {
    flex-shrink: 0;
  }
}
