/* Color Scheme: Dark Mode | Dark To Lighter Shades | For References */
/* Colors Used:
#070F2B - Background
#1B1A55 - NavBar Background
#535C91 - Primary Text Color
#9290C3 - Secondary Text Color 
#bebde4 - Highlight Text Color*/

body {
  background: linear-gradient(90deg, #070f2b 0%, #1b1a55 100%);
  color: #9290c3;
  font-family: "Roboto", Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-shadow: 1px 1px 4px #00000066;
}

body h1 {
  color: #bebde4;
  font-size: 48px;
  margin-bottom: 20px;
}

body h2 {
  color: #bebde4;
  font-size: 48px;
  margin-bottom: 20px;
}

body p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 15px auto;
}

hr {
  border: 0;
  height: 1px;
  background-color: #535c91;
  margin: 40px 0;
}
.DP {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 100%;
  border: 4px dotted #6f71a1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  margin-top: 20px;
}

.quote {
  font-style: italic;
  margin-top: 25px;
  font-size: 18px;
  color: #eae9ff;
  animation: sparkle 2s infinite ease-in-out alternate;
}

.btn {
  background-color: #535c91;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
  animation: sparkle 2s infinite ease-in-out alternate;
}

@keyframes sparkle {
  from {
    text-shadow: 0 0 5px #a299ff, 0 0 10px #b7aaff;
  }
  to {
    text-shadow: 0 0 20px #cbbcff, 0 0 40px #a89fff;
  }
}

.experience-flex {
  display: flex;
  flex-direction: row;
  gap: 80px;
  margin-top: 50px;
  justify-content: center;
  transition: all 0.3s ease;
}

.experience-flex:hover {
  background-color: #2d2b79;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.exp-title {
  color: #bebde4;
  font-size: 24px;
  place-content: center;
  max-width: 300px;
}

.exp-details {
  color: #9290c3;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: justify;
  max-width: 600px;
}

.card {
  background-color: #1b1a55;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 20px;
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
  align-items: center;
}

.tech-list li {
  background: rgba(190, 189, 228, 0.08);
  color: #bebde4;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 16px;
  border: 1px solid rgba(148, 144, 195, 0.12);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.tech-list strong {
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(146, 144, 195, 0.6),
    0 0 12px rgba(190, 189, 228, 0.12);
}

.tech-list li:hover {
  background: rgba(146, 144, 195, 0.12);
  box-shadow: 0 6px 18px rgba(43, 36, 100, 0.489);
}

@media (max-width: 480px) {
  .tech-list {
    gap: 8px;
  }
  .tech-list li {
    font-size: 13px;
    padding: 6px 10px;
  }
}

.footer {
  text-align: center;
  color: #535c91;
  font-size: 14px;
  padding: 10px 0;
  border-top: 1px solid #535c91;
  margin-top: 40px;
  margin-bottom: 0%;
}

.footer p {
  margin-bottom: 0%;
}

.footer-link {
  color: #dbddea;
  text-decoration: none;
  font-size: 14px;
  text-shadow: 0 0 4px rgba(155, 158, 176, 0.6);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-link:hover {
  color: #bebde4;
  text-shadow: 0 0 8px rgba(190, 189, 228, 0.8);
}

.intro {
  text-align: center;
  padding: 5px 20px;
}

.exp {
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-pic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn:hover {
  background-color: #9290c3;
}

.info-table {
  width: 90%;
  max-width: 800px;
  margin: 30px auto;
  border-collapse: collapse;
  background-color: #1b1a55;
  color: #9290c3;
  font-size: 18px;
  border: 1px solid #535c91;
  border-radius: 10px;
}

.info-table th,
.info-table td {
  border: 1px solid #535c91;
  padding: 12px 16px;
  text-align: center;
}

.info-table th {
  color: #bebde4;
  font-weight: 600;
}

.info-table td a {
  color: #9290c3;
  text-decoration: none;
}

.info-table td a:hover {
  color: #bebde4;
}

.info-table th[colspan="2"] {
  background-color: #0b0b38;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.info-table tr:nth-child(even) {
  background-color: #24225d;
}

.svg-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

div[id] {
  scroll-margin-top: 60px;
}

/* ? NAV-BAR - W3 School: https://www.w3schools.com/howto/howto_js_topnav.asp */

/* NavBar Background */
.topnav {
  position: sticky;
  top: 0;
  background: linear-gradient(190deg, #1b1a55 0%, #2d2b79 100%);
  box-shadow: #070f2b 0px 4px 6px -1px;
  overflow: hidden;
  text-align: center;
}

.topnav a {
  display: inline-block;
  color: #f2f2f2;
  text-align: center;
  padding: 15px 18px;
  margin: 8px 6px;
  /* Remove underline from links */
  text-decoration: none;
  font-size: 17px;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 500;
  border-radius: 8px; /* rounded corners */
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #9290c3;
  color: #ffffff;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #535c91;
  color: white;
}
