ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #333333;
  display: flex;
  border-bottom:3px solid;
  border-image: linear-gradient(to right,white,transparent)3;
  border-width: 0 0 0.5px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  flex-wrap: nowrap;        
    overflow-x: auto;         
    white-space: nowrap; 
    -webkit-overflow-scrolling: touch;
}
ul::-webkit-scrollbar{
  display:none;
}

ul li a {
  display: block;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: #111111;
}
ul li a.active {
  background-color: #04AA6D;
}
li{
  font-family:Lato;
  border-right:1px solid white;
}
body{
  margin:0;
  background-image: linear-gradient(135deg, #bdc3c7 0%, #2c3e50 100%);
}
#if{
  margin:3%;
  font-family:'Courier New', Courier, monospace;
  color: transparent;
  background-image: linear-gradient(to bottom, #f2f2f2 20%, #bdbdbd 100%);
  background-clip: text;
  text-align: center;
}
h1{
  margin:4%;
  color:transparent;
  background-image: linear-gradient(to bottom, #f2f2f2 20%, #bdbdbd 100%);
  font-weight:600;
  background-clip: text;
  font-size:50px;
  text-decoration: underline;
  text-align: center;
}
#mail{
  margin:3%;
  background-image: linear-gradient(to bottom, #f2f2f2 20%, #bdbdbd 100%);
  color:transparent;
  background-clip: text;
  font-family:'Courier New', Courier, monospace;
  text-shadow:1px 1px 1px #e6e7e8;
}
.back{
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding:1%;
  border:2px solid transparent;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: transform 0.3s ease,box-shadow 0.3s ease;
}
.back:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
#tac{
  margin:3%;
  float: center;
  
}
#con{
  margin:3%;
}
td{
  border:solid 1px transparent;
  width:50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
td:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color:whitesmoke;
}
hr{
  border:none;
  height: 3px;
  background-image: linear-gradient(to right,transparent,white,transparent);
}
#response{
  margin:3%;
  font-size:25px;
  color:white;
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}
tr{
  width:100%;
}
table{
  width:100%;
}
p{
  text-align: center;
}
#mail {
  position: relative;
  text-decoration: none;
  width: fit-content;
  text-align: center;
  margin: 3%;
}

#mail::after {
  content: '';
  position: absolute;
  /* 1. Set full width permanently */
  width: 100%; 
  height: 2px;
  bottom: -2px;
  left: 0;
  background-image: linear-gradient(to right, white, black);
  
  /* 2. Animate the transform property instead of width */
  transition: transform 0.3s ease; 
  
  /* 3. Start shrunk to 0, pivoting from the right */
  transform: scaleX(0);
  transform-origin: bottom right;
}

#mail:hover::after {
  /* 4. Scale up to full width on hover, pivoting from the left */
  transform: scaleX(1); 
  transform-origin: bottom left;
}
#response {
  position: relative;
  text-decoration: none;
  width: fit-content;
  text-align: center;
  margin: 3%;
}

#response::after {
  content: '';
  position: absolute;
  /* 1. Set full width permanently */
  width: 100%; 
  height: 2px;
  bottom: -2px;
  left: 0;
  background-image: linear-gradient(to right, white, gray);
  
  /* 2. Animate the transform property instead of width */
  transition: transform 0.3s ease; 
  
  /* 3. Start shrunk to 0, pivoting from the right */
  transform: scaleX(0);
  transform-origin: bottom right;
}

#response:hover::after {
  /* 4. Scale up to full width on hover, pivoting from the left */
  transform: scaleX(1); 
  transform-origin: bottom left;
}

