*{
  padding: 0;
  margin: 0;
}
 header{
  background-color: #000000;
  height: 100px;
  width:100%;
  position:relative;
 }
 h1{
  color:rgb(254, 254, 254);
  position:absolute;
  left:80px;
  top:0;
  line-height:80px;
  font-family: 'Noto Serif SC', serif;
  font-size: 45px;
 }
 header h1{
  left:15%;
  position:absolute;
  transform:translateX(-50%);
 }
 header ul{
  position:absolute;
  right:5vw;
  top:0;
  line-height:80px;
  font-size:18px;
  font-family: 'Noto Serif SC', serif;
 }
 header li{
  display:inline;
  margin-right:4vw;
 }
 header a{
  color:rgb(254, 254, 254);
  text-decoration:none;
 }
 header a:hover{
  text-decoration:underline;
 }
 .marquee {
  background-color:#f3efef;
  padding:5px;
  border-radius: 12px;
  white-space: nowrap; /* 禁止文字換行 */
  overflow: hidden; /* 隱藏溢出的文字 */
  box-sizing: border-box;
  animation: marquee 18s linear infinite; /* 跑馬燈動畫，10秒完成一輪，線性運動，無限循環 */
}
.marquee p{
  margin: 0;
  white-space: nowrap;
  text-align: center;
}
 @keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%); 
  }
}
 main{
  background-color:#f3efef;
  line-height:30px;
  margin: 6%;
  padding-left: 4%;
  padding-right: 4%;
  padding-top: 5%;
  padding-bottom: 5%;
  border-radius: 15px;
  font-size: 18px;
 }
 main a{
  color:rgb(39, 34, 34);
  text-decoration:none;
 }
 main a:hover{
  text-decoration:underline;
 }
 input:focus{
  outline:none;
  border-color:bisque;
 }
 /*響應式設計語法*/
 @media screen and(max-width:768px){
  header ul {
    display:none;
  }
  header h1{
    left:50%;
    transform: translate(-50%);
  }
  .menu{
    display:block;
    background-color: transparent;
    color:white;
    font-size:35px;
    position:absolute;
    top:15px;
    left:20px;
    border:none;
    cursor:pointer;
   }
 } 
 table{
  width: 100%;
  border-collapse: collapse;
}

table tr{
  border-bottom: solid 2px white;
}

table tr:last-child{
  border-bottom: none;
}

table th{
  position: relative;
  width: 30%;
  background-color: #616161;
  color: white;
  text-align: center;
  padding: 10px 0;
}

table th:after{
  display: block;
  content:"";
  width: 0px;
  height: 0px;
  position: absolute;
  top:calc(50% - 10px);
  right:-10px;
  border-left: 10px solid #7d7d7d;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

table td{
  text-align: left;
  width: 70%;
  text-align: center;
  background-color: #cecdcd;
  padding: 10px 0;
}
 #footer {
  position: relative;
  background-color: #000000;
  color: #c6c9cd;
  text-align: center;
  bottom: 0;
  width: 100%;
  height: 3rem;            
}
.btn-98,
.btn-98 *,
.btn-98 :after,
.btn-98 :before,
.btn-98:after,
.btn-98:before {
  border: 0 solid;
  box-sizing: border-box;
}
.btn-98 {
  -webkit-tap-highlight-color: transparent;
  appearance: button;
  background-color: #000;
  background-image: none;
  color: #fff;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 100%;
  line-height: 1.5;
  margin: 0;
  mask-image: -webkit-radial-gradient(#000, #fff);
  padding: 0;
}
.btn-98:disabled {
  cursor: default;
}
.btn-98:-moz-focusring {
  outline: auto;
}
.btn-98 svg {
  display: block;
}
.btn-98 [hidden] {
  display: none;
}
.btn-98 {
  --thickness: 4px;
  background: none;
  box-sizing: border-box;
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% + var(--thickness)),
    0 calc(100% + var(--thickness))
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% + var(--thickness)),
    0 calc(100% + var(--thickness))
  );
  display: block;
  font-weight: 900;
  mask-image: none;
  padding: 2px 0;
  position: relative;
  text-transform: uppercase;
}
.btn-98:before {
  background: #fff;
  bottom: calc(var(--thickness) * -1);
  content: "";
  display: block;
  height: var(--thickness);
  left: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
}
.btn-98:hover:before {
  -webkit-animation: slide 0.5s ease;
  animation: slide 0.5s ease;
}
@-webkit-keyframes slide {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(100%);
  }
  51% {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(100%);
  }
  51% {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
a[href="index.html"] {
  color: #ffffff;
  text-decoration: none; 
  font-family: Arial, Helvetica, sans-serif;
  font-size:20px;
}