*{
    margin: 0;
    padding: 0;
}
body{
    background-color: #f4f4f4;
    overflow-x: hidden;
}
.banner {
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff3c00;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, #f4f4f4 100%), url('../../src/team/huangjunyu/banner.png') no-repeat;
    background-size: cover;
    background-position: 0% 70%;
}
.banner span {
    font-size: 3em;
    padding-top: 100px;
}
main{
    display: flex;
    flex-wrap: no-wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}
.container{
    width: 65%;
    display: flex;

}
.profile-card {
    width: 300px;
    border-right: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background-color: #f4f4f4;
}
.profile-picture img {
    width: 200px;
    height: 200px;
    border-radius: 25px;
    object-fit: cover;
}
.username {
    font-size: 1.5em;
    font-weight: bold;
}
.description {
    font-size: 1em;
    color: #777;
}
.social-icons a {
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.5em;
    color: #333;
}
h3 {
    margin: 15px 0 5px;
    font-size: 1.2em;
    font-weight: bold;
}
.profile-card>p {
    margin: 5px 0;
    color: #777;
}
.right{
    flex: 1;
}
.right-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 0px 15px #000000;
    position: relative;
    z-index: 5;
}
.carousel {
    position: relative;
    width: 90%; 
    height: auto; 
    overflow: hidden; 
}

.swift-img {
    display: flex; 
    object-fit: contain;
    width: 100%; 
    height: 100%; 
    justify-content: center; 
    align-items: center;
}

.swift-img img {
    width: 100%; 
    display: none; 
}

.swift-img img.active {
    display: block; 
}
.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 10px;
}
.prev {
    left: 10px; 
}
.next {
    right: 10px; 
}
.title{
    margin-top: 10px;
    font-size: 2em;
    margin-left: 85px;
    font-weight: bold;
    width: 100%;
    color: #ff3c00;
}
.line {
    width: 100%;
    height: 5px;
    background-image: linear-gradient(to right, transparent 50%, rgb(255, 82, 82) 50%);
    background-size: 50px 100%;
    animation: move-bg 3s linear infinite;
    margin:10px;
  }
  @keyframes move-bg {
    from {
      background-position: 0;
    }
    to {
      background-position: 100px;
    }
  }
  .recommedation{
    width: 90%;
  }
  .recommedation p{
    font-size: 1.8em;
    border-bottom: #ff3c00 2px dashed;
    margin-top: 10px;
  }
  .character{
    display: flex;
    position: absolute;
    left: -50%;
    bottom: 0;
    z-index: 1;
    animation: move 10s linear infinite;
  }
  @keyframes move {
    0% {
      left: -50%;
    }
    50% {
      left: 50%;
    }
    100% {
      left: 100%;
    }
  }
  footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100px;
    font-size: 20px;
  }