* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.header {
    height: 80px;
    padding: 10px 20px;
}

.nav {
    position: relative;
    height: 60px;
    display: flex;
    gap: 10px;
    padding-left: 30px;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    border-radius: 30px;
}

.nav li:nth-child(2) {
    position: absolute;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #000;
}

.nav li {
    height: 60px;
    line-height: 40px;
    padding: 10px 20px;
    /* background-color: pink; */
}

.nav li:first-child {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-right: auto;
    font-weight: 700;
    font-size: 20px;
}


.nav li:first-child a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #000;
    border-radius: 5px;
}

.nav li:last-child {
    margin-left: auto;
}

.nav li a {
    text-decoration: none;
    color: #000;
}

.nav li:last-child .register {
    display: inline-block;
    min-width: 100px;
    height: 40px;
    padding: 0 20px;
    margin-left: 20px;
    text-align: center;
    border-radius: 20px;
    background-color: #2e5bff;
    color: #fff;
}


/* 以上是导航栏样式 */


.page-title {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 600px;
    grid-template-rows: 450px;
    gap: 20px;
}

.page-title .right,
.page-title .left {
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.page-title .left {
    padding: 40px 0;
}

.page-title .left>p {
    margin: 20px 0 40px 0;
}

.page-title .left span {
    display: inline-block;
    min-width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    padding: 0 20px;
    margin-right: 25px;
    border: 1px solid #000;
    border-radius: 20px;
}

.page-title .left .blue {
    background-color: #2e5bff;
    color: #fff;
}

.page-title .left .list {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    border-top: 1px solid #bbb;
}

.page-title .left .list .item {
    width: calc((100% - 30px)/4);
}

.page-title .left .list h2 {
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 28px;
}

.page-title .left .list p {
    height: 40px;
    width: 100%;
    line-height: 40px;
    text-align: center;
}

.page-title .right .img-box {
    width: 100%;
    height: 100%;
}

.page-title .right .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1280px) {
    .page-title {
        grid-template-columns: minmax(0, 600px);
        grid-template-rows: repeat(2, 450px);
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .nav li:not(:first-child):not(:last-child):not(:nth-child(2)) {
        display: none;
    }

    .page-title {
        grid-template-columns: minmax(0, 400px);
        grid-template-rows: 450px 300px;
    }
}

@media screen and (max-width: 400px) {
    .page-title {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 150px;
    }

    .nav li:last-child {
        display: none;
    }

    .nav li:nth-child(2) {
        display: block;
    }
}