*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  height: 100%;
}

body {
  background-color: #f0f0f9;
  font: 16px/1.15 "Roboto", sans-serif;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  padding: 0px 0px;
}

.stories {
  display: flex;
  align-items: center;
  flex: 1;
  border: 0px solid #c8c8c8;
  border-radius: 4px;
  overflow: auto hidden;
  /* Overflow para substituir o efeito de slide */
}

.stories__item {
  padding: 10px 15px;
  user-select: none;
}

.stories__item:first-child {
  margin-left: auto;
}
.stories__item:last-child {
  margin-right: auto;
}

.stories__item button {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  background: transparent;
  width: 64px;
  cursor: pointer;
  outline: 0;
}

.stories__item-picture {
  width: 64px;
  height: 64px;
  margin-bottom: 5px;
  padding: 6px;
  position: relative;
}

.stories__item-picture img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.0975);
  pointer-events: none;
}

.stories__item-username {
  width: 100px;
  text-overflow: ellipsis;
  overflow: hidden;
}


.stories__item--active .stories__item-picture::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  border-radius: 50%;
  z-index: -1;
  background: linear-gradient(
    45deg,
    rgba(203, 223, 189, 1) 0%,
    rgba(254, 200, 154, 1) 100%
  );
}

.stories__item--active .stories__item-picture img {
  box-shadow: 0 0 0 2px #fff;
}
#navbar {
  position: fixed; /* Make it stick/fixed */
  transition: top 0.3s; /* Transition effect when sliding down (and up)*/
	background-color: #FFFFFF;
}
