* {
    padding: 0;
    margin: 0;
}

/* 设置导航栏的样式 */
.nav1 {
    position: sticky;
    top: 0;
    width: 100%;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: -4px 4px 6px rgba(116, 120, 122, 0.5);
    z-index: 100;
}

.position {
    position: absolute;
    right: 200px;
    top: 9px;
}

.href {
    display: inline-block;
    text-decoration: none;
    color: rgb(116, 120, 122);
    font-size: 1em;
    margin-left: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.href:hover {
    transform: translateY(-3px);
}

body {
    background-color: rgb(208, 231, 245);
}

.background {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 0;
}

.background img {
    display: block;
    width: 100%;
    height: 370px;
    object-fit: cover;
    object-position: center 25%;
    box-shadow: 10px 0px 6px rgba(0, 0, 0, 0.3);
}

.layout {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 200px 120px 100px 160px;
}

.left-nav {
    position: sticky;
    top: 50px;
    width: 350px;
    height: 1000px;
    flex-shrink: 0;
    background-color: rgba(244, 247, 248, 0.8);
    border-radius: 15px 15px 0px 0px;
}

.avater {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid pink;
    margin-top: 35px;
    margin-left: 34.1%;
    transition: all 0.3s ease;
}

.avater:hover {
    transform: scale(1.1);
}

.name {
    font-size: 2em;
    text-align: center;
    font-weight: bold;
    font-family: "ZCOOL Kursive", cursive;
}

.slogan {
    font-size: 1em;
    color: #8e8e8e;
    text-align: center;
    margin-top: 10px;
}

.hr1 {
    width: 250px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.btn {
    display: flex;
    gap: 10px;
}

.btn a {
    display: block;
    width: 70px;
    height: auto;
    text-align: center;
    text-decoration: none;
    color: white;
    background-color: #8e8e8e;
    border-radius: 50px;
    margin-top: 30px;
    margin-left: 8.6%;
    transition: all 0.3s ease;
}

.btn a:hover {
    transform: translateY(-5px);
    box-shadow: 1px 2px 1px #393939;
}

.text {
    width: 300px;
    height: auto;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1em;
    background-color: rgba(255, 228, 198, 0.6);
    border-radius: 20px;
}

.table1 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px 10px;
    padding: 20px;
    box-sizing: border-box;
}

.table1 td {
    vertical-align: middle;
}

.table1 td:first-child {
    text-align: right;
    padding-right: 15px;
}

.school {
    display: block;
    width: 175px;
    height: 80px;
    border-radius: 37.5px;
    text-align: center;
    line-height: 75px;
    color: #576789;
    font-weight: bold;
    text-decoration: none;
    margin: 80px auto;
    background: linear-gradient(135deg,
            rgba(173, 216, 230, 0.7),
            rgba(255, 255, 255, 0.5),
            rgba(255, 182, 193, 0.4));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 201, 201, 0.45);
    box-shadow: 0 6px 18px rgba(137, 171, 227, 0.18);
    transition: all 0.3s ease;
}

.school:hover {
    transform: translateY(-5px);
}

.content {
    flex: 1;
    min-width: 0;
}

.flexbox {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    margin-top: 100px;
    margin-bottom: 100px;
}

.box1 {
    width: 250px;
    height: 200px;
    background-color: aliceblue;
    border-radius: 20px;
    border-top: 6px solid pink;
    box-shadow: 0px 3px 2px #393939;
}

.box1 p {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
    font-size: 2em;
}

.hr2 {
    text-align: center;
    color: #393939;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    width: 234px;
    height: 3px;
}

.box1 h4 {
    font-size: 1.4em;
    text-align: center;
    color: #2c2c2c;
    font-family: "ZCOOL Kursive", cursive;
}

.position1 {
    display: flex;
    flex-direction: column;
    gap: 150px;
}

.hobby {
    width: 1000px;
    max-width: 100%;
    height: auto;
    background-color: #f0f4f8;
    border-radius: 20px;
    border-top: 12px solid #6db9e8;
}

.hobby h2 {
    font-size: 3em;
    text-align: center;
    color: #9cd6f7;
}

