:root {
  /* fonts */
  --fLighterGray: rgb(228, 228, 228);
  --fLightGray: #c9c9c9;
  --fDarkGray: #777;
  --fDarkerGray: #333;

  /* backgrounds */
  --bLightestGray: #fdfcfc;
  --bLighterGray: #F2F2F2;
  --bLightGray: #e6e6e6;
  --bMidGray: #bbbbbb;
  --bDarkGray: #666;
  --bDarkerGray: #333;

  /* accents */
  /* --aPrimary: #8497B0; */
  --aPrimary: #264063de;

  /* sectionColors */
  --cHeaderBackground: var(--aPrimary);
  --cHeaderColor: var(--fLighterGray);
  --cAsideBackground: var(--bLightGray);
  --cQuoteHighlight: var(--bMidGray);
  --cBackground1: var(--bLighterGray);
  --cBackground2: var(--bLightestGray);
  --cMainColor: var(--fDarkerGray);
  --cMainColorHighlight: var(--fDarkGray);
  --cLinkColor: var(--fDarkerGray);
  --cLinkColorHover: var(--fLightGray);
  --cCardBackground: var(--bLighterGray);
  --cProjectBackground: var(--bLighterGray);
  --cProjectHover: var(--bLightGray);
  /* --cCardTitle: var(--bMidGray); */
  --cCardSubtitle: var(--fDarkGray);
}

/* global styles */
* {
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.2;
}

ul li {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.container {
  padding: 1rem;
}

/* .fa, .fas, .fal {
  font-size:36px;
} */

a {
  text-decoration: none;
  color: var(--cLinkColor);
  transition: 0.4s;
}

a:hover {
  color: var(--cLinkColorHover);
}

.textIndent {
  text-indent: 2em;
}

/* regular styles */
header {
  background-color: var(--cHeaderBackground);
  color: var(--cHeaderColor);
  height:200px;
}

header p {
  text-transform: uppercase;
}

.title {
  margin-left: 200px;
  text-align: center;
}

#headerTitle {
  font-size: 5rem;
  padding-top: 1rem;
}

#headerLine {
  height: 2px;
  background-color: var(--cHeaderColor);
  width: 90%;
  max-width: 1200px;
  margin: .5rem auto;
}

#headerSubtitle {
  font-size: 2rem;
  font-stretch: extra-expanded;
  margin-top: 1rem;
  letter-spacing: .4rem;
}

#headshot {
  max-width: 200px;
  border-radius: 50%;
  border: 10px solid var(--cAsideBackground);
  position:absolute;
  top: 10px;
  z-index: 2;
}

aside {
  background-color: var(--cAsideBackground);
  width: 200px;
  /* max-width: 250px; */
  float:left;
  /* height: 500px; */
  top: 0rem;
  position:sticky;
  z-index: 1;
  height: 100%;
  margin-bottom: -5rem;
  /* border: 1px solid red; */
}

.footer {
  text-align: center;
  color: var(--cMainColor);
}

#contact {
  margin-top: 30px;
  display: flex;
  justify-content: space-around;
}

#contact i {
  font-size: 36px;
}

#contact li {
  display: inline-block;
  padding: .5rem;
}

#menuButton {
  display: none;
}

.sectionLink {
  display: block;
  text-align:end;
  padding-top: 1rem;
  font-weight:bold;
}

.mainSection {
  margin-left: 200px;
}

.section:nth-child(even) {
  background-color: var(--cBackground1)
}

.section:nth-child(odd) {
  background-color: var(--cBackground2);
}

#bio, #skills, #certifications, #experience, #projects, #education{
  margin: 0 auto;
  padding: 6rem;
  max-width: 1500px;
}

.sectionTitle {
  text-align: center;
  font-size: 2rem;
  padding-top: 2rem;
}

.bioSummary {
  font-size: 1.4rem;
  margin: 5rem auto;
  color: var(--cMainColor);
}

.bioHighlight {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--cMainColorHighlight);
}

#bio {
  margin-top: 0;
}

#education {
  margin-bottom: 0;
}

.quoteWrapper {
  display: flex;
  justify-content: space-around;
}

blockquote {
  background: var(--cCardBackground);
  border-left: 10px solid var(--cQuoteHighlight);
  margin: 1em 10px;
  padding: 0.3em 10px;
  max-width: 500px;
  align-self: flex-start;
}

