html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(0, 255, 0, 1) black;
}

body {
  margin: 0;
  background: black;
  overflow-x: hidden;
  cursor: default;

  font-family: "Space Mono", monospace;
}

body a:hover {
  cursor: pointer;
}

canvas {
  display: block;
}

header {
  z-index: 10000;

  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  color: white;
  font-family: "mono space", Courier, monospace;
}

.nav {
  height: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: xx-large;
  color: rgba(0, 255, 0, 1);
  text-shadow: 0px 0px 10px rgba(0, 255, 0, 1);
  font-family: "space mono", Courier, monospace;
}

.nav_list {
  display: flex;
  gap: 20px;
  font-family: "space mono", Courier, monospace;

  & li {
    & a {
      color: rgba(0, 255, 0, 1);
      border: 2px solid rgba(0, 255, 0, 1);
      padding: 6px 12px;
      border-radius: 5px;
      text-decoration: none;
      font-size: large;

      transition: all 0.3s ease;

      &:hover {
        color: white;
        background-color: rgba(0, 255, 0, 1);
        text-shadow: 0px 0px 10px rgba(0, 255, 0, 1);
        box-shadow: 0px 0px 10px rgba(0, 255, 0, 1);
      }
    }
  }
}

.hero {
  position: relative;
  height: 105vh;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  z-index: 1;
}

#matrix {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.container_infor {
  position: relative;
  z-index: 2;
}

.container_infor {
  z-index: 100;
  position: absolute;
  height: 300px;
  width: 980px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: "Space Mono", Courier, monospace;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  justify-content: center;
  border: 4px solid rgba(0, 255, 0, 0.25);

  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px 20px;
  /* filter: drop-shadow(0px 0px 10px rgba(0, 255, 0, 1)); */
}

.infor {
  padding: 20px 0px;
}

.infor_name {
  font-size: xx-large;
  color: #a5ffb7;
  text-shadow: 0px 0px 12px rgba(0, 255, 0, 1);

  font-weight: bold;
}

.infor p {
  margin: 12px 0px;
  font-family: monospace;
  text-transform: uppercase;
  color: #a5ffb7;
}

.space {
  display: block;
  height: 3px;
  width: 100px;
  margin: 0 auto;

  background: rgba(0, 255, 0, 1);
}

.input_file {
  display: none;
}

.infor_button {
  font-family: "Space Mono", Courier, monospace;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: large;
  text-decoration: none;

  background-color: transparent;
  color: rgba(0, 255, 0, 1);

  border: 2px solid rgba(0, 255, 0, 1);

  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    background-color: rgba(0, 255, 0, 1);
    color: black;
    box-shadow: 0px 0px 10px rgba(0, 255, 0, 1);
    color: white;
  }

  font-weight: bold;

  outline: none;

  border-radius: 5px;
}

.infor_container_button_social {
  margin-top: 12px;

  display: flex;
  gap: 12px;
}

.infor_button_social {
  color: rgba(0, 255, 0, 1);
  background-color: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.title_section {
  text-align: center;
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: #a5ffb7;
}

.about_container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr;

  gap: 2rem;
  /* align-items: center; */
  /* justify-content: space-between; */
}

.container_img {
  padding: 8px;
  border: 2px solid rgba(0, 255, 0, 0.25);
  border-radius: 20px;
}

.about_img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid rgba(114, 255, 110, 0.75);
}

.about_container_infor {
  /* background: rgba(8, 20, 30, 0.55); */
  border: 3px solid rgba(0, 255, 0, 0.24);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.4rem;
  background: linear-gradient(
    145deg,
    rgba(10, 16, 20, 0.95),
    rgba(6, 10, 12, 0.95)
  );
  /* box-shadow: 0 10px 28px rgba(0, 160, 0, 0.27); */
}

.about_title {
  text-align: center;
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: #d9f7db;
  font-weight: bold;
}

