@import "../../global.scss";
.edit_profile{
    width: 100%;
    padding-top: 70px;
    padding-bottom: 64px;
    @include mobile_potrait{
        padding: 70px 16px;
    }
    .container{
        margin : auto;
        max-width: 1200px;
        flex-direction: column;
        width: 100%;
        .title{
            width: 100%;
            padding-top: 80px;
            padding-bottom: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            @include mobile_potrait{
                padding-top: 64px;
            }
            h1{
                -webkit-text-fill-color: transparent;
                background-image: linear-gradient(90deg,#69EACB, #EACCF8, #6654F1);
                -webkit-background-clip: text;
                background-clip: text;
                font-size: 36px;
                width: fit-content;
                font-weight: 700;
                line-height: 1;
                font-family: 'Sora', sans-serif;
                @include mobile_potrait{
                    font-size: 22px;
                }
            }
        }
        .edit_banner{
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            width: 100%;
            @include mobile_potrait{
            }
            .edit_content{
                width: 100%;
                height: 0px;
                padding-bottom: 22%;
                display: flex;
                align-items: center;
                position: relative;
                justify-content: center;
                border: 1px solid #726CA9;
                border-radius: 16px;
                overflow: hidden;
                cursor: pointer;
                @include mobile_potrait{
                    padding-bottom: 52%;
                }
                &:hover{
                    .camera_icon{
                        opacity: 0.7;
                    } 
                }
                input{
                    position: absolute;
                    top: 20px;
                    left: 20px;
                    width: 100%;
                    height: 100%;
                    opacity: 0;
                    cursor: pointer;
                }
                img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    position: absolute;
                    left: 0;
                    top : 0;
                }
                .camera_icon{
                    position: absolute;
                    color: #f0f;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 40px;
                    opacity: 0.4;
                    top: 50%;
                    transition: all 0.3s ease;
                }
            }
            
            .profile_link{
                display: flex;
                justify-content: center;
                align-items: center;
            }
        }
        .edit_avatar{
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            flex-direction: column;
            margin-top: -100px;
            box-sizing : border-box;
            padding-left : 24px;
            @include mobile_potrait{
                padding-left : 0px;
                margin-top: -70px;
            }
            .edit_content{
                width: 132px;
                height: 132px;
                display: flex;
                align-items: center;
                position: relative;
                justify-content: center;
                border-radius: 16px;
                cursor: pointer;
                overflow : hidden;
                @include mobile_potrait{
                    width: 80px;
                    height: 80px;
                }
                &:hover{
                    .camera_icon{
                        opacity: 0.7;
                    } 
                }
                input{
                    position: absolute;
                    top: 20px;
                    left: 20px;
                    width: 100px;
                    height: 100px;
                    opacity: 0;
                    cursor: pointer;
                }
                img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    
                }
                .camera_icon{
                    position: absolute;
                    color: #f0f;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 40px;
                    opacity: 0.4;
                    transition: all 0.3s ease;
                }
            }
            
            .profile_link{
                display: flex;
                justify-content: center;
                align-items: center;
            }
        }
        .my_form{
            width: 100%;
            padding-top: 32px;
            display: flex;
            flex-direction: column;
            grid-area: auto;
            gap: 16px;
            .row{
                width: 100%;
                display: flex;
                flex-direction: column;
                grid-area: auto;
                gap: 6px;
                .label{
                    font-size: 16px;
                    font-weight: normal;
                    margin-bottom: 12px;
                }

                input{
                    width: 100%;
                    border: 1px solid #726CA9;
                    font-size: 16px;
                    padding: 8px;
                    border-radius: 10px;
                   
                    &:focus-visible{
                        outline: unset;
                    }
                    
                }
                textarea{
                    width: 100%;
                    border: 1px solid #726CA9;
                    border-radius: 8px;
                    font-size: 16px;
                    padding: 8px;
                    height: 240px;
                    &:focus-visible{
                        outline: unset;
                    }
                }
                .bg_dark{
                    background: #ffffff05;
                    color: #7578A5;
                }
                .bg_light{
                    background: #00000005;
                    color: #00000080;
                }
            }
            .btn_div{
                display:flex;
                align-items:center;
                justify-content:flex-end;
                grid-area: auto;
                gap : 24px;
                width: 100%;
            }
        }
    }
}