* {
    text-decoration: none;
}

@media (min-width: 768px) {
    .home .Name {
        font-size: 110px;
    }
    .home .Hello {
        font-size: 48px;
    }
    .home .Description {
        font-size: 20px;
    }
    .skills .lines {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .skills .lines .language-skill {
        min-width: 45%;
        height: 80px;
    }
    .projects-list {
        flex-direction: row;
        overflow-x: auto;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .navbar {
        flex-direction: row;
        padding: 20px 50px;
    }
    .home .Name {
        font-size: 140px;
    }
    .home .Hello {
        font-size: 56px;
    }
    .home .Description {
        font-size: 24px;
    }
    .skills .lines .language-skill {
        min-width: 417px;
        height: 81px;
    }
    .projects-list {
        flex-direction: row;
        overflow-x: auto;
    }
    footer {
        flex-direction: row;
        padding: 61px;
    }
}

html,
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0F0E0E;
    font-family: "Montserrat", sans-serif;
}


.home {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.home .circle {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 95%;
  height: 1500px;

  background: radial-gradient(circle, rgba(250, 94, 42, 0.384) 0%, rgba(250, 95, 42, 0.05) 100%);
  border-radius: 50%;
  filter: blur(500px);
  z-index: -1;
}

.home .bar {
    position: absolute;
    bottom: -45px;
    left: 0;
    width: 200%;
    height: 125px;
    background: rgb(15, 14, 14);
    filter: blur(20px);
}

@keyframes navbarFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;

    opacity: 0;
    animation: navbarFadeIn 1s ease-out forwards;
    animation-delay: 0.2s;
}

.navbar .nav-title {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.navbar .nav-links a {
    font-size: 18px;
    font-weight: 500;

    transition: color 0.3s;
    color: #ffffff;
    opacity: 0.3;

    transition: opacity 0.3s;

    margin-left: 40px;
}

.navbar .nav-links a:hover {
    color: #ffffff;
    opacity: 1;
    cursor: pointer;
}

.navbar .nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.home .intro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
}

.home .Hello,
.home .Name,
.home .Description {
  margin: 0;
  padding: 0;
  opacity: 0;
}

@keyframes helloFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
}

.home .Hello {
    font-size: 56px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);

    animation: helloFadeUp 1s ease-out forwards;
}

@keyframes nameZoom {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


.home .Name {
    font-size: 140px;
    font-weight: bold;

    animation: nameZoom 1.8s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes descriptionSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
}

.home .Description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    font-weight: 400;

    animation: descriptionSlideUp 1s ease-out forwards;
    animation-delay: 1.8s;
}

.skills {
    padding: 0px 50px;
    margin-bottom: 0px;
}

.skills .Title, .project-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 50px;

    background: linear-gradient(-86deg, #ffffff, #71717A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
    color: transparent;
}

.skills .Description {
    font-size: 24px;
    font-weight: 500;
    color: rgba(161, 161, 170, 0.80);
}

.skills .lines {
    display: flex;
    margin-top: 50px;
    gap: 30px;
}

.skills .lines .Desc {
    max-width: 1300px;
    font-size: 20px;
    font-weight: 500;
    color: rgba(161, 161, 170, 0.80);
    text-align: justify;
}

.skills .lines .language-skill {
  position: relative;
  min-width: 417px;
  height: 81px;
  background: #0B0B0B;
  border-radius: 20px;
  overflow: hidden;
}

