@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #fff;
  background: linear-gradient(60deg, #0d0d0d, #1a1a1a 25%, #262626 50%, #333333 75%, #404040);
  background-size: 200% 200%;
  animation: gradientAnimation 6s ease infinite;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}


.container {
  width: 90vw;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.profile {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  margin-bottom: 50px;
  transition: transform 0.3s ease;
}

.profile:hover {
  transform: translateY(-10px);
}

.image-profile {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
  margin: 0 auto 20px;
}

.image-profile:hover {
  transform: scale(1.05);
}

.profile-info {
  flex: 1;
  min-width: 200px;
  margin-left: 20px;
  font-weight: 700;
}

.profile-info h1 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #04fc43;
}

.profile-info p {
  font-size: 1.2em;
  margin: 5px 0;
  color: #ddd;
}

#progress-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
  margin-bottom: 50px;
}

.progress-circle {
  position: relative;
  width: 150px;
  height: 150px;
  line-height: 1.1;
}

.progress-circle svg {
  width: 150px;
  height: 150px;
  transform: rotate(270deg);
}

.progress-circle svg circle {
  width: 100%;
  height: 100%;
  fill: transparent;
  stroke-width: 8;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-linecap: round;
  transform: translate(5px, 5px);
}

.progress-circle svg circle:nth-child(2) {
  stroke: var(--clr);
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 1.5s ease-in-out;
}

.progress-circle .indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: transform 1.5s ease-in-out;
}

.progress-circle .indicator::before {
  content: "";
  position: absolute;
  top: -1px;
  width: 15px;
  height: 15px;
  background: var(--clr);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--clr), 0 0 30px var(--clr);
}

#perce {
  font-size: 1.5em;
  font-weight: 600;
}

.progress-circle .percentage {
  font-size: 2em;
  font-weight: 600;
}

.progress-circle .text {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 4s ease-in-out infinite;
}

/* Vertical Bar Chart Styles */
.bar-chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 300px;
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
}

.bar-value {
  width: 100%;
  background-color: #04fc43;
  transition: height 1s ease-in-out;
  border-radius: 5px 5px 0 0;
  position: relative;
  overflow: hidden;
}

.bar-value::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top,
      rgba(255, 255, 255, 0.2),
      transparent);
}

.bar-label {
  margin-top: 10px;
  font-size: 0.8em;
  text-align: center;
}

.bar-percentage {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7em;
  font-weight: bold;
  color: #000;
}

@media (max-width: 768px) {
  .profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-info {
    margin-left: 0;
    margin-top: 20px;
  }

  #progress-container {
    flex-direction: column;
    align-items: center;
  }

  .bar-chart {
    height: 200px;
  }

  .bar {
    width: 30px;
  }
}

.graph-container {
  position: relative;
  height: fit-content;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  margin-bottom: 50px;
  transition: transform 0.3s ease;
}

.graph-container svg {
  position: relative;
  width: 100%;
  height: auto;
}

.card {
  position: relative;
}




#chart-container {
  position: relative;
  display: block;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  margin-bottom: 50px;
  transition: transform 0.3s ease;
}



.line {
  fill: none;
  stroke: #04fc43;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.dot {
  fill: #04fc43;
  transition: transform 0.3s ease;
}

.dot:hover {
  transform: scale(1.5);
}

.axis {
  stroke: #fff;
  stroke-width: 2;
}

.label {
  fill: #fff;
  font-size: 14px;
  text-anchor: middle;
}


svg {
  width: 100%;
  height: 100%;
}

#disconnect-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 59, 59, 0.8);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#disconnect-btn:hover {
  background-color: rgba(255, 0, 0, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#disconnect-btn i {
  margin-right: 8px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

#disconnect-btn:hover i {
  animation: pulse 1s infinite;
}



h1 {
    font-size: 2rem;
}

.skills {
  display: flex;
  justify-content: center ;
}