/* styles.css */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #005f6b;
    height: 50px;
    width: 100%;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 2rem;
}

#personal-info {
    text-align: center;
}

#personal-info h1 {
    margin: 1rem 0;
    font-size: 2.5rem;
    color: #005f6b;
}

#personal-info .title {
    margin: 0;
    font-size: 1.5rem;
    color: #007a8a;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 1rem;
    border: 5px solid #007a8a;
}

section h2 {
    border-bottom: 2px solid #005f6b;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #005f6b;
}

section h3
{
    margin-bottom: 0rem;
    padding-bottom: 0rem;
}

.info {
    text-align: left;
    display: inline-block;
    margin: 0 auto;
    max-width: 800px;
}

.info p {
    margin: 0.5rem 0;	
    padding: 0rem;
}

.education-experience {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.education-experience th,
.education-experience td {
    padding: 1rem;
    text-align: left;
    vertical-align: top;
}

.education-experience th {
    width: 30%;
    background-color: #007a8a;
    color: #fff;
    text-transform: uppercase;
    padding-left: 1.5rem; /* Adjust padding to align with text */
}

.education-experience td {
    background-color: #fff;
    padding-left: 1.5rem; /* Adjust padding to align with th */
}

.education-experience tr:nth-child(even) td {
    background-color: #f9f9f9;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    background: #fff;
    margin: 0.5rem 0;
    padding: 1rem;
    border-left: 4px solid #005f6b;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

a.button-link {
    display: inline-block;
    margin-top: 0rem;
    padding: 0.5rem 0.5rem;
    background-color: #005f6b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

a.button-link:hover {
    background-color: #007a8a;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #005f6b;
    color: #fff;
    position: relative;
    width: 100%;			
    margin-top: 2rem;
}

.paper-details p {
    margin:  0.15rem 0;	
    padding: 0;
}

.nav-menu {
  position: fixed; /* 或者使用 sticky */
  top: 0;
  width: 100%;
  opacity: 1; /* 設定整個選單的透明度 */
  z-index: 1000;
}



.nav-menu ul li{
  list-style-type: none;
  margin: 0.5rem 0;
  padding: 1rem;
  border-left: 4px solid #005f6b;
  display: inline;
  user-select: none;
}


.nav-menu li a {
  display: inline-block;
  padding: 14px 20px;
  color: #white;
  text-decoration: none;
  user-select: none;
}

.nav-menu li a:hover {
  opacity: 0;
}

/* 內容區域樣式 */
.content {
  margin-top: 60px;
}

