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

body {
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;

 
  background: linear-gradient(180deg, #e8f6ff 0%, #ff9c63 100%);
  min-height: 100vh;
  color: #0b1a2a; 
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

h3 {
  font-size: 1.5rem;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}

p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

.menu-bar {
  background-color: #1988f7;
  display: flex;
  justify-content: flex-start;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

#about {
  background-color: #19f750;
}

#index {
  background-color: #ff0000;
}

#work {
  background-color: aqua;
}
.item {
  color: white;
  background-color: transparent;
  font-size: 18px;
  display: inline-block;
  box-sizing: border-box;
  padding: 14px 20px;
}

.item.title {
  font-weight: 600;
}

.item:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

a {
   position: relative;
   display: inline-block;
   overflow: hidden;
 }
 
 a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   height: 4px;
   width: 100%;
   background: linear-gradient(90deg, #8b00ff);
   background-size: 200% auto;
   transition: all .5s;
   transform: translateX(-100%);
 }
 
 a:hover::after {
   transform: translateX(0%);
   animation: gradient-89 3s linear infinite;
 }
 
 @keyframes gradient-89 {
   0% { background-position: 100% 0%; }
   50% { background-position: 0% 0%; }
   100% { background-position: 100% 0%; }
 }

.profile {
  display: block;
  margin: 12px auto 6px;
  width: 400px;            
  max-width: 100%;
  height: auto;
}

.profile + h1 {
  margin: 0;
  text-align: center;
  font-size: 1.6rem;
}

.profile + h1 + h3 {
  margin: 6px 0 0;
  text-align: center;
  font-weight: 300;
  font-size: 1rem;
}

.index h1, .index h3 {
  text-align: center;
}
.top-left {
  margin: 8px 0 0 12px;     
  text-align: left;
  font-size: 0.95rem;
  color: #222;
  max-width: calc(100% - 24px);
}
.about p, .about h1{
text-align: center;
}

.about table {
  max-width: 100%;
  margin: auto;
  margin-top: 300px;
}

.about img {
  width: 100%;
}
.about table, th, td {
  border: 1px solid green;
}
.diddle p{
  text-align: center;
}