blockquote:before {
  color: var(--cQuoteHighlight);
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote:after {
  content: no-close-quote;
}

blockquote p {
  display: inline;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--cMainColor);
}

blockquote footer {
  text-align: right;
}

.skillWrapper {
  display: flex;
  align-items: center;
}

.skillLogo {
  font-size: 7rem;
  flex-basis: 10%;
  margin-right: 1rem;
}

.skillSection {
  margin: 2rem auto;
  flex-basis: 85%;
}

.skillTitle {
  font-size: 2rem;
  margin: .5rem auto;
}

.skillDescription {
  font-size: 1.3rem;
}

.employerLogo, .certLogo {
  max-width: 200px;
  max-height: 100px;
}

#experience, #certifications{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.employerCard {
  margin: 1rem;
  flex-basis: 300px;
  border: 1px solid black;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  background-color: var(--cCardBackground);
  font-size: 1.2rem;
}

.employerCard img {
  margin: auto;
  display: block;
  padding: 1rem;
}

#meederLogo {
  padding: 2rem; 
}

#salemLogo {
  padding: 2.5rem; 
}

.employerName {
  font-weight: bold;
  text-align: center;
  color: var(--cMainColor);
  margin: 0 0.2rem;
}

.employerTitle {
  text-align: center;
  color: var(--cCardSubtitle);
  margin: 0.5rem 0.2rem;
  font-weight: bold;
}

.employerTerm {
  text-align: center;
  margin-bottom: 1rem;
  font-size: .9rem;
}

.employerDescription {
  padding: 1rem;
  font-size: 1rem;
}

.certBadges {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  margin-bottom: 1rem;
}

.certBadges img {
  flex-shrink: 1;
}

.certCard {
  margin: 1rem;
  flex-basis: 30%
}

.certProvider {
  text-align: center;
  font-size: 2rem;
  padding: 1rem;
}

.certCard li {
  list-style:circle;
  margin-left: 20%;
  font-size: 1.2rem;
}

/* Accordion style projects */
#projects {
  width: 70%;
  max-width: 1200px;
}

.project {
  border: 1px solid var(--cMainColor);
  padding-bottom: 1rem;
  background-color: var(--cProjectBackground);
  cursor: pointer;
  transition: 0.5s;
}

.project:hover, .active {
  background-color: var(--cProjectHover);
}

.projectTitle {
  text-align: center;
  color: var(--cMainColor);
  font-weight: bold;
  font-size: 2rem;
  margin: 0.5rem;
}

.projectDescription {
  margin: .5rem;
  padding: 0 1rem;
  font-size: 1.2rem;
  color:var(--cMainColor);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out;
}

.project:before {
  content:'\02795';
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
  padding:1rem 1rem 0 0;
  margin-top: 2rem;
}

.project.active:before {
  content: "\2796";
}

.block {
  display: block;
}

.appear {
  height: 100px;
}



/*
Card style projects

#projects {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.project {
  padding: 1rem;
  margin: 1rem;
  flex-basis: 40%;
  border: 1px solid black;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  background-color: var(--cCardBackground);
  display: flex;
  flex-direction: column;
}

.projectTitle {
  text-align: center;
  color: var(--cMainColor);
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0.5rem 0;
}
*/

.projectBadges {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
  margin: auto 0 0 0;
  padding: 1rem 0 0 0;
}

.projectLogo {
  flex: 0 1 30%;
  height:60px; /*had it at 100 for card style projects */
  width:20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.projectDiagram {
  display: block;
  margin: 1rem auto;
}

.projectBadges img {
  max-width: 100%;
  max-height: 100%;
}

.educationCard {
  margin: auto;
  text-align: center;
  font-size: 1.3rem;
}

.educationDetail {
  color: var(--cMainColorHighlight);
}

/* media queries */

@media screen and (max-width: 1200px) {
  html {
    font-size: 14px;
  }

  #bio, #skills, #certifications, #experience, #projects, #education{
    padding: 4rem;
  }

  .sectionLink {
    font-size: 16px;
    padding-top: 2rem;
  }

  .bioSummary {
    font-size: 1.5rem;
  }

  .bioHighlight {
    font-size: 2rem;
  }

  .skillDescription {
    font-size: 1.1rem;
  }

  .projectLogo {
    height: 50px;
  }

  .employerCard {
    flex-basis: 280px;
  }

  .projectTitle {
    font-size: 1.5rem;
  }
  
  .projectDescription {
    font-size: 1rem;
  }

  .projectDiagram {
    width: 100%;
  }

  .certCard {
    flex-basis: 45%;
  }
}


