@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=ZCOOL+XiaoWei&display=swap&subset=chinese-simplified');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Dancing+Script:wght@600&display=swap');
*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
	scroll-behavior: smooth;
}
body
{
  background: url(img/bg7.png);
}
section /*所有頁面的基本設定*/
{
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 120px 300px 100px 320px;
	background:rgba(255,0,0,.1);
}
.home /*首頁*/
{
	width: 100%;
	height: 100vh;
	background-image: url(img/BG1536.jpg);
	background-position: center top;
	background-size: cover;
	/*背景變換測試---開始*/
	/*animation: homebg 6s linear infinite alternate;*/
}
/*@keyframes homebg 
{
	50%
	{
		background-image: url(img/BG1536.jpg);
		background-position: center top;
	  background-size: cover;
	}
	55%
	{
		background-image: url(img/BG1403.jpg);
		background-position: center top;
	  background-size: cover;
	}
	100%
	{
		background-image: url(img/BG1403.jpg);
		background-position: center top;
	  background-size: cover;
	}
}*/
/*背景變換測試---結束*/
.particles-js-canvas-el
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
section img /*所有頁面的圖片統一設定*/
{
	max-width: 500px;
	margin-left: 10px;
	padding:20px;
} 
.storyimg /*故事區圖片大小*/
{
  margin: 20px 28%;
  padding: 5px;
	width: 60%;
	background: rgba(0,0,0,.2);
	border-radius: 80px;
}
section h2 /*所有頁面的標題*/
{
	font-size:2.5em;
	text-transform: uppercase;
	font-family: 'Noto Sans TC', sans-serif;
}
.homebox /*首頁框*/
{
  position: relative;
  top: 34vh;
  left: 25%;
  width: 100vh;
  border-top: 2px #f00 solid;
  border-bottom: 2px #f00 solid;
  z-index: 1;
  /*邊框動畫測試--開始*/
  animation: homebox 3s linear infinite alternate;
}
@keyframes homebox
{
	0%
	{	
    border-top: 2px #fff solid;
    border-bottom: 2px #fff solid;
	}
	50%
	{
    border-top: 2px #f00 solid;
    border-bottom: 2px #f00 solid;
	}
	100%
	{
    border-top: 2px #FFF solid;
    border-bottom: 2px #FFF solid;
	}
}
/*邊框動畫測試--結束*/
.homebox2 /*首頁框2*/
{
  position: relative;
  top: 42vh;
  left: -24%;
  width: 100vh;
  z-index: 1;
}
.homeh2 /*首頁文字統一大小*/
{
  position: relative;
  font-size:1.8rem;
  text-align: center;
  line-height: 2rem;
}
.homeh2 span /*首頁文字效果*/
{
  position: relative;
  animation: animate 4s linear infinite;
  font-family: 'Dancing Script', cursive;
  /*color: #fff;*/
  text-shadow: 0px 0px 3px #f00,
	             0px 0px 3px #f00,
	             0px 0px 3px #f00,
	             0px 0px 3px #f00,
	             0px 0px 3px #f00;
}
.homeh2 span:nth-child(1)
{
  animation-delay: 0ms;
}
.homeh2 span:nth-child(2)
{
  animation-delay: 25ms;
}
.homeh2 span:nth-child(3)
{
  animation-delay: 50ms;
}
.homeh2 span:nth-child(4)
{
  animation-delay: 75ms;
}
.homeh2 span:nth-child(5)
{
  animation-delay: 100ms;
}
.homeh2 span:nth-child(6)
{
  animation-delay: 125ms;
}
.homeh2 span:nth-child(7)
{
  animation-delay: 150ms;
}
.homeh2 span:nth-child(8)
{
  animation-delay: 175ms;
}
.homeh2 span:nth-child(9)
{
  animation-delay: 200ms;
}
.homeh2 span:nth-child(10)
{
  animation-delay: 225ms;
}
.homeh2 span:nth-child(11)
{
  animation-delay: 250ms;
}
.homeh2 span:nth-child(12)
{
  animation-delay: 275ms;
}
.homeh2 span:nth-child(13)
{
  animation-delay: 300ms;
}
.homeh2 span:nth-child(14)
{
  animation-delay: 325ms;
}
.homeh2 span:nth-child(15)
{
  animation-delay: 850ms;
}
.homeh2 span:nth-child(16)
{
  animation-delay: 875ms;
}
.homeh2 span:nth-child(17)
{
  animation-delay: 900ms;
}
.homeh2 span:nth-child(18)
{
  animation-delay: 925ms;
}
.homeh2 span:nth-child(19)
{
  animation-delay: 950ms;
}
.homeh2 span:nth-child(20)
{
  animation-delay: 975ms;
}
.homeh2 span:nth-child(21)
{
  animation-delay: 1000ms;
}
.homeh2 span:nth-child(22)
{
  animation-delay: 1025ms;
}
.homeh2 span:nth-child(23)
{
  animation-delay: 1050ms;
}
.homeh2 span:nth-child(24)
{
  animation-delay: 1075ms;
}
.homeh2 span:nth-child(25)
{
  animation-delay: 1100ms;
}
.homeh2 span:nth-child(26)
{
  animation-delay: 1125ms;
}
.homeh2 span:nth-child(27)
{
  animation-delay: 1150ms;
}
.homeh2 span:nth-child(28)
{
  animation-delay: 1175ms;
}
.homeh2 span:nth-child(29)
{
  animation-delay: 1200ms;
}
.homeh2 span:nth-child(30)
{
  animation-delay: 1225ms;
}
.homeh2 span:nth-child(31)
{
  animation-delay: 1250ms;
}
.homeh2 span:nth-child(32)
{
  animation-delay: 1275ms;
}
.homeh2 span:nth-child(33)
{
  animation-delay: 1300ms;
}
.homeh2 span:nth-child(34)
{
  animation-delay: 1325ms;
}
.homeh2 span:nth-child(35)
{
  animation-delay: 1350ms;
}
.homeh2 span:nth-child(36)
{
  animation-delay: 1375ms;
}
@keyframes animate
{
	0%,97%
	{
		color: #fff;
	}
	100%
	{
		color: #000;
	}
}
.homeh2-2 /*首頁文字統一大小2*/
{
  font-size:1.2rem;
  text-align: center;
}
.homeh2-2 span /*首頁文字效果2*/
{
  animation: animate2 4s ease-in infinite;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  text-shadow: 0px 0px 3px #00f,
	             0px 0px 3px #00f,
	             0px 0px 3px #00f,
	             0px 0px 3px #00f,
	             0px 0px 3px #00f;
}
.homeh2-2 span:nth-child(1)
{
  animation-delay: 1900ms;
}
.homeh2-2 span:nth-child(2)
{
  animation-delay: 1925ms;
}
.homeh2-2 span:nth-child(3)
{
  animation-delay: 1950ms;
}
.homeh2-2 span:nth-child(4)
{
  animation-delay: 1975ms;
}
.homeh2-2 span:nth-child(5)
{
  animation-delay: 2000ms;
}
.homeh2-2 span:nth-child(6)
{
  animation-delay: 2025ms;
}
.homeh2-2 span:nth-child(7)
{
  animation-delay: 2050ms;
}
.homeh2-2 span:nth-child(8)
{
  animation-delay: 2075ms;
}
.homeh2-2 span:nth-child(9)
{
  animation-delay: 2100ms;
}
.homeh2-2 span:nth-child(10)
{
  animation-delay: 2125ms;
}
.homeh2-2 span:nth-child(11)
{
  animation-delay: 2150ms;
}
.homeh2-2 span:nth-child(12)
{
  animation-delay: 2175ms;
}
.homeh2-2 span:nth-child(13)
{
  animation-delay: 2200ms;
}
.homeh2-2 span:nth-child(14)
{
  animation-delay: 2225ms;
}
.homeh2-2 span:nth-child(15)
{
  animation-delay: 2250ms;
}
.homeh2-2 span:nth-child(16)
{
  animation-delay: 2275ms;
}
@keyframes animate2
{
	0%,97%
	{
		color: #fff;
	}
	100%
	{
		color: #000;
	}
}
.homeh2-3 /*首頁文字統一大小2*/
{
  font-size: 0.8rem;
  text-align: center;
  color: rgba(0,0,0,0);
  animation: animate3 20s linear;
}
@keyframes animate3
{
	0%
	{
		color: #fff;
	}
	10%
	{
		color: rgba(0,0,0,0);
	}
	20%
	{
		color: #fff;
	}
	30%
	{
		color: rgba(0,0,0,0);
	}
	40%
	{
		color: #fff;
	}
	50%
	{
		color: rgba(0,0,0,0);
	}
	60%,90%
	{
		color: #fff;
	}
	100%
	{
		color: rgba(0,0,0,0);
	}
}
/*.storyh2 /*故事標題*/
/*{
  background:rgba(0,0,0,.5);
}*/
section p
{
	font-size: 20px;
	font-family: 'Poppins', sans-serif;
}
.storyh2
{
  padding:0 80px;
}
.storyh2 ,
.weddingh2,
.conth2,
.lifeh2,
.docsh2/*生活、喜帖標題*/
{
  color: #FFF;
  text-shadow: 0px 0px 4px #f00,
	             0px 0px 4px #f00,
	             0px 0px 4px #f00,
	             0px 0px 4px #f00,
	             0px 0px 4px #f00,
	             0px 0px 4px #f00,
	             0px 0px 4px #f00,
	             0px 0px 6px #000,
	             0px 0px 6px #000,
	             0px 0px 6px #000,
	             0px 0px 6px #000,
	             0px 0px 6px #000,
	             0px 0px 6px #000;
}
.storyp /*故事文字背景*/
{
  background: rgba(255,0,0,.4);
  text-shadow: 0px 0px 3px #000,
               0px 0px 3px #000,
               0px 0px 3px #000,
               0px 0px 3px #000,
               0px 0px 3px #000,
               0px 0px 3px #000,
               0px 0px 3px #000,
               0px 0px 3px #000,
               0px 0px 3px #000,
               0px 0px 3px #000,
               0px 0px 3px #000;
  padding: 10px 10px;
  margin: 0 80px;
  box-shadow:0 0 5px #f00,
             0 0 5px #f00,
             0 0 5px #f00;
}
section a /*個頁面內容連結設定--目前沒用到*/
{
	display: inline-block;
	padding: 8px 10px;
	text-decoration: none;
	font-size: 18px;
	background: #111;
	color: #fff;
	margin-top: 20px;
}
section:nth-child(odd) /*反差頁面設定*/
{
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	background:rgba(255,255,255,.1);
	color: #fff;
}
#nanogallery /*燈箱*/
{
  width: 120vh;
}
#nanogallery2 /*燈箱*/
{
  width: 120vh;
}
#nanogallery3 /*燈箱*/
{
  width: 120vh;
}
header 
{
	position: fixed;
	width: 100%;
	padding: 0 300px;
	height: 80px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-image: url(img/bg5.png);
	background-color: #FFCCCC;
	border-bottom-style: double;
	border-color: rgba(255,0,0,.7);
	border-width: 14px;
	z-index: 1000;
}
header .logo
{
	color: #000;
	font-size: 30px;
	text-decoration: none;
	letter-spacing: 2px;
	font-weight: 700;
	text-shadow: 0px 0px 5px #fff,
	             0px 0px 5px #fff,
	             0px 0px 5px #fff,
	             0px 0px 5px #fff,
	             0px 0px 5px #fff,
	             0px 0px 5px #fff,
	             0px 0px 5px #fff,
	             0px 0px 5px #fff,
	             0px 0px 5px #fff,
	             0px 0px 5px #fff;
}
header .logo:hover
{
  color: #f00;
}
.logoimg
{
  position: relative;
  top:8px;
  height: 40px;
  padding-right: 5px;
}
ul
{
	position: relative;
	display: flex;
}
ul li
{
	position: relative;
	list-style: none;
}
ul li a
{
	position: relative;
	padding: 0px 5px 6px 8px;
	width: 110px;
	color: #000;
	background: transparent;
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 24px;
	text-shadow:0 0 3px #fff,
              0 0 3px #fff,
              0 0 3px #fff,
              0 0 3px #fff,
              0 0 3px #fff,
              0 0 3px #fff,
              0 0 3px #fff,
              0 0 3px #fff,
              0 0 3px #fff,
              0 0 3px #fff,
              0 0 3px #fff;
}
ul li a:hover
{
  color:#f00;
  font-size: 26px;
	background-color: rgba(0,0,0,.4);
	border-radius:5px;
}
ul li img
{
  position: relative;
  top:8px;
  height: 35px;
}
.toggle
{
	display: none;
}
.docs/*表單*/
{
  padding: 30px 0;
  background: rgba(255,0,0,.3);
	width: 120vh;
	height: 965px;
	box-shadow: 0 0 5px #000,
	            0 0 5px #000;
}
.buttontext /*最底下版權區*/
{
  font-size: 0.8rem;
  color: #000;
  text-align: center;
  font-family: 'Noto Sans TC', sans-serif;
}



