@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
  width: 100%;
  height:100%;
  font-family: Montserrat, sans-serif;
  margin: 0;
  height: 100vh;
  background: linear-gradient(135deg, #0d0053, #00013d, #0d0053);
  scroll-behavior: smooth;
}

body {
    background: linear-gradient(-45deg, #09003a, #27018f, #1e12c7, #3a29d6);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(3, 0, 12);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgb(0, 2, 75);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #3021ff ;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #77e2fd;
  transition: 1.2s;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 12% 5%;
}

.hero-content {
  flex: 1;
  padding-right: 5rem;
  min-height: 80vh;
  color: #77e2fd;
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.profile-img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgb(10, 0, 97);
  box-shadow: 0 0 50px rgb(90, 101, 255);
  animation: float 3s ease-in-out infinite;
  filter: grayscale(0.2) contrast(1.1);
}

@keyframes float {
  0%, 100%  {transform: translateY(-120px);}
  50% {transform: translateY(-100px);}
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, rgb(61, 102, 235));
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skills {
  padding: 5rem 5%;
  background: transparent;
  margin-top: -320px;
  color: #77e2fd;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem;
}

.skills-card {
  padding: 2rem;
  border-radius: 15px;
  background: #29576b;
  transition: all 0.3s ease;
  border: 1px solid rgb(49, 49, 255);
}

.skills-card:hover {
  transform: translateY(-10px);
  border-color: #4632fd;
  box-shadow: #9e93ff;
}

.skills-card i {
  font-size: 2.5rem;
  color: #3283fd;
  margin-bottom: 1rem;
}

footer {
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid blue;
  color: #77e2fd;
}

.social {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social a {
  color: rgb(78, 78, 255);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social a:hover {
  color: #77e2fd;
  transform: translateY(-3px);
}

.project {
  padding: 4rem 5%;
  color: #77e2fd;
  background: transparent;
  text-decoration: none;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}


.project-card {
  padding: 2rem;
  border-radius: 15px;
  background: #29576b;
  transition: all 0.3s ease;
  border: 1px solid rgb(49, 49, 255);
  color: #77e2fd;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: #4632fd;
  box-shadow: #9e93ff;
}

.project-card i {
  font-size: 1.5rem;
  color: #3283fd;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: #77e2fd;
}


@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  @keyframes float {
  0%, 100%  {transform: translateY(-400px);}
  50% {transform: translateY(-380px);}
  }

  .profile-img {
    width: 230px;
    height: 230px;

  }

  .nav-links {
    display: none;
  }
}

