
/*設定視窗邊界為0*/
 * {
	margin: 0;
	padding: 0;
 }

/*設定字型及捲軸*/
* {
    scroll-behavior: smooth;
}
body {
	background-color: #000;
	font-family: 'Noto Sans TC','Arial';
	overflow-y: scroll;
	overflow-x: hidden;
}
/*
*{
	border: 1px solid red;
}
*/
/*設定整體的固定背景圖*/
.container {
		width: 100%;
		height: auto;
		background-image:url(images/main_logo.png);
		background-repeat: no-repeat;
		background-position: top center;
		background-attachment: fixed;
		background-size: 43%;
}

.container-fluid {
		width: 100%;
		height: auto;
		background-image:url(images/main_logo.png);
		background-repeat: no-repeat;
		background-position: top center;
		background-attachment: fixed;
		background-size: 43%;
}


/*紫色透明的主要區塊*/
.main {
	width: 100%;
	height: auto;
	background-color: rgba(61, 41, 69, 1);
	margin: 0 auto;
	padding: 5rem;
	display: flex;
	flex-direction: column;
	 justify-content: center;
	align-items: center;
}

p {
	margin: 0;
}

h6 {
	margin: 2rem 0 0 0;
}

/*小標*/
.smalltitle {
	width: 62%;
	font-size: 1.8rem;
	color: #c8b5cb;
	line-height: 180%;
	font-weight: 500;
	padding: 1.5rem;
}

.smalltitlew {
	width: 62%;
	font-size: 1.8rem;
	color: #FAE6FF;
	line-height: 180%;
	font-weight: 500;
	margin-top: 3.5rem;
}

.smalltitlew2 {
	font-size: 1.5rem;
	color: #FAE6FF;
	line-height: 180%;
	font-weight: 500;
}

/*大標*/
.bigtitle {
	font-size: 2rem;
	color: #FFF;
	line-height: 180%;
	font-weight: 700;
	margin-top: 3rem;
}

/*小圖標*/
.smallimg {
	margin-top: 2rem;
	margin-bottom: 2rem;
	width: 30%;
}

/*三圖標*/
.threeimg {
	width: calc(100%/3);
}

/*兩圖標*/
.twoimg {
	width: calc(100%/2);
}

/*margin 5%*/
.mr5per {
	padding-top: 2%;
	padding-bottom: 2%;
}
.my5per {
	padding: 5%;
}

/*padding 25%*/
.pd25per {
	padding: 2% 25%;
}

/*margin10px*/
.mr10px {
	margin: 10px;
}

/*自訂義表格*/
.mytable {
	width: 60%;
	margin: 0 auto;
}
.titiletd {
	font-size: 2rem;
	color: #FFF;
	line-height: 180%;
	font-weight: 700;
	text-align: left;
}
.myform {
	width: 100%;
}

.myButton {
	background-color:#FAE6FF;
	box-shadow: 0 5px 0 #000;
	border-radius:9px;
	border:0px solid #29668f;
	display:inline-block;
	cursor:pointer;
	color:#412945;
	font-weight: 700;
	font-size: 2rem;
	padding:16px 31px;
	text-decoration:none;
	transition: all .1s linear;
}

.myButton:active  {
  box-shadow: 0 2px 0 #000;
  transform: translateY(3px);
}

.myButton:active {
	position:relative;
	top:1px;
}