/*------行動裝置板------*/
@media (max-width: 1600px)
{
  header .logo
  {
    font-size: 1.2rem;
  }
  .logoimg
  {
    position: relative;
    top:5px;
    height: 26px;
    padding-right: 5px;
  }
  ul li a
  {
    width: 85px;
    font-size: 18px;
  }
  ul li a:hover
  {
    color:#f00;
    font-size: 20px;
  	background-color: rgba(0,0,0,.4);
  	border-radius:5px;
  }
  ul li img
  {
    position: relative;
    top:8px;
    height: 30px;
  }
}
@media (max-width: 1359px)
{
  header .logo
  {
    font-size: 0.9rem;
  }
  .logoimg
  {
    position: relative;
    top:5px;
    height: 20px;
    padding-right: 5px;
  }
  ul li a
  {
    padding: 0px 0px 6px 0px;
    width: 65px;
    font-size: 14px;
  }
  ul li a:hover
  {
    color:#f00;
    font-size: 16px;
  	background-color: rgba(0,0,0,.4);
  	border-radius:5px;
  }
  ul li img
  {
    position: relative;
    top:8px;
    height: 30px;
  }
}
@media (max-width: 1279px)
{
	section
	{
		padding: 100px 10px 50px 10px;
		flex-direction: column;
	}
	section img
	{
		margin:0;
		min-width: 100%;
		min-height: 100%;
	}
	header
	{
	  height:70px;
		padding: 0 25px;
	}
	header .logo
  {
    font-size: 1.4rem;
  }
  .logoimg
  {
    position: relative;
    top:8px;
    height: 35px;
    padding-right: 5px;
  }
	.toggle
	{
		display: block;
		position: relative;
		width: 30px;
		height: 30px;
		cursor: pointer;
	}
	.toggle:before
	{
		content: '';
		position: absolute;
		top: 4px;
		width: 100%;
		height: 2px;
		background: #000;
		z-index: 1;
		box-shadow: 0 10px 0 #000;
		transition: 0.3s;
	}
	.toggle:after
	{
		content: '';
		position: absolute;
		bottom: 4px;
		width: 100%;
		height: 2px;
		background: #000;
		z-index: 1;
		transition: 0.3s;
	}
	header.active .toggle:before 
	{
		top: 14px;
		transform: rotate(45deg);
		box-shadow: 0 0 0 #000;
	}
	header.active .toggle:after 
	{
		bottom: 14px;
		transform: rotate(-45deg);
	}
	header ul
	{
		position: absolute;
		top: -100%;
		left: 0;
		width: 100%;
		height: calc(100vh - 70px);
		padding: 50px 100px;
		text-align: center;
		overflow: auto;
		transition: 0.3s;
		transform: translateY(-100%);
	}
	header.active ul
	{
		top: 70px;
		display: block;
		background: rgba(0,0,0,.8);
		transform: translateY(0);
	}
	ul li a
  {
    width: 110px;
  }
	header.active ul li a
	{
		margin: 5px 0;
		font-size: 24px;
	}
	#nanogallery /*燈箱*/
  {
    width: 280px;
  }
	#nanogallery2 /*燈箱*/
  {
    width: 280px;
  }
  #nanogallery3 /*燈箱*/
  {
    width: 280px;
  }
  .docs/*表單*/
  {
    padding: 0;
    margin: 0;
  	width: 100%;
  	height: 1000px;
  }
  section p
  {
    margin:0 38px 0 10px;
  }
  .storyh2
  {
    text-align: center;
    margin:0 10px 0 10px;
  }
  .storyp
  {
    /*text-align: center;*/
    margin:0 10px 0 10px;
    padding:0 5px;
  }
  .storyimg
  {
    width: 100%;
    margin:20px 0px 0 0px;
    border-radius: 60px;
  }
  .homebox
  {
    position: inherit;
    top: 30vh;
    left: 0%;
    width: 100%;
    border-top: 1px #f00 solid;
    border-bottom: 1px #f00 solid;
    z-index: 1;
  }
  .homebox2
    {
      position: relative;
      top: 30vh;
      left: 0%;
      width: 100%;
      z-index: 1;
    }
  .homeh2
  {
    font-size:1.1rem;
    line-height: 1.2rem;
  }
  .homeh2-2
  {
    font-size:1em;
  }
  .homeh2-3
  {
    font-size:0.5rem;
  }
}