:root {
    --red: hsl(0, 78%, 62%);
    --cyan: hsl(180, 62%, 55%);
    --orange: hsl(34, 97%, 64%);
    --blue: cadetblue;
    --varyDarkBlue: hsl(234, 12%, 34%);
    --grayishBlue: hsl(229, 6%, 66%);
    --veryLightGray: hsl(0, 0%, 98%);
    --weight1: 200;
    --weight2: 400;
    --weight3: 600;
}


.flx{
	display:flex;
}

	.left{
		width:100%;
		padding: 0 15px 0 50px;
	}

	.right{
		width:100%;
		padding: 0 50px 0 15px;
	}

.container{
	width:100vw;
	margin:auto;
	min-height:550px;
}

.banner{
    max-width: 1150px;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    padding-bottom: 25px;
	
	background-image: url(../images/banner.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.b-l-s{
	margin-top: 9%;
	margin-left: 15px;
	font-size: 14px;
	letter-spacing: 15px;
	color: #424242;
}

.b-r{
	width:49%;
	justify-content: space-evenly;
	align-items: center;
}

.b-r-s{
	box-sizing: border-box;
    border: none;
    outline: none;
    text-decoration: none;
    color: #333;
	cursor:pointer;
}

.b-r-s a{
	font-size: 20px;
	font-weight: 600;

}

.b-r-s.active{
	border-bottom: solid;
    border-block-color: #369;
}

.b-l{
	width:40%;
	align-items:center;
	font-size: 24px;
    margin-left: 10px;
}	

.search{
    height: 62px;
    margin: 30px 0 0 0;
    text-align: center;
}

.area_content{
	
	max-width:1150px;
	margin:auto;
}
.open_content{
	width:90vw;
	height:95vh;
	max-width:1150px;
	margin:auto;
}


.wrapper{
	justify-content: center;
    display: flex;
	margin:5px 0 25px 0;
}

.content{
	align-items: center;
    min-height: 66px;
    margin-top: 5px;
    font-size: 16px; 
	padding-bottom: 5px;
    border-bottom: 1px solid #d8d8d8;
	cursor:pointer;
}

.content a {
	text-decoration:none;
	color: #595959;
}

.btn_click a {
	text-decoration:none;
	color: #66450e;
}

.b-l a{
	text-decoration:none;
	color:black;
}

.b-r-s a{
	text-decoration:none;
	color:black;
}

.time{
	width: 45%;
	margin:8px;
	font-size:16px;
	font-weight: 500;
}


.main_title{
	text-align: center;
	color:#2e829e !important;
}

.check_reward_content{
	margin: 0;
	padding: 20px;
	max-width:90%;
	line-height: 1.7em;
	letter-spacing: 1px;
	font-family: Georgia, 'Times New Roman', Times, serif;
	font-size: 14px;
	color: #333;
	background: #e1e5e8;
}

.title{
	width: 70%;
    line-height: 24px;
    margin-left: 10px;
	font-size:16px;
	font-weight: 500;
}

h2, h3 {
    font-weight: 500;
}

.container_basic h1, h2{
	text-align: center;
}


#search_input{
	width: 80%;
    height: 100%;
    border-radius: 40px;
    -webkit-appearance: none;
    box-shadow: 0 1px 5px 2px rgb(0 0 0 / 13%);
    padding-left: 55px;
}

.search_result{
	margin: 35px 0 35px 0;
	min-height:200px;
}


.table-bordered {
    border: 1px solid #ddd;
}

.table {
    width: 90%;
    max-width: 1150px;
    margin-bottom: 20px;
	margin:auto;
}


.btn_click{
	border: 0.5px solid transparent;
    background-color: #ffecbb;
    color: #66450e;
	cursor:pointer;
	padding: 3px 12px;
    font-size: 16px;
    border: 0.5px solid #d8d8d8;
    border-radius: 27px;
    font-weight: 500;
    letter-spacing: .6px;
    line-height: 28px;
}

.result_tr{
	height:60px;
}

.result_td{
	border: solid 1px #ddd;
}

.card_content{
	color:black;
	margin:5px;
}

.card_title{
	color: #369;
	font-size: 18px;
}


.article{
	width: 30%;
	padding:10px;
}

/* Style the counter cards */
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
  padding: 16px;
  text-align: center;
  min-height:210px;
  font-size:24px;
  font-weight:300;
  font-family: emoji;
  border-radius: 20px;
  width: 70%;
  margin: auto;
}

