










/* Global styles
--------------------------------------------------- */
html {
  box-sizing: border-box;
}
*, *:before, *:after{
  box-sizing: inherit;
}

body{
  color: #343434;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
img{
  width: 300px;
}
a {
  color: #FFE66D;
}
a:hover {
  text-decoration: none;
}
h1 {
  font-size: 100px;
  line-height: 1;
}
h2 {
  font-size: 45px;
}
h1, h2 {
  font-family: 'Caveat', cursive;
  font-weight: 400;
  margin: 0;
}
.content-wrap{
  max-width: 800px;
  width: 85%;
  margin: 0 auto;
  padding: 60px 0;
}
h3 {
  margin-bottom: 0;
}
.item-details h3 + p {
  font-style: italic;
}
.item-details h3 ~ p {
  margin: 0;
}
.divider > section {
  border-bottom: 1px dashed #343434;
  padding: 25px 0;
}
.divider > section:last-of-type {
  border-bottom: none;
}


/* Profile
--------------------------------------------------- */
header {
  background: #2F3061;
  color: #F7FFF7;
}


/* Projects
--------------------------------------------------- */
.projects {
  background: #F7FFF7;
}
.projects a {
  color: #2F3061;
}
.projects .btn {
  color: #F7FFF7;
  background: #2F3061;
  text-decoration: none;
  padding: 8px;
  border-radius: 4px;
  display: inline-block;
}
.projects .btn:hover {
  background: rgba(47, 48, 97, 80%);
}
.project-item {
  overflow: hidden;
}
.project-item h3 {
  margin-top: 0;
}


/* Work Experience
--------------------------------------------------- */
.work-experience{
  background: #A1C6D7;
}



/* Education
--------------------------------------------------- */




/* Contact Info
--------------------------------------------------- */
footer {
  background: #343434;
  color: #F7FFF7;
}
.contact-list {
  list-style-type: none;
  padding: 0;
}
.contact-list a {
  padding: 15px;
  display: inline-block;
}


/* Responsive
--------------------------------------------------- */

/* changed min-width to 863 for button breaking issue. Was at 750px before. */
@media screen and (min-width:864px){
  header, footer {
      text-align: center;
  }
  .project-item img {
    float: left;
    margin-right: 20px;
  }
  .job-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 20px;
  }
  .education p {
    width: 60%;
    padding-right: 10%;
  }
  .education {
    background-image: url(../images/sharon-mccutcheon-unsplash.jpg);
    background-size: cover;
    background-position: top right;
    padding-bottom: 100px;
  }
  .contact-list {
    display: flex;
    justify-content: center;
  }
}

/* changed max-width from 749 to 863px */
@media screen and (max-width:864px) and (min-width:734px){
  h1 {
    font-size: 75px;
    line-height: 0.9;
    margin-bottom: 20px;
  }
  h2 {
    line-height: 1;
  }
  .project-item img {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
  }
  .project-item{
    max-width: 600px;
    width: 85%;
    margin: 0 auto;
    padding: 60px 0;
  }
  .contact-list a {
    padding: 5px;
  }
  .education p {
    width: 70%;
    padding-right: 7%;
  }
  .education {
    background-image: url(../images/sharon-mccutcheon-unsplash.jpg);
    background-size: cover;
    background-position: 50% 50%;
    padding-bottom: 100px;
  }
}

@media screen and (max-width:734px){
  h1 {
    font-size: 75px;
    line-height: 0.9;
    margin-bottom: 20px;
  }
  h2 {
    line-height: 1;
  }
  .project-item{
    max-width: 600px;
    width: 85%;
    margin: 0 auto;
    padding: 60px 0;
  }
  .project-item img {
    width: 20em;
  }
  .contact-list a {
    padding: 5px;
  }
  .education p {
    width: 70%;
    padding-right: 7%;
  }
  .education {
    background-image: url(../images/sharon-mccutcheon-unsplash.jpg);
    background-size: cover;
    background-position: 50% 50%;
    padding-bottom: 100px;
  }
}
