
li{
  list-style-type: none;
  text-align: center;
  float: left;
}

li a{
  display: block;
  padding: 15px 15px;
  color: rgb(17, 2, 2);
  font-size: 20px;
  text-decoration: none;

}
li a:hover{
  background-color: #FFFCEC;
}

#contect{
  text-align: center;
  background-color:	rgba(255, 255, 255, 0.7) ;
  padding-top:10px ;
  
}

#text{
  text-align: center;
  background-color:	rgba(255, 255, 255, 0.7) ;
  padding-top:50px ;
  
}
#map{
  text-align: center;
  padding:20px ;
  background-color:	rgba(255, 255, 255, 0.7) ;

}

#mes{
  padding: 30px;
  text-align: left;
  font-size: 20px;
  line-height: 2;
}
#run{
  padding: 30px;
  font-size: 20px;
  border: 3px 0 3px 0;
  width:auto;
}
#video{
  padding-bottom: 50px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
#video p{
  padding:20px;
}
#schedule{
  width:75%; 
  height: 400px;
  border:0;
  margin:0 auto;
  padding:20px;
}
th{
  background-color: #0080FF;
}
tr:nth-child(even){
  background-color: #97CBFF;

}
tr:nth-child(odd){
  background-color: #FFFfff;

}
#mestrain {
  text-align: center;

}
#mestrain h1{
  padding-top:20px;
  text-align: center;

}
#mestrain h2{
  padding-top:20px;
  text-align: center;

}
footer{
  background-color: aquamarine ;
  text-align: center;
  width:100%;
  height:100px;
}
footer p{
  padding-top:30px ;
}
#more {
  display: flex;
  justify-content: space-between;
}
#more a{
  text-decoration: none;
}
#more img{
  height: 256px;
  width:256px;
  margin:40px;
}
marquee{
  background-color: #7AFEC6;
  width: 100%;
 
}

body{
  background-image: url('https://cdn.discordapp.com/attachments/1154682843151204444/1184324637736312842/P1190885-3.jpg');
  background-size:cover;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
  text-align: center;}

#cover{
  padding: 40px;
  
}
.coverflow{
  width: 700px;
  height: 490px;
  position: relative;
  display: block;
  align-items:center;
  margin:0 auto;
  
}
.coverflow>a{
  display: block;
  position: absolute;
  border: 10px solid #00AEAE;
  border-radius: 10px;
  top:0;
  left:0;
  opacity: 0;
  filter: alpha(opacity=0);
/*當圖片數量增加，影片長度需更改，變為5s*圖片數量*/
-webkit-animation: silder 15s linear infinite;
animation: silder 15s linear infinite;
}

.coverflow>a>img{
  max-width: 100%;
  
}

/*動畫關鍵影格*/
@-webkit-keyframes silder {
  3% {
      opacity: 1;
      filter: alpha(opacity=100);
  }
  27% {
      opacity: 1;
      filter: alpha(opacity=100);
  }
  30% {
      opacity: 0;
      filter: alpha(opacity=0);
  }
}

@keyframes silder {
  3% {
      opacity: 1;
      filter: alpha(opacity=100);
  }
  27% {
      opacity: 1;
      filter: alpha(opacity=100);
  }
  30% {
      opacity: 0;
      filter: alpha(opacity=0);
  }
}

/*每個圖片各延遲5秒*/
.coverflow>a:nth-child(3) {
  -webkit-animation-delay: 10s;
          animation-delay: 10s;               
}

.coverflow>a:nth-child(2) {
  -webkit-animation-delay: 5s;
          animation-delay: 5s;
}

.coverflow>a:nth-child(1) {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;    
}
.marquee {
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  animation: marquee 3s linear infinite;
}

.marquee p {
  display: inline-block;
  padding-right: 100%; /* Ensure text wraps around */
}

@keyframes marquee {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.btn {
  display: inline-block;
  position: relative;
  z-index: 1;
  
  background: #FFFFFF;
  border: 2px solid goldenrod;
  border-radius: 4px;
  color: goldenrod;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.5s;
  padding: 10px 20px;
}

.btn span {
  position: absolute;
  width: 25%;
  height: 100%;
  background-color: goldenrod;
  transform: translateY(150%);
  border-radius: 50%;
  left: calc((var(--n) - 1) * 25%);
  transition: all 0.5s;
  transition-delay: calc((var(--n) - 1) * 0.1s);
  z-index: -1;
}

.btn:hover,
.btn:focus {
  color: black;
}

.btn:hover span {
  transform: translateY(0) scale(2);
}

.btn span:nth-child(1) {
  --n: 1;
}

.btn span:nth-child(2) {
  --n: 2;
}

.btn span:nth-child(3) {
  --n: 3;
}

.btn span:nth-child(4) {
  --n: 4;
}

/* Additional styles */
.btn {
  min-width: 200px;
  background-color: #fff;
  border: 0;
  border-radius: 5px;
  border-bottom: 4px solid #d9d9d9;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0px 5px 10px #0057ab;
  transition: all 0.3s;
  padding: 10px 20px;
}

.btn:hover {
  box-shadow: 0px 15px 25px -5px #0057ab;
  transform: scale(1.03);
}

.btn:active {
  box-shadow: 0px 4px 8px #0065c8;
  transform: scale(0.98);
}

