body {
  padding: 0;
  margin: 0;
  background-color: white;
  /* background-image: url("background.png"); */
  background-size:cover;
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; */
  font-size: 16px;
  overflow: hidden;
}

#logo {
  width: 100%;
}

@keyframes fade-out {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { display: none; opacity: 0;  }
}
@keyframes scale-down-bounce {
  0% { transform: scale(1) }
  50% { transform: scale(0.8) }
  100% { transform: scale(1) }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 480px) {
  .story {
    width: 100%;
  }
  .story_media {
    width: 100%;
  }
  /* .story_image {
    width: 100%;
  } */
}
@media only screen and (max-width: 950px) {
  .story_details_big {
      display: none;
  }
  .options {
      top: 99%;
      left: 50%;
      /* margin-left: 30px; */
  }
  .options_text {
      display: none;
  }
}
@media only screen and (max-height: 833px) and (min-width: 480px) {
  .story {
    width: 445px;
  }
  .story_media {
    width: 445px;
  }
  /* .story_image {
    width: 445px;
  } */
}
@media only screen and (max-height: 764px) and (min-width: 480px) {
  .story {
    width: 400px;
  }
  .story_media {
    width: 400px;
  }
  /* .story_image {
    width: 400px;
  } */
}
@media only screen and (max-height: 700px)  {
  .story {
    width: 350px;
  }
  .story_media {
    width: 350px;
  }
  /*.story_image {
    width: 350px;
  } */
}

@media only screen and (min-width: 950px) {
  .options {
      top: 93%;
      left: 85%;
  }
}

.display_all {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story {
  position: relative;
  max-width: 500px;
  max-height: 890px;
  margin: 25px auto;
  /* background: #fafafa; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story_media {
  border-radius: 5px;
  /* position: absolute; */
  /* height: 890px;
  width: 100%; */
}

/* .story_image {
  border-radius: 5px;
  position: absolute;
  height: 890px;
  width: 100%;
}  */
.story_top {
  z-index: 10;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0));
  border-radius: 5px;
}
.story_details {
  display: flex;
  align-items: center;
  margin: 16px 0 0 16px;
}

.story_avatar {
  width: 40px;
  height: 40px;
  margin-right: 8px;
  border-radius: 50%;
  background-size: cover;
}

.story_user {
  margin-right: 8px;
  color: white;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.story_time {
  color: white;
  opacity: 0.5;
  letter-spacing: 0.02em;
}

.story_bottom {
  z-index: 10;
  position: absolute;
  bottom: 0;
  width: 100%;
}
.time {
  margin-top: -5px;
  padding: 10px;
  margin-bottom: -20px;
  display: flex;
  justify-content: space-around;
  opacity: 0.8;
}

.time-item {
  flex: 1 1 auto;
  border-radius: 5px;
  margin-right: 5px;
  height: 3px;
  background-color: rgba(0,0,0,0.10);
  position: relative;
  overflow: hidden;
}

.time-item:last-child {
  margin-right: 0px;
}

.time-item > div {
  position: absolute;
  width: 0%;
  height: 100%;
  background-color: rgba(255,255,255,0.5);
}

.options_init{
  width: 30%;
  position: fixed;
  left:50%;
  top: 50%;
  padding: 10px;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: x-large;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 300;
  background-color:azure;
  border:1px solid;
}

.options_init_header {
  font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: xx-large;
  
}

.promo_init {
  font-size: medium
}

.options_nothing{
  position: fixed;
  left:50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: x-large;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 300;
  background-color:azure;
  border:1px solid;
  padding: 10px;
}

.options_nothing_text {
  position: relative;
  margin: 0 auto;
}

.options_error{
  position: fixed;
  left:50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: medium;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 200;
  background-color:rgb(248, 238, 241);
  border:1px solid;
  padding: 10px;
}

.options_error_text {
  position: relative;
  margin: 0 auto;
}

.options {
  position: absolute;
  text-align: center;
  width: 200px;
  height: 200px;
  /* top:85%; */
  transform: translate(-50%, -70%);
  /* background-color:azure;
  border:1px solid; */
  padding: 10px;
}

.options_text {
  position: relative;
  margin: 0 auto;
}

.options_button {
    position: relative;
    margin: 0 auto;
}

.d-none {
  display: none;
}

.texts {
  padding: 7%;
}

#back, #next {
  position: absolute;
  top: 0;
}

#back {
  left: 0;
  height: 100%;
  width: 50%;
}

#next {
  left: 50%;
  height: 100%;
  width: 50%;
}

.story_details_big {
  position: fixed;
  top: 43%;
  left: 15%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  font-size: 2.3rem;
}

.story_user_big{
  display: inline-block;
  float:left;
  width:100%;
  word-break: break-all; 
  text-align: center;
  margin-top: -10px;
  font-size: 70%;
  font-weight: 300;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  background: #833ab4;
  background: -webkit-linear-gradient(to bottom, #fdbd63, #f08080, #9371aa);
  background: linear-gradient(to bottom, #fdbd63, #f08080, #9371aa);
  padding: 1px;
}

.image_outer_container {
    margin-top: auto;
    margin-bottom: auto;
    border-radius: 50%;
    position: relative;
}

.image_inner_container {
    border-radius: 50%;
    padding: 5px;
    background: #833ab4;
    background: -webkit-linear-gradient(to bottom, #fcb045, #fd1d1d, #833ab4);
    background: linear-gradient(to bottom, #fcb045, #fd1d1d, #833ab4);
}

.image_inner_container img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    border: 5px solid white;
}

.image_outer_container .green_icon {
    background-color: #4cd137;
    position: absolute;
    right: 30px;
    bottom: 10px;
    height: 13%;
    width: 13%;
    border: 5px solid white;
    border-radius: 50%;
}
