@font-face {
  font-display: swap;
  font-family: "Fira Mono";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/fira-mono-v14-latin-regular.woff2) format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Fira Mono";
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/fira-mono-v14-latin-700.woff2) format("woff2");
}

* {
  padding: 0;
  margin: 0;
  cursor: default;
  box-sizing: border-box;
}

h1 {
  font-size: 1.1rem;
  font-weight: 700;
}

h2 {
  font-size: 1rem;
  font-weight: 700;
}

a {
  cursor: pointer;
}

body {
  font-family: "Fira Mono", monospace, sans-serif;
  overflow: hidden;
  padding: 1rem;
  height: 100vh;
  background-color: #0d1117;
  color: #c9d1d9;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.fade-in {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
}

.darkmode {
  background-color: #0d1117;
  color: #c9d1d9;
}

::-webkit-scrollbar {
  width: 0.4em;
  background-color: #0d1117;
  height: 0.2em;
}

::-webkit-scrollbar-thumb {
  background-color: #c9d1d9;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #c9d1d9 #0d1117;
}

svg {
  overflow: visible;
}

#logo {
  width: 80%;
  display: block;
  margin: -2rem auto 1rem auto;
}


.neofetch-gifs {
  display: none;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 37%;
  margin: 0 auto;
}

.lainweb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border: 1px solid;
}





#main-container {
  display: flex;
  flex-direction: column;
  height: 89%;
  gap: 0.4rem;
  justify-content: flex-start;
}

#section-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  gap: 0.4rem;
}



#right-section {
  display: flex;
  flex-direction: column;
  flex-grow: 2;
  width: 75%;
}

#main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: hidden;
}

#main-content .container-content {
  overflow-y: auto;
  line-height: 1.5rem;
  gap: 1.5rem;
  padding: 2rem;
  align-items: center;

  height: 100%;
}





#home-section-paragraph {
  padding: 0 0.2rem;
}

.footer-item {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.custom-container {
  display: flex;
  flex-direction: column;
  border: 0.1px solid #c9d1d9;
  position: relative;
  padding-top: 0.2rem;
  height: 100%;
}




.container-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.outer-paragraph-container {
  width: 100%;
}

.inner-paragraph-container {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  gap: 1rem;
}


.h-fill {
  flex-grow: 1;
}


.decorating-text p {
  position: relative;
  z-index: 2;
}

.decorating-text div {
  position: relative;
  z-index: 1;
  background-color: #0d1117;
  height: 0.5ch;
  top: -1ch;
  left: -2px;
  width: 104%;
}

#experience .ui-list {
  justify-content: space-between;
}

#experience .ui-list div {
  width: 100%;
  text-wrap: balance;
}

#experience .ui-list div div {
  width: 50%;
  justify-content: flex-start;
  gap: 1rem;
}



.selected-frame .decorating-text {
  color: #79c0ff;
}

.selected-frame .container-content {
  scrollbar-color: #79c0ff #0d1117;
}

div.selected-frame> ::-webkit-scrollbar-thumb {
  background-color: #79c0ff;
}

.text-orange {
  color: #ec8e2c;
}

.text-blue {
  color: #58a6ff;
}

.text-pink {
  color: #bc8cff;
}



.project-button:hover {
  background-color: #1e4273;
}

.project-button:active {
  opacity: 0.5;
}


.project-button:nth-child(2) {
  margin-right: auto;
}

.project-button:last-child {
  margin-right: 0;
}





.text-center {
  text-align: center;
}

.text-center h2 {
  margin-bottom: 20px;
}




.model-row {
  display: flex;
  justify-content: space-around;
  gap: 5rem;
  padding: 0;
}

.model-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #c9d1d9;
}

.model-nav-button {
  all: unset;
  border: 1px solid #c9d1d9;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}

.model-nav-button:hover:not(:disabled) {
  background-color: #1e4273;
  border-color: #58a6ff;
}

.model-nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#model-set-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #58a6ff;
}

#model-set-number-anim {
  font-size: 1.5rem;
  font-weight: 700;
  color: #58a6ff;
}

.model-viewer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#showreel-trigger {
  all: unset;
  margin-top: 5px;
  padding: 0.5rem 1rem;
  border: 0.1px solid #c9d1d9;
  color: #c9d1d9;
  cursor: pointer;
  min-width: 150px;
  text-align: center;
  font-size: 1.5rem;
}

#showreel-trigger:hover {
  background-color: #1e4273;
}

/* responsive */
@media screen and (max-width: 1300px) {
  .neofetch {
    display: none;
  }
}

