/* 
Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

:root {
  --primary: #0f172a;
  --accent-color: #2563eb;
  --background: #f8fafc;
  --secondary-accent: #e2e8f0;
}

/* [data-theme="dark"] {
  --primary: #0f172a;
  --accent-color: #2563eb;
  --background: #f8fafc;
  --secondary-accent: #e2e8f0;
} */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "Roboto Condensed";
  background-color: var(--primary);
  color: var(--background);
  letter-spacing: 1px;
  position: relative;
}

/*********************************/
/************ HEADER  ***********/
/*******************************/

.header {
  padding: 1.5rem 2.4rem;
  margin: 2rem auto 8rem auto;
  background-color: var(--primary);
  border-radius: 100px;
  color: var(--background);
  display: flex;
  /* height: 70px; */
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgb(248, 250, 252, 0.4);
}

.nav-list {
  display: none;
  transform: translateX(-100%);
}

.list .contact {
  background-color: var(--accent-color);
  color: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  /* height: 10%; */
  /* max-height: 70px; */
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgb(248, 250, 252, 0.4);
  width: 100%;
}

.sticky .hero-section {
  margin-top: 115px;
}

.sticky70.about_features,
.sticky70.skills,
.sticky70.project-section,
.sticky70.contact-me {
  padding-top: 70px;
}

/* SHOW NAVIGATION */

.show-nav .nav-list {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--primary);
  width: 80%;
  height: 100vh;
  transform: translateX(0);
  transition: all 0.5s;

  display: flex;
  flex-direction: column;
  padding-top: 4.4rem;
  align-items: center;
  padding-right: 2rem;
  gap: 5rem;

  font-size: 1.6rem;
  list-style: none;

  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.show-nav .header {
  margin: 0 auto 8rem auto;
}

.list a:link,
.list a:visited {
  text-decoration: none;
  color: var(--background);
  font-size: 1.6rem;
}

.list a:active,
.list a:hover {
  border-bottom: 1px solid #1f2326;
  transition: all 0.5s;
  padding-bottom: 1.6px;
}

/* .show-nav .menu {
  color: #fff;
} */

/* .show-nav .list a:link,
.show-nav .list a:visited {
  color: #fff;
} */

/*********************/

.close-outline {
  display: none;
}

.menu-outline {
  font-size: 3.2rem;
}

.close-outline:hover,
.menu-outline:hover {
  cursor: pointer;
}

.show-nav .close-outline {
  display: block;
  font-size: 3.2rem;
}

.show-nav .menu-outline {
  display: none;
}

.mode {
  font-size: 3.2rem;
  cursor: pointer;
}

.change-mode .menu {
  color: #1f2326;
}

.light-mode-icon {
  display: none;
}

.change-mode .dark-mode-icon {
  display: none;
}

.change-mode .light-mode-icon {
  display: block;
}

body.show-nav {
  overflow: hidden;
}

/* LIGHT MODE BACKGROUND */

body.change-mode {
  background-color: var(--background);
  color: var(--primary);
}

.change-mode .header {
  background-color: var(--background);
  color: var(--primary);
  box-shadow: 0 2px 10px;
}

.change-mode.show-nav .nav-list {
  background-color: var(--background);
}

.change-mode .list a:link,
.change-mode .list a:visited {
  color: #1f2326;
}

.change-mode .list a:hover,
.change-mode .list a:active {
  color: var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
}

.change-mode .list a.contact:active,
.change-mode .list a.contact:hover {
  color: var(--primary);
}

.change-mode .hero-tagline strong {
  border-bottom: 1px solid #1f2326;
}

.change-mode a.hire-me {
  color: #1f2326;
}

.change-mode .about-headline,
.change-mode .skills-headline,
.change-mode .project-headline,
.change-mode .contact-headline,
.change-mode .certificate-headline,
.change-mode .contact-icon {
  color: var(--primary);
}

.change-mode .about-me,
.change-mode .project,
.change-mode .contact-me {
  background-color: var(--secondary-accent);
  color: var(--primary);
}

.change-mode .about-me strong {
  color: #1f2326;
}

.change-mode .about-me .cv {
  color: #1f2326;
}

.change-mode .downloadCV:link,
.change-mode .downloadCV:visited {
  text-decoration: none;
  color: var(--primary);
}

.change-mode .skill-list {
  border: 1px solid var(--primary);
}

.change-mode .skill-list img {
  filter: grayscale(100%) brightness(0);
}

.change-mode .icon {
  font-size: 2.4rem;
  color: var(--primary);
}

.change-mode .certificate-img {
  border: 1px solid var(--primary);
}

