/* 萌神手写体字体 */
@font-face {
    font-family: lovezjl;
    src: url("../fonts/lovezjl.ttf");
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    outline: none;
    font-family: lovezjl;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    /* 标题文字大小 */
    --titleSize: 3.5rem;
    --contextSize: 1.5rem;
}

html,
body {
    background: #f1f2f6;
}

#lovezjl {
    height: 100%;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

/* 滚动条 */
body::-webkit-scrollbar {
    width: 5px;
    height: 1px;
}

body::-webkit-scrollbar-thumb {
    background: black;
}

/* 统一过渡 */
.loadMore,
.lovezjl2ContentText li,
.lovezjl3ContentBoxText,
.lovezjl3ContentBox img,
.lovezjl3ContentBtn {
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

/* 未渲染则不显示 */
[v-cloak] {
    display: none;
}

/* 打字光标 */
.typed-cursor {
    opacity: 1;
    animation: typedjsBlink 0.7s infinite;
    -webkit-animation: typedjsBlink 0.7s infinite;
    animation: typedjsBlink 0.7s infinite;
}

@keyframes typedjsBlink {
    50% {
        opacity: 0.0;
    }
}

@-webkit-keyframes typedjsBlink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1;
    }
}

.typed-fade-out {
    opacity: 0;
    transition: opacity .25s;
    -webkit-animation: 0;
    animation: 0;
    -webkit-transition: opacity .25s;
    -moz-transition: opacity .25s;
    -ms-transition: opacity .25s;
    -o-transition: opacity .25s;
}

/* 主框架 */
.lovezjl {
    position: relative;
}

/* 首页 */
.lovezjl1 {
    height: 800px;
    overflow: hidden;
}

/* 首页内容 */
.lovezjlContent {
    position: relative;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
    box-sizing: border-box;
}

.lovezjl1Content {
    position: absolute;
    box-shadow: 10px 0 30px black;
    z-index: 2;
}

.ContentTitle {
    font-size: var(--titleSize);
    margin-bottom: 20px;
}

.ContentSubTitle {
    font-size: var(--contextSize);
    margin-bottom: 20px;
}

.ContentContact {
    display: flex;
    margin-bottom: 20px;
}

.ContentContact li {
    margin-right: 20px;
    font-size: var(--contextSize);
}

.ContentContact i {
    color: black;
}

.el-tooltip__popper {
    font-size: 1rem;
}

.loadMore {
    display: inline-block;
    cursor: pointer;
    padding: 10px 50px 15px;
    border: 1px solid black;
    font-size: 1.3rem;
}

.loadMore:hover {
    color: white;
    box-shadow: inset 0 -100px 0 black;
}

/* 首页背景 */
.lovezjlBg {
    width: 50%;
    height: 100%;
    position: absolute;
}