@media screen and (max-width: 992px) {

  #left-section,
  #right-section {
    width: 100%;
  }

  /* #section-container {
    flex-direction: column;
  } */

  h1 {
    font-size: 1rem;
  }

  h2 {
    font-size: 0.9rem;
  }

  .project-button {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {



  #main-content.custom-container.h-fill {
    margin-left: -80px;
  }

  #footer.custom-container.text-blue {
    display: grid;
    justify-content: center;
  }

  #main-container {
    height: 90%;
  }
}

.skills-container {
  display: flex;
  border: 1px solid #c9d1d9;
  padding: 1rem;
  margin-top: 1rem;
  gap: 1rem;
}

.skills-category {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skills-category h3 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.skill-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 1rem;
}

.skill-button {
  all: unset;
  padding: 0.8rem;
  border: 1px solid;
  text-align: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skills-category:first-child .skill-button {
  border-color: #ec8e2c;
  color: #ec8e2c;
}

/* .skills-category:first-child .skill-button:hover {
  background-color: #ec8e2c;
  color: #0d1117;
  box-shadow: 0 0 10px #ec8e2c;
} */

.skills-category:last-child .skill-button {
  border-color: #bc8cff;
  color: #bc8cff;
}

/* .skills-category:last-child .skill-button:hover {
  background-color: #bc8cff;
  color: #0d1117;
  box-shadow: 0 0 10px #bc8cff;
} */

.carousel-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 3.5rem;
}

#techCarousel {
  width: 80%;
  max-width: 800px;
  border: 0.1px solid #c9d1d9;
  position: relative;
  box-sizing: border-box;
  overflow: visible;
}

.carousel-item img {
  margin: 0 auto;
  height: 400px;
  object-fit: contain;
  width: 100%;
  position: relative;
  z-index: 1;
}

.carousel-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #3d3d3d !important;
  background-image: none !important;
  z-index: 0;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  opacity: 1;
}

.carousel-control-prev {
  left: -3rem;
}

.carousel-control-next {
  right: -3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  border: 1px solid #c9d1d9;
  position: sticky;
  top: 0;
  background-color: #0d1117;
  z-index: 100;
  margin: 0 0 0.4rem 0;
}

.navbar-brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar-item {
  position: relative;
}

.navbar-link {
  color: #c9d1d9;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 0.1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.navbar-link:hover {
  color: #58a6ff;
  border-color: #58a6ff;
}

.navbar-link:active {
  background-color: #1e4273;
}


.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #58a6ff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-link:hover::after {
  width: 80%;
}


.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0.1px solid #c9d1d9;
  padding: 8px;
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #c9d1d9;
  transition: all 0.3s ease;
}

.navbar-toggle:hover {
  border-color: #58a6ff;
}

