@font-face {
  font-family: "Bionix";
  src: url("fonts/BionixFat-vnmEM.otf") format("woff2");
  font-display: swap;
}

:root {
  --purple_dark: #291e24;
  --purple_light: #744a6e;
  --purple_medium: #412b42;
  --green: #86a88f;
  --poppins: "Poppins", system-ui, sans-serif;
  --bionix: "Bionix", system-ui, sans-serif;
}

html {
  scrollbar-color: var(--purple_light) var(--purple_medium);
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
  width: 13px;
}

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

a {
  text-decoration: none;
  color: var(--green);
}

body {
  background-color: var(--purple_dark);
  font-family: var(--poppins);
  color: var(--green);
  min-height: 100vh;
  isolation: isolate;
}

.hero_purple_text {
  color: var(--purple_medium);
  font-weight: 800;
  font-size: 4rem;
}

.hero_section {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: end;
}

.hero_title {
  font-size: 3.5rem;
}

.hero_title_small {
  font-size: 1.5rem;
}

.hero_paragraph {
  font-size: 1.5rem;
  text-align: right;
  font-weight: 600;
}

.hero_name {
  font-family: var(--bionix);
  font-size: 16.5rem;
  line-height: 0.7;
  text-align: right;
}

.hero_info {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 30%;
  flex-direction: column;
}

.hero_extras_container {
  margin-top: 3rem;
  display: inline flex;
  gap: 2rem;
}

.hero_img {
  width: 70%;
  height: auto;
}

.hero_img_container {
  width: 70%;
}

.btn {
  background-color: var(--purple_light);
  color: var(--purple_dark);
  padding: 1.5rem;
  font-size: 1.5rem;
  border-radius: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn_sec {
  padding: 1.5rem;
  background-color: var(--purple_dark);
  color: var(--purple_light);
  border: 4px solid var(--purple_light);
  font-size: 1.5rem;
  border-radius: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.stats_section {
  background-color: var(--purple_dark);
  padding: 12rem;
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: center;
  gap: 3rem;
}

.nav_bar {
  background-color: var(--purple_dark);
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  padding-left: 3rem;
  padding-right: 3rem;
  font-size: 1rem;
  font-weight: 600;
  position: fixed;
  z-index: 999;
  border-bottom: 2px solid var(--purple_medium);
}

.nav_cv_download {
  background-color: var(--purple_light);
  color: var(--purple_dark);
  border-radius: 1rem;
  font-weight: 800;
  padding: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  cursor: pointer;
}

.nav_middle {
  display: inline-flex;
  gap: 2rem;
}

.nav_socials {
  display: inline-flex;
  gap: 0.5rem;
}

.footer_section {
  height: fit-content;
  background-color: var(--purple_dark);
  width: 100%;
  padding: 1rem;
  padding-left: 3rem;
  padding-right: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  border-top: 2px solid var(--purple_medium);
}

.footer_text {
  color: var(--green);
  font-weight: 800;
  font-size: 1rem;
}

.stats_left {
  width: 100%;
  text-align: left;
}

.stats_right {
  width: 100%;
  text-align: right;
}

.stats_main_nr {
  font-size: 10rem;
  line-height: 1;
  font-weight: 800;
}

.stats_small_text {
  font-size: 7rem;
  font-weight: 800;
}

.stats_title {
  font-size: 3rem;
  font-weight: 800;
}

.stats_paragraph {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--purple_light);
}

.nav_icon {
  font-size: 2rem;
}

.about_me_section {
  padding: 12rem;
  display: flex;
  flex-direction: column;
  height: fit-content;
  gap: 6rem;
  justify-content: end;
  background-color: var(--green);
}

.about_title {
  font-family: var(--bionix);
  font-size: 10rem;
  line-height: 0.7;
  color: var(--purple_dark);
  text-align: right;
}

.about_paragraph {
  font-size: 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--purple_dark);
}

.copyright {
  text-align: right;
}

