* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.story-display {
    height: 100vh;
    width: 100%;
    background: #fff;
    padding: 1em;
    padding-bottom: 2.5em;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
.amount-of-story {
    display: flex;
    gap: .5em;
    padding-bottom: 1em;
}
.amount-of-story .indicator {
    height: .1em;
    width: 100%;
    background: #999;
    border-radius: 9999px;
}
.amount-of-story .indicator[data-active=true] {
background: #000;
}
.story-header {
    display: flex;
    height: 3.5em;
    align-items: center;
    justify-content: space-between;
}
.story-header .profile-details {
    display: flex;
    align-items: center;
    gap: .4em;
}
.story-header .profile-details img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}
.story-header .story-displayname {
    font-weight: 500;
    font-size: .9em;
    margin-right: .8em;
}
.story-header .story-timestamp {
    font-size: .8em;
    color: #555;
    display: block;
}
.story-preview {
    flex: 1;
    position: relative;
    border-radius: 1em;
    overflow: hidden;
}
.story-preview .story-media {
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: 1em;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.story-media img {
    height: auto;
    width: 100%;
    border-radius: 1em;
    overflow: hidden;
    display: block;
}
.story-media video {
    width: 100%;
}
.media-caption {
    height: 100%;
    width: 100%;
    background: rgb(0,0,0,0.5);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: column;
    padding: 2em 1em;
}
.media-caption p {
    color: #fff;
    padding: 1em 0;
    text-align: center;
}
.toggle-reply {
    background: #fff;
    color: #000;
    height: 2.5em;
    padding: 0 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
}

.story-reply-popup {
    height: auto;
    width: 100%;
    background: #fff;
    border-radius: 1em;
    padding: .5em 1em;
    margin-bottom: 2em;
}
.accent {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .4em;
}
.accent span {
    background: #999;
    border-radius: 9999px;
    height: .1em;
    width: 3em;
}
.reply-caption {
    background: #f0f0f0;
    border-radius: .7em;
    padding: 1em 2em;
    text-align: center;
    font-size: .85em;
}
.media-caption h4 {
    padding: .4em 0;
}
.emoji {
    padding: 1em 0;
}
.emoji-carousel {
    white-space: nowrap;
}
.emoji button {
    background: transparent;
    border: none;
    font-size: 1.2em;
    display: inline-block;
    margin-right: 1em;
}
.story-reply-message {
    height: 3em;
    display: flex;
    align-items: center;
    gap: 1em;
}
.story-reply-message input {
    height: 100%;
    background: #f0f0f0;
    border-radius: 9999px;
    border: none;
    padding: 0 1em;
  width: 70%
}
#sendReplyMessage {
    height: 3em;
    flex: 1;
    border-radius: 9999px;
    border: 1px solid #000;
    background: #000;
    color: #f0f0f0;
}

#closeStoryDisplay {
    background: #fff;
    border: none;
    font-weight: bolder;
    color: #fff;
    -webkit-text-stroke: 1px #000;
    font-size: 1.1em;
}
