* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(./img/bg.png);
  background-size: cover;
  overflow: hidden;
} 

#main {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

#click-section {
  width: 35%;
  height: 100%;
  padding: 20px 0;
  position: relative;
}

#drawerboxes {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

#drawerboxes::before {
	content: "";
	width: 8px;
	height: 98%;
	position: absolute;
	left: -10px;
	top: 3%;
	z-index: 120;
}

.drawerbox {
  height: calc(100% / 5.5);
  width: 90%;
  position: relative;
  z-index: 100;
  transform: translateX(-70%);
  transition: transform 0.5s ease-in-out;
}

.drawerbox.active {
  transform: translateX(0);
}
/* 选择框 */
.drawer-btn {
  width: 100%;  /*左边选择框的宽度*/
  height: 100%;
  font-size: 30px;
  background-color: rgb(175, 190, 255);
  border: none;
  transition: background-color 0.5s ease-in-out;
  color: #ffffff;
}

.draiver-btn.active {
  background-image: url(./img/bg.jpg);
  background-size: cover;
  color: rgb(70, 100, 180);
}

.draiver-btn:hover {
  cursor: pointer;
}

/* 选择框右边数字 */
.drawer-head {
  position: absolute;
  color: rgb(255, 255, 255);
  font-size: 200px;
  font-weight: 700;
  right: -38px;
  top: calc(50% - 135px);
  text-shadow: 2px -1px 8px rgba(250, 80, 193, 0.323);
}

#slide-section {
	position: relative;
	height: 100%;
	width: 98%;
	display: flex;
	justify-content: center;
	padding: 0 30px;
  z-index: 1;
}

#slide-bar {
  position: absolute;
  top: 10%;
  left: 20px;  /*分割线左右偏移*/ 
  height: 80%;
  width: 1px;
  background-color: rgb(223, 223, 223);
}

#bar {
  position: absolute;
  height: calc(100% / 4);
  width: 5px;  /*滑动条宽度*/
  top: 0;
  left: -5px;  /*滑动条左右偏移*/
  background-color: rgb(175, 190, 255);
  transition: transform 0.5s ease-in-out;
}

/* 幻灯片位置偏移 */
#card-section {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 10% 0;
  color: rgb(228, 77, 77);
  font-size: 30px;
  transition: transform .5s ease-in-out;
}


.card-small-title {
  font-size: 30px;
  font-weight: 600;
  padding-bottom: min(5%, 10px);
  color: rgb(70, 100, 180);
}

.card-title {
  font-size: 80px;
  font-weight: 700;
  padding-bottom: min(20%, 40px);
  color: rgb(70, 100, 180);
}

.card-content {
	font-size: 24px;
	font-weight: 400;
	color: rgb(94, 123, 255);
	margin-bottom: 60px;
  z-index: 5;
}

/* 图像 */
.card-img {
  position: absolute;
  width: 90%;
  height: 90%;
  overflow: hidden;
  left: 0px;
  margin-bottom: 80px;
  z-index: -1;
}

 .card-img img {
  width: 100%;
  height: 100%;
 }  
