@import '../../../../style/variables.scss';

.my-account-head{
    position: relative;
    min-height: 70vh;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding: 130px 0 0;
    margin: 0;
    gap: 0;
    @media only screen and (min-width: 992px) {
        min-height: 94vh;
    }
    .banner-bg-video{
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        left: 0;
        top: 0;
        z-index: -1;
        pointer-events: none;
        video{
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none;
        }
        &::after{
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba($color: $mainText, $alpha: 0.3);
        }
    }
    .user-head-card{
        position: relative;
        width: 100%;
        .inner-my-account-head{
            display: flex;
            align-items: flex-start;
            flex-direction: column;
            gap: 20px;
            padding: 15px;
            background-color: $white;
            border: 1px solid $primary;
            box-shadow: 0px 10px 72.5px 0px #0000001A;
            @media only screen and (min-width: 768px) {
                padding: 20px;
            }
            @media only screen and (min-width: 991px) {
                flex-direction: row;
            }
            @media only screen and (min-width: 1200px) {
                padding: 20px 40px 20px 20px;
                gap: 30px 30px;
            }
            @media only screen and (min-width: 1600px) {
                gap: 30px 60px;
                padding: 20px 100px 20px 20px;
            }
            &::before{
                content: '';
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                height: 50%;
                background-color: $white;
                z-index: -1;
            }
            .user-profile-wrapper{
                width: 100px;
                height: 100px;
                position: relative;
                flex-shrink: 0;
                margin: 0 auto;
                // border-radius: 100%;
                @media only screen and (min-width: 768px){
                    width: 120px;
                    height: 120px;
                   
                }
                @media only screen and (min-width: 991px){
                    width: 240px;
                    height: 240px;
                    border-radius: 0%;
                    margin-left: unset;
                }
                @media only screen and (min-width: 1200px){
                    width: 280px;
                    height: 280px;
                }
                @media only screen and (min-width: 1600px){
                    width: 305px;
                    height: 305px;
                }
                img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    // border-radius: 100%;
                    @media only screen and (min-width: 991px){
                        // border-radius: 0%;
                    }
                }
            }
            .user-profile-content{
                width: 100%;
                .title{
                    font-size: 22px;
                    line-height: 1.1;
                    font-weight: 400;
                    font-family: 'Canto';
                    color: $black25;
                    text-transform: capitalize;
                    text-align: center;
                    @media only screen and (min-width: 768px){
                        font-size: 28px;
                    }
                    @media only screen and (min-width: 992px){
                        font-size: 28px;
                        text-align: left;
                    }
                    @media only screen and (min-width: 1200px){
                        font-size: 34px;
                    }
                    @media only screen and (min-width: 1600px){
                        font-size: 44px;
                    }
                }
                p{
                    margin: 0 auto 20px;
                    display: -webkit-box;
                    -webkit-line-clamp: 4;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    color: $grey5E;
                    font-family: 'Avenir Next';
                    font-weight: 400;
                    font-size: 14px;
                    text-align: center;
                    @media only screen and (min-width: 768px){
                        font-size: 16px;
                    }
                    @media only screen and (min-width: 992px){
                        text-align: left;
                    }
                    @media only screen and (min-width: 1200px){
                        font-size: 18px;
                    }
                    @media only screen and (min-width: 1600px){
                        font-size: 20px;
                    }
                }
                .acount-about-list{
                    display: grid;
                    grid-template-columns: repeat(1,1fr);
                    gap: 15px;
                    padding-top: 30px;
                    margin-top: 20px;
                    border-top: 1px solid $primary;
                    @media only screen and (min-width: 420px){
                        grid-template-columns: repeat(2,1fr);
                        gap: 25px 10px;
                    }
                    @media only screen and (min-width: 768px){
                        grid-template-columns: repeat(3,1fr);
                    }
                    @media only screen and (min-width: 992px){
                        grid-template-columns: repeat(4,1fr);
                    }
                    @media only screen and (min-width: 1600px){
                        gap: 30px 20px;
                    }
                    li{
                        display: flex;
                        align-items: center;
                        gap: 10px;
                        word-break: break-all;
                        @media only screen and (min-width: 1600px){
                            gap: 13px;
                        }
                        .iconbox{
                            width: 34px;
                            height: 34px;
                            border: 1px solid $primary;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            flex-shrink: 0;
                            @media only screen and (min-width: 1200px){
                                width: 44px;
                                height: 44px;
                            }
                            @media only screen and (min-width: 1600px){
                                width: 50px;
                                height: 50px;
                            }
                            i{
                                color: $primary;
                                font-size: 18px;
                                @media only screen and (min-width: 1200px){
                                    font-size: 22px;
                                }
                                @media only screen and (min-width: 1600px){
                                    font-size: 24px;
                                }
                                &.ns-icon{
                                    width: 18px;
                                    height: 18px;
                                    @media only screen and (min-width: 1200px){
                                        width: 22px;
                                        height: 22px;
                                    }
                                    @media only screen and (min-width: 1600px){
                                        width: 24px;
                                        height: 24px;
                                    }
                                    &::before{
                                        background-color: $primary;
                                    }
                                }
                            }
                            img{
                                width: 18px;
                                @media only screen and (min-width: 1600px){
                                    width: 22px;
                                }
                                @media only screen and (min-width: 1600px){
                                    width: 24px;
                                }
                            }          
                        }
                        .content{
                            span{
                                font-size: 13px;
                                font-family: 'Avenir Next';
                                font-weight: 500;
                                color: $black25;
                                line-height: 1.3;
                                display: block;
                                @media only screen and (min-width: 768px){
                                    font-size: 14px;
                                }
                                @media only screen and (min-width: 991px){
                                    font-size: 16px;
                                }
                                @media only screen and (min-width: 1600px){
                                    font-size: 20px;
                                }
                                &.smallText{
                                    color: $grey5E;
                                    font-size: 13px;
                                    font-weight: 400;
                                    line-height: 1.25;
                                    word-break: break-word;
                                    @media only screen and (min-width: 991px){
                                        font-size: 14px;
                                    }
                                    @media only screen and (min-width: 1200px){
                                        line-height: 1.625;
                                    }
                                    @media only screen and (min-width: 1600px){
                                        font-size: 16px;
                                    }
                                }
                            }
                            a{
                                color: $black25;
                                display: -webkit-box;
                                word-break: break-word;
                                -webkit-box-orient: vertical;
                                -webkit-line-clamp: 2;
                                overflow: hidden;
                                &:hover{
                                    color: $primary;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    
   
    .user-profile-wrapper{
        // width: 100px;
        // height: 100px;
        // border-radius: 100%;
        // position: relative;
        // margin: 0 auto 16px;
        // border: 1px solid $primary;
        // @media only screen and (min-width: 640px){
        //     width: 180px;
        //     height: 180px;
        //     margin: 0 auto 20px;
        // }
        // @media only screen and (min-width: 1024px){
        //     width: 240px;
        //     height: 240px;
        //     margin: 0 auto 32px;
        // }
        // img{
        //     width: 100%;
        //     height: 100%;
        //     object-fit: cover;
        //     border-radius: 100%;
        // }
        .icon-group{
            position: absolute;
            right: 0;
            bottom: 0;
            width: 34px;
            height: 34px;
            border-radius: 100%;
            background: $tertiary;
            @media only screen and (min-width: 640px){
                width: 50px;
                height: 50px;
            }
            @media only screen and (min-width: 1024px){
                width: 70px;
                height: 70px;
            }
            cursor: pointer;
            i{
                font-size: 20px;
                color: $white;
                @media only screen and (min-width: 640px){
                    font-size: 30px;
                }
                @media only screen and (min-width: 1024px){
                    font-size: 40px;
                }
            }
            input{
                opacity: 0;
                visibility: hidden;
                display: none;
            }
        }
    }
    
}