html,
body {
  width: 100%;
  margin: 0;
  background: #000;
  overflow-x: hidden;




}

body {
  min-height: 100vh;
  font-family: "Monsterrat", sans-serif;
  color: var(--text);
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
  padding-left: 10px;
  max-height: 100vh;
}


.particle-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#particles {
  width: 100%;
  height: 100%;
  display: block;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  color: white;
  font: Monsterrat, sans-serif;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(180deg, #2a2a2a, #111);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px #333;
}

.logo-icon {
  font-weight: 700;
  font-size: 18px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 18px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.status .dot {
  width: 8px;
  height: 8px;
  background: #6bff95;
  border-radius: 50%;
}

.icon-btn,
.lang-btn {
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}

.icon-btn:hover,
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.content {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  margin-bottom: 80px;
  color: white;
  padding-left: 10px;
  padding-right: 10px;
}

.photo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  contain: content;
  border: #fff 1px solid;
  filter: drop-shadow(0 0px 10px rgba(255, 255, 255, 0.7));
}
.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile {
  display: flex;
  align-items: center;
  gap: 34px;
}

.profile-text {
  display: flex;
  flex-direction: column; 
}

.profile-text h1 {
  margin: 0 0 12px 0;
}

.profile-text p {
  margin: 0;
  max-width: 520px;
  opacity: 0.85;
}

.logo-img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  vertical-align: middle;
  filter: invert();
}

.gradient-text {
  display: inline-block;
  background: linear-gradient(90deg, #ffffff, #807f7f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.clock {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
}


.carousel {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.project-card {
  min-width: 300px;
  background: #000000;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  filter: drop-shadow();
  border: #6a6a6a 1px solid;
  box-shadow: #6a6a6a 0px 0px 10px;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
}

.card-content h4 {
  margin: 0;
  font-size: 1.2rem;
}

.card-content p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  margin-top: .75rem;
  padding: .5rem 1.25rem;
  background: rgb(29, 29, 29);
  color: rgb(255, 255, 255);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor:default;
}

.nav.prev { left: -20px; }
.nav.next { right: -20px; }

.lang-section {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
  gap: 14px;
}

.lbtn {
  align-items: center;
  gap: 7px;
  background: transparent;
  border-radius: 12px;
  padding: 10px 23px;
  min-width: 54px;
  max-width: 54px;
  margin-right: 1px;
  margin-bottom: 15px;
  cursor: default;
  display: flex;
  flex-direction: column;
  box-shadow: #6a6a6a 0px 0px 10px;
  font-size: 0.95rem;
}


.invertphoto {
  filter: invert();
  width: 38px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

* {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.topbar {
  animation: fadeIn 0.6s ease both;
}

.content {
  animation: fadeUp 0.8s ease both;
}

.profile {
  animation: fadeUp 0.9s ease both;
}

.photo-circle {
  animation: fadeUp 1s ease both;
}
.project-card {
  animation: fadeUp 1.1s ease both;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

.lbtn {
  animation: fadeUp 0.6s ease both;
}

.icon-btn:hover {
  transform: translateY(-1px);
}

.btn:hover {
  transform: translateY(-2px);
}

.lbtn:hover {
  transform: translateY(-2px);
}

.project-card:hover {
  transform: translateY(-4px);
}

.spotify {
  animation: fadeUp 0.8s ease both;
}

#clock {
  display: inline-block;
  animation-duration: 0.3s;
}

#clock.tick {
  animation: clockTick 0.3s ease;
}

.socialsec {
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #bebebe;
}

.socialsec button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}

.socialsec img {
  vertical-align: middle;
  filter: invert(76%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.socialsec img:hover {
  transform: translateY(-2px);
  background: transparent;
}

.socials {
  margin-left: 0px;
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateX(0);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  pointer-events: none;
}

.logo-img:hover {
  transform: translateY(-2px);
}

.socials.hide {
  opacity: 1;
  transform: translateX(14px);

  pointer-events: auto;
}

