* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

@media (min-width: 786px) {
    
}
body{
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header, main, footer {
    width: 100%;
    max-width: 1464px;
    margin: 0 auto;
}

header{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

main{
    padding-left: 30px;
    padding-right: 30px;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

footer{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h1 { 
    color: azure;
    font-weight: bold;
    font-size: 30px;
    padding-bottom: 80px;
    padding-top: 43px;
}


.h2{
    font-size: 25px;
    font-weight: lighter;
    padding-bottom: 160px;
}

.h1{
    font-size: 25px;
}

.header{
    
    text-align: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 1464px;
    margin: 0 auto;
    position: relative;
    height: 500px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%; 
    overflow: hidden; 
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
}

.carousel-image.active {
    opacity: 1; 
}

.content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 1;
}

.menu{
    display: flex;
    list-style: none;
    gap: 20px;
    justify-content: center;
    padding-bottom: 20px;
    width: 200px;
}

.three{
    padding: 10px 15px;
    background-color: #000000;
    color: white; 
    border: none; 
    border-radius: 5px;
    cursor: pointer; 
    transition: background-color 0.3s; 
}


.three:hover {
    background-color: #ffffff73;
}

.section{
    text-align: center;
    margin: 60px 0;
    padding: 0 15px;
    font-weight: lighter;
}

img {
    width: 100%;
}
.one{
    background-color: rgb(132, 132, 132);
    color:aliceblue;
    border: none;
    width: 219px;
    font-size: 22px;
    font-weight: lighter;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s; /* 添加过渡效果 */
    margin: 10px; 
}

.one.active {
    background-color: #ffffff24; 
    color: #ffffff; 
}

.big{
    font-size: 21px;
    padding: none;
}
h2{color: aliceblue;
    font-weight: bolder;
}

.profile-photo {
    width: 80%;
}

.box1-content {
    font-size: 20px;
    width: 80%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}




.box{
    background-color: hsla(0, 0%, 100%, 0.9);
    color: rgb(0, 0, 0);
    font-size: 16px;
    padding: 20px;
    
}
.box1{
    background-color: rgba(255, 255, 255, 0.4);
    display: flex;
    color: aliceblue;
    align-content: center;
    align-items: center;
}

.profile {
    width: 364px;
}

.box2{
    background-color: rgba(255, 255, 255, 0.3);
    color: aliceblue;
    display: flex;
}

.foot{
    background-color: rgba(255, 255, 255, 0.8);

    font-size: 16px;
}
.footer{
    line-height: 20px;
    font-size: 12px;
}

.photo1{
    width: 56px;
    
}

.photo2{
    max-width: 362px;

}

.music-container {
    overflow-x: auto;
    white-space: nowrap; 
    padding: 10px 0; 
}

.box3{
    display: inline-flex;
    margin-bottom: 10px;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.box03{
    margin-bottom: 10px;
    align-items: center;
    gap: 30px;
    display: flex;
}

.long{
    margin: 10px;
}

.word{
    color: aliceblue;
    display: flex;
    font-weight: lighter;
    justify-content: space-around;
    align-items: center;
}

.logo{
    width: 300px;
}



.box4{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    align-content: space-evenly;
    gap: 20px;
    list-style: none;
}

.box4 input {
    color: black;
}

.box4-field {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.box5{
    width: 457px;
    color: rgba(240, 248, 255, 0.8);
    justify-content: right;
}


footer{
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    height: auto;
    display: flex;
    justify-content: start;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.footer{
    text-align: right;
    justify-content: space-between;
}

#footer{
    padding-right: 20px ;
}

.box6{
    display: flex;
    font-weight: lighter;
    justify-content: space-around;
    align-items: center;
}

.box6-photo{
    width: 43.95px;
}

.box6-photo1{
    width: 400px;
}


.two{
    background-color: rgb(255, 255, 255);
    color:rgb(0, 0, 0);
    border-color: rgb(188, 187, 187);
    border:20px;
    border-radius: 5px;
    font-size: 20px;
    padding: 10px;
    ;
}





.box7{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}




.container{
    
    position: relative;
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.container .box{
    position: relative;
    width: 211.7px;
    height: 275px;
    
    overflow: hidden;
    
    transition: 0.5s;
}

.container .box:hover{
    transform: scale(1.25);
    box-shadow: 0 25px 40px rgba(0,0,0,0.5);
    z-index: 1;
}
.container .box .img-box{
    
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.container .box .img-box::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,#222,transparent);
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
}

.container .box:hover .img-box::before{
    opacity: 1;
}
.container .box .img-box img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
    object-fit: cover;
}
.container .box .text-box{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    
    display: flex;
    align-items: flex-end;
    color: #fff;
    z-index: 2;
}
.container .box .text-box h2{
    font-size: 20px;
    margin-bottom: 10px;
    
    transform: translateY(200px);
    transition: 0.5s;
}
.container .box:hover .text-box h2{
    
    transform: translateY(0);
    
    transition-delay: 0.3s;
}
.container .box .text-box p{
    font-size: 13px;
    line-height: 20px;
    
    transform: translateY(200px);
    transition: 0.5s;
}
.container .box:hover .text-box p{
    
    transform: translateY(0);
    
    transition-delay: 0.4s;
}

.map{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.three-js {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}




/*Mobile*/
@media (max-width: 768px) {
    .header {
        height: auto; 
        padding: 0px; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        background-size: cover; 
        background-position: center; 
    }

    h1 { 

        font-size: 25px;
        padding-bottom: 5px;
        padding-top: 70px;
        text-align: center;
    }
    .h2{
        font-size: 20px;
        font-weight: lighter;
        padding-bottom: 30px;
        text-align: center;
    }
    .carousel {
        height: 305.6px; 
        width: 100%;
    }
    
    .box4-field {
        
        grid-template-columns: 1fr 2fr;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: flex-start;
    }

    .box5{
        width: 309px;
        height: 30px;
    }

    .box6{
        flex-direction: column-reverse
    }

    .map{
        flex-direction: row-reverse;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
        padding: 20px;
    }


    
    .section{
        margin: 20px;
    }
    .content {
        top: 40%; 
        left: 50%;
        transform: translate(-50%, -50%); 
    }

    .menu {
        gap: 2px; 
        padding-top: 10px; 
        justify-content: center; 
        flex-wrap: wrap; 
    }
    .container{
        
        position: relative;
        
        display: flex;
        gap: 10px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .container .box{
        position: relative;
        width: 150px;
        height: 210px;
        
    }
    
    .word{
        width: 20px;
    }

    .container .box .text-box h2{
        font-size: 15px;
        margin-bottom: 2.5px;
    }

    .container .box .text-box p{
        font-size: 10px;
        line-height: normal;
    }

    .two{
        font-size: 20px;
        padding: 10px;
        ;
    }

    .footer div{
        display: none;
    }

    footer{
        padding-left: 7px;
        padding-right: 7px;
        padding-top: 7px;
        padding-bottom: 7px;
        font-size: 10px;
    }
    .footer{
        justify-content: end;
    }

    #footer{
        padding-right: 0px;
    }

    .box6-photo1{
        width: 100%;
    }
}






