@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: white;
  /* background: linear-gradient(135deg, #342e51, #20203f); */
  background: linear-gradient(180deg, #2d0135a1, #140347);
  /* overflow-y: auto; */
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(1px at 5% 10%, white, transparent),
    radial-gradient(1px at 15% 20%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px at 25% 30%, rgba(200, 200, 255, 0.9), transparent),
    radial-gradient(1px at 35% 40%, white, transparent),
    radial-gradient(1px at 45% 50%, rgba(220, 220, 255, 0.7), transparent),
    radial-gradient(1px at 55% 60%, white, transparent),
    radial-gradient(1px at 65% 70%, white, transparent),
    radial-gradient(1px at 75% 80%, rgba(240, 240, 255, 0.7), transparent),
    radial-gradient(1px at 85% 90%, white, transparent),
    radial-gradient(1px at 25% 15%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px at 35% 35%, white, transparent),
    radial-gradient(1px at 45% 55%, rgba(230, 230, 255, 0.8), transparent),
    radial-gradient(1px at 55% 75%, white, transparent),
    radial-gradient(1px at 65% 85%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px at 75% 95%, white, transparent),
    radial-gradient(1px at 10% 40%, rgba(255, 230, 255, 0.8), transparent),
    radial-gradient(1px at 50% 90%, white, transparent),
    radial-gradient(1px at 5% 20%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px at 20% 70%, rgba(200, 200, 255, 0.6), transparent),
    radial-gradient(1px at 30% 50%, rgba(240, 240, 255, 0.8), transparent),
    radial-gradient(1px at 40% 60%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px at 55% 40%, rgba(255, 230, 255, 0.9), transparent),
    radial-gradient(1px at 60% 80%, rgba(230, 230, 255, 0.6), transparent),
    radial-gradient(1px at 80% 20%, rgba(255, 255, 255, 0.8), transparent);
  background-size: 400px 400px;
  animation: twinkle 2s infinite ease-in-out alternate;
  z-index: -1;
}

.header {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 4rem;
  align-items: center;
  background: rgba(51, 51, 51, 0.8); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Blur effect for modern browsers */
  z-index: 1000;
}

.logo {
  /* padding-left: 10px; */
  color: white;
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-3px) scale(1.05);
}

.pages a {
  position: relative;
  color: white;
  text-decoration: none;
  padding: 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
}

.pages a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.pages a:hover::before {
  width: 100%;
}

.social_media {
  display: flex;
  gap: 10px;
  
}

.social_media a img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease
}

.social_media a img:hover {
  transform: scale(1.2);
}

.profile_image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.profile_image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.profile_image h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.profile_image h3 {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

.gdg,
.about_content a,
footer a {
  color: #03cafc;
  text-decoration: none;
}

.gdg:visited,
.about_content a:visited {
  color: #1083bdb6;
} 


.gdg:hover,
.about_content a:hover {
  text-decoration: underline;
}

/* About Section */
#about {
  padding: 100px 20px 50px; /* Adjusted for fixed header */
  color: white;
}

h2, p {
  text-align: center;
  padding-bottom: 10px;
}
/* Sections */
.section {
  padding: 100px 20px;
  text-align: center;
}

#about {
  background: linear-gradient(180deg, #2d0135a1, #140347);
}

footer {
  display:flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  margin: 20px;

<<<<<<< HEAD
.project-card p {
  overflow-y: auto; 
  max-height: 100px;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  flex-grow: 1; /* Allow description to grow and fill space */
  overflow-y: auto; /* Add scrollbar if content overflows */
}

.project-card .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #03cafc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  margin-top: 25px;
}

.project-card .btn:hover {
  background: #029ec7;
}

/* Certificates Grid */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.certificate-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}


.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.certificate-card img {
  width: 100%;
  height: 40%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.certificate-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.certificate-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.certificate-card .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #03cafc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.certificate-card .btn:hover {
  background: #029ec7;
=======
>>>>>>> 0b6a909 (Made changes to the layout of the website including removing project and achievements part of the website and renewing profile picture and account links)
}



@keyframes twinkle {
  90% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .pages a {
    font-size: 0.875rem;
    padding: 0 0.75rem;
  }

  .social_media a img {
    width: 20px;
    height: 20px;
  }

  .profile_image img {
    width: 120px;
    height: 120px;
  }

  .profile_image h1 {
    font-size: 1.75rem;
  }

  .profile_image h3 {
    font-size: 1rem;
  }

}
