* {
    margin: 0;
    padding: 0;
}
html,body {
    font-size: 16px;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.logo img {
    object-fit: contain;
}
.content {
    width: 1000px;
    margin: 0 auto;
    background-color: #dba879;
}
header {
    display: flex;
    height: 100px;
    padding: 40px;
    box-sizing: border-box;
    background-color: rgb(211, 96, 30);
    align-items: center;
}
header .logo {
    width: 120px;
    height: 60px;
}
header .title {
    font-size: 30px;
    margin-left: 40px;
    color: black;
    text-shadow:2px 3px 1px rgb(0, 0, 0);
}
nav {
    display: flex;
    align-items: center;
    height: 50px;
    color: #fff;
    background-color: rgb(211, 96, 30);
}
nav .nav-item {
    text-align: center;
    width: 25%;
    height: 50px;
    font-size: 16px;
    line-height: 50px;
    cursor: pointer;
    transition: all 0.4s;
}
nav .nav-item:hover {
    transition: all 0.4s;
    color: black;
    background-color: #fff;
}
.banner {
    height: 300px;
    width: 100%;
}
.container {
    padding: 0 20px;
    margin-top: 20px;
    display: flex;
   
    justify-content: space-between;
}
.container .container-card {
    width: 46%;
}
.container-card .card-title {
    font-size: 22px;
    color: rgb(134, 77, 187);
    padding-bottom: 10px;
    border-bottom: 3px solid rgb(134, 77, 187);
}
.container-card .card-item {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
    line-height: 40px;
}
.img-content {
    margin-top: 20px;
    height: 400px;
    display: flex;
    justify-content: space-around;
}
.img-content .img {
    width: 40%;
    height: 100%;
}
footer {
    margin-top: 10px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    color: #fff;
    background-color: rgb(211, 96, 30);
}
a {
    text-decoration: none;
}
/* 轮播图 */
.slider-contaner ul,
.slider-contaner li {
  list-style: none;
}
.slider-contaner {
  flex: 4;
  flex-shrink: 0;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}
.slider-item + .slider-item {
  opacity: 0;
}
.slider-item {
  width: 100%;
  position: absolute;
  animation-timing-function: linear;
  animation-name: fade;
  animation-iteration-count: infinite;
  background-size: 100%;
}
.slider-item {
  animation-duration: 20s;
}
.slider-item1 {
  animation-delay: -1s;
}
.slider-item2 {
  animation-delay: 3s;
}
.slider-item3 {
  animation-delay: 7s;
}
.slider-item4 {
  animation-delay: 11s;
}
.slider-item5 {
  animation-delay: 15s;
}
@keyframes fade {
  0% {
    opacity: 0;
    z-index: 2;
  }
  5% {
    opacity: 1;
    z-index: 1;
  }
  20% {
    opacity: 1;
    z-index: 1;
  }
  25% {
    opacity: 0;
    z-index: 0;
  }
  100% {
    opacity: 0;
    z-index: 0;
  }
}
.slider-item1 {
  background-image: url("../images/index/swiper-1.jpg");
}
.slider-item2 {
    background-image: url("../images/index/swiper-2.jpg");
}
.slider-item3 {
    background-image: url("../images/index/swiper-3.jpg");
}
.slider,
.slider-item {
  padding-bottom: 40%;
}