* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Fira Code", monospace;
}

body {
  background-color: #121212;
  color: #f5f5f5;
  scroll-behavior: smooth;
}

header {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  /* padding: 80px 20px 40px ; */
  padding-top: 80px;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 80px;
  background: url("assets/cube.png"), linear-gradient(120deg, #1a1a1a, #000);
  

}

@keyframes imgAnimate {
  0% { box-shadow: 0 0 10px #00adb5; }
  50% { box-shadow: 0 0 30px #00adb5; }
  100% { box-shadow: 0 0 10px #00adb5; }
}

header img {
  border-radius: 50%;
  width: 250px;
  height: 250px;
  object-fit: cover;
  border: 3px solid #00adb5;
  animation: imgAnimate 5s infinite;
}

.typing {
  color: #00adb5;
  font-size: 24px;
  margin-top: 10px;
  display: inline;
}


.description {
  max-width: 700px;
  margin: 30px auto;
  line-height: 1.6;
  font-size: 16px;
  color: #ccc;
}

.download-resume {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #00adb5;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.5s;
}

.download-resume:hover {
  transform: scale(1.1);
}

section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  font-size: 28px;
  margin-bottom: 20px;
  border-left: 4px solid #00adb5;
  padding-left: 10px;
}

.skills {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.skill {
  background: #1e1e1e;
  padding: 15px;
  margin: 10px 0;
  border-radius: 8px;
  transition: 0.3s;
}

.skill:hover {
  transform: scale(1.03);
}

.flex-r {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.skill-percentage {
  color: #00adb5;
}

.skill-bar {
  height: 10px;
  background: #333;
  border-radius: 5px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: #00adb5;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #1f1f1f;
  border-radius: 10px;
  width: 400px;
  overflow: hidden;
  border: 1px solid #333;
  transition: 0.3s;
  margin-left: 20px;
}

.card:hover {
  transform: scale(1.03);
}

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

.card-content {
  padding: 15px;
}

.tags {
  margin-top: 10px;
  font-size: 12px;
  color: #aaa;
}

.services {
  background: #181818;
  padding: 40px;
  border-radius: 10px;
}

.services p {
  padding: 10px;
}

.footer {
  text-align: center;
  padding: 40px 20px;
  background: #0d0d0d;
  font-size: 14px;
  color: #888;
}

.socials a {
  margin: 0 10px;
  color: #00adb5;
  text-decoration: none;
}

.leetcode-stats {
  width: 90%;
  text-align: center;
  padding: 10%;
}

@media (min-width: 768px) {
  header img {
    width: 350px;
    height: 350px;
  }
  header{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }
  .about-text{
    margin-top: 80px;
}
}
