/*
COLOUR PALLATTE
https://coolors.co/f8ffe5-06d6a0-1b9aaa-FFA07A-2d3142
#F8FFE5 - Light Yellow - Almost White
#06D6A0 - Caribbean Green
#1B9AAA - Blue Munsell
#FFA07A - Lightsalmon
#2D3142 - Space Cadet - Almost black
*/

/* Global style
--------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 100%;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  color: #2d3142;
  margin: 0;
  padding: 0;
  font-family: "Quattrocento", serif;
  font-size: 1rem;
  line-height: 1.5;
}
img {
  width: 300px;
}
a {
  color: #06d6a0;
}
a:hover {
  text-decoration: none;
}
h1 {
  font-size: 6rem;
  line-height: 1;
}
h2 {
  font-size: 3rem;
}
.content-wrap {
  max-width: 800px;
  width: 85%;
  margin: 0 auto;
  padding: 60px 0;
}
h1,
h2 {
  font-family: "Kaushan Script", cursive;
  font-weight: 400;
  margin: 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: 0;
}

/* Profile
--------------------------------------*/
header {
  background: #1b9aaa;
  color: #f8ffe5;
}

/* Skills
--------------------------------------*/
.skills {
  background: #06d6a0;
}
.skill-list {
  list-style-type: none;
  padding: 0;
}
.skill-list li {
  color: #ffa07a;
  background: #2d3142;
  display: inline-block;
  padding: 8px 16px;
  margin: 10px 5px;
  border-radius: 4px;
}

/* Projects
------------------------------------*/
.projects {
  background: #dfe7eb;
}
.projects a {
  color: #224347;
}
.projects .btn {
  color: #f5fbe5;
  background: #2f4c61;
  text-decoration: none;
  padding: 8px;
  border-radius: 4px;
  display: inline-block;
}
.projects .btn:hover {
  background: rgba(61, 101, 114, 0.8);
}
.project-item {
  overflow: hidden;
}
.project-item h3 {
  margin-top: 0;
}

/* Work Experience
--------------------------------------*/
.work-experience {
  background: #f8ffe5;
}
.work-experience a {
  color: #1b9aaa;
}

/* Volunteer Experience
--------------------------------------*/
.volunteer-experience {
  position: relative;
}
.volunteer-experience::after {
  content: "";
  background-image: url(../images/lukas-blazek-EWDvHNNfUmQ-unsplash.jpg);
  background-size: cover;
  background-position: top right;
  padding-bottom: 100px;
  opacity: 0.6;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

/* Education
--------------------------------------*/
.education {
  background-image: url(../images/joanna-kosinska-unsplash.jpg);
  background-size: cover;
  background-position: 70% 0%;
  padding-bottom: 100px;
}
.education p {
  width: 60%;
}

/* Contact Info
--------------------------------------*/
footer {
  background: #2d3142;
  color: #f8ffe5;
}
.contact-list {
  list-style-type: none;
  padding: 0;
}
.contact-list a {
  padding: 15px;
  display: inline-block;
  font-size: 3rem;
  transition: all 0.2s ease-in-out;
}
.contact-list a:hover {
  transform: scale(1.2);
}

/* Responsive
--------------------------------------*/
@media screen and (min-width: 750px) {
  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;
  }
  .contact-list {
    display: flex;
    justify-content: center;
  }
}
@media screen and (max-width: 749px) {
  h1 {
    font-size: 3rem;
    margin-bottom: 10px;
  }
  h1,
  h2 {
    line-height: 1;
  }
  header h2 {
    font-size: 1.5rem;
    padding: 15px 0;
  }
  footer {
    text-align: center;
  }
  footer h2 {
    font-size: 2rem;
  }
  .contact-list {
    display: flex;
    justify-content: space-around;
  }
  .contact-list a {
    padding: 5px;
    font-size: 2rem;
  }
}