.skills .lines .language-skill::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(-68deg, #FFFFFF 0%, rgba(153, 153, 153, 0.3) 100%);
  background-size: 200% 200%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.3s;

  opacity: 0.3;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.skills .lines .language-skill:hover::before {
  animation: gradientShift 1.5s linear infinite;
}

.skills .lines .language-skill .lang-logo {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

.skills .lines .language-skill .lang-name {
    position: absolute;
    top: 10%;
    left: 100px;
    transform: translateY(-50%);
    font-size: 25px;
    font-weight: 600;
    color: #FFFFFF;
}

.skills .lines .language-skill .lang-stars {
    position: absolute;
    bottom: 30%;
    left: 100px;
    transform: translateY(50%);
    display: flex;
    gap: 5px;
}


@keyframes textLeftDesc {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.skills .lines .language-skill,
.skills .lines .Desc,
.skills .lines .language-skill .lang-logo,
.skills .lines .language-skill .lang-name,
.skills .lines .language-skill .lang-stars {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.skills .lines .language-skill .lang-name {
  opacity: 0;
  transform: translateY(-20px);
}

.skills .lines .language-skill .lang-logo {
  opacity: 0;
  transform: translateY(-50%) translateX(-20px);
}

.skills .lines .language-skill.visible {
  opacity: 1;
  transform: translateY(0);
}

.skills .lines .Desc.visible {
  opacity: 1;
  transform: translateX(0);
}

.skills .lines .language-skill .lang-logo.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.skills .lines .language-skill .lang-name.visible {
  opacity: 1;
  transform: translateY(-20px);
}

.skills .lines .language-skill .lang-stars.visible {
  opacity: 1;
  transform: translateY(10px);
}

@keyframes RotationStar {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(75deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.skills .lines .language-skill .lang-stars.visible .lang-star:hover {
  animation: RotationStar 1.8s linear infinite;
}


.skills .lines .Desc.visible {
    animation: textLeftDesc 0.8s ease-out forwards;
    animation-delay: 0s;
    opacity: 1;
}

.projects {
    padding: 100px 50px;
    height: 482px;
    margin-bottom: 100px;
}

.projects .Title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 50px;

    background: linear-gradient(-86deg, #ffffff, #71717A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
    color: transparent;
}

.projects .Description {
    font-size: 24px;
    font-weight: 500;
    color: rgba(161, 161, 170, 0.80);
}

.dropdown {
  width: 270px;
  height: 48px;
  position: relative;
  display: inline-block;
}

.dropbutton {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: 0;
  left: 0;
  width: 270px;
  height: 48px;
  padding-left: 20px;
  pointer-events: none;
  user-select: none;
}

.projects-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dropbtn {
  width: 270px;
  height: 48px;
  background-color: #0B0B0B;
  border-radius: 20px;
  color: white;
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}


.dropbtn::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(-68deg, #FFFFFF 0%, rgba(153, 153, 153, 0.3) 100%);
  background-size: 200% 200%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.3s;

  opacity: 0.3;
}

.dropbtn:hover::before {
  animation: gradientShift 1.5s linear infinite;
}

.dropbtn img {
  width: 16px;
  height: 16px;
  transform: rotate(0deg);
  transition: transform 0.8s ease-in-out;
}

.dropbtn.open img {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1;
}

.dropdown-content p {
  color: black;
  padding: 12px 16px;
  display: block;
  cursor: pointer;
  margin: 0;
}

.dropdown-content p:hover {
  background-color: #f1f1f1;
  border-radius: 5px;
}

.show {
  display: block;
}

.btn-text {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 600;
}

.projects-list {
  display: flex;
  gap: 10px;
  margin-top: 50px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #71717A #0B0B0B;
}

.projects-list::-webkit-scrollbar {
  height: 2px;
}

.projects-list::-webkit-scrollbar-thumb {
  background: #71717A;
}

.projects-list::-webkit-scrollbar-thumb:hover {
  background: #0B0B0B;
}

.project-card {
  flex: 0 0 auto;
  position: relative;
  width: 495px;
  height: 260px;
  background: #0B0B0B;
  border-radius: 20px;
  overflow: hidden;
  color: white;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(-68deg, #FFFFFF 0%, rgba(153, 153, 153, 0.3) 100%);
  background-size: 200% 200%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.3s;

  opacity: 0.3;
}

.project-card:hover::before {
  animation: gradientShift 1.5s linear infinite;
}

.project-title {
    font-size: 25px;
    font-weight: 600;
    margin: 20px 30px 10px 30px;
}

.project-tags {
    display: flex;
    gap: 6px;
    margin: 0 30px 14px 30px;
}

.tag {
    background-color: #181818;
    border-radius: 8px;
    padding: 4.5px 12px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

.project-description {
    font-size: 18px;
    font-weight: 400;
    color: rgba(161, 161, 170, 0.80);
    margin: 0 30px 20px 30px;
    width: 450px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
}

.project-links {
    position: absolute;
    bottom: 20px;
    left: 30px;
    display: flex;
    gap: 10px;
}

.project-links .details, .project-links .download {
    width: 35px;
    height: 35px;
    background-color: #181818;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.project-links .details:hover, .project-links .download:hover {
    background-color: #FFFF;
}

.project-links .details img, .project-links .download img {
    filter: invert(100%);
    transition: filter 0.3s;
}

.project-links .details:hover img, .project-links .download:hover img {
    filter: invert(0%);
}

.blur-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 9998;
}

.preview-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  display: flex;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
}

.preview-track {
  flex: 1;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.preview-item {
  min-width: 100%;
  height: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.preview-item img,
.preview-item video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.preview-dots {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10000;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #FFFFFF;
}

footer {
  position: relative;
  height: 339px;
  padding: 0 61px;
  margin: 0;
  overflow: hidden;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}


.footer-info {
  max-width: 450px;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  flex-direction: column;
  margin: 61px 0 0 61px;
  padding: 0;
  color: rgba(161, 161, 170, 0.5);
}

.footer-title {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: bold;
  color: #FFFFFF;
  margin: 0;
  padding: 0 0 12px 0;
}

footer p {
  margin: 0;
  padding: 0;
}

.footer-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Manrope", sans-serif;
  font-size: 500px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.02);
  z-index: -1;
  white-space: nowrap;
  pointer-events: none;

}

.footer-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.gradient-blur {
  position: fixed;
  z-index: 5;
  inset: auto 0 0 0;
  height: 65%;
  pointer-events: none;
}
.gradient-blur > div,
.gradient-blur::before,
.gradient-blur::after {
  position: absolute;
  inset: 0;
}
.gradient-blur::before {
  content: "";
  z-index: 1;
  backdrop-filter: blur(15px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 12.5%,
    rgba(0, 0, 0, 1) 25%,
    rgba(0, 0, 0, 0) 37.5%
  );
}

.gradient-blur > div:nth-of-type(2) {
  z-index: 3;
  backdrop-filter: blur(30px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 1) 37.5%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 62.5%
  );
}
.gradient-blur > div:nth-of-type(3) {
  z-index: 4;
  backdrop-filter: blur(45px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 37.5%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 1) 62.5%,
    rgba(0, 0, 0, 0) 75%
  );
}
.gradient-blur > div:nth-of-type(4) {
  z-index: 5;
  backdrop-filter: blur(60px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 1) 62.5%,
    rgba(0, 0, 0, 1) 75%,
    rgba(0, 0, 0, 0) 87.5%
  );
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;

  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  font-weight: 600;
  font-size: 12px;
  color: #FFFFFF;
  text-align: center;
}

.footer-bottom a {
  color: rgba(161, 161, 170, 0.3);
}

.footer-bottom a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-right {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 70px;
    margin: 61px 61px 0 0;
}

.footer-sitemap,
.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.footer-sitemap p,
.footer-socials p {
  color: #FFFFFF;
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.footer-sitemap a,
.footer-socials a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.footer-sitemap a:hover,
.footer-socials a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}