.change-mode .project-links a:hover,
.change-mode .project-links a:active {
  color: var(--primary);
}

.change-mode input {
  border-bottom: 1px solid var(--primary);
}

.change-mode textarea {
  border: 1px solid var(--primary);
}

.change-mode .contact-btn:hover {
  background: none;
  border: 1px solid var(--accent-color);
  color: var(--primary);
}

/*********************/

/*** REVEAL ELEMENTS ON SCROLL ***/

.section-hidden {
  opacity: 0;
  transform: translateY(8rem);
}

/*********************/

/*********************************/
/************ HERO - SECTION  ***********/
/*******************************/

main {
  padding: 0 2.4rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-section {
  margin-bottom: 8rem;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  transition:
    transform 1s,
    opacity 1s;
}

.hero-section-text {
  text-align: center;
}

.hero-tagline {
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.5px;
  margin-bottom: 4.4rem;
}

.hero-tagline strong {
  font-family: "Lobster";
  font-size: 3.2rem;
  font-weight: 400;
  border-bottom: 1px solid #d6d8d9;
  padding-bottom: 0.4px;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
}

.hire-me:link,
.hire-me:visited {
  padding: 1.2rem 3.2rem;
  border-radius: 5px;
  background-color: var(--accent-color);
  font-size: 1.6rem;
  text-transform: capitalize;
  font-family: inherit;
  text-decoration: none;
  color: var(--background);
}

.hire-me:hover,
.hire-me:active {
  background: none;
  border: 2px solid var(--accent-color);
}

.hero-section-img {
  width: 100%;
  margin: 0 auto;
  border: 5px solid var(--accent-color);
}

/*********************************/
/******** ABOUT SECTION  ********/
/*******************************/

.about_features {
  margin-bottom: 8rem;
  transition:
    transform 1s,
    opacity 1s;
}

.about_features img {
  width: 100%;
  border-radius: 5px;
}

.about-headline {
  font-size: 3rem;
  margin-bottom: 1.8rem;
  color: var(--secondary-accent);
}

.about-me {
  background-color: #24292d;
  border-radius: 5px;
  color: #fff;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1.4rem;
  column-gap: 1.4rem;
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 2.4rem;
}

.about-p strong {
  text-transform: uppercase;
  color: var(--accent-color);
}

.downloadCV:link,
.downloadCV:visited {
  background-color: var(--accent-color);
  padding: 1.2rem 2.4rem;
  margin-top: 1.6rem;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  color: #d6d8d9;
}

.downloadCV:hover,
.downloadCV:active {
  background: none;
  border: 2px solid var(--accent-color);
}
.features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stats {
  font-size: 1.4rem;
}

.stats strong {
  font-size: 3.2rem;
  color: var(--accent-color);
}
/*********************************/
/******** WORK EXPERIENCE SECTION  ********/
/*******************************/

.work-experience {
  margin-bottom: 8rem;
  font-size: 0.875rem;
  font-style: inherit;
  position: relative;
  margin-left: 1.25rem;
}

h2 {
  margin-bottom: 2.5rem !important;
  font-size: 3rem !important;
  text-transform: uppercase !important;
}

.work-experience h2 {
  font-size: 3rem;
  font-style: inherit;
}

.workContainer {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.workContainer::before {
  content: "";
  position: absolute;
  top: 120px;
  left: -1.25rem;
  height: 75%;
  width: 0.3125rem;
  background: var(--accent-color);
}

.workDot {
  position: absolute;
  /* top: 0; */
  left: -2.0625rem;
  height: 1.875rem;
  width: 1.875rem;
  background: var(--accent-color);
  border-radius: 50%;
}

.workTitle {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 0.625rem;
}

.work-location {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.workText ul {
  padding-left: 1.25rem;
  font-size: 1.2rem;
}

/* .workText ul li{

} */

/*********************************/
/******** SKILLS SECTION  ********/
/*******************************/
.skills {
  margin-bottom: 8rem;
  transition:
    transform 1s,
    opacity 1s;
}

.skills-headline {
  font-size: 3rem;
  margin-bottom: 1.8rem;
  color: var(--secondary-accent);
}

.skills-div {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.skills-div ul {
  display: grid;
  grid-template-columns: (1fr);
  row-gap: 1.4rem;
  column-gap: 1.4rem;
}

.icon {
  font-size: 2.4rem;
  color: var(--secondary-accent);
}

.skill-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.5;
  font-size: 1.4rem;
  border: 1px solid var(--accent-color);
  padding: 0.8rem 1.6rem;
}

.skill-list img {
  height: 3rem;
  color: var(--secondary-accent);
  filter: grayscale(100%) sepia(100%) hue-rotate(50deg) brightness(1.5);
}

/* CERTIFICAE */
.certificate {
  margin-top: 4.4rem;
  text-align: center;
}

.certificate-headline {
  font-size: 3rem;
  color: var(--secondary-accent);
  margin-bottom: 1.8rem;
}

.certificate-img {
  width: 100%;
  max-width: 700px;
}

/*********************************/
/******** PROJECT SECTION  ********/
/*******************************/

.project-section {
  margin-bottom: 8rem;
  transition:
    transform 1s,
    opacity 1s;
}

.project-headline {
  font-size: 3rem;
  color: var(--secondary-accent);
  margin-bottom: 1.8rem;
}

.project-container {
  display: grid;
  grid-template-columns: 1fr;
  align-content: stretch;
  gap: 6rem;
}

.project {
  background-color: var(--primary);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 10px 5px rgb(255, 255, 255, 0.1);
}

.change-mode .project {
  box-shadow: 0px 0px 10px 5px rgb(0, 0, 0, 0.2);
}

.project-img {
  width: 100%;
  margin-bottom: 2.4rem;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

.project-title {
  font-size: 2rem;
  text-transform: uppercase;
  margin: 0 0.8rem 2rem;
  color: #2563eb;
  font-weight: 900;
}

.project-description {
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0 0.8rem 3.2rem;
}

.project div {
  padding: 12px 8px;
}

.project-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  margin-bottom: 2rem;
}

.project-links a:link,
.project-links a:visited {
  color: var(--background);
  text-decoration: none;
  background-color: var(--accent-color);
  padding: 0.8rem 1.6rem;
  display: inline-block;
  font-size: 1.6rem;
}

.project-links a:hover,
.project-links a:active {
  background: none;
  border: 1px solid var(--accent-color);
}

/*********************************/
/***** CONTACT ME SECTION  ******/
/*******************************/

.contact-me {
  margin-bottom: 8rem;
  background-color: #2a2e33;
  width: fit-content;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  transition:
    transform 1s,
    opacity 1s;
}

.contact-headline {
  text-align: center;
  font-size: 3rem;
  color: var(--secondary-accent);
  margin-bottom: 3rem;
}

.contact-div {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 3.2rem;
  column-gap: 3.2rem;
}

.contact-subtext {
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.5;
  align-content: space-evenly;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  gap: 2.4rem;
}

.contact-form div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

label {
  font-size: 1.4rem;
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--accent-color);
}

input {
  padding: 0.8rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--secondary-accent);
  color: var(--background);
}

textarea {
  color: var(--background);
}

.change-mode textarea {
  color: var(--primary);
}

.change-mode input {
  color: var(--primary);
}

.message {
  font-size: 1.6rem;
  color: red;
  display: none;
  font-family: inherit;
}

textarea {
  border: 1px solid var(--secondary-accent);
  background: none;
}

input::placeholder {
  font-size: 1.2rem;
}

.contact-btn {
  background-color: var(--primary);
  border: 1px solid #d6d8d9;
  padding: 1.2rem 2.4rem;
  color: #d6d8d9;
}

.contact-btn:hover {
  background-color: var(--accent-color);
  cursor: pointer;
}

.socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.6rem;
  row-gap: 1.6rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4.4rem;
}

