@font-face {
  font-family: 'documentmedium';
  src: url('fonts/document-medium-webfont.woff2') format('woff2'),
       url('fonts/document-medium-webfont.woff') format('woff');
}

body {
  margin: 0;
  padding: 0;
  background-color: #090909;
}

.stories_ac {
 justify-content: center;
 display: flex;
}

.container {
  position: relative;
  width: 50%;
  height: 100vh;
  background: #fafafa;
  max-width: 450px;
  background-size: cover!important;
  background-position: center center!important;
  border-radius: 3px;
}

@media screen and (max-width: 760px) {
  .container {
    width: 100%;
    max-width: none;
    height: 50vh;
  }
  .stories_ac{
    flex-wrap: wrap;
  }
}

.time {
  padding: 15px;
  display: flex;
  justify-content: space-around;
}

.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: 0;
}

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

.content {
  position: absolute;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

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

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

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

#back_2, #next_2 {
  position: absolute;
  top: 0;
}

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

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

header{
  position: fixed;
  font-family: "documentmedium";
  color: white;
  font-size: 0.78rem;
  padding-left: 7px;
  padding-top: 7px;
}

footer {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  background: black;
  color: white;
  display: flex;
  transform: translateY(calc(100% - 19px));
  transition: transform 0.2s;
  font-family: "documentmedium";
}

footer:hover {
  transform: translateY(0);
}

footer .footer-part {
  flex: 0 0 25%;
}

footer .content1 {
  max-height: 32vh;
  overflow-y: scroll;
  font-size: 0.78rem;
  padding-left: 3%;
  padding-right: 2%;
  padding-top: 60%;
}

footer .content2 {
  max-height: 32vh;
  overflow-y: scroll;
  font-size: 0.78rem;
  padding-left: 2%;
  padding-right: 2%;
  padding-top: 60%;
}

footer .content3 {
  max-height: 32vh;
  overflow-y: scroll;
  font-size: 0.78rem;
  padding-left: 2%;
  padding-right: 2%;
  padding-top: 60%;
}

footer .content4 {
  max-height: 32vh;
  overflow-y: scroll;
  font-size: 0.78rem;
  padding-left: 2%;
  padding-right: 3%;
  padding-top: 59.5%; 
}

footer h2 {
  margin: 0;
  font-family: "documentmedium";
  font-weight: normal;
    font-style: normal;
  font-size: 0.78rem;
  padding-left: 1%;
  padding-bottom: 0.5%;
  padding-top: 0.6%;
  border-left: solid 3.5px rgb(255, 255, 255)
}

footer h3 {
  margin: 0;
  font-size: 0.78rem;
  color:black;
  padding-left: 1%;
  padding-bottom: 0.5%;
  border-left: solid 3.5px rgb(255, 255, 255)
}

footer h6 {
  margin: 0;
  font-family: "documentmedium";
  font-weight: normal;
    font-style: normal;
  font-size: 0.78rem;
  padding-left: 1%;
  padding-top: 0.6%;
}

.footer-3{
  border-left: solid 3.5px rgb(255, 255, 255)
}

p {
  display: block;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  line-height: 11pt;
}
