.container {
    width: 100%;
    position: relative;
}

.profileboard {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    margin: 1rem 0;
    padding: 1rem 0.5rem;
}

.usersList{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.header h2 {
    margin: 0;
}


.mainContent {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex: 1;
}

.basicInfo {
    flex: 1;
}

.expandedContent {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.textInfo {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contactInfo {
    margin-top: 10px;
}

.contactInfo p {
    margin: 5px 0;
}

.bottomBar {
    display: flex;
    justify-content: flex-end;
}

.profilePictureContainer {
    width: 120px;
    height: 120px;
    margin-right: 20px;
}

.profilePicture {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.expandButton {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 16px;
}

.moreButtonClicked {
    rotate: 90deg;
}

@media screen and (min-width: 768px) {
    .profilePictureContainer {
        width: 150px;
        height: 150px;
    }
}

@media screen and (min-width: 1024px) {
    .container {
        padding: 20px;
    }

    .profileboard {
        padding: 25px;
    }

    .profilePictureContainer {
        width: 200px;
        height: auto;
    }
}
