div#profileContainer {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*::-webkit-scrollbar {
    display: none;
}
.profile-overlay {
    background: rgb(0,0,0,0.3);
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    z-index: 9999;
}
.profile-content {
    background: #fff;
    height: 90%;
    border-radius: 1em 1em 0 0;
    padding: 1em;
    padding-top: 3em;
    overflow: scroll;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
}
#closeProfileView {
    position: absolute;
    top: 1em;
    right: 1em;
    background: #fff;
    border: none;
    font-size: 1.1em;
}
.profile-picture {
    height: 100px;
    width: 100px;
    border-radius: 9999px;
    margin-bottom: 1em;
    min-height: 100px;
}
.profile-name {
    font-weight: bold;
    font-size: 1.1em;
}
img#profilePictureChange {
    align-self: center;
}
.bio {
    color: #999;
    line-height: 2em;
}
.flexed {
    display: flex;
    align-items: center;
    gap: 1em;
}
.username, .toggleSettings {
    padding: .5em 2em;
    background: #f0f0f0;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: .4em;
    margin: .2em 0;
}
.line {
    height: .1em;
    width: 90%;
    background: #f0f0f0;
    margin: 1em 0;
}
.story-lists {
    width: 100%;
}
.story-lists h4 {
    margin-bottom: 1em;
}
.storyhistory-carousel {
    overflow: scroll;
    width: 100%;
}
.story-inner {
    white-space: nowrap;
}
.storyhistory-item {
    height: 14em;
    overflow: hidden;
    display: inline-block;
    position: relative;
    width: 9em;
    border-radius: .5em;
}
.storyhistory-item img, .storyhistory-item video {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
.storyhistory-item-details {
    position: absolute;
    height: 100%;
    background: rgb(0,0,0,0.4);
    padding: .5em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}
.deletestory {
    align-self: end;
    height: 2em;
    width: 2em;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.history-caption {
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.settings {
    height: 80vh;
    background: #fff;
    position: fixed;
    bottom: -80vh; /* Start at 60vh */
    left: 0;
    width: 100%;
    padding: 1em;
    border-radius: 1em 1em 0 0;
    display: flex;
    flex-direction: column;
    transition: bottom 0.3s ease; /* Smooth transition */
    z-index: 9999;
}

.settings.active {
    bottom: 0; /* Slide up to 0 */
}
.settings {
    transform: translateY(0); /* Reset transform */
}
.blur {
    filter: blur(5px); /* Blur effect */
    pointer-events: none;
}
.settings textarea {
    resize: none;
    height: 5em;
    padding: 1em;
    border-radius: .2em;
    margin-top: 1em;
}
.settings .accent {
    height: .1em;
    width: 4em;
    background: #f0f0f0;
    margin-bottom: 1em;
    align-self: center;
}
#updateAccount {
    align-self: end;
    margin-top: auto;
    width: 100%;
    height: 3em;
    background: #000;
    color: #fff;
    border-radius: 9999px;
    border: none;
}
.block-btn {
    background: #FF4433;
    padding: 0 2em;
    height: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    gap: .5em;
    border-radius: 9999px;
}