@import "../../../global.scss";
.moreCollectionCard{
    border-radius: 24px;
    // overflow: hidden;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
    // box-shadow: 1px 5px 10px #00000033;
    padding: 17px;
    cursor: pointer;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 16px;
    
    &.border_color_dark{
        border: 1px solid #ffffff14;
    }
    &.border_color_light{
        border: 1px solid #00000014;
    }
    
    @include mobile_potrait{
        margin-bottom: 24px;
        padding: 0px;
        
    }

    &:hover{
        transform: translateY(-10px);
    }
    
    img {
        width: 100%;
    }
    .nft-content {
        border-radius: 10px;
        // padding: 16px;
        z-index: 1;
        width: 100%;
        // &:before {
        //     content: "";
        //     position: absolute;
        //     inset: 0;
        //     border-radius: 10px;
        //     padding: 1px;
        //     background: linear-gradient(44deg,#f0f,#0ff);
        //     -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        //     -webkit-mask-composite: xor;
        //     mask-composite: exclude;
        //     margin: 10px;
        // }

        @include mobile_potrait{
            padding: 2px;
        }
        .img_div{
            width: 100%;
            height: 0;
            padding-bottom: 100%;
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 16px;
            .img_cover{
                position: absolute;
                width: 100%;             
                height: 100%;
                // background-image: linear-gradient(108deg,rgb(255, 198, 255) 16%,#c1fefe);
                top : 0;
                left : 0;
            }
        }
        .item-image{   
            position: absolute;
            width: 100%;             
            height: 100%;
            object-fit: cover;
            top : 0;
            left : 0;
        }  
        .logo_div{
            position: absolute;
            bottom: 10px;
            left: 10px;
            .pls_logo{
                width: 24px;
                height: 24px;
                z-index: 1;
            }
            div{
                display: flex;
                width: 33px;
                height: 33px;
                border-radius: 50%;
                background-color: #fff;
                display: flex;
                align-items: center;
                justify-content: center;
                box-sizing: content-box;
                position: relative;
                &::after{
                    content: "";
                    width: calc(100% + 6px);
                    height: calc(100% + 6px);
                    position: absolute;
                    top : -3px;
                    left : -3px;
                    background-color: #ffffff66;
                    border-radius: 50%;
                }
            }
            
        } 
    }
    .nft-detail-content {
        grid-area: auto;
        gap : 10px;
        display: flex;
        flex-direction: column;
        .nft-title {
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;            
            font-size: 18px;
            line-height: 32px;
            font-family: "Poppins",sans-serif;
            font-weight: 600;
            margin-bottom: 0;
            @include mobile_potrait{
                font-size: 16px;
            }
        }
        .nft-price-content {
            font-size: 16px;
            width: 100%;
            display: flex;
            justify-content: space-between;

            &.bg_dark{
                background: #ffffff0a;
                padding: 16px;
                border-radius: 12px;
            }
            &.bg_light{
                background: #0000000a;
                padding: 16px;
                border-radius: 12px;
            }
            .sub_top {
                margin: 0px;
                margin-bottom: 0 !important;
                font-size: 13px;
            }
            .sub_bottom{
                font-weight: 600;
                margin: 0px;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                font-size: 13px;
                margin-bottom: 0 !important;
            }  
            .sub-left {
                width: 50%;               
                              
            }
            .sub-right {
                width: 50%;               
                text-align: right;   
                        
            }

            .user_info{
                width: 100%;
                display: flex;
                align-items: center;

                .user-image{   
                    position: absolute;
                    width: 100%;             
                    height: 100%;
                    object-fit: cover;
                    top : 0;
                    left : 0;
                }
                .name{
                    width: calc(100% - 00px);
                }
            }
            
            @include mobile_potrait{
                font-size: 14px;
            }
        }
    }
}