@charset 'UTF-8';
@import 'mixins';

$fontColor: #f8eaad;

.page-activity {
    background: #c73434;
    min-height: 100vh;
    .mod-banner {
        position: relative;
        width: px2rem(750);
        height: px2rem(561);
        background: url(../../img/bg.png) no-repeat;
        background-size: 100% 100%;
        color: $fontColor;
        text-align: center;
        margin: 0 auto;
        h4 {
            position: absolute;
            bottom: px2rem(100);
            font-size: px2rem(24);
            width: 100%;
        }
        p {
            position: absolute;
            bottom: px2rem(60);
            font-size: px2rem(20);
            width: 100%;
        }
    }
    .mod-content {
        position: relative;
        padding-top: px2rem(130);
        .avatar {
            position: absolute;
            top: -px2rem(40);
            left: 50%;
            transform: translateX(-50%);
            width: px2rem(148);
            height: px2rem(148);
            img {
                width: 100%;
                height: 100%;
                border-radius: 50%;
            }
        }
        p {
            text-align: center;
            color: $fontColor;
        }
        .invide {
            font-size: px2rem(24);
        }
        .code {
            margin-top: px2rem(30);
            font-size: px2rem(48);
            font-weight: bold;
        }
        .btn-wrap {
            margin-top: px2rem(35);
            text-align: center;
            height: px2rem(55);
            font-size: px2rem(24);
            line-height: px2rem(55);
            span {
                display: inline-block;
                color: #574c1e;
                padding: 0 px2rem(25);
                background: #fadf6c;
                vertical-align: middle;
                border-radius: px2rem(30);
                box-shadow: 0px px2rem(5) 0px 0px #d59029;
            }
        }
        .tips {
            margin-top: px2rem(40);
            font-size: px2rem(20);
        }
        .link {
            margin-top: px2rem(127);
            a {
                color: $fontColor;
                font-size: px2rem(28);
            }
        }
    }
    .mod-rule {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        .role-wrap {
            width: px2rem(600);
            height: px2rem(557);
            position: absolute;
            top: px2rem(150);
            left: 50%;
            transform: translateX(-50%);
            background: #fadf6c;
            overflow-y: scroll;
            .btn-close {
                width: px2rem(27);
                height: px2rem(27);
                position: absolute;
                right: px2rem(24);
                top: px2rem(24);
                em,i {
                    position: absolute;
                    width: px2rem(3.5);
                    height: px2rem(38);
                    background: #574c1e;
                    left: 50%;
                    top: -px2rem(5.5);
                }
                i {
                    transform: rotateZ(45deg);
                }
                em {
                    transform: rotateZ(-45deg);
                    
                }
            }
            .rule-content {
                padding: px2rem(47) px2rem(40) 0 px2rem(40);
                h3 {
                    color: #574c1e;
                    font-size: px2rem(30);
                    text-align: center;
                    margin-bottom: px2rem(47);
                }
                p {
                    color: #574c1e;
                    line-height: px2rem(30);
                    font-size: px2rem(24);
                    margin-bottom: px2rem(32);
                }
            }
        }
    }
}