.profile-set-container{
    display: flex;
    flex-direction: row;
    height: 92%;
}
.profile-set-nav{
    height: 100%;
    width: 25%;
    background-color: var(--second-bg-color);
    display: flex;
    flex-direction: column;
    padding: 40px 40px;
}

.profile-set-nav .profil-general{
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.profile-set-nav .profil-general p{
    color: var(--main-text-color);
    font-weight: bold;
    padding: 0px 20px;
}

.profile-set-nav .profil-general .profil-m-item{
    height: 50px;
    display: flex;
    flex-direction: row;
    margin: 0;
}

.profile-set-nav .profil-general .profil-m-item a{
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: var(--main-text-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 5px;
    padding: 0px 20px;
    animation: 'fade-in';
}

.profile-set-nav .profil-general .profil-m-item a:hover{
    background-color: var(--context-bg-color);
    transition: all 0.5s;
}

.profile-set-nav .profil-general .profil-m-item a span{
    height: 80%;
    width: 40px;
    background-color: var(--upload-button-bg);
    border-radius: 6px;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.profile-set-nav .profil-data-history{
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.profile-set-nav .profil-data-history p{
    color: var(--main-text-color);
    font-weight: bold;
    padding: 0px 20px;
}

.profile-set-nav .profil-data-history .profil-m-item{
    height: 50px;
    display: flex;
    flex-direction: row;
    margin: 0;
}

.profile-set-nav .profil-data-history .profil-m-item a{
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: var(--main-text-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 5px;
    padding: 0px 20px;
    animation: 'fade-in';
}
.profile-set-nav .profil-data-history .profil-m-item a:hover{
    background-color: var(--context-bg-color);
    transition: all 0.5s;
}

.profile-set-nav .profil-data-history .profil-m-item a span{
    height: 80%;
    width: 40px;
    background-color: var(--upload-button-bg);
    border-radius: 6px;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.profile-set-content{
    height: 100%;
    width: 75%;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    background-color: var(--main-bg-color);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 60px;
}

/* =============================================== CONTENT ============================================================ */
.profile-title{
    color: var(--main-text-color);
}

.profile-pic-container{
    display: grid;
    position: relative;
    width: 300px;
    height: 300px;
    /* border: 1px solid green; */
    margin: 0 auto;
}

.profile-pic-container #profileUpload{
    /* border: 1px solid red; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    opacity: 0;
    border-radius: 50%;
    cursor: pointer;
}

.profile-pic-container img{
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.profile-pic-container .profile-update-hover{
    position: absolute;
    display: none;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 50%;
    background: var(--profile-hover-bg);
}

.profile-pic-container .profile-update-hover p{
    color: white;
}

#profileUpload:hover + .profile-update-hover{
    display: flex;
}

.profile-info-container {
    margin-top: 40px;
}

.profile-info-container .update-button{
    width: 20%;
    color: var(--main-text-color);
    background-color: var(--upload-button-bg);
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    outline: none;
    border: none;
    padding: 10px;
    margin-left: 20px;
}

.profile-set-content p{
    color: var(--main-text-color);
    font-weight: bold;
    margin-top: 20px;
    font-size: 20px;
}

.profile-info-container{
    width: 70%;
    display: flex;
    flex-direction: column;
}

.profile-info-container .profile-names{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.profile-info-container .profile-names .form-group{
    width: 50%;
    padding: 20px;
}

.profile-info-container .profile-names .form-group label{
    color: var(--main-text-color);
}

/* ================================== Theme ===================================== */
#user-theme-choice {
    width: 200px;
    padding: 10px 5px;
    margin-left: 20px;
}

/* ====================================== Cropping ==================================== */
.cropContainerBackground{
    width: 100%;
    height: 100%;
    background-color: var(--dialogTrans-bg-color);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    display: none;
    flex-direction: column;
    justify-content: center;
}

.profile-under-container{
    width: 40%;
    height: 50%;
    background-color: var(--main-bg-color);
    margin: auto;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cropContainer{
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

#cropContainer img {
    position: absolute;
    top: 0;
    left: 0;
    cursor: grab;
    max-width: none;
    max-height: none;
}

#cropArea {
    position: absolute;
    border: 2px dashed #000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}