/*****************
Author: Mario Huerta
Date: June 17th, 2025
*****************/

:root {
  /*Linear Gradients*/
  --greenGradient: linear-gradient(135deg, #2d3f36 0%, #3B3F2F 100%);

  /* Resume root */
  --resume-spacing-sm: 0.75rem;
  --resume-spacing-md: 1.5rem;
  --resume-spacing-lg: 2.5rem;
  --resume-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --resume-shadow-hover: 0 4px 6px rgba(0, 0, 0, 0.05);
}

section {
  max-width: 800px;
  margin: 3rem auto;

}
/*
|--------------------------|
Unordered lists
|--------------------------|
*/ul {    
    list-style-type: disc;
    list-style-position: inside;
}

li {
    margin-bottom: 15px;
}

ul li {
    margin-left:15px;

}
ul li li {
    margin-left: 30px;
    list-style-type:circle

}

h1 {
    text-align: center;

}

/*
|--------------------------|
Education
|--------------------------|
*/

.educationSection {
    margin-bottom: 2rem;

}
.educationOverview {
    background: var(--greenGradient);
    border-radius: 12px;

    margin: 2rem 0;
    padding: 2rem;

    border-left: 4px solid;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.educationOverview h1 {
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;


}

.educationOverview h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.educationOverview ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.educationOverview li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
  position: relative;
  padding-left: 1.5rem;
}

.educationOverview li::before {
  content: "🎓";
  position: absolute;
  left: 0;
  top: 0.5rem;
}

/*
|--------------------------|
Coursework
|--------------------------|
*/
.coursework {
    background: var(--greenGradient);

    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    list-style: none;
    border-bottom: #93c5fd;
}
.coursework h1{
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.coursework > li {
    flex: 1;

    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.coursework > li.mathematics {
    /* Blue for math */
    border-left-color: var(--slateGray); 
}

.coursework > li.compsci {
    /* Green for CS */
    border-left-color: var(--lightBrown);
}

/* Style the nested lists */
.coursework ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.coursework ul li {
    padding: 0.5rem 0;
}

.coursework ul li:last-child {
    border-bottom: none;
}

/*
|--------------------------|
Resume 
|--------------------------|
*/
/* Resume section container */
.resumeSection {
  background: var(--greenGradient);
}

.resumeSection h1{ 
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

/* Individual job entries */
.jobEntry {
  border-radius: 8px;
  padding: var(--resume-spacing-lg);
  margin-bottom:  var(--resume-spacing-lg);
  border-left: 4px solid;
  border-left-color: var(--cyan1);
  transition: all 0.3s ease;
  position: relative;
}

/* Timeline indicator 
.jobEntry::before {
  content: '';
  position: absolute;
  left: -8px;
  top: var(--resume-spacing-lg);
  width: 4px;
  height: 40px;
  background: var(--resume-accent);
  border-radius: 8px;
}
*/

.jobEntry:hover {
  box-shadow: var(--resume-shadow-hover);
  transform: translateY(-2px);
}

/* Company header */
.jobHeader {
  margin-bottom: var(--resume-spacing-md);
  padding-bottom: var(--resume-spacing-sm);
  border-bottom: 2px solid var(--resume-border);
}

.jobCompany {
  margin: 0 0 0.25rem 0;
}

.jobTitle {
  margin: 0;
}

.jobAccomplishments li {
  padding: var(--resumeSpacingSm) 0;
  padding-left: var(--resumeSpacingMd);
  line-height: 1.6;
}


/*
|--------------------------|
  Contact section 
|--------------------------|
*/
.contactSection {
    background: var(--greenGradient);
    border-radius: 16px;

    padding: 3rem 2rem;

    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contactSection h1 {
    font-size: 2.5rem;

    margin: 0 0 1.5rem 0;
    padding-bottom: 0.5rem;
}

.contactSection p {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  opacity: 0.9;
}

.contactSection strong {
  display: inline-block;
  background: rgba(157, 61, 61, 0.1);
  padding: 1rem;
  margin: 1rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contactSection a {
  color: var(lightBlue1);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contactSection a:hover {
  color: var(lightBlue2);
  text-decoration: underline;
  text-underline-offset: 3px;
}