.footer_content {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

.footer_contact_info {
  display: flex;
  flex-direction: column;
}

.skill_badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  background-color: var(--purple_dark);
  padding: 1.5rem;
  font-size: 1.5rem;
  border-radius: 1rem;
  font-family: sans-serif;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.3s ease;
}

.skill_badge:hover {
  transform: translateY(-0.5rem);
}

.skill_badge img {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) saturate(100%) invert(67%) sepia(11%) saturate(544%)
    hue-rotate(77deg) brightness(92%) contrast(88%);
}

.skills_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skills_section {
  padding: 12rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  background-color: var(--green);
}

.skills_title {
  font-family: var(--bionix);
  font-size: 10rem;
  line-height: 0.7;
  color: var(--purple_dark);
  text-align: right;
}

.projects_title {
  font-family: var(--bionix);
  font-size: 8rem;
  line-height: 0.7;
  color: var(--green);
  text-align: right;
}

.projects_section {
  padding: 12rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  background-color: var(--purple_dark);
}

.projects_grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(320px, 1fr));
  gap: 2rem;
}

.project_card {
  background: var(--green);
  border-radius: 1rem;
  padding: 3rem;
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  gap: 3rem;
}

.project_card:hover {
  transform: translateY(-0.5rem);
}

.project_type {
  display: inline-block;
  color: var(--purple_light);
  font-size: 1rem;
  margin-bottom: 2rem;
  font-weight: 600;
  width: 100%;
}

.project_card h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--purple_dark);
  line-height: 1.25;
}

.project_content {
  width: 100%;
}

.project_card p {
  color: var(--purple_medium);
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.project_stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.project_stack span {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--purple_dark);
  font-size: 1rem;
  font-weight: 800;
}

.project_links {
  display: flex;
  gap: 1rem;
}

.project_btns {
  width: 100%;
}

.project_pic {
  width: 30%;
}

.project_pic img {
  max-width: 100%;
  height: auto;
  display: block;
}

.fa-brands {
  margin-right: 0.5rem;
}

.fa-link {
  margin-right: 0.5rem;
}

.projects_sm_title_txt {
  font-size: 3rem;
}

.about_section {
  padding: 12rem;
  display: flex;
  flex-direction: column;
  gap: 12rem;
  background-color: var(--green);
}

.about_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about_title {
  font-family: var(--bionix);
  font-size: 10rem;
  line-height: 0.7;
  color: var(--purple_dark);
  text-align: left;
  margin-bottom: 6rem;
}

.about_body {
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--purple_dark);
  max-width: fit-content;
}

.about_pic {
  width: 100%;
}

.about_body strong {
  color: var(--purple_light);
  font-weight: 700;
}

.about_facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.about_fact {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--purple_dark);
  line-height: 1.3;
}

