/*
Angelo Hoeung
Feb. 10, 2025 
*/

/* reset default browser styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* global Styles */
body {
  font-family: "Arial", sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* resume container */
.resume-container {
  display: flex;
  max-width: 800px; /* smaller width */
  margin: 20px auto;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* sidebar is 1/3 width */
.sidebar {
  width: 33.33%;
  background: #7f3184; /* purple background */
  color: #fff;
  padding: 20px;
}

/* 2/3 of the width */
.main-content {
  width: 66.67%;
  padding: 20px;
}

/* photo */
.photo {
  text-align: center;
  margin-bottom: 20px;
}
.photo img {
  width: 220px;
}

/* contact */
.contact h2 {
  text-align: center; /* center contact header */
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.contact-info {
  margin-bottom: 10px;
}
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.contact-item .icon {
  display: inline-block;
  width: 1.5em;
  text-align: center;
  margin-right: 10px;
  font-size: 1.2em;
}

.contact-item .info a {
  color: #fff;
  text-decoration: none;
}
.contact-item .info a:hover {
  text-decoration: underline;
}

/* location section */
.location {
  text-align: center;
  margin-top: 10px;
}
.location p {
  margin-bottom: 5px;
}
.location-icon {
  display: block;
  margin: 0 auto;
}
.location-icon svg {
  width: 24px;
  height: 24px;
}

/* my attempt at a V-shaped divider that occupies full width */
.divider {
  width: 100%;
  margin: 15px 0;
}
.divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* education section */
.education h2 {
  text-align: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.edu-item {
  margin-bottom: 15px;
}
.edu-item h3 {
  margin: 5px 0;
}

/* main content */
.header h1 {
  font-size: 2.5em;
  margin-bottom: 5px;
}
.header h2 {
  font-size: 1.5em;
  color: #7f318b;
  margin-bottom: 15px;
}
.header hr {
  border: 0;
  height: 1px;
  background: #ccc;
  margin-bottom: 20px;
}

/* objective */
.objective p {
  margin-bottom: 20px;
}

/* experience */
.job {
  margin-bottom: 20px;
}
.job h3 {
  font-size: 1.2em;
  margin-bottom: 5px;
}
.job-dates {
  font-style: italic;
  color: #999;
  margin-bottom: 5px;
}
.job-description {
  margin-bottom: 10px;
}

/* skills section */
.skills .progress {
  width: 200px; /* fixed width for all progress bars */
  background: #ddd;
  border-radius: 5px;
  overflow: hidden;
  height: 10px;
  margin-right: 10px; /* space between the progress bar and the skill name */
}

.skills .progress-bar {
  height: 100%;
  background: #7f3184;
}

.skills .skill {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.skills .skill-name {
  white-space: nowrap;
}

.main-content h2 {
    color: #7f318b;
}