html,
body {
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
}

.cv-container {
  background-color: white;
  font-family: Times, serif;
  font-size: 13px;
  max-width: 800px;
  height: 100%;
  padding: 20px;
  color: #333;
  line-height: 1.6;
  margin: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Headings */
h1,
h2 {
  color: #222;
  font-weight: bold;
  margin-bottom: 10px;
}

h1 {
  font-size: 28px;
  text-align: center;
}

h2 {
  font-size: 22px;
  margin-top: 10px;
  margin-bottom: 10px;
}

h3 {
  font-size: 16px;
}

a,
a:visited {
  color: inherit;
  text-decoration: none;
}

/* Divider */
.divider {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ddd;
  margin: 10px 10px 0 0;
}

/* Section */
.section-title {
  border-bottom: 2px solid #222;
  margin-top: 5px;
}

.personal-info .full-name {
  padding: 0;
  margin: 0;
}

.personal-info .detail-information {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.personal-info i {
  margin-right: 5px;
  color: #444;
}

/* Contact Info */
.github,
.email,
.phone-number {
  font-size: 12px;
}

/* Skills */
.skills p {
  margin: 5px 0;
  padding-bottom: 5px;
}

/* Projects */
.projects .project-item {
  margin-top: 15px;
}

.project-details {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.project-item h3 {
  color: #333;
  justify-content: center;
  padding: 0;
  margin: 0;
  flex: 1;
  text-transform: uppercase;
}

.project-item .github-repo i {
  margin-right: 5px;
}

.project-item .role-container {
  margin-top: 2px;
  padding: none;
  font-style: italic;
  margin-bottom: 5px;
}

.project-item p {
  margin: 0;
  padding: 1px 0;
}

.technologies-used {
  font-size: 14px;
  color: #555;
}

.key-achievement ul {
  margin-top: 5px;
  padding-left: 20px;
}

.key-achievement li {
  font-size: 14px;
  margin-bottom: 5px;
}

.job-title {
  text-transform: uppercase;
  margin-bottom: 5px;
}

.job-details {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}

/* Education */
.education-item h3 {
  margin: 0;
  padding: 0;
}

.university {
  margin: 0;
  margin-bottom: 10px;
  padding: 0;
}

@media print {
  body {
    padding: 0;
    margin: 0;
  }

  .cv-container {
    box-shadow: none;
    max-width: none;
  }

  .divider {
    border-bottom: 1px solid #ddd !important;
    display: block !important;
  }
}

@media (max-width: 600px) {
  .cv-container {
    /* margin: 10px 0; */
    padding: 10px;
  }

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