.about_fact_dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--purple_dark);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.img_wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (max-width: 1024px) {
  .hero_section {
    padding: 2rem;
    height: auto;
    justify-content: center;
    padding-top: 6rem;
  }

  .hero_title {
    font-size: 3.3rem;
  }

  .hero_title_small {
    font-size: 1.25rem;
    display: block;
    margin-top: 1rem;
  }

  .hero_name {
    font-size: 11rem;
    text-align: right;
    line-height: 0.8;
  }

  .hero_paragraph {
    font-size: 1.25rem;
    text-align: right;
  }

  .hero_extras_container {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 2rem;
    width: 100%;
  }

  .hero_info {
    width: 100%;
    align-items: flex-end;
    text-align: right;
  }

  .hero_img_container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .hero_img {
    width: 100%;
    max-width: 520px;
  }

  .btn,
  .btn_sec {
    width: 100%;
    max-width: 360px;
    padding: 1.25rem;
    font-size: 1.3rem;
  }

  .nav_bar {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer_section,
  .about_section,
  .skills_section,
  .projects_section,
  .stats_section {
    padding: 6rem 2rem;
  }

  .projects_grid,
  .about_grid {
    grid-template-columns: 1fr;
  }

  .about_title,
  .skills_title,
  .projects_title {
    font-size: 7.5rem;
  }

  .stats_main_nr {
    font-size: 7rem;
  }

  .stats_small_text {
    font-size: 5rem;
  }

  .stats_title {
    font-size: 2.4rem;
  }

  .stats_paragraph,
  .about_paragraph,
  .about_body,
  .project_card p {
    font-size: 1.2rem;
  }

  .project_card {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .project_stack {
    gap: 0.6rem;
    justify-content: flex-end;
  }

  .project_stack span {
    padding: 0.65rem 0.95rem;
    font-size: 0.95rem;
  }

  .skill_badge {
    padding: 1rem;
    font-size: 1.2rem;
  }

  .footer_content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .hero_section {
    padding: 2rem 1.5rem;
    padding-top: 9rem;
  }

  .hero_title {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 2.75rem;
  }

  .about_pic {
  display: none;
  }

  .hero_name {
    font-size: 7rem;
  }

  .hero_title_small {
    font-size: 1.5rem;
  }

  .hero_paragraph {
    font-size: 1.15rem;
    text-align: right;
  }

  .hero_extras_container {
    gap: 1.5rem;
    align-items: flex-end;
  }

  .hero_info {
    gap: 1rem;
    align-items: flex-end;
    text-align: right;
  }

  .btn,
  .btn_sec {
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 0.85rem;
  }

  .nav_bar {
    flex-wrap: wrap;
    row-gap: 1rem;
    padding: 1rem 1.25rem;
  }

  .nav_middle {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    font-size: 0.75rem;
  }

  .nav_socials {
    gap: 1rem;
    justify-content: center;
    width: 100%;
  }

  .footer_section {
    padding: 1.5rem 1.5rem;
    align-items: flex-end;
    text-align: right;
  }

  .stats_section,
  .about_section,
  .skills_section,
  .projects_section {
    padding: 4rem 1.5rem;
  }

  .about_title,
  .skills_title {
    font-size: 6rem;
  }

  .projects_title {
    font-size: 4.5rem;
  }

  .about_pic {
  display: none;
  }

  .projects_sm_title_txt {
    display: none;
  }

  .about_body,
  .project_card p {
    font-size: 1rem;
  }

  .project_card {
    flex-direction: column;
    text-align: left;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }

  .project_pic {
    width: 100%;
  }

  .project_stack {
    justify-content: flex-start;
    gap: 0.55rem;
  }

  .project_stack span {
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
  }

  .skills_wrap,
  .about_facts {
    justify-content: flex-start;
  }

  .about_fact {
    font-size: 1rem;
  }

  .skill_badge {
    padding: 0.95rem;
    font-size: 1.05rem;
  }

  .about_grid {
    gap: 0;
  }

  .hero_img {
    max-width: 420px;
  }

  .footer_contact_info {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero_section {
    padding: 1.5rem 1rem;
    padding-top: 8rem;
  }

  .hero_title {
    font-size: 2.1rem;
  }

  .hero_name {
    font-size: 5rem;
  }

  .hero_title_small {
    font-size: 1rem;
  }

  .hero_paragraph {
    font-size: 1rem;
    text-align: right;
  }

  .btn,
  .btn_sec {
    padding: 0.95rem;
    font-size: 1rem;
  }

  .stats_main_nr {
    font-size: 5rem;
  }

  .stats_small_text {
    font-size: 3.5rem;
  }

  .about_title,
  .skills_title {
    font-size: 5rem;
    text-align: right;
  }


  .projects_title {
    font-size: 3rem;
  }

  .about_grid {
    gap: 0;
  }

  .project_card {
    gap: 2rem;
    padding: 2rem;
    width: 100%;
    min-width: 0;
    text-align: left;
    align-items: flex-start;
  }

  .project_card h3 {
    font-size: 2.25rem;
  }

  .project_stack {
    gap: 0.5rem;
    justify-content: flex-start;
  }

  .project_stack span {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .skill_badge {
    padding: 0.8rem;
    font-size: 1rem;
  }

  .hero_img {
    max-width: 320px;
  }
}
