/*
COLOR PALETTE
https://coolors.co/f7fff7-343434-2f3061-ffe66d-a1c6d7
#F7FFF7 - almost white
#343434 - dark gray - almost black
#2F3061 - blue dark
#FFE66D - yellow
#A1C6D7 - blue light
#186d58 - Dark green
*/

/* Global styles
------------------------------------*/
body {
  color: #343434;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
  font-size: 15px;
}
img {
  width: 250px;
}
a {
  color: #ffe66d;
}
a:hover {
  text-decoration: none;
}
h1 {
  font-size: 100px;
  line-height: 1;
}
h2 {
  font-size: 45px;
}
h1,
h2 {
  margin: 0;
  font-weight: 400;
  font-family: "caveat", cursive;
}
.content-wrap {
  max-width: 800px;
  margin: 0 auto;
  width: 85%;
  padding: 60px 0;
}
h3 {
  margin-bottom: 0;
}
.item-details h3 + p {
  font-style: italic;
}
.item-details h3 ~ p {
  margin: 0;
}
.divider > section {
  padding: 25px 0px;
  border-bottom: 1px dashed #343434;
}
.divider > section:last-of-type {
  border-bottom: none;
}

/* Profile
------------------------------------*/
header {
  background: #2f3061;
  color: #f7fff7;
}

/* Technical Skills
-----------------------------------*/
.skills {
  background: #edf2fb;
  color: #0d3184;
}
.skills .divider > section {
  padding: 5px 0px;
  border-bottom: 0px dashed #343434;
}
.skill-item {
  overflow: hidden;
}
.skill-item h3 {
  margin: 0px;
}

/* Profile Links
-----------------------------------*/
.profile-link-sec {
  background: #66727a;
  color: #ffffff;
}
.profile-links {
  list-style-type: none;
  padding: 0;
}
.profile-links a {
  padding: 15px;
  display: inline-block;
  color: #ffffff;
}

/* Projects
------------------------------------*/
.projects {
  background: #f7fff7;
  color: #186d58;
}
.projects a {
  color: #2f3061;
}
.projects .btn {
  color: #f7fff7;
  background: #2f3061;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
}
.projects .btn:hover {
  background: rgba(47, 48, 97, 80%);
}
.play-store-btn {
  color: #ffffff !important;
  background: #189353 ;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
}
.play-store-btn:hover {
  background: #219358;
}
.project-item img {
  margin-right: 40px;
  background: #186d58;
  border-radius: 5px;
  padding: 5px;
}
.project-item {
  overflow: hidden;
}
.project-item h3 {
  margin: 0px;
}
.project-date {
  font-size: 0.95em;
  color: #888;
}

/* Minor Projects
------------------------------------*/
.minor-projects {
  background: #f0f1e4;
}
.minor-projects a {
  color: #49612f;
}
.minor-projects .btn {
  color: #fcfff7;
  background: #40612f;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
}
.minor-projects .btn:hover {
  background: rgba(79, 97, 47, 0.8);
}

/* Work Experience
------------------------------------*/
.work-experience {
  background: #9fd1e8;
}
.work-experience .btn {
  color: #000;
  font-weight: 500;
}

/* Certificates & Achievements
------------------------------------*/
.certificates {
  background: #e6f3fa;
}

/* Education
------------------------------------*/
.education {
  background-color: #ffe66d;
  background-size: cover;
  background-position: top right;
  color: #000;
  font-weight: 500;
}
.education p {
  max-width: 60%;
}

/* Contact Info
------------------------------------*/
footer {
  background: #343434;
  color: #f7fff7;
}
.contact-list {
  list-style-type: none;
  padding: 0;
}
.contact-list a {
  padding: 15px;
  display: inline-block;
}

/* Responsive
------------------------------------*/
@media screen and (min-width: 750px) {
  header,
  footer {
    text-align: center;
  }
  .contact-list {
    display: flex;
    justify-content: center;
  }
  .profile-links {
    display: flex;
    justify-content: center;
  }
  .project-item img {
    float: left;
  }

  .job-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 20px;
  }
}
@media screen and (max-width: 749px) {
  h1 {
    text-align: center;
    font-size: 75px;
    line-height: 0.9;
    margin-bottom: 20px;
  }
  .project-item img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
  .projects .btn {
    display: block;
    text-align: center;
  }
  .minor-projects .btn {
    display: block;
    text-align: center;
  }
  .play-store-btn {
    display: block;
    text-align: center;
    margin-bottom: 8px;
  }
  h2 {
    line-height: 1;
  }
  .project-item h3 {
    margin: 20px;
  }
  .contact-list a {
    padding: 5px;
  }
  .project-links a {
    padding: 5px;
  }
  .skills {
    flex-direction: column;
  }
  .-item h3 {
    margin: 20px;
  }
}
