@charset "UTF-8";

:target:before {
    content: "";
    display: block;
    height: 170px;
}


 .about_content {
	position: relative;
    display: grid;
    text-align: left;
    background-position: 64% 0; 
    max-width: 800px;
}
.box {
    width: 400px;
    justify-content: center;
    align-items: center;
    background: #060c21;
    opacity: 1;
    margin-top: 50px;
    margin-right: 50px;
    margin-left: 50px;
    margin-bottom: 50px;
    float: left;
    position: relative;
    height: auto;
	}
.box::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: #fff;
	z-index: -1;
	}
.box::after {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: #fff;
	z-index: -2;
				
filter: blur(40px);
			}
.box::before,
.box::after {
   
    background: linear-gradient(235deg, #89ff00, #060c21, #00bcd4);
			}
.content {
    padding-top: 35px;
    padding-right: 35px;
    padding-left: 35px;
    padding-bottom: 35px;
    box-sizing: border-box;
    color: #fff;
    width: 400px;
}
.toplinks {
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    padding-top: 34px;
    color: rgba(255,255,255,1.00);
    height: 64px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
}
.toplinks a {
    cursor: pointer;
    list-style-type: none;
    float: left;
    text-decoration: none;
    background-image: url(../images/2.png);
}
.toplinks li {
    cursor: pointer;
    list-style-type: none;
    border-right: thin solid rgba(154,116,41,1.00);
    padding-right: 12px;
    padding-left: 12px;
    float: left;
    color: rgba(255,255,255,1.00);

    background-image: url(../images/22.png);
    height: 25px;
}



.toplinks ul { /* 取消ul預設的內縮及樣式 */
    z-index: 3;
    overflow-y: hidden;
    position: fixed;
    -webkit-box-shadow: 0px 0px;
    box-shadow: 0px 0px;
    margin-right: auto;
    height: 50px;
    padding-top: 28px;
    margin-left: -544px;
    padding-left: 287px;
    width: 100%;
    background-image: -webkit-linear-gradient(270deg,rgba(0,0,0,1.00) 52.45%,rgba(0,0,0,0.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(0,0,0,1.00) 52.45%,rgba(0,0,0,0.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(0,0,0,1.00) 52.45%,rgba(0,0,0,0.00) 100%);
    background-image: linear-gradient(180deg,rgba(0,0,0,1.00) 52.45%,rgba(0,0,0,0.00) 100%);
    }    
 


.toplinks li:hover {
    cursor: pointer;
    background-repeat: no-repeat;
    color: rgba(255,255,255,1.00);
    z-index: auto;
    margin-bottom: 0px;
    background-image: url(../images/2.png);
}
.toplinks li a:hover {
    cursor: pointer;
    background-repeat: no-repeat;
    color: rgba(94,255,17,1.00);
    z-index: auto;
}
.toplinks a:hover {
    cursor: pointer;
    background-repeat: no-repeat;
    z-index: auto;
}
.toplinks li a {
    cursor: pointer;
    background-repeat: no-repeat;
    color: rgba(182,145,73,1.00);
    z-index: auto;
    font-size: 16px;
    -webkit-box-shadow: 0px 0px;
    box-shadow: 0px 0px;
    padding-top: 3px;
}

@media only screen and (max-width: 600px) {
    .toplinks ul {
        position: fixed;       
        text-align: center;     /* 文字置中 */
    }
    
    .toplinks li {
        float: none;            /* 取消 float，方便置中 */
        display: inline-block;   /* 讓 li 水平排列 */
    }
    
    .toplinks a {
        float: none;            /* 取消 a 的 float */
    }
}



.content p1 {
    color: rgba(255,255,255,1.00);
    line-height: 24px;
    font-weight: 900;
    font-family: Cambria, Times, "Times New Roman", serif;
    margin-top: 20px;
    margin-right: 5px;
    margin-bottom: 20px;
}

.contentP1 {
    color: rgba(255,255,255,1.00);
    line-height: 24px;
    font-weight: 600;
    font-family: Cambria, Times, "Times New Roman", serif;
    font-size: 22px;
}
.content h1 {
    color: rgba(255,255,255,1.00);
    line-height: 24px;
    margin-top: 30px;
    margin-right: 5px;
    margin-bottom: 28px;
    font-weight: 900;
    font-family: Cambria, Times, "Times New Roman", serif;
    font-size: 42px;
}
.content a1 {
    color: rgba(255,255,255,1.00);
    line-height: 33px;
    margin-top: 10px;
    margin-right: 5px;

    margin-bottom: 20px;
    font-weight: 500;
    font-size: 22px;
    font-family: Cambria, Times, "Times New Roman", serif;
}
.box .content h1 {
	font-family: "Cambria", Times, Times New Roman, serif;
}
.work_r {
    width: 250px;
    color: rgba(255,255,255,1.00);
    margin-top: 35px;
    clear: none;
    float: left;
	margin-bottom: 50px;
    -webkit-box-shadow: 0px 0px;
    box-shadow: 0px 0px;
   
}
.box_w .content h1 {
    font-family: "Cambria", Times, Times New Roman, serif;
    width: 70%;
}


.work_content {
    margin-left: auto;
    position: relative;
    margin-right: auto;
    min-height: 1150px;
    max-width: 1000px;
    background-repeat: no-repeat;
	   background-attachment: fixed;
}

.work_content::before {
    content: '';
    position: fixed;       /* 固定在視窗 */
    top: 0;
    left: 0;
    width: 97vw;
    height: 97vh;
    background-image: url(../images/bk.png);
    background-position: 50% 130px;
    z-index: -1;
	background-size: contain;
background-repeat: no-repeat;
	 transform: scale(0.94);      /* 縮小 94% */
    transform-origin: center;  /* 縮放的基準點 */

}



.gallerycontainer{
    position: relative;/*Add a height attribute and set to largest image's height to prevent overlaying*/
    background-repeat: no-repeat;
}

.thumbnail img{
    border: 1px solid white;
    margin: 0 5px 5px 0;
    float: left;
    max-width: 208px;
    max-height: 133px;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
    border: thin solid rgba(116,116,116,1.00);
}

.thumbnail span{ /*CSS for enlarged image*/
    position: absolute;
    justify-content: center;
    justify-vertical: center;
    align-items: center;
    visibility: hidden;
    color: rgba(255,255,255,1.00);
    text-decoration: none;
    margin-top: 0px;
    margin-left: 20px;
    font-size: 11px;
    font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", serif;
}


.thumbnail span img{ /*CSS for enlarged image*/
    justify-content: center;
    align-items: center;
    max-width: 700px;
    max-height: 440px;
    -webkit-box-shadow: 0 0;
    box-shadow: 0 0;
    border-color: rgba(0,255,208,1.00);
    margin-bottom: 10px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
    visibility: visible; /*position where enlarged image should offset horizontally */
    z-index: 50;
    position: fixed;
	 justify-content: center;
    align-items: center;
 
    
}


.motion_content {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
    padding-top: 38px;
    max-width: 600px;
}


.mr_content {
		margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
    width: 800px;
	margin-bottom: 65px;
}

.mr_content img{

    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
    width: 80%;
}

.youtube  {
    with: 100%;
    background-position: left top;
    -webkit-box-shadow: 0px 0px;
    box-shadow: 0px 0px;
    margin-top: 250px;
    margin-right: auto;
    justify-content: center;
    align-items: center;
    margin-left: auto;
}

iframe   {
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    -webkit-box-shadow: 7px 7px 48px -4px rgba(0,255,89,1.00);
    box-shadow: 7px 7px 48px -4px rgba(0,255,89,1.00);
    border: thin solid rgba(0,255,208,1.00);
    margin-bottom: 38px;
    margin-left: auto;
    margin-right: auto;
}

.epub_content {
    display: flex;          /* 開啟 Flexbox */
    justify-content: center; /* 水平置中 */
    align-items: center;     /* 垂直置中 */
    flex-wrap: wrap;         /* 螢幕小時自動換行 */
    padding-top: 36px;
    max-width: 600px;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    gap: 20px;               /* 圖片間距 */
    margin-bottom: 50px;
}

.epub {
    width: 280px;
    background-position: center top;
    box-shadow: 0px 0px;
}

.epub_content img {
    width: 100%;             /* 填滿容器 */
    height: auto;
    display: block;          /* 避免 img 底下空白 */
    border-radius: 20px;
    box-shadow: 3px 3px 20px -4px rgba(0,255,89,1);
    border: thin solid rgba(0,255,208,1);
    float: none;             /* 取消浮動 */
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;/* 上下間距 + 水平置中 */
}


/* 手機版樣式 */
@media only screen and (max-width: 600px) {
    
	.work_content::before {
		background-image: none;}
	
    .work_content {
        display: flex;            /* 使用 flex 排列多張圖片 */
        flex-wrap: wrap;          /* 自動換行 */
        justify-content: center;  /* 水平置中整個區塊 */
        gap: 10px;                /* 圖片間距 */
    }

    .work_r {
        width: 400px;             /* 固定寬度 */
        text-align: center;       /* 圖片置中 */
    }

    .work_r .thumbnail img {
        width: 100%;              /* 撐滿容器寬度 */
        height: auto;             /* 保持比例 */
        max-width: none;
        max-height: none;
        display: block;
        margin: 5px
    }

    .thumbnail span {
        display: none !important; /* 隱藏右邊大圖 */
    }
}


@media only screen and (max-width: 999px) {
    
	.work_content::before {
		background-image: none;}  
	

@media only screen and (max-width: 999px) {
    .thumbnail span img {
        max-width: 98% !important;   
        max-height: 70vh !important;  
        width: auto !important;      
        height: auto !important;      
    }
	
	
@media only screen and (max-width: 768px) {
  .epub_content {
    flex-direction: column;
    align-items: center;
  }

  .epub_content .epub {
    margin-bottom: 8px;  /* 控制每張圖之間距離 */
  }

  /* 最後一張圖不要多餘空白 */
  .epub_content .epub:last-child {
    margin-bottom: 0;
  }
}
	
	/* 大於 999px 的桌面尺寸 */
.mr_content img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 小於 999px 的平板/中型螢幕 */
@media only screen and (max-width: 998px) {
    .mr_content img {
        max-width: 80%;  
        width: auto;
        height: auto;
    }
}

/* 手機尺寸，小於 600px */
@media only screen and (max-width: 599px) {
.mr_content {
        width: 95%;  
	height: auto;
	margin-bottom: 65px; }
	
	
    .mr_content img {
        width: 100%;  
        height: auto;
    }
}
	/* 手機尺寸，小於 600px */
@media only screen and (max-width: 599px) {
    .motion_content iframe {
        width: 85%;      /* 寬度縮小到 85% */
        height: 225px;    /* 高度自動維持比例 */
        display: block;  /* 置中用 */
        margin-left: auto;
        margin-right: auto;
		
    }
}
}