.contact-icon {
  font-size: 3.2rem;
  color: var(--accent-color);
}

.contact-icon:hover {
  color: var(--background);
}
.change-mode .contact-icon:hover {
  color: var(--accent-color);
}

.footer {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 0.8rem;
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 2.4rem;
  transition:
    transform 1s,
    opacity 1s;
}

/* @media (min-width: 400px) {
  html {
    font-size: 9px;
  }
} */

@media (min-width: 700px) {
  html {
    font-size: 10px;
  }

  .skills-div ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .socials {
    grid-template-columns: repeat(6, 1fr);
  }

  .project-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-div {
    grid-template-columns: repeat(2, 1fr);
  }

  .header {
    max-width: 900px;
  }

  .nav-list {
    display: flex;
    transform: translateX(0);
    color: #aeb0b3;
    justify-content: flex-end;
    align-items: center;
    gap: 2.4rem;
    list-style: none;
  }

  .menu {
    display: none;
  }

  .hero-section {
    margin-bottom: 8rem;
    display: flex;
    flex-direction: row;
    gap: 3.2rem;
  }

  .hero-section-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-section-text {
    text-align: left;
  }

  .downloadCV {
    width: fit-content;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 11px;
  }
}

@media (min-width: 2400px) {
  html {
    font-size: 16px;
  }

  .header,
  main {
    max-width: 1200px;
  }
}