@media screen and (max-width: 479px) {

	.b-l-s{
		display:none;
	}

	.b-l-s{
		display:none;
	}

	/* Style the counter cards */
	.card {
	  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
	  padding: 16px;
	  text-align: center;
	  min-height:210px;
	  font-size:24px;
	  font-weight:300;
	  font-family: emoji;
	  border-radius: 20px;
	  width: 100%;
	  margin: auto;
	}


	.wrap_index{
		flex-direction: column;
	}
	.left{
		width:100%;
		padding: 0 15px 0 25px;
	}

	.right{
		width:100%;
		padding: 0 15px 0 25px;
	}
	
	.container{
		width:100vw;
	}


	.article{
		width:100%;
	}

}

@media screen and (min-width: 480px) and (max-width: 960px) {

	.b-l-s{
		display:none;
	}



	.wrap_index{
		flex-direction: column;
	}
	.left{
		width:100%;
		padding: 0 15px 0 50px;
	}

	.right{
		width:100%;
		padding: 0 50px 0 15px;
	}
	
	.container{
		width:100vw;
	}
	
	.article{
		width:50%;
	}
}

@media screen and (min-width: 961px) and (max-width: 1023px) {
	.article{
		width:70%;
	}
	
	.b-l-s{
		display:none;
	}



	.wrap_index{
		flex-direction: column;
	}
	.left{
		width:100%;
		padding: 0 15px 0 50px;
	}

	.right{
		width:100%;
		padding: 0 50px 0 15px;
	}
	
	.container{
		width:100vw;
	}

}



@media screen and (min-width: 1024px) and (max-width: 1400px){
	.article{
		width:50%;
	}
	
}


h1, h2, h3, h4 {
    color: #4d4d4d; 
	font-weight: bolder;
}

p {
    margin-bottom: 10px; /* 段落間增加一些間距 */
}
 
.footer {
	width: 100%;
	background: #4d4d4d;
	display: block;
 }

.inner-footer {
    width: 95%;
    max-width: 1000px; /* 控制最大寬度 */
    margin: auto;
    padding: 40px 10px;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    justify-content: space-around; /* 確保內容均勻分布 */
}

.footer-items {
    flex: 1; /* 確保所有列具有相同的寬度 */
    min-width: 200px; /* 控制最小寬度 */
    padding: 20px;
    box-sizing: border-box;
	color: #fff;
}

.footer-items h1, .footer-items .big_item {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-items ul {
    list-style: none;
    padding-left: 0;
}

.footer-items ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-items ul li a:hover {
    color: var(--blue); 
}

.footer-bottom {
    text-align: center;
    padding: 20px 10px;
    border-top: 1px solid #0a2e36;
}

.social-media a {
    margin: 0 10px;
    color: #fff;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--blue); ;
}

@media screen and (max-width: 768px) {
    .inner-footer {
        justify-content: center;
    }

    .footer-items {
        margin-top: 20px;
    }
}


.footer-bottom {
    padding: 10px;
    background: cadetblue;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

/*表格效果*/
.table {
  width: 100%;
  border-collapse: collapse;
}

.table tr {
  border-bottom: solid 2px white;
}

.table tr:last-child {
  border-bottom: none;
}

.table th {
  background-color: cadetblue;
  color: white;
  text-align: center;
  padding: 5px;
}

.table td {
  text-align: center;
}


section {
    background-color: #fff; /* 白色背景提升對比 */
    margin: 20px; /* 增加外邊距 */
    padding: 20px; /* 增加內邊距 */
	border-radius: 5px;
    box-shadow: 0px 30px 40px -20px var(--grayishBlue);
}
