* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    touch-action: manipulation;
}

.stories-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    /*max-height: 600px;*/
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    margin: auto;
}

.progress-bars {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    display: flex;
    padding: 0 10px;
    gap: 5px;
    z-index: 10;
}

.progress-bar {
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    flex-grow: 1;
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background-color: white;
    transition: width 0.1s linear;
}

.story-header {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.user-info {
    display: flex;
    align-items: center;
    color: white;
    font-size: clamp(12px, 3vw, 14px);
}

.user-avatar {
    width: clamp(35px, 6vw, 30px);
    height: clamp(35px, 6vw, 30px);
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid #d70022;
}

.close-btn {
    color: white;
    background: none;
    border: none;
    font-size: clamp(20px, 6vw, 24px);
    cursor: pointer;
}

.media-container {
    width: 100%;
    height: 100%;
    position: relative;
    touch-action: manipulation;
}

.story-media {
    width: 100%;
    /*height: 100%;*/
    object-fit: scale-down;
    display: block;
}

.story-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-footer {
    position: absolute;
    bottom: 15%;
    width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.story-footer2 {
    position: absolute;
    bottom: 25%;
    width: 100%;
    left: 85%;
    padding: 58px 21px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.story-conteudo {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.passar-st {
    background: none;
    border: none;
}

.voltar-st{
    background: none;
    border: none;
}

.input-message {
    width: 75%;
    padding: clamp(8px, 2vw, 12px) clamp(10px, 3vw, 15px);
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: clamp(12px, 3vw, 14px);
}

.action-btn {
    background: none;
    border: none;
    color: white;
    font-size: clamp(20px, 6vw, 24px);
    cursor: pointer;
    margin-left: 5px;
}

.learn-more-btn {
    background: none;
    border: none;
    /*position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: black;
    border: none;
    padding: clamp(6px, 1.5vw, 8px) clamp(10px, 3vw, 15px);
    border-radius: 20px;
    font-weight: bold;
    font-size: clamp(12px, 3vw, 14px);
    cursor: pointer;
    white-space: nowrap;
    z-index: 5;*/
}

.navigation-zones {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 2;
}

.nav-zone {
    height: 100%;
}

.nav-zone.left {
    width: 33%;
}

.nav-zone.center {
    width: 34%;
}

.nav-zone.right {
    width: 33%;
}

.user-info a{
    display: flex;
    text-decoration: none;
    color: white;
    font-size: clamp(12px, 3vw, 14px);
    width: 335px;
}

.name-stories{
    margin-top: 6px;
}

.play-icon{
    display: none;
    margin-left: -33px;
}

.pause-icon{
    margin-left: -33px;
}

.audio-play{
    display: none;
    position: absolute;
    margin-left: 278px;
}

.audio-stop{
    display: none;
    position: absolute;
    margin-left: 278px;
}

.pause-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 18px;
    display: none;
    z-index: 20;
}

@media (min-width: 767px) {
    .stories-container {
        position: relative;
        width: 100%;
        max-width: 500px;
        height: 100%;
        /*max-height: 550px;*/
        background-color: #000;
        border-radius: 15px;
        overflow: hidden;
        margin: auto;
    }

    .story-footer {
        bottom: 20px;
    }
}

@media (max-width: 767px) {
    body {
        background-color: #000;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100%;
        padding: 0px;
        padding-top: 0px;
        touch-action: manipulation;
    }

    .stories-container {
        position: relative;
        width: 100%;
        max-width: 100%;
        /* height: 100%; */
        /* max-height: 100%; */
        background-color: #000;
        border-radius: 0px;
        overflow: hidden;
        margin: auto;
    }

   
}

@media (min-width: 767px) {

.audio-play{
    display: none;
    position: absolute;
    margin-left: 402px;
   }

  .audio-stop{
    display: none;
    position: absolute;
    margin-left: 402px;
  }


.story-footer2 {
    position: absolute;
    bottom: 3%;
    width: 100%;
    left: 85%;
    padding: 58px 21px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

}

.media-container-horizontal {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.media-container-horizontal img {
  height: auto!important;
}