.hobby h3 {
    margin-top: 20px;
    font-size: 1.2em;
    text-align: center;
    color: #8e8e8e;
    font-weight: normal;
    line-height: 1.5em;
}

.hobby hr {
    width: 940px;
    max-width: 94%;
    margin: 20px auto;
}

.btn2 {
    display: flex;
    gap: 100px;
    justify-content: center;
    margin-top: 50px;
}

.btn2 a {
    display: block;
    width: 150px;
    height: 90px;
    border-radius: 50px;
    background-color: #80cce4;
    text-align: center;
    line-height: 75px;
    text-decoration: none;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn2 a:hover {
    transform: translateY(-3px);
    box-shadow: 3px 3px 2px #8e8e8e;
}

/*每段标语部分*/
.box2{
    width: 80%;
    height: 100px;
    background-color: #fff;
    border-radius: 15px;
    margin: 30px  auto;
}

.box2 h3 {
    margin-top: 20px;
    text-align: center;
    font-size: 2em;
    color: #000;
    font-family: "ZCOOL Kursive", cursive;
    font-weight: bold;
}

.box2 p {
    text-align: center;
    color: #8e8e8e;
    font-size: 1.3em;
}

/*音乐列表*/
.music-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    padding: 50px 30px;
    margin: 20px auto;
}

