* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font: 16px Helvetica, Sans-Serif; 
  line-height: 1.6; 
  background: rgba(255, 255, 255, 1);
}
h3 {float: left;}
.hire {
	  float: right;
}
.clear { clear: both; }
#page-wrap {
  position: relative;	
  max-width: 800px; 
  margin: 40px auto 60px; 
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index:24 !important;
  /*overflow: visible;*/
	
}
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  float: right;
  margin: 30px 0 0 20px;
}
h1 { 
  margin: 0 0 16px 0; 
  padding: 0 0 16px 0; 
  font-size: 42px;
  font-style: italic;
  font-weight: bold;
  letter-spacing: -2px; 
  border-bottom: 1px solid #999;
  font-family: 'Roboto', sans-serif; /* Add this line */
}
h2 { 
  font-size: 20px; 
  margin: 0 0 6px 0; 
  position: relative;
  font-family: 'Roboto', sans-serif; /* Add this line */  
}
h2 span { 
  position: absolute; 
  bottom: 0; 
  right: 0; 
  font-style: italic; 
  font-family: 'Roboto', sans-serif; /* Add this line */ 
  font-size: 16px; 
  color: #999; 
  font-weight: normal; 
}
p { 
    margin: 0 0 16px 0;
    text-align: justify;
    width: 100%;
	padding: 8px;
}
a { 
  color: #999; 
  text-decoration: none; 
  /*border-bottom: 1px dotted #999; */
}
a:hover { 
  border-bottom-style: solid; 
  color: black; 
}
ul { margin: 0 0 32px 17px;}
#objective { 
  width: 100%; 
  float: left; 
}
#objective p { 
  font-family: 'Roboto', sans-serif; /* Add this line */
  font-style: italic; 
  color: #666; 
}
dl { 
  margin-bottom: 20px;
}
dt {
	font-style: italic;
	font-weight: bold;
	font-size: 18px;
	text-align: right;
	padding: 0 32px 0 0;
	width: 150px; 
	float: left;
	height: 100px;
	border-right: 1px solid #999;
}
dd {
	width: 600px;
	float: right;
}
dd.clear {
	float: none;
	margin: 0;
	height: 15px;
}
#page-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f8f8f8;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000 !important;
  transition: background-color 0.3s ease;
}
#header-nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
#header-list li {
  margin: 16px;
}
#header-list a {
  text-decoration: none;
  /*color: #333;
  padding: 5px 10px;
  border-radius: 24px;
  transition: background 0.1s ease, color 0.1s ease, box-shadow 0.3s ease;*/
}
#header-list a:hover {
	/*background: linear-gradient(135deg, #0056b3, #003d7a);
	color: #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
}
#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
#menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: 0.4s;
}
.smooth-scroll {
  scroll-behavior: smooth;
}
@media screen and (max-width: 768px) {
  #menu-toggle {
    display: block;
  }
  #header-list {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f8f8f8;
    padding: 10px;
  }
  #header-list.active {
    display: flex;
  }
  #header-nav {
    flex-wrap: wrap;
  }
  #objective {
    width: 100%;
    float: none;
  }
  .avatar {
    float: none;
    display: block;
    margin: 0 auto 20px;
  }
  h1 {
    font-size: 32px;
    text-align: center;
  }
 
h3 {
	margin-left: 12px;
} 
.hire {
	margin-left: 12px;
}
  h2 span {
    position: static;
    display: block;
    margin-top: 5px;
  }
  dt, dd {
    width: auto;
    float: left;
  }
}
@media screen and (max-width: 480px) {
  #page-wrap {
    padding: 10px;
  }
h3 {
	margin-left: 12px;
	float: left;
	}
.hire {
	margin-left: 12px;
	float: left;
	}
  h1 {
    font-size: 28px;
  }
}
footer {
  position: relative;
  background-color: #f8f8f8;
  padding: 20px;
  border-top: 1px solid #ddd;
  z-index: 1000 !important;
}
.footer-content {
  display: flex; /* Use flexbox for layout */
  justify-content: space-between; /* Distribute items horizontally */
  align-items: center; /* Center items vertically */
  width: 100%;
  max-width: 1200px; /* Optional: max-width for better alignment */
  margin: 0 auto; /* Center the container */
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}
footer p {
  margin: 0;
  font-size: 14px;
}
footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  display: block;
  margin: 0 10px;
  font-size: 10px;
}
footer ul li a {
  text-decoration: none;
  color: #000000;
}
.download-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
  background-color: #000000;
  text-decoration: none;
  border-radius: 24px;
    transition: background 0.1s ease, color 0.1s ease, box-shadow 0.3s ease;
}
.download-button:hover {
  background: linear-gradient(135deg, #0056b3, #003d7a);
color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 768px) {
  .footer-content {
    justify-content: center; /* Center all items horizontally */
    text-align: center; /* Center-align text */
  }
  .footer-content > * {
    margin: 10px 0; /* Add vertical margin between items */
    float: none; /* Remove float for responsive layout */
  }
  
  #copyright{
	  display: none;
  }
  #acknowledgement{
	  display: block;
	  padding: 10px;
  }
  #downloadcv{
	  display: block;
	  padding: 10px;
  }
  footer ul li {
    font-size: 12px; /* Slightly larger font size for readability */
  }
  .download-button {
    margin-top: 10px; /* Add margin above button */
    padding: 12px 24px; /* Increase button size for better touch targets */
  }
}
@media screen and (max-width: 480px) {
  dt {
    float: none !important;
    width: auto !important;
	height: 24px !important;
    text-align: left !important;
    padding: 0 !important;
    border-right: none !important;
    margin-bottom: 10px !important;
  }
  dd {
    float: none !important;
    width: auto !important;
    margin-bottom: 20px !important;
  }
  dd.clear {
    height: auto !important;
  }	
	
  footer {
    padding: 10px;
  }
  footer p {
    font-size: 12px;
  }
  footer ul li {
    font-size: 12px;
    margin: 5px 0;
  }
  .download-button {
    font-size: 16px;
    padding: 14px 28px;
  }
}
#bug-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1 !important;
  overflow: hidden;
}
.bug-video {
  position: absolute;
  width: 48px;
  height: 48px;
  object-fit: cover;
  transform-origin: center center;
  opacity: 0.72;
}
 .clickable {
            color: #1a0dab; /* Link color */
            cursor: pointer; /* Pointer cursor on hover */
            text-decoration: underline; /* Underlined text */
        }
        .clickable:hover {
            text-decoration: none; /* No underline on hover */
        }

#returnToTop {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position at the bottom-right corner */
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    z-index: 99; /* Ensure it stays on top */
    width: 50px; /* Width of the circle */
    height: 50px; /* Height of the circle */
    border: none; /* No border */
    outline: none; /* No outline */
    background-color: #555; /* Button color */
    color: white; /* Text color */
    cursor: pointer; /* Pointer cursor on hover */
    border-radius: 50%; /* Circular shape */
    font-size: 24px; /* Larger font size for the arrow */
    text-align: center; /* Center text horizontally */
    line-height: 50px; /* Center text vertically */
}

#returnToTop:hover {
    background-color: #333; /* Darker background on hover */
}

/*Copy to clipboard*/

.icon-container {
  display: inline-block;
  cursor: pointer;
}

.copy-icon {
  fill: #333;
  transition: fill 0.3s ease;
}

.copy-icon:hover {
  fill: #007bff;
}

#snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
}

#snackbar.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}
