/* Purpose:
  - Add style rules for the body of your webpage
  - This is useful if you want a rule to apply to EVERYTHING on your page
    - (Tip: You can always override these rules later in the stylesheet)
***/ 
* {
  box-sizing: border-box;
}

body {
    /* Add a background color or image */
    font-size: 16px;
    font-family: Georgia, 'Cambria', 'Merriweather', serif;
    margin: 0 auto;
    padding: 20px 40px;
    max-width: 900px;
    text-align: left;
    color: #000;
} 

/*** Text ***
  Purpose: 
  - Add style rules for headings (h1-h3),
    paragraphs (p), links (a), ***/

 header h1 {
  font-size: 25px;
  letter-spacing: 3px;
  line-height: 1.2;
  margin: 0 0 10px 0;
  padding: 0;
}

h2 {  
  font-family: Georgia, 'Cambria', 'Merriweather', serif;
  font-size: 18px;
  margin: 18px 0 4px 0;
  line-height: 1.2;
  text-align: left;
}

h3 {
  font-family: Georgia, 'Cambria', 'Merriweather', serif;
  font-size: 15px;
  letter-spacing: 1px;
  margin: 0px;
  text-transform: uppercase;
  text-align: left;
}


p {
  font-size: 15px;
  font-family: Georgia, 'Cambria', 'Merriweather', serif;
  margin: 12px 0;
  line-height: 1.6;
  max-width: none;
}

/* contact-info class for aligning to right of page */
.contact-info {
  font-size: 15px;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  margin-top: 5px;
  margin-bottom: 10px;
  padding-left: 25px;
}

li {
  margin-bottom: 4px;
  line-height: 1.35;
}

hr {
  border: none;
  border-top: 1px solid #000;
  margin: 4px 0 8px 0;
}

/*** Container
  Purpose: 
  - Add style rules for the website's containers
***/

.header-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 8px 0;
  margin: 0;
  border-bottom: 2px solid #000; 
}

.education-header{
  display: flex;
  justify-content: space-between;
  align-items:baseline;
  margin: 8px 0 0 0;
}

.education-header h3 {
  margin: 0;
}

.education-details{
  display:flex;
  justify-content: space-between;
  margin: 3px 0;
}

.work-experience-header{
  display: flex;
  justify-content: space-between;
  align-items:baseline;
  margin: 12px 0 0 0;
}

.work-experience-header h3 {
  margin: 0;
}

.work-experience-details{
  display:flex;
  justify-content: space-between;
  margin: 3px 0;
}

.certification-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 4px 0;
}

.certification-name {
    flex: 1;
}

.certification-date {
    margin-left: 20px;
    white-space: nowrap;
}

.project {
  margin-bottom: 12px;
}

.project h3 {
  margin: 10px 0 4px 0;
}
.project-details ul {
  margin-top: 0;
}

.skills-container p {
  margin: 5px 0;
  line-height: 1.4;
}

/*** footer ***
  Purpose:
  - Add style rules for your website's footer section
***/

footer {
  border-top: 1px solid #000;
  margin-top: 20px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  gap: 15px;
}

footer a {
  text-decoration: none;
  color: inherit;
}