.lovezjl1Bg {
    right: 0;
    background: url("../images/bg.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.lovezjl2Bg {
    left: 0;
    background: url("../images/bg2.jpg");
    background-size: cover;
    background-attachment: fixed;
}

/* 内容 */
.lovezjl2 {
    height: 1000px;
}

.lovezjl2Content {
    width: 100%;
}

.lovezjl2Content>div,
.lovezjl3Content>div {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.lovezjl2ContentTitle {
    width: 100%;
    font-size: var(--titleSize);
    text-align: center;
    margin-bottom: 30px;
}

.lovezjl2ContentMe {
    display: flex;
    justify-content: center;
    padding: 0 10%;
    margin-bottom: 30px;
}

.lovezjl2ContentImg {
    width: 200px;
    height: 300px;
    min-width: 200px;
    min-height: 300px;
    overflow: hidden;
    color: black;
    border: 10px solid white;
    box-shadow: rgba(50, 50, 93, 0.35) 0px 13px 27px -5px, rgba(0, 0, 0, 0.4) 0px 8px 16px -8px;
    margin-right: 5%;
    transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    -o-transform: rotate(2deg);
}

.lovezjl2ContentImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lovezjl2ContentText {
    font-size: var(--contextSize);
}

.lovezjl2ContentTextBox {
    line-height: 2rem;
}

.lovezjl2ContentTextBox b {
    padding: 0 5px;
}

.lovezjl2ContentTextBox span {
    padding: 0 1rem;
}

.lovezjl2ContentTextBox span::after {
    content: '>';
}

.lovezjl2ContentText ul {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.lovezjl2ContentText li {
    width: 100%;
    height: 150px;
    margin: 0 15px;
    background: white;
    position: relative;
    padding: 5px 20px;
    box-sizing: border-box;
    box-shadow: rgba(50, 50, 93, 0.35) 0px 13px 27px -5px, rgba(0, 0, 0, 0.4) 0px 8px 16px -8px;
}

.lovezjl2ContentText li:hover {
    transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 23px 27px -5px, rgba(0, 0, 0, 0.3) 0px 18px 16px -8px;
}

.lovezjl2ContentText li i {
    position: absolute;
    font-size: 5rem;
    color: rgba(128, 128, 128, .15);
    bottom: 10px;
    right: 10px;
}

.lovezjl2ContentText li span {
    font-size: 2rem;
}

.lovezjl2ContentText li p {
    font-size: var(--contextSize);
}

.lovezjl2ContentText li p:nth-child(4) {
    font-size: 1.1rem;
}

/* 项目介绍 */
.lovezjl3 {
    height: auto;
    background: white;
    border-radius: 200px 200px 0 0;
    -webkit-border-radius: 200px 200px 0 0;
    -moz-border-radius: 200px 200px 0 0;
    -ms-border-radius: 200px 200px 0 0;
    -o-border-radius: 200px 200px 0 0;
}

.lovezjl3Content {
    width: 100%;
    height: auto;
}

.lovezjl3ContentList {
    width: 1000px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.lovezjl3ContentBox,
.lovezjl3ContentBoxTc {
    width: 300px;
    height: 400px;
    background: white;
    margin-bottom: 50px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lovezjl3ContentBox {
    box-shadow: rgba(50, 50, 93, 0.35) 0px 13px 27px -5px, rgba(0, 0, 0, 0.4) 0px 8px 16px -8px;
}

.lovezjl3ContentBoxTc {
    height: 0 !important;
}

.lovezjl3ContentBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.lovezjl3ContentBox:hover img {
    transform: scale(1.5) rotate(5deg);
    -webkit-transform: scale(1.5) rotate(5deg);
    -moz-transform: scale(1.5) rotate(5deg);
    -ms-transform: scale(1.5) rotate(5deg);
    -o-transform: scale(1.5) rotate(5deg);
}

.lovezjl3ContentBoxText {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .7);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    padding: 20px;
    box-sizing: border-box;
}

.lovezjl3ContentBox:hover .lovezjl3ContentBoxText {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

.lovezjl3ContentTitle {
    font-size: 3rem;
}

.lovezjl3ContentText {
    font-size: var(--contextSize);
}

.lovezjl3ContentBoxText ul {
    display: flex;
    flex-wrap: wrap;
    margin: 3px 0 10px;
}

.lovezjl3ContentBoxText li {
    margin-right: 10px;
}

.lovezjl3ContentBtn {
    display: inline-block;
    cursor: pointer;
    padding: 5px 30px 8px;
    border: 1px solid black;
    font-size: 1.3rem;
    color: black;
    margin-top: 20px;
}

.lovezjl3ContentBtn:hover {
    color: white;
    box-shadow: inset 0 -100px 0 black;
}

.lovezjl3LoadMore {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* 联系我 */
.lovezjl4 {
    height: 800px;
}

.lovezjl4Content {
    left: 50%;
    flex-wrap: wrap;
}

.lovezjl4Bg {
    left: 0;
    background: url("../images/bg.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.lovezjl4ItemTitle {
    font-size: 2rem;
}

.lovezjl4ItemContext {
    font-size: 1.2rem;
}

.lovezjl4Content li {
    margin: 20px 0;
}

/* 项目弹出框 */
.el-dialog {
    width: 80%;
}

.el-dialog__header {
    padding: 30px 30px 20px;
}

.el-dialog__title {
    font-size: 2rem;
}

.el-dialog__body {
    font-size: 1.2rem;
    padding-top: 0;
}

.el-dialog__body p {
    padding: 0 10px;
}

.el-dialog__body h2 {
    padding-left: 15px;
    border-left: 4px solid #00a2ff;
    line-height: 50px;
    background: #f2f7fb;
    margin: 10px 0;
    font-size: 1.5rem;
    font-weight: normal;
}

.el-dialog__body .lovezjl3ContentBtn {
    margin: 0;
    margin-bottom: 20px;
}

.el-dialog__body ul {
    display: flex;
    flex-wrap: wrap;
}

.el-dialog__body ul img {
    width: 300px;
    margin: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    cursor: pointer;
}

/* 工作经历 */
.lovezjl5 {
    height: auto;
    background: #f1f2f6;
    padding: 50px 0;
}

.lovezjl5Content {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.lovezjl5ContentList {
    width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lovezjl5ContentBox {
    width: 100%;
    background: #ffffff;
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    transition: all .3s ease-in-out;
    position: relative;
    border-radius: 10px;
}

.lovezjl5ContentBox:hover {
    transform: translateY(-10px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;
}

.lovezjl5ContentText {
    width: 100%;
}

.lovezjl5ContentCompany {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.lovezjl5ContentRole {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.lovezjl5ContentDuration {
    font-size: 1rem;
    color: gray;
    margin-bottom: 10px;
}

.lovezjl5ContentDescription {
    font-size: 1rem;
    line-height: 1.5rem;
    max-height: 6rem;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-in-out;
}

.lovezjl5ContentDescription.more {
    max-height: 1000px; /* 设置一个足够大的值以确保内容完全展开 */
}

.lovezjl5ContentLogo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
}

.lovezjl5ContentLogo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lovezjl5ContentMore {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

/* 自适应 */
@media(max-width:1400px) {
    .lovezjl2 {
        height: 1200px;
    }

    .lovezjl2ContentText ul {
        flex-wrap: wrap;
    }

    .lovezjl2ContentText li {
        width: 46%;
        margin: 0 0 30px;
    }

    .lovezjl2ContentMe {
        padding: 0 5%;
    }
}

@media(max-width:1070px) {
    .lovezjl3 {
        border-radius: 150px 150px 0 0;
        -webkit-border-radius: 150px 150px 0 0;
        -moz-border-radius: 150px 150px 0 0;
        -ms-border-radius: 150px 150px 0 0;
        -o-border-radius: 150px 150px 0 0;
    }

    .lovezjl3ContentList {
        width: 660px;
        min-width: 660px;
    }
}

@media(max-width: 930px) {
    * {
        --titleSize: 2.8rem;
        --contextSize: 1.2rem;
    }

    .lovezjl1Content {
        padding: 40px;
    }

    .lovezjl2ContentMe {
        padding: 0;
    }

    .lovezjl2 {
        height: 1500px;
    }

    .lovezjl2ContentMe {
        flex-wrap: wrap;
    }

    .lovezjl2ContentImg {
        margin-bottom: 30px;
    }
}

@media(max-width: 778px) {
    .lovezjl3 {
        border-radius: 100px 100px 0 0;
        -webkit-border-radius: 100px 100px 0 0;
        -moz-border-radius: 100px 100px 0 0;
        -ms-border-radius: 100px 100px 0 0;
        -o-border-radius: 100px 100px 0 0;
    }

    .lovezjl3ContentList {
        width: 300px;
        min-width: 300px;
    }

    .lovezjl3ContentBoxText {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
}

@media(max-width: 560px) {
    .lovezjl1 {
        height: 700px;
    }

    .lovezjl1Bg {
        width: 100%;
        height: 40%;
        top: 0;
    }

    .lovezjl1Content {
        bottom: 0;
        width: 100%;
        height: 60%;
    }

    .loadMore {
        padding: 5px 30px 10px;
    }

    .lovezjl2 {
        height: 1800px;
    }

    .lovezjl2Content {
        padding: 80px 40px;
    }

    .lovezjl2ContentText li {
        width: 100%;
    }

    .lovezjl4Content {
        width: 65%;
        left: 30%;
        padding: 20px;
    }

    .lovezjl4Bg {
        width: 35%;
    }

    .el-dialog {
        width: 90%;
    }

    .el-dialog__body ul {
        text-align: center;
    }

    .el-dialog__body ul img {
        width: 80%;
    }
}

/* 工作经历 */
@media(max-width: 560px) {
    .lovezjl5ContentList {
        width: 300px;
    }

    .lovezjl5ContentBox {
        padding: 15px;
    }

    .lovezjl5ContentCompany {
        font-size: 1.2rem;
    }

    .lovezjl5ContentRole {
        font-size: 1rem;
    }

    .lovezjl5ContentDuration {
        font-size: 0.9rem;
    }

    .lovezjl5ContentDescription {
        font-size: 0.9rem;
    }

    .lovezjl5ContentLogo {
        width: 80px;
        height: 80px;
    }
}