:root {
    --main-color: #FFC0CB;
    --page-item-background-color: #FFC0CB40;
    --page-item-color: #ffb6c1;
}

* {
    padding: 0;
    margin: 0;
    /*background: #f6f6f7;*/
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    color: var(--page-item-color);
    text-decoration: none
}

ul {
    list-style-type: none;
}


/* body {
    background: linear-gradient(rgb(79 217 118 / 3%), #ffffff);
    background-attachment: fixed;
} */

.header {
    border-bottom: 1px solid rgb(247 248 250);
    width: 100%;
    background-color: white;
    text-align: center;
    margin: auto;
    padding: 0 10px;
    /* box-shadow: 0px 0px 20px 3px #cdf5d04a; */
    position: absolute;
    top: 0;
    z-index: 99999;
}

.header-box {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 992px;
    margin: auto;
}

.header-box .logo {
    color: var(--page-item-color);
    font-size: 22px;
    font-weight: 700;
}

.header-box .info {
    display: flex;
    align-items: center;
}

.header-box .info .search {
    margin-right: 15px;
}

.header-box .info .search span {
    margin-right: -24px;
}

.header-box .info .search input {
    border: 0;
    padding: 2px 5px 2px 26px;
    border-radius: 5px;
    background-color: #f5f7fb;
    width: 220px;
    line-height: 28px;
}

.header-box .info .search input:focus {
    outline-color: var(--main-color);
}

.header-box .info .gold {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 15px;
    background-color: var(--main-color);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    height: 32px;
}

.header-box .info .gold div:nth-child(1) {
    width: 15px;
    line-height: 15px;
    border-radius: 50%;
    background-color: #ffd400;
    font-size: 12px;
    text-align: center;
    color: #ffffff;
}

.header-box .info .gold div:nth-child(2) {
    margin: 0 5px;
}

.container {
    max-width: 998px;
    margin-top: 55px;
}

.video-nav {
    background-color: #ffffff;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    margin: 5px -7px;
    border-radius: 10px;
}

.video-nav div {
    margin: 7px;
    padding: 4px 12px;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.video-nav div.active {
    color: #ffffff;
    background-color: var(--main-color);
}

.video-nav div:hover {
    color: #ffffff;
    background-color: var(--main-color);
}

.video-nav div a {
    color: inherit;
}

.video-type {
    margin: 55px 0;
}

.video-type-box .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-type-box .head .title {
    font-size: 18px;
    font-weight: 700;
    color: var(--page-item-color);
}

.video-type-box .head .info {
    display: flex;
    align-items: center;
    color: #bdbdbd;
}

.video-type-box .videos {
    margin: 15px 0;
}

.video-type-box .videos ul {
    overflow: hidden;
    margin: 0 -5px;
}

.video-type-box .videos ul>p {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-top: 20vh;
}

.video-type-box .videos .item {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
}

.video-type-box .videos .item .title {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 5px;
    padding-bottom: 3px;
    height: 40px;
}

.video-type-box .videos li {
    padding: 5px;
}

.video-type-box .videos li .item .image {
    width: 100%;
    height: 29vw;
    background-position: center;
    background-size: cover;
}

@media (min-width: 768px) {
    .video-type-box .videos li .item .image {
        height: 135px;
    }
    .video-play .play {
        height: 360px !important;
    }
    .login .login-box {
        width: 350px;
    }
}

@media (min-width: 992px) {
    .video-type-box .videos li .item .image {
        height: 145px;
    }
    .video-play .play {
        height: 480px !important;
    }
    .login .login-box {
        width: 350px;
    }
}

.page {
    margin: 10px 0px 70px;
}

.page .rowdx {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.page .rowdx .item {
    padding: 7px 12px;
    color: var(--page-item-color);
    margin: 3px;
    border-radius: 5px;
    background-color: var(--page-item-background-color);
    font-weight: 700;
}

.page .rowdx .item.active {
    color: #fff;
    background-color: var(--main-color);
}

.video-play {
    background-color: #ffffff;
    margin: 15px 0;
    box-shadow: 0px 4px 20px 4px rgb(79 217 118 / 10%);
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.video-play .play {
    width: 100%;
    height: 70vh;
}

.video-play .title {
    font-size: 18px;
    font-weight: 700;
    padding: 10px;
}

.user {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.user .avatar {
    height: 45px;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    color: #ffffff;
    border-radius: 50%;
    border: 1px solid var(--main-color);
}

.user .col-1 {
    display: flex;
    align-items: center;
}

.user .id {
    margin: 0 10px;
    font-size: 18px;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    margin: 15px 0;
    padding: 20px 0;
    background-color: rgb(247 248 250);
    border-radius: 8px;
}

.user-info div .row-1 {
    color: var(--main-color);
    font-size: 20px;
    font-weight: 700;
}

.user-info div .row-2 {
    color: #ababab;
}

.button-secondary {
    padding: 5px 10px;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    border-radius: 5px;
}

.box-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--page-item-color);
}

.invitation-box {
    margin: 15px 0;
}

.invitation-box li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    margin: 5px 0;
    border-bottom: 1px solid rgb(248 249 252);
}

.invitation-box li .col-2 {
    font-size: 17px;
    font-weight: 700;
}

.invitation-box li .bill-type-1 {
    color: #f9c56e;
}

.invitation-box li .bill-type-0 {
    color: #ff6b6b;
}

.invitation-box li .col-1,
.invitation-box li .col-3 {
    color: #ababab;
}

.user-invitation {
    margin: 20px 0;
}

.user-invitation .info {
    margin: 15px 0;
}

.user-invitation .button-secondary {
    text-align: center;
    font-size: 15px;
    padding: 8px;
}

.login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75vh;
}

