body {
	font-family: Arial, Helvetica, sans-serif;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #f2f2f2;
  background: linear-gradient(45deg, #6c63ff, #fe8c00);
}



.return-link {
  display: inline-block;
  padding: 8px 10px;
  margin-right: 5px;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  background-color: #6c63ff;
  border-radius: 20px;
  text-decoration: none;
}

.return-link:hover,
.return-link:focus {
  background-color: #4d49b9;
  outline: none;
}

.return-link span {
  margin-right: 5px;
}



/* 固定搜索框在顶部 */
.search-container {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	background-color: #a09f9f;
}


#search-input {
	width: 70%;
	padding: 10px;
	border-radius: 30px;
	border: none;
	background-color: #eee;
	font-size: 1rem;
	outline: none;
	transition: box-shadow 0.3s ease;
}

#search-input:hover,
#search-input:focus {
	box-shadow: none;
}

.question-list {
	max-width: 720px;
	margin: 80px auto 20px; /* 增加上边距 */
	padding: 0 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
	border-radius: 10px;
	background-color: #d6eb9c;
}

.question-list:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.question h2 {
	font-size: 1.25rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
}

.question p {
	font-size: 1rem;
	line-height: 1.5;
	margin-bottom: 1rem;
}

/* 给每个问题添加一些间距 */
.question-list .question:not(:first-child) { 
    margin-top: 10px;
}
.question-list .question:not(:last-child) { 
    margin-bottom: 10px;
}

.question {
	margin: 0;
	padding: 1rem;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
	cursor: pointer;
}

.question:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


    /* 元素垂直居中 */
    .center { display: flex; justify-content: center; align-items: center; }
    
    /* 移动设备样式 */
    @media screen and (max-width: 768px) {
      /* 在此添加针对移动设备的CSS样式 */
      
      /* 标题样式 */
      h1 { font-size: 28px; }
      
      /* 输入框宽度 */
      .form-control { width: 80%; }
      
      /* 按钮样式 */
      .btn { font-size: 18px; }

	  	/* 在手机上缩小问题列表的宽度 */
	.question-list {
		max-width: 100%;
	}
	
	/* 减少问题与列表边缘之间的间距 */
	.question-list .question:not(:first-child) { 
	    margin-top: 5px;
	}
	.question-list .question:not(:last-child) { 
	    margin-bottom: 5px;
	}
    }