.about_text {
  text-align: center;
  font-family: "Roboto", sans-serif;

  margin-top: 0.9rem;
  max-width: 100%;
  color: #d9f7db;
  line-height: 1.75;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

@media (max-width: 860px) {
  .about_container {
    grid-template-columns: 1fr;
  }

  .about_img {
    min-height: 220px;
  }

  .about_container_infor {
    margin-top: 1rem;
  }
}

.skills {
  color: white;
}

.skills_container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.skills_slider {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

.skills_slider::before,
.skills_slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  pointer-events: none;
  z-index: 2;
}

.skills_slider::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0));
}

.skills_slider::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0));
}

.skills_track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: skills-scroll 22s linear infinite;
  will-change: transform;
}

.skills_slider:hover .skills_track {
  animation-play-state: paused;
}

.skills_list {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  align-items: stretch;
}

.skills_list li {
  cursor: pointer;
  border: 2px solid rgba(0, 255, 0, 0.25);
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.28);
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.25s ease;

  &:hover {
    transition: border-color 0.25s ease;
    border-color: rgba(0, 255, 0, 0.75);
  }
}

.icon {
  font-size: 100px;

  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon_img {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes skills-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.projects {
  color: white;
}

.projects_container {
  max-width: 1100px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.projects_list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project_item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(10, 16, 20, 0.95),
    rgba(6, 10, 12, 0.95)
  );
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.project_item:hover {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;

  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  border-color: rgba(0, 255, 0, 0.55);
}

.project_cover {
  height: 160px;
  background: radial-gradient(
    circle at top left,
    rgba(0, 255, 0, 0.35),
    rgba(0, 0, 0, 0.9)
  );
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
  gap: 12px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.project_cover span {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 255, 0, 0.5);
  position: relative;
  z-index: 1;
}

.project_body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project_meta h3 {
  font-size: 20px;
  margin-bottom: 8px;
  position: relative;
}

.project_meta h3::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: rgba(0, 255, 0, 0.75);
  margin-top: 6px;
  border-radius: 2px;
}

.project_meta p {
  margin-top: 15px;

  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.project_points {
  margin-top: 12px;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 18px;
  list-style: disc;
  font-family: "Roboto", sans-serif;
}

.project_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project_tags span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project_links {
  display: flex;
  gap: 12px;
}

.project_links a {
  font-size: 13px;
  text-decoration: none;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 10px;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.project_links a:hover {
  background: rgba(0, 255, 0, 0.15);
  border-color: rgba(0, 255, 0, 0.6);
  color: white;
}

.footer_container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 980px) {
  .projects_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .projects_list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  header {
    height: auto;
    padding: 16px 0;
  }

  .nav {
    flex-direction: column;
  }

  .nav_list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav_list li a {
    font-size: 1rem;
    padding: 6px 10px;
  }
}

@media (max-width: 1024px) {
  .container_infor {
    width: 90vw;
  }

  .about_container {
    grid-template-columns: 1fr;
  }

  .skills_list {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .nav {
    gap: 20px;
  }
  .nav_list {
    & li {
      padding: 10px 5px;
      font-size: 0.5rem;
    }
  }
  .hero {
    height: auto;
    min-height: 70vh;
    padding: 120px 0 50px;
  }

  .container_infor {
    position: relative;
    top: 100px;
    left: auto;
    transform: none;
    width: 70%;
    margin: 0 auto;
    padding: 16px 14px;
    height: auto;
    min-height: 400px;
  }

  .infor {
    padding: 12px 0;
  }

  .infor_name {
    font-size: 1.4rem;
  }

  .infor p {
    font-size: 0.8rem;
  }

  .infor_button {
    font-size: 0.95rem;
    padding: 10px 16px;
  }

  .logo {
    font-size: 1.6rem;
  }

  .infor_container_button_social {
    flex-wrap: wrap;
    justify-content: center;
  }

  .skills_list li {
    padding: 14px;
    min-width: 120px;
  }

  .icon,
  .icon_img {
    width: 70px;
    height: 70px;
    font-size: 70px;
  }

  .footer_container {
    flex-direction: column;
    gap: 12px;
  }
}
