// Team Style 
.team_area_1{
    .content{
        position: relative;
        z-index: 11;
        .team-list{
            padding-left: 220px;
            @include media-query(992px) {
                padding-left: 0px;
            }
            .member{
                position: relative;
                overflow: hidden;
                display: block;
                margin-bottom: 32px;
                cursor: pointer;
                &.active{
                    .name{
                        &::after{
                            content: '';
                            position: absolute;
                            width: 100%;
                            top: 50%;
                            margin-left: 10px;
                            border-top: 1px solid $accent-2;
                        }
                    }
                }
                .number{
                    font-weight: 400;
                    font-size: 12px;
                    line-height: 120%;
                    color: $black-1;
                    margin-bottom: 4px;
                }
                .name{
                    display: block;
                    position: relative;
                    font-weight: 700;
                    font-size: 27px;
                    line-height: 130%;
                    letter-spacing: -0.01em;
                    color: $black-1;
                    margin-bottom: 0;
                }
            }
        }
        .member-details{
            position: relative;
            padding-top: 80px;
            display: none;
            &.dblock{
                display: block;
            }
            .block{
                .detail-box{
                    position: relative;
                    max-width: 337px;
                    margin-left: 80px;
                    @include media-query(992px) {
                        margin-left: 30px;
                    }
                    @include media-query(512px) {
                        margin-left: 12px;
                    }
                    .member{
                        float: right;
                        margin-top: -64px;
                        .number{
                            font-weight: 400;
                            font-size: 12px;
                            line-height: 120%;
                            color: $black-1;
                            margin-bottom: 4px;
                        }
                        .name{
                            font-weight: 700;
                            font-size: 27px;
                            line-height: 130%;
                            letter-spacing: -0.01em;
                            color: $black-1;
                            margin-bottom: 0;
                        }
                    }
                    .rank{
                        position: absolute;
                        top: 85px;
                        right: -114px;
                        transform: rotate(-90deg);
                        @include media-query(512px) {
                           display: none;
                        }
                    }
                    .box-bg{
                        padding: 32px !important;
                    }
                    .social-links{
                        display: flex;
                        justify-content: space-around;
                        margin-top: 16px;
                        i{
                            font-size: 22px;
                            color: $gray-2;
                        }
                    }
                }
                .about{
                    p{
                        padding: 100px 0 0 120px;
                        @include media-query(992px) {
                            padding: 50px 0 0 30px;
                        }
                        @include media-query(512px) {
                            padding: 50px 0 0 0px;
                        }
                    }
                }
            }
        }
    }
}

// Team 2 
.team_area_2{
    .content{
        position: relative;
        z-index: 99;
        .member-box{
            position: relative;
            padding-top: 80px;
            .member-detail{
                max-width: 385px;
                
                @include media-query(767px) {
                    margin: 0 auto;
                }
                .member{
                    float: right;
                    margin-top: -64px;
                    transition: all 0.5s ease-out;
                    opacity: 0;
                    .number{
                        font-weight: 400;
                        font-size: 12px;
                        line-height: 120%;
                        color: $black-1;
                        margin-bottom: 4px;
                    }
                    .name{
                        font-weight: 700;
                        font-size: 27px;
                        line-height: 130%;
                        letter-spacing: -0.01em;
                        color: $black-1;
                        margin-bottom: 0;
                    }
                }
                .box-bg{
                    &.p-32{
                        @include media-query(492px) {
                            padding: 32px;
                        }
                    }
                }
            }
            .rank{
                position: absolute;
                top: 53px;
                left: 200px;
                width: 100%;
                transform: rotate(-90deg);
                transition: all 0.5s ease-out;
                opacity: 0;
                @include media-query(1299px){
                    top: 78px;
                    left: 186px
                }
                @include short-query(768px , 991px) {
                    top: 120px;
                    left: 154px;
                }
                @include media-query(767px) {
                    top: 25px;
                    left: 174px;
                }
                @include media-query(492px) {
                    display: none !important    ;
                }
            }
            &:hover{
                .member-detail{
                    .member{
                        opacity: 1;
                        transition: all 0.5s ease-in;
                    }
                }
                .rank{
                    opacity: 1;
                    transition: all 0.5s ease-in;
                }
            }
            &.up{
                margin-top: -80px;
                @include media-query(992px) {
                    margin-top: 0px;
                }
            }
        }
    }
}
.dark{
    .team_area_1{
        .content{
            .team-list{
                .member{
                    .number{
                        color: $gray-2;
                    }
                    .name{
                        color: $gray-3;
                    }
                }
            }
            .member-details{
                .block{
                    .detail-box{
                        .member{
                            .number{
                                color: $gray-2;
                            }
                            .name{
                                color: $gray-3;
                            }
                        }
                    }
                }
            }
        }
    }
    // Team 2 
    .team_area_2{
        .content{
            .member-box{
                .member-detail{
                    .member{
                        .number{
                            color: $gray-3;
                        }
                        .name{
                            color: $gray-3;
                        }
                    }
                }
            }
        }
    }
}