/*v background*/
.vbg {
	background-color: rgba(61, 41, 69, 1);
	background-image:url(images/v_logo.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.nickname {
	font-size: 1.8rem;
	color: #FFF;
	line-height: 150%;
	font-weight: 700;
}
.msgtext {
	font-size: 1.5rem;
	color: #FFF;
	line-height: 150%;
	font-weight: 500;
}

.ept {
	width:100%; 
	height: 800px;
}

.hline {
	width: 50%;
	border-bottom: 1px solid white;
}

/* 放置所有col的容器 */
.myrow {
    /* flex讓第一層元素預設橫向橫列 */
    display: flex;
    /* 此設定可以依據我所設定的col寬度做設定，不會自己全部縮到一排 */
    flex-wrap: wrap;
}

/* 一張卡片所在的容器 */
/* 33.333%表示分割三分之一 */
.mycol {
    /* width: 33.333%; */
    /* clac是計算函數的意思 */
    width: calc(100% / 3);
    /* margin對外留白  padding對內留白 */
    /* 留白：上下 左右/ 一個值=同時設定四邊同值 / */
   padding: 1rem;
}

.card {
	height: 400px;
	padding: 0;
}

.cardtext {
	padding: 2rem;
}

.footer {
	color: #FFF;
}

/*往下箭頭的CSS*/
.mycontainer {
	margin: 0 auto;
	margin-top:0%;
	margin-bottom:100px;
	display: flex;
  position: relative;
  width: 24px;
  height: 24px;
}

.chevron {
  position: absolute;
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.chevron:first-child {
  animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
}

.chevron:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
}


.facebookicon {
  padding:0;
  font-size: 64px;
  text-align: center;
  text-decoration: none;
  /*color: #3B5998;*/
  color: #FFF;
}

.lineicon {
  /*padding: 10px;
  font-size: 30px;*/
  padding:0;
  font-size: 64px;
  text-align: center;
  text-decoration: none;
  /*color: #07b53a;*/
  color: #FFF;
}

/* Responsive Web Design 響應式網頁設計 */
/* CSS -> Media Query */
/* @media小括號裡寫的是視窗大小的條件 */
/* 手機版寬度大多設定 <= 767, <=576 */
@media (max-width:767px) {
    /* 以下的選擇器只在視窗寬度<= 767px才有效 */
    .mycol{
        width: 100%;
		padding: 0.5rem;
    }
	
	.container {
			background-size: 100%;
			background-image:url();
	}
	
	.container-fluid {
			background-size: 100%;
			background-image:url();
	}

	.container:before {
	  content: ' ';
	  position: fixed;
	  z-index: -1;
	  top: 0;
	  right: 0;
	  bottom: 0;
	  left: 0;
		background-repeat: no-repeat;
	background-image:url(images/main_logo.png);
	  background-size: 100%;
	}

	.ept {
		width:100%; 
		height: 350px;
	}
	.main {
		padding: 1rem;
	}
	.smalltitle {
		width: 100%;
		font-size: 1rem;
		padding: 1rem;
	}
	.smalltitlew {
		width: 100%;
		font-size: 1.2rem;
		margin-top: 2.5rem;
	}
	.smalltitlew2 {
		/*margin-top: 0.5rem;*/
		font-size: 0.8rem;
	}
	.smallimg {
		margin-top: 1rem;
		margin-bottom: 1rem;
		width: 70%;
	}
	.threeimg {
		width: 100%;
		margin-bottom: 1rem;
	}
	/*
	.twoimg {
		width: 100%;
		margin-bottom: 1rem;
	}*/
	.mr5per {
		padding-top: 5%;
		padding-bottom: 5%;
	}
	.pd25per {
		padding: 5%;
	}
	.mytable {
		width: 100%;
	}
	.titiletd {
		font-size: 1.3rem;
	}
	.myButton {
		font-size: 1.2rem;
		padding:15px 25px;
	}
	.my5per {
		padding: 0;
	}
	.nickname {
		font-size: 1.5rem;
	}
	.msgtext {
		font-size: 1.2rem;
	}
	.footer {
		font-size: 0.5rem;
	}
	.cardtext {
		padding: 1rem;
	}
	.card {
		height: 300px;
		padding: 0;
	}
}

/* @media (min-width: 577px)代表只要視窗寬度大於577都能起到作用 */
/* 如果要從小到大的話要這樣，表以下選擇器只在視窗寬度577-990之間有效 */
@media (min-width: 577px) and (max-width: 990px)  {
    .mycol{
        width: 50%;
    }
	.mytable {
		width: 80%;
	}
}