/*单个播放器卡片*/
.player {
    position: relative;
    width: 280px;
    background: #ffffff;
    border-radius: 15px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.player:hover {
    transform: translateY(-4px);
}

/* 播放信息 */
.player .info {
    width: 100%;
    background: rgba(245, 245, 245, 0.9);
    padding: 8px 12px;
    border-radius: 10px;
    box-sizing: border-box;
}

.song {
    color: #222;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.singer {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 进度条 */
.progress-bar {
    height: 3px;
    width: 100%;
    background: #ddd;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.bar {
    background: red;
    width: 0;
    height: 3px;
    transition: width 0.1s linear;
}

/* 控件区 */
.player .control {
    position: relative;
}

.player .alarm {
    position: relative;
    width: 12px;
    height: 12px;
    margin: 0 0 8px 4px;
}

.player .alarm::after {
    content: "";
    width: 12px;
    height: 12px;
    background: #eee;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.player .buts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    height: 55px;
    padding: 0 10px;
    background: #f8f8f8;
    border-radius: 10px;
    box-sizing: border-box;
}

.player .prev,
.player .play,
.player .next {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    background-color: #f0f0f0;
    transition: background 0.3s ease;
}

.player .prev:hover,
.player .play:hover,
.player .next:hover {
    background-color: #e0e0e0;
}

.player .prev {
    background-image: url(../img/prev.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 24px;
}

.player .play {
    background-image: url(../img/play.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 24px;
}

/*播放时，变成暂停图标*/
.player .play.active {
    background-image: url(../img/play2.jpg);
}

.player .next {
    background-image: url(../img/next.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 24px;
}

/*游戏块部分*/
.game-list {
    position: relative;
    top: 30px;
    display: flex;
    gap: 40px;
    justify-content: center;
}

.game-box {
    width: 250px;
    height: 300px;
    background: rgb(255,255,255);
    border-radius: 30px;
    box-shadow: 0px 5px 3px #222;
    border: 2px solid #80cce4;
    transition: all 0.3s ease;
}

.game-box:hover {
    transform: translateY(-4px);
}

.game-box img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    left: 50px;
}

.game-box img:nth-of-type(1) {
    border: 4px solid #f8e2c9;
}

.game-box img:nth-of-type(2) {
    border: 4px solid #f2c9d5;
}

.game-box img:nth-of-type(3) {
    border: 4px solid #c3e9f9;
}

.game-box p {
    text-align: center;
    line-height: 2em;
    font-size: 1.3em;
    background: rgb(208,231,245);
    border-radius: 30px;
    font-weight: bold;
    height: 150px;
    box-shadow: 0px 5px 3px #222;
}

.sport {
    display: flex;
    justify-content: center;
    position: relative;
    top: 30px;
    gap: 15px;
    margin: 0px auto;
}

.ride-img {
    width: 410px;
    height: 550px;
    border-radius: 30px;
    border-top: 5px solid #89c2ff;
    background: #fff;
    box-shadow: 2px 2px 2px #393939;
}

.ride-img img {
    width: 410px;
    border-radius: 30px;
}

.ride-card {
    width: 80%;
    height: 150px;
    background: linear-gradient(
        145deg,
        #ecd0e0 45%,
        #afdbe6 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 45px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 50px auto;
}

.ride-card h1 {
    margin: 0 0 15px 0;
    font-size: 48px;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.ride-info {
    display: flex;
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
}

.r-infos {
    width: 240px;
    height: 200px;
    background: #fff;
    border-radius: 30px;
    border-top: 4px solid #f6bec8;
    box-shadow: 4px 0px 4px #222;
    transition: all 0.3s ease;
}

.r-infos:hover {
    transform: translateY(-5px);
}

.r-infos h4 {
    text-align: center;
    font-size: 1.8em;
    margin-top: 10px;
    font-family: "ZCOOL Kursive", cursive;
    font-weight: bold;
    line-height: 75px;
}

.r-infos p{
    text-align: center;
    font-size: 1.4em;
    color: #222;
    line-height: 75px;
}

/*照片部分*/
.photos {
    width: 1000px;
    max-width: 100%;
    height: auto;
    background-color: aliceblue;
    border-radius: 20px;
}

.photo-nav {
    width: 1000px;
    height: 150px;
    border-radius: 35px;
    background: rgba(255,255,255,0.73);
    border-top: 5px solid pink;
    box-shadow: 0px 5px 4px #393939;
}

.photo-nav h2{
    font-size: 2.6em;
    text-align: center;
}

.photo-nav p {
    margin-top: 20px;
    font-size: 1.2em;
    text-align: center;
    color: #8e8e8e;
    font-weight: normal;
    line-height: 1.5em;
}

.photo-nav h4 {
    font-size: 1.2em;
    text-align: right;
    color: #8e8e8e;
    font-weight: normal;
    line-height: 1em;
}

.box3 {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px 0px;
    justify-content: center;
}

.box3 img {
    border-radius: 30px;
    transition: all 0.3s ease;
}

.box3 img:hover {
    transform: scale(1.1);
}

.photos-long{
    width: 370px;
    height: auto;
}

.photos-width {
    width: 500px;
    height: auto;
}

.photos-width2 {
    width: 430px;
    height: auto;
}

.box4 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/*行迹*/
.trip {
    width: 1000px;
    max-width: 100%;
    background-color: aliceblue;
    border-radius: 20px;
}

.trip-background {
    width: 900px;
    height: 200px;
    border-radius: 30px;
    background: linear-gradient(
        135deg,
        #f6bec8,
        rgb(249,246,229));
    margin: 30px auto;
    box-shadow: 0px 5px 4px #393939;
}

.trip-background h3 {
    color: #fff;
    text-align: center;
    line-height: 150px;
    font-size: 3em;
}

.box5 {
    width: 900px;
    background: #fff;
    height: 620px;
    border-radius: 25px;
    border-top: 4px solid #ffd0dc;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 40px auto;
}

.box5 img {
    width: 400px;
    height: 533px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.box5 img:hover {
    transform: scale(1.08);
}

.box6 {
    width: 400px;
    height: 533px;
    background: rgba(233,241,246,0.6);
}

.box6 h5 {
    text-align: left;
    font-size: 1.7em;
    font-weight: bold;
    font-family: "ZCOOL Kursive", cursive;
    margin-top: 0.6em;
}

.box6 p {
    text-indent: 2em;
    font-size: 1.4em;
    margin-top: 1.2em;
    margin-left: 3px;
    margin-right: 3px;
    line-height: 1.5em;
}

.head {
    display: block;
    position: fixed;
    bottom: 150px;
    right: 50px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    color: #393939;
    text-align: center;
    line-height: 75px;
    font-size: 2.5em;
    font-weight: bold;
    text-decoration: none;
    box-shadow:2px 2px 2px #2c2c2c;
    z-index: 2;
    transition: all 0.3s ease;
}

.head :hover {
    transform: translateY(-3px);
}