.login-box {
    /* box-shadow: 0px 0px 20px 3px #cdf5d04a; */
    width: 90%;
    padding: 10px 10px 20px;
    border-radius: 15px;
    background-color: #ffffff;
}

.login-box div {
    margin: 10px;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
}

.login-box .col-1 a div {
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    padding: 0 0 10px;
}

.login-box .col-1 p {
    font-size: 12px;
    font-weight: normal;
    background-color: rgb(247 248 250);
    margin: 5px 0 0;
    color: #bbbbbb;
    padding: 4px 0;
}

.login-box .col-2 {
    background-color: var(--main-color);
    color: #ffffff;
    text-align: center;
}

.login-box .col-3 {
    background-color: #ffe213;
}

.signin {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0 0 0 / 50%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    /* max-width: 500px; */
}

.signin-box {
    background-color: #fff;
    padding: 20px 15px;
    border-radius: 5px;
    width: 80vw;
    max-width: 340px;
}

.signin-box .row-1 {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.signin-box .row-2 {
    margin: 20px 0 30px;
    font-size: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.integral {
    box-shadow: 0 0 12px 2px #ffe319ad;
    margin: 0 10px;
    width: 20px;
    height: 20px;
    background-color: #ffe013;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signin-box .row-3 {
    text-align: center;
    padding: 8px 90px;
    color: #ffffff;
    border-radius: 5px;
    background-color: var(--main-color);
    font-size: 16px;
    font-weight: 700;
}

.video-ad {
    display: flex;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
}

.video-ad .image {
    width: 50px;
    height: 50px;
    background-size: cover;
    background-position: right;
    border-radius: 5px;
}

.video-ad .video-info {
    display: flex;
}

.video-ad .video-info .row-1 {
    margin-bottom: 5px;
    font-size: 16px;
}

.video-ad .video-info .row-2 {
    display: flex;
}

.video-ad .video-info .ad-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
}

.video-ad .video-info .row-2 .col-1 {
    /* background-color: antiquewhite; */
    padding: 2px 5px 0px;
    border-radius: 4px;
    border: 1px solid #ff1414;
    font-size: 12px;
    color: #ff1414;
}

.video-ad .video-info .row-2 .col-2 {
    margin: 0 5px;
    color: #969696;
    font-size: 12px;
}

.video-ad .video-info .row-2 .col-2 span {
    font-size: 15px;
    color: #ffe013;
}

.video-ad .video-button {
    background-color: var(--main-color);
    color: #fff;
    padding: 5px 17px;
    border-radius: 5px;
}

.btn-danger {
    background-color: var(--page-item-color);
    border-color: var(--page-item-background-color);
}