.spec1 {
    display: flex;
    position: relative;
    align-items: center;
    background-image: url("../image/spec1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 800px;
}

.back-icon {
    position: absolute;
    padding: 25px 0 0 30px;
    z-index: 1001;
}

.springtrap-text {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
    left: 20px;
    padding: 20px;
    width: 40%;
}

.springtrap-text p {
    padding-top: 10px;
    padding-bottom: 10px;
}

.springtrap-text h1 {
    font-size: 90px;
    margin-bottom: 50px;
    transition: opacity 0.1s, filter 0.1s;
}


.linear-title {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 16px;
}

.linear-title h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 40px;
    border: 4px solid #fff;
    border-radius: 10px;
    font-size: 24px;
    margin: 0;
    color: #DFAF70;
    font-family: Plus Jakarta Sans, sans-serif;
}

.springtrap-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
    width: 30%;
}


.springtrap img {
    width: 100%;
}


.springtrap-talk {
    position: absolute;
    top: 50px;
    right: 70px;
    width: 381px;
    height: 220px;
    background-image: url("../image/talk.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.springtrap-talk p {
    color: black;
    font-family: Pixelify Sans, sans-serif;
    font-size: 18px;
    padding-bottom: 70px;
    width: 85%;
}

.springtrap-form {
    display: flex;
    justify-content: flex-end;
    width: 30%;
}

.springtrap-form img {
    width: 150%;
}

/*spec2*/
.spec2 {
    background-color: black;
    display: flex;
    align-items: center;
    position: relative;
    gap: 40px;
    padding: 40px;
}

.golden-freddy-text h1 {
    font-size: 90px;
    margin-bottom: 50px;
    transition: opacity 0.1s, filter 0.1s;
}

.golden-freddy-text {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    bottom: 10px;
    left: 20px;
    margin: 10px;
    width: 50%;
}

.freddy-talk {
    position: absolute;
    left: 320px;
    top: 180px;
    width: 381px;
    height: 220px;
    background-image: url("../image/talk.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 32px;
}

.freddy-talk p {
    color: black;
    font-family: Pixelify Sans, sans-serif;
    font-size: 18px;
    padding-bottom: 70px;
    width: 85%;
}

span {
    color: #ff0000;
}

.golden-freddy {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 50%;
}

.spec2-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*spec3*/
.spec3 {
    background-image: url("../image/phone-back.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    gap: 40px;
    padding: 40px;
    height: 800px;
}

.phone-guy-text h1 {
    font-size: 90px;
    margin-bottom: 50px;
    transition: opacity 0.1s, filter 0.1s;
}

.phone-guy-text {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    bottom: 10px;
    left: 20px;
    margin: 10px;
    width: 50%;
}

.spec3-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.phone-talk {
    position: absolute;
    right: 320px;
    bottom: 550px;
    width: 564px;
    height: 201px;
    background-image: url("../image/talk2.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 32px;
}

.phone-talk p {
    color: black;
    font-family: Pixelify Sans, sans-serif;
    font-size: 18px;
    padding-bottom: 50px;
    width: 85%;
}

.phone-guy {
    display: flex;
    justify-content: center;
    width: 50%;
    padding-top: 50px;
    padding-left: 30px;
}

.footer {
    margin-top: 0;
}

/*talk hover can come out*/
/* 默认隐藏所有对话框 */
.springtrap-talk,
.freddy-talk,
.phone-talk {
    display: none;
}

/* 当鼠标悬停在容器上时，显示对话框 */
.springtrap-container:hover .springtrap-talk {
    display: flex;
}

.goldenfreddy:hover .freddy-talk {
    display: flex;
}

.phone-guy:hover .phone-talk {
    display: flex;
}

@media screen and (max-width: 1380px) {
    .spec1 {
        background-repeat: repeat;
        background-position: center;
        background-size: auto;
        height: 800px;
    }

    .springtrap-text {
        flex-direction: column;
        width: 60%;
        align-items: center;
        padding: 50px;
    }

    .springtrap-text h1 {
        font-size: 64px;
        margin-bottom: 20px;
    }

    .linear-title {
        padding: 20px;
    }

    .springtrap-container {
        width: 100%;
    }

    .springtrap img {
        width: 90%;
        max-width: 400px;
    }

    .springtrap-talk {
        right: 150px;
        width: 320px;
        height: 180px;
    }

    .springtrap-talk p {
        font-size: 15px;
        padding-bottom: 60px;
    }

    .springtrap-form {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .springtrap-form img {
        width: 90%;
    }

    /*spec2*/

    .spec2 {
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
    }

    .golden-freddy-text {
        width: 80%;
    }

    .golden-freddy-text h1 {
        font-size: 64px;
        margin-bottom: 20px;
    }

    .goldenfreddy {
        width: 100%;
        margin-top: 20px;
    }

    .goldenfreddy img {
        width: 60%;
    }

    .freddy-talk {
        width: 320px;
        height: 180px;
        left: 260px;
        top: 145px;
    }

    .freddy-talk p {
        font-size: 14px;
        padding-bottom: 50px;
    }

    .golden-freddy {
        padding-right: 80px;
    }

    .freddy-form {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .freddy-form img {
        width: 70%;
    }

    /*spec3*/

    .spec3 {
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
    }

    .phone-guy-text {
        width: 75%;
        align-content: center;
    }

    .phone-guy-text h1 {
        font-size: 64px;
        margin-bottom: 20px;
    }

    .phone-guy {
        width: 100%;
        margin-top: 20px;
    }

    .phone-guy img {
        width: 80%;
    }

    .phone-talk {
        top: 150px;
        right: 400px;
        width: 500px;
        height: 180px;
    }

    .phone-talk p {
        font-size: 15px;
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 1222px) {
    .springtrap-text h1 {
        font-size: 55px;
    }

    .linear-title {
        padding: 20px;
    }

    .linear-title h2 {
        font-size: 22px;
    }

    .spec1-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .springtrap-text p {
        font-size: 15px;
        width: 90%;
    }

    .springtrap {
        width: 100%;
    }

    .springtrap img {
        width: 100%;
    }

    .springtrap-talk {
        right: 100px;
        top: 80px;
        height: 150px;
    }

    .springtrap-talk p {
        font-size: 14px;
        padding-bottom: 50px;
    }

    /*spec2*/
    .golden-freddy-text {
        left: 60px;
        width: 80%;
    }

    .golden-freddy-text h1 {
        font-size: 55px;
        margin-bottom: 40px;
    }

    .goldenfreddy {
        width: 100%;
        margin-top: 20px;
    }

    .goldenfreddy img {
        width: 60%;
    }

    .freddy-talk {
        left: 170px;
        top: 150px;
        width: 290px;
        height: 140px;
    }

    .freddy-talk p {
        font-size: 13px;
        padding-bottom: 50px;
    }

    .golden-freddy {
        padding-right: 30px;
    }

    .freddy-form {
        margin-top: 30px;
    }

    .freddy-form img {
        width: 70%;
    }

    .spec2-text p {
        font-size: 15px;
        width: 90%;
    }

    /*spec3*/
    .phone-guy-text {
        padding-left: 80px;
    }

    .phone-guy-text h1 {
        font-size: 55px;
        margin-bottom: 30px;
    }

    .phone-guy-text p {
        font-size: 15px;
        width: 90%;
    }

    .phone-guy {
        width: 100%;
        margin-top: 20px;
    }

    .phone-guy img {
        width: 75%;
    }

    .phone-talk {
        top: 170px;
        right: 290px;
        width: 480px;
        height: 150px;
    }

    .phone-talk p {
        font-size: 14px;
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 981px) {
    .springtrap-text h1 {
        font-size: 52px;
    }

    .linear-title {
        padding: 20px;
    }

    .linear-title h2 {
        font-size: 20px;
    }

    .spec1-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .springtrap-text p {
        font-size: 14px;
    }

    .springtrap {
        width: 100%;
    }

    .springtrap img {
        width: 120%;
    }

    .springtrap-talk {
        right: 50px;
        top: 45px;
    }

    .springtrap-talk p {
        font-size: 12px;
        padding-bottom: 50px;
    }


    /*spec2*/
    .golden-freddy-text {
        width: 80%;
    }

    .golden-freddy-text h1 {
        font-size: 50px;
        margin-bottom: 30px;
    }

    .goldenfreddy img {
        width: 70%;
    }

    .freddy-talk {
        left: 103px;
        top: 150px;
        width: 250px;
        height: 120px;
    }

    .freddy-talk p {
        font-size: 13px;
        padding-bottom: 40px;
    }

    .golden-freddy {
        padding-right: 30px;
    }

    .freddy-form {
        margin-top: 30px;
    }

    .freddy-form img {
        width: 80%;
    }

    .spec2-text p {
        font-size: 13px;
        width: 95%;
    }

    /*spec3*/
    .phone-guy-text h1 {
        font-size: 50px;
        margin-bottom: 20px;
        width: 120%;
    }

    .phone-guy-text p {
        font-size: 14px;
        width: 100%;
    }

    .phone-guy {
        width: 100%;
        margin-top: 10px;
    }

    .phone-guy img {
        width: 70%;
    }

    .phone-talk {
        top: 185px;
        right: 180px;
        width: 430px;
        height: 120px;
    }

    .phone-talk p {
        font-size: 13px;
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .back-icon {
        padding: 25px 0 0 40px;
        width: 10%;
    }

    .spec1 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 40px 20px;
        text-align: center;
    }

    .springtrap-container {
        margin-top: 20px;
    }

    .springtrap-text {
        width: 80%;
        padding: 0;
    }

    .springtrap-text h1 {
        font-size: 45px;
    }

    .linear-title {
        padding: 20px;
    }

    .linear-title h2 {
        font-size: 18px;
    }

    .springtrap-text p {
        font-size: 14px;
        width: 100%;
    }

    .springtrap {
        width: 100%;
    }

    .springtrap img {
        width: 50%;
    }

    .springtrap-talk {
        top: 565px;
        right: 20px;
        width: 250px;
        height: 120px;
    }

    .springtrap-talk p {
        font-size: 12px;
        padding-bottom: 50px;
    }

    .springtrap-form img {
        width: 70%;
    }

    /*spec2*/
    .spec2 {
        flex-direction: column;
    }

    .golden-freddy-text {
        left: 0;
        align-items: center;
    }

    .golden-freddy-text h1 {
        font-size: 45px;
        margin-bottom: 80px;
    }

    .goldenfreddy {
        display: flex;
        justify-content: center;
    }

    .goldenfreddy img {
        width: 60%;
    }

    .freddy-talk {
        left: 145px;
        top: 150px;
        width: 250px;
        height: 120px;
    }

    .freddy-talk p {
        font-size: 13px;
        padding-bottom: 40px;
    }

    .golden-freddy {
        padding: 10px;
    }

    .freddy-form {
        padding-bottom: 20px;
        margin-top: 0;
    }

    .freddy-form img {
        width: 100%;
    }

    .spec2-text p {
        font-size: 13px;
        width: 140%;
    }

    /*spec3*/
    .spec3 {
        flex-direction: column;
    }

    .phone-guy-text {
        align-items: center;
        padding-left: 0;
    }

    .phone-guy-text h1 {
        display: flex;
        justify-content: center;
        font-size: 45px;
        margin-bottom: 30px;
        width: 100%;
    }

    .phone-guy-text p {
        font-size: 14px;
        width: 90%;
    }

    .phone-guy-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .phone-guy img {
        width: 40%;
    }

    .phone-talk {
        top: 440px;
        right: 150px;
        width: 360px;
        height: 100px;
    }

    .phone-talk p {
        font-size: 13px;
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 505px) {
    .back-icon {
        padding: 25px 0 0 40px;
        width: 13%;
    }

    .spec1 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 40px 20px;
        text-align: center;
    }

    .springtrap-text {
        left: 0;
        width: 70%;
        align-items: center;
    }

    .springtrap-text h1 {
        font-size: 40px;
    }

    .linear-title h2 {
        font-size: 18px;
    }

    .springtrap-text p {
        font-size: 14px;
        width: 120%;
    }

    .springtrap {
        width: 100%;
    }

    .springtrap img {
        width: 60%;
        margin-top: 40px;
    }

    .springtrap-talk {
        top: 630px;
        right: 80px;
        width: 240px;
        height: 100px;
    }

    .springtrap-talk p {
        font-size: 11px;
        padding-bottom: 30px;
    }

    .springtrap-form img {
        width: 90%;
    }

    /*spec2*/
    .golden-freddy-text {
        left: 0;
        width: 100%;
        align-items: center;
    }

    .golden-freddy-text h1 {
        font-size: 40px;
        margin-bottom: 50px;
    }

    .goldenfreddy img {
        width: 80%;
    }

    .freddy-talk {
        left: 75px;
        top: 125px;
        width: 250px;
        height: 120px;
    }

    .freddy-talk p {
        font-size: 11px;
        padding-bottom: 30px;
    }

    .golden-freddy {
        padding: 10px;
    }

    .freddy-form img {
        width: 150%;
    }

    .spec2-text p {
        font-size: 13px;
        width: 150%;
    }

    /*spec3*/

    .phone-guy-text {
        left: 0;
        width: 70%;
        align-items: center;
    }

    .phone-guy-text h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .phone-guy-text p {
        font-size: 13px;
        width: 120%;
    }

    .phone-guy {
        width: 100%;
        margin-top: 10px;
    }

    .phone-guy img {
        width: 50%;
        margin-left: 20px;
    }

    .phone-talk {
        top: 460px;
        right: 60px;
        width: 300px;
        height: 100px;
    }

    .phone-talk p {
        font-size: 11px;
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 414px) {

    .spec1 {
        background-repeat: repeat;
        background-position: center;
        background-size: auto;
        height: 800px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 40px 20px;
        text-align: center;
    }


    .springtrap-text {
        left: 0;
        width: 100%;
        align-items: center;
    }

    .back-icon {
        padding: 25px 0 0 40px;
        width: 15%;
    }


    .springtrap-text h1 {
        font-size: 32px;
    }

    .linear-title h2 {
        font-size: 15px;
    }

    .springtrap-text p {
        width: 90%;
    }

    .springtrap img {
        width: 60%;
        margin-top: 70px;
    }

    .springtrap-talk {
        top: 560px;
        right: 75px;
        width: 240px;
        height: 100px;
    }

    .springtrap-talk p {
        font-size: 11px;
        padding-bottom: 30px;
    }

    .springtrap-form img {
        width: 90%;
    }

    /*spec2*/
    .golden-freddy-text {
        left: 0;
        width: 100%;
        align-items: center;
    }

    .golden-freddy-text h1 {
        font-size: 32px;
    }

    .goldenfreddy img {
        width: 100%;
    }

    .freddy-talk {
        left: 32px;
        top: 130px;
        width: 230px;
        height: 100px;
    }

    .freddy-talk p {
        font-size: 11px;
        padding-bottom: 30px;
    }

    .golden-freddy {
        margin-top: -50px;
    }

    .freddy-form img {
        width: 150%;
    }

    .spec2-text p {
        width: 180%;
    }

    /*spec3*/

    .phone-guy-text {
        left: 0;
        width: 100%;
        align-items: center;
    }

    .phone-guy-text h1 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .phone-guy-text p {
        width: 90%;
    }

    .phone-guy {
        width: 100%;
        margin-top: 45px;
    }

    .phone-guy img {
        width: 55%;
        margin-left: 120px;
    }

    .phone-talk {
        top: 485px;
        right: 60px;
        width: 300px;
        height: 100px;
    }

    .phone-talk p {
        font-size: 11px;
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 414px) {
    .spec1 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 40px 20px;
        text-align: center;
    }

    .springtrap-text {
        left: 0;
        /* 重置偏移 */
        width: 100%;
        /* 占满父容器 */
        padding: 10px 0;
        /* 可适当减少内边距 */
        align-items: center;
    }
}