#user-profile-modal {
    justify-content: start;
    padding-top: 30px;
    width: min(750px, 80%);
}

#profile-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 5%;
    height: 70%;
    width: 90%;
    overflow: hidden;
}

.profile-title {
    text-align: center;
    width: 100%;
    font-size: 2.5rem;
}

.profile-body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    overflow: hidden;
    width: 100%;
}

.profile-left {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 5%;
}

.profile-image {
    height: min(35vw, 150px);
    width: min(35vw, 150px);
}

.profile-image-container {
    border: #01161E solid 2px;
    border-radius: 50%;
    overflow: hidden;
    height: min(35vw, 150px);
    width: min(35vw, 150px);
}


.profile-picture-placeholder {
    height: 100%;
    width: 100%;
    background-color: pink;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.profile-picture-placeholder-letter {
    font-size: 3rem;
    padding: 0;
    margin: 0;
    font-weight: bold;
    user-select: none;
}

.profile-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    overflow: scroll;
}

#own-profile-container {
    height: 100%;
    overflow: scroll;
}

#own-profile-container > h2 {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    font-size: 2.5rem;
}

#own-profile-container > h3 {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    font-size: 2rem;
}

#own-profile-body {
    width: 80%;
    margin: 30px auto;
}

#own-profile-body .profile-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#own-profile-body .profile-right {
    flex: 3;
}

#profile-image-change-modal {
    justify-content: start;
    padding-top: 30px;
    height: 30%;
}

#password-change-form {
    height: 30%;
    width: 50%;
    margin: 0 auto;
}

#show-password-checkbox-container {
    margin-bottom: 7px;
}

@media (max-width: 650px) {
    .profile-body {
        flex-direction: column;
        align-items: center;
        justify-content: start;
        gap: 30px;
        overflow: scroll;
    }

    .profile-right {
        overflow: unset;
    }

    #password-change-form {
        height: 35%;
    }
}