* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

section:nth-child(2n-1) {
  background-color: #f4f4f4;
}

.headline {
  background-color: rgb(40, 40, 40);
  color: whitesmoke;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
  line-height: 25px;
  text-align: center;
  margin-top: 30px;
  padding: 3px;
}

.headline-other {
  color: #ff4c29;
  font-family: "Roboto", sans-serif;
  font-size: 21px;
}

.container {
  width: 70%;
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: 20px;
}

/* -------- HEADER SECTION --------*/

.header-container {
  position: relative;
  background-image: url(./images/yellow-img.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 500px;
  color: #ffffff;
  border-bottom: 3px solid white;
}

.header-icons {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 48px;
  right: 40px;
}
.linkedin-icon:hover,
.github-icon:hover,
.sof-icon:hover {
  opacity: 0.4;
}

.linkedin-icon,
.github-icon,
.sof-icon {
  width: 45px;
  height: 45px;
  padding: 5px;
}

.header-text {
  position: absolute;
  width: 220px;
  left: 24px;
  top: 130px;
  padding: 10px 0;
}
.header-portfolio {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}
.header-my-name {
  font-weight: 700;
}
.header-job-title {
  font-size: 40px;
  line-height: 49px;
  margin: 10px 0 5px 0;
}
.header-job-title-two {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0;
  margin: 0;
}

.pinar-image {
  position: absolute;
  width: 180px;
  height: 180px;
  right: 50px;
  top: 350px;
  border: solid 2px #f4f4f4;
  border-radius: 50%;
}

/* -------- SUMMARY SECTION --------*/

.summary-text {
  font-weight: 400;
  font-size: 17px;
  line-height: 29px;
  text-align: justify;
  margin: auto;
  padding: 60px 0px 30px;
}

/* -------- TECH SECTION --------*/
.tech-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tech-section p {
  /* margin: 24px 24px 40px; */
  font-size: 17px;
  line-height: 29px;

  text-align: center;
  color: #000000;
}

.highlighted-text {
  color: #ff4c29;
  font-weight: bold;
}

/* -------- FEATURED PROJECTS SECTION --------*/

/* repeating code here  */
.other-projects-section,
.my-thoughts-section,
.skills-section,
.for-more-section,
.projects-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container a {
  text-decoration: none;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.project-img {
  display: block;
  transition: 0.5s ease;
  object-fit: cover;
  max-height: 280px;
  /* to prevent scale issues for ie browser 280px setted for height  */
}

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  transition: 0.5s ease;
}

.projects-wrapper {
  display: contents;
}

/* to disapper the overlay and the overlay text */
.project-card:hover .overlay {
  opacity: 0;
}
.project-card:hover .overlay-title {
  opacity: 0;
}

.overlay-title {
  position: absolute;
  font-size: 24px;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  color: #f4f4f4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.5s ease;
  margin: 0;
}

.project-title {
  color: #ff4c29;
  font-size: 18px;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  margin: 15px 0 0 0;
  text-transform: uppercase;
  text-decoration: none;
}

.project-text {
  margin: 10px 0 10px 0;
  color: #151515;
}

.project-link {
  text-decoration: none;
}
.arrow {
  color: #ff4c29;
  font-weight: bold;
  font-size: 20px;
}

.tag-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.tag-github,
.tag-wrapper p {
  font-family: "Roboto", sans-serif;
  color: #242424;
  background-color: #dedede;
  text-decoration: none;
  text-transform: uppercase;
  /* Matching line-height and font-size here gives full control 
       over the size of our tags to the padding*/
  font-size: 12px;
  line-height: 12px;
  /* Control the size and space of the tags */
  padding: 4px;
  margin: 3px 3px 3px 0;
  border-radius: 3px;
}

.tag-github {
  color: #ff4c29;
}
/* -------- SKILLS SECTION --------*/

.skills-display {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}

.skills-text {
  padding: 0 20px;
  font-size: 18px;
  line-height: 20px;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  list-style: none;
  font-weight: 400;
}

/* -------- FOR MORE & CONTACT SECTION --------*/

.fore-more-icons-container {
  display: flex;
  justify-content: center;
  text-align: center;
  padding-bottom: 30px;
}

.linkedin-icon-fm:hover,
.github-icon-fm:hover,
.sof-icon-fm:hover {
  filter: invert(13%) sepia(46%) saturate(1912%) hue-rotate(336deg)
    brightness(103%) contrast(102%);
  /* to change the color when hover over */
}

.linkedin-icon-fm,
.github-icon-fm,
.sof-icon-fm {
  filter: invert(85%) sepia(0%) saturate(7500%) hue-rotate(327deg)
    brightness(96%) contrast(104%);
  /* this filter changes the svg icons color */
  width: 60px;
  height: 60px;
  padding: 15px;
}

.fore-more-icons-container a {
  font-size: 10px;
  font-weight: bold;
  text-decoration: none;
  color: #151515;
}

.fore-more-icons-container a:hover {
  color: #fdd227;
  transform: scale(1.15);
}

/* -------- FOOTER SECTION --------*/

.footer {
  background: rgb(19, 19, 19);
  line-height: 16px;
  padding: 100px;
  color: #ffffff;
  text-align: center;
}

.contact {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 40px;
}
.contact-text {
  font-size: 18px;
  font-weight: lighter;
}

.contact-text a {
  text-decoration: none;
  color: #ffffff;
}
.contact-text a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .container {
    max-width: 800px;
    margin: 0 auto;
  }

  .project-container {
    width: 430px;
    margin: 30px;
  }

  .projects-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-icons {
    top: 60px;
    right: 100px;
  }

  .linkedin-icon,
  .github-icon,
  .sof-icon {
    width: 70px;
    height: 70px;
    padding: 10px;
  }

  .header-container {
    background-image: url(./images/desktop-yellow-img.jpg);
    height: 600px;
  }

  .header-text {
    height: 300px;
    width: 400px;
    left: 120px;
    line-height: 60px;
  }

  .pinar-image {
    /* position: absolute; */
    width: 250px;
    height: 250px;
    top: 380px;
    right: 100px;
  }
  .header-portfolio {
    font-size: 20px;
  }

  .header-my-name {
    font-weight: 700;
  }
  .header-job-title {
    font-size: 75px;
    line-height: 70px;
  }
  .header-job-title-two {
    font-size: 30px;
    margin-top: 30px;
  }

  .headline {
    font-size: 30px;
    padding: 8px;
  }

  .skills-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }

  .linkedin-icon-fm,
  .github-icon-fm,
  .sof-icon-fm {
    width: 100px;
    height: 100px;
  }

  .fore-more-icons-container a {
    font-size: 12px;
    /* font-weight: bold; */
  }
}
