html, body, main, section{
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

html,body {
  background-color: black;
  font-family: 'Dosis', sans-serif;
  overflow: hidden;
}

main {
  opacity: 0;
  transition: transform 0.6s ease;
}

main.active {
  opacity: 1;
}

.is-hidden {
  display: none !important;
}

.img-profile {
  position: absolute;
  top: 2rem;
  left: 50%;
  z-index: 99;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
  justify-content: space-between;
  width: 93vw;
  max-width: calc(56.25vh - 33px);
}

.img-profile p {
  font-size: 14px;
  margin-left: 12px;
  color: white;
}

.img-profile img {
  display: block;
  width: 100%;
  max-width: 40px;
}

.video-inner-container {
  position: absolute;
  top: 0;
  left: 50%;
  right: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: 56.25vh;
  max-width: 100%;
}

.last-story {
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56.25vh;
  max-width: 100%;
}

.banned-stories-logo {
  width: 100%;
  display: block;
  max-width: 608px;
  margin: 2rem auto;
  padding: 1rem;
}

.logo-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

img.banned-icon {
  display: block;
  width: 100%;
  max-width: 60px;
}

p {
  margin: 0;
}

* {
  box-sizing: border-box;
}

.button-container {
  margin-top: 2rem;
  width: 100%;
}

.button {
  background-image: linear-gradient(45deg, #791dba, #f36538);
  padding: 12px 16px;
  text-align: center;
  border-radius: 6px;
  font-size: 20px;
  display: inline-block;
  min-width: 40%;
  text-decoration: none;
  color: white;
}

.swipe-up {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  text-align: center;
  color: white;
  z-index: 1;
  padding-bottom: 20px;
}

.swipe-up::before {
  content: "";
  display: block;
  position: absolute;
  pointer-events: none;
  background: linear-gradient(transparent, black);
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: -1;
}

.swipe-up img {
  display: block;
  margin: auto;
  width: 100%;
  max-width: 50px;
}

.button.secondary{
  background-image: none;
  background-color: transparent;
  border: 1px solid white;
  text-transform: uppercase;
}

.swipe-up {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
}

nav{
  display: grid;
  grid-column-gap: 1em;
  grid-template-columns: repeat(4, 1fr);
  height: 0.25em;
  padding: 0 1em;
  position: fixed;
  top: 1em;
  width: 100%;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  width: 56.25vh;
  max-width: 100%;
}

.bars{
  background: rgba(255,255,255,0.25);
  height: 100%;
}

.bar{
  background: white;
  height: 100%;
  width: 0;
}

.stories {
  z-index: 20;
}

video,
.story,
.video-container {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
}

.story,
.last-story {
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  color: white;
  background-color: rgba(0,0,0,0.5);
  text-align: center;
  text-transform: uppercase;
  padding: 1rem;
}

.in-message {
  position: relative;
  z-index: 1;
}

.is-swiped {
  transform-origin: center;
  transform: translateY(-100%);
}

.in-message-container {
  padding: 0 24px 0 0;
  height: 100%;
  width: 100vw;
  margin: 0 auto;
  max-width: 100%;
}

.in-message-0 {
  box-sizing: border-box;
  position: relative;
  top: 50%;
  transform-origin: center;
  transform: translateY(-50%);
  left: 16px;
  right: 0;
  display: inline;
  font-size: 24px;
  background-color: black;
  color: white;
  padding: 0.2rem;
  line-height: 1.4;
  text-transform: uppercase;
  box-shadow: 10px 0 0 #000, -10px 0 0 #000;
}

.hashtag {
  position: absolute;
  transform: rotate(-14deg);
  transform-origin: center;
  bottom: 34%;
  border-radius: 6px;
  display: block;
  width: 100%;
  max-width: 160px;
  right: 16%;
}

.in-message-2,
.in-message-3 {
  position: relative;
  top: 50%;
  transform-origin: center;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  overflow: hidden;
  font-size: 22px;
  text-align: center;
  text-transform: uppercase;
  padding: 8px 6px;
  color: white;
  width: 56.25vh;
  max-width: calc(100% + 24px);
}

.in-message-2 {
  font-size: 20px;
}

.in-message-3 .emoji {
  transform-origin: center;
  transform: scale(2);
  margin-left: 10px;
  display: inline-block;
}

.video-container {
  filter: blur(15px);
  left: 50%;
  transform: translateX(-50%);
  width: 56.25vh;
}

.video-container.active {
  filter: blur(0);
}

.last-story.active {
  opacity: 1;
  pointer-events: all;
  background-color: transparent;
}

.last-story.active::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
}

.last-story.active .img-profile {
  filter: blur(15px);
}

@media screen and (max-width: 420px) {
  .story,
  .last-story {
    font-size: 8.585vw;
  }

  .in-message-2 {
    font-size: 19px;
  }
}

@media screen and (max-width: 380px) {
  .in-message-2 {
    font-size: 18px;
  }
}

@media screen and (max-width: 360px) {
  .in-message-2 {
    font-size: 17px;
  }
}