.navbar-toggle:hover span {
  background-color: #58a6ff;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

@media screen and (max-width: 768px) {
  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #0d1117;
    border: 0.1px solid #c9d1d9;
    border-top: none;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar-menu.active {
    max-height: 300px;
  }

  .navbar-item {
    border-bottom: 0.1px solid #1e4273;
  }

  .navbar-item:last-child {
    border-bottom: none;
  }

  .navbar-link {
    display: block;
    padding: 1rem 2rem;
    border: none;
  }

  .navbar-link::after {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }
}

@media screen and (max-width: 480px) {
  .navbar {
    padding: 0.6rem 1rem;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }
}

.contact-section {
  padding: 2rem;
  margin: 1rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.contact-content {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-container {
  width: 100%;
}

.contact-form-wrapper {
  border: 1px solid white;
  padding: 2.5rem;
  width: 100%;
  max-width: 1000px;
}

.contact-form-wrapper h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  color: #c9d1d9;
  font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
  background-color: #0d1117;
  border: 0.1px solid #c9d1d9;
  color: #c9d1d9;
  padding: 0.8rem;
  font-family: "Fira Mono", monospace;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #58a6ff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6e7681;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-button {
  all: unset;
  background-color: transparent;
  border: 0.1px solid #58a6ff;
  color: #58a6ff;
  padding: 0.8rem 1.5rem;
  text-align: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.submit-button:hover {
  background-color: #58a6ff;
  color: #0d1117;
}

.submit-button:active {
  opacity: 0.8;
}


.email-link {
  color: #58a6ff;
  text-decoration: none;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: #79c0ff;
  text-decoration: underline;
}



.social-icon {
  font-size: 1rem;
}

.social-button:hover {
  background-color: #1e4273;
}

.social-button.artstation:hover {
  border-color: #13aff0;
  color: #13aff0;
}

.social-button.behance:hover {
  border-color: #1769ff;
  color: #1769ff;
}

.social-button.instagram:hover {
  border-color: #e4405f;
  color: #e4405f;
}

.social-button.linkedin:hover {
  border-color: #0a66c2;
  color: #0a66c2;
}

.social-button.github:hover {
  border-color: #bc8cff;
  color: #bc8cff;
}


.cv-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  border: 0.1px solid #bc8cff;
  color: #bc8cff;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cv-button:hover {
  background-color: #bc8cff;
  color: #0d1117;
}

@media screen and (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .contact-section {
    padding: 1.5rem;
    margin: 0.5rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .social-buttons {
    flex-direction: column;
  }

  .social-button {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .contact-section {
    padding: 1rem;
  }

  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 1rem;
  }
}

.works-section {
  margin-top: 2rem;
  padding: 1rem 0;
}

.works-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #1e4273;
}

.tab-button {
  all: unset;
  padding: 0.5rem 1rem;
  border: 1px solid #c9d1d9;
  color: #c9d1d9;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover {
  border-color: #58a6ff;
  color: #58a6ff;
}

.tab-button.active {
  background-color: #58a6ff;
  border-color: #58a6ff;
  color: #0d1117;
}

.projects-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  border: 1px solid #c9d1d9;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* .project-card:hover {
  border-color: #58a6ff;
  transform: translateY(-2px);
} */

.project-card.hidden {
  display: none;
}

.project-media {
  width: 100%;
  height: 250px;
  background-color: #161b22;
  overflow: hidden;
}

.project-media model-viewer {
  width: 100%;
  height: 100%;
}

.project-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.project-card.video-expanded .project-info {
  max-height: 0;
  padding: 0 1.2rem;
  opacity: 0;
}

.project-card.video-expanded .project-media {
  height: auto;
  aspect-ratio: 16/9;
}

.yt-thumbnail {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.yt-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.yt-thumbnail:hover .yt-thumbnail-img {
  transform: scale(1.05);
}

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  justify-content: center;
  border-radius: 50%;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.yt-thumbnail:hover .yt-play-btn {
  background-color: rgba(255, 0, 0, 0.8);
}

.yt-player-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.yt-close-btn {
  all: unset;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.yt-close-btn:hover {
  background-color: rgba(255, 0, 0, 0.8);
}

.project-title {
  color: #58a6ff;
  font-size: 1.1rem;
  margin: 0;
}

.project-description {
  color: #c9d1d9;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.project-role {
  font-size: 0.85rem;
  color: #8b949e;
}

.project-role .label {
  color: #bc8cff;
  font-weight: 700;
}

.project-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tool-tag {
  padding: 0.3rem 0.6rem;
  border: 1px solid #ec8e2c;
  color: #ec8e2c;
  font-size: 0.75rem;
}

@media screen and (max-width: 992px) {
  .projects-gallery {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .works-tabs {
    justify-content: center;
  }

  .tab-button {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .project-media {
    height: 200px;
  }

  .project-info {
    padding: 1rem;
  }
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.hero-text {
  flex: 1;
  max-width: 60%;
}

.hero-text p {
  margin-bottom: 1rem;
}

.hero-avatar {
  flex: 0 0 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-image {
  width: 100%;
  max-width: 250px;
  height: 255px;
  border-radius: 50%;
  border: 2px solid #58a6ff;
}

/* resposnive layout*/
@media screen and (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-avatar {
    order: -1;
    margin-bottom: 2rem;
  }

  .avatar-image {
    max-width: 180px;
  }
}

/* foooooooooooooooottttttteeeeeeeeerrrrrr */
.site-footer {
  border: 1px solid #c9d1d9;
  border-left: none;
  border-right: none;
  border-bottom: none;
  background-color: #0d1117;
}

.footer-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #c9d1d9;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  padding-top: 5px;
  font-size: 0.8em;
}

.footer-link,
.footer-link * {
  cursor: pointer;
}



/* footer responsiveeeeee */
@media screen and (max-width: 768px) {
  .footer-social {
    gap: 0.5rem;
  }

  .footer-link {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
  }

  .footer-link span:not(.social-icon) {
    display: none;
  }
}

.model-placeholder {
  width: 100%;
  height: 100%;
  background-color: #161b22;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.model-placeholder:hover {
  background-color: #21262d;
}

.placeholder-poster {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.model-placeholder {
  position: relative;
  user-select: none;
}

.model-placeholder .placeholder-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.model-placeholder .placeholder-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(13, 17, 23, 0.8);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}