@media screen and (max-width: 800px) {
  html {
    font-size: 14px;
  }

  .quoteWrapper {
    display: block;
    justify-content: space-around;
  }

  #bio, #skills, #certifications, #experience, #projects, #education{
    padding: 3rem;
  }

  .sectionLink {
    font-size: 16px;
    padding-top: 2rem;
  }

  .title {
    margin-left: 180px;
  }
  
  #headerTitle {
    font-size: 4rem;
    padding-top: 1.9rem;
  }
  
  #headerSubtitle {
    font-size: 1.3rem;
  }
  
  #headshot {
    max-width: 170px;
    top: 30px;
  }

  aside {
    width: 180px;
  }
  
  .mainSection {
    margin-left: 180px;
  }

  .bioSummary {
    font-size: 1.5rem;
  }

  .bioHighlight {
    font-size: 1.8rem;
  }

  .skillDescription {
    font-size: 1.1rem;
  }

  .projectLogo {
    height: 50px;
  }

  .employerCard {
    flex-basis: 280px;
  }

  .projectTitle {
    font-size: 1.5rem;
  }
  
  .projectDescription {
    font-size: 1rem;
  }

  .certCard {
    flex-basis: 45%;
  }
}

@media screen and (max-width: 748px) {
  #headerTitle {
    font-size: 3rem;
    padding-top: 2.5rem;
  }
  
  #headerSubtitle {
    font-size: 1.5rem;
  }
} 

@media screen and (max-width: 640px) {
  #headerTitle {
    font-size: 2.5rem;
    padding-top: 3rem;
  }

  #headerSubtitle {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 538px) {
  #headerTitle {
    font-size: 2.5rem;
    padding-top: 3rem;
  }
  
  #headerSubtitle {
    font-size: 1rem;
  }
} 

@media screen and (max-width: 428px) {
  #headerTitle {
    font-size: 2.1rem;
    padding-top: 2rem;
  }
  
  #headerSubtitle {
    font-size: 1rem;
  }
} 

@media screen and (max-width: 378px) {
  #headerTitle {
    padding-top: 1rem;
  }
}

@media screen and (max-width: 748px) {

  .title {
    margin-left: 120px;
  }
  
  #headshot {
    max-width: 100px;
    top: 30px;
    border-width: 8px;
  }
  
  #bio, #skills, #certifications, #experience, #projects, #education{
    padding: 2rem;
  }

  /* #headerTitle {
    font-size: 2.2rem;
    padding-top: 2rem;
  }
  
  #headerSubtitle {
    font-size: 1.2rem;
  } */

  .mainSection {
    margin-left: 0;
  }

  .bioSummary {
    font-size: 1.5rem;
  }

  .bioHighlight {
    font-size: 1.8rem;
  }

  aside {
    /* background-color: var(--cAsideBackground); */
    width: 100%;
    /* max-width: 250px; */
    float:none;
    height: 5rem;
    /* top: 0; */
    /* position:sticky; */
    /* z-index: 1; */
    margin-bottom: 0;
    /* border: 1px solid red; */
  }

  #menuButton {
    display: block;
    flex-basis: 30%;
    font-size: 36px;
    text-align: right;
  }

  .sideBar {
    display: flex;
  }

  #contact {
    flex-basis: 70%;
    margin-top: -10px;
    display: flex;
    justify-content: space-between;
    height: 36px;
  }
  
  #contact i {
    font-size: 36px;
  }
  
  #contact li {
    display: inline-block;
    padding: 1rem;
  }
  
  .navList {
    display: none;
  }

  .sectionLink {
    flex-basis: 30%;
    font-size: 36px;
    font-weight: normal;
    padding: 1rem;
    margin-top: -.8rem;
  }

  .skillLogo {
    font-size: 4rem;
  }

  .educationLogo img {
    height: 10rem;
  }
}

@media screen and (max-height: 473px) {
  .sectionLink {
    font-size: 16px;
    padding-top: 1rem;
  }
}