body {
    margin: 0;
    font-family: "Nunito", sans-serif;
    color: #000000;
    width: 100%;
    height: 100%;
}
.flex {
    display: flex;
}
.wrap {
    flex-wrap: wrap
}
.column {
    flex-direction: column
}
.space-between {
    justify-content: space-between
}
.center {
    justify-content: center
}
.vertical-align {
    align-items: center;
}
.space-around {
    justify-content: space-around
}
.space-evenly {
    justify-content: space-evenly
}
button, input, select, a, div {
    outline:none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
button, a {
    cursor: pointer;
}
.hide-sm {
    display: none;
}
.right-align {
    text-align: right;
    direction: rtl;
}
.center-align {
    text-align: center;
}
b {
    font-weight: 600;
}
div {
    position: relative;
}

.question-choices:active {
    background: rgb(68 162 162) !important;
    border: 2px solid rgb(62 103 103) !important;
}

.null-link {
    text-decoration: none;
    color: unset;
}
.loader {
    display: none;
    background: black;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99999999999999;
    opacity: .8;
    transition: opacity 2s;
}
.loader .bar {
    position: relative;
    height: auto;
    width: 80%;
    margin: 0 auto;
    margin-top: 150px;
    display: flex;
    justify-content: center;
}
.loader .circle {
    height: 60px;
    width: 60px;
    top: 0;
    background: #561ae3;
    border-radius: 30%;
    animation: move 3s infinite alternate;
}
.error {
    display: none;
    right: 0;
    left: 0;
    top: 0;
    margin: auto;
    text-align: center;
    padding: 15px 20px;
    background: #6f150b;
    color: white;
    z-index: 9999999999;
    position: fixed;
    transition: opacity 2s;
}
.success {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 15px 20px;
    width: 70%;
    z-index: 9999999999;
    color: white;
    font-size: 16px;
    background: #088d43;
    transition: opacity 2s;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 30px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* LOADERS */
.spin-loader {
    border-radius: 50%;
    border: 1px solid black;
    border-top: none;
    animation: antiClockwiseSpin 1s linear infinite;
}
.spin-loader.small {
    height: 30px;
    width: 30px;
}
.spin-loader.white {
    border-color: white;
}
.spin-loader.purple {
    border-color: #561AE3;
}
.throb-loader-short {
    height: 230px;
    width: 100%;
    border-radius: 15px;
    background: #dedede;
    animation: colorThrob 1.5s linear alternate infinite;
    margin-bottom: 10px;
}
.throb-loader-long {
    height: 260px;
    width: 100%;
    border-radius: 15px;
    background: #dedede;
    animation: colorThrob 1.5s linear alternate infinite;
    margin-bottom: 10px;
}
/* BACKGROUNDS */
.grey-background {
    height: 100%;
    min-height: 600px;
    background: #F2F3F8;
}
.biege-background {
    background: #F2EFE4;
    min-height: 600px;
    height: 100%;
}
.modal-backdrop {   
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #d4d3d9;
    opacity: 0.9;
    filter: blur(37px);
}
.navigation-backdrop {
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;
    right: 0;
    background: #d4d3d9;
    opacity: 0.9;
    filter: blur(37px);
    z-index: 1;
}
/* INPUTS */
input:hover {
    border: 1px solid #000000;
}
input:focus {
    border: 1px solid #561AE3;
}
input, select {
    height: 30px;
    max-width: 90%;
    width: 330px;
    display: inline-block;
    margin: 5px 0;
    border-radius: 6px;
    border: 1px solid #dddfe2;
    font-size: 18px;
    color: black;
    background-color: white;
    padding: 14px 16px;
    transition: 1s ease-in-out;
}
input.center {
    padding: 14px 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
}
.input-container {
    padding: 0 20px;
    background: white;
    height: 60px;
    margin-bottom: 10px;
    border-radius: 6px;
}
.input-container input {
    width: 100%;
    height: 100%;
    border-radius: unset;
    padding: 0 !important;
    margin: 0;
    display: block;
    border: none;
}
.input-container select {
    width: 100%;
    border: none;
}
input:-internal-autofill-selected {
    background-color: none !important;
}
select {
    height: auto;
}
input.search {
    width: 200px;
    font-size: 12px;
    height: auto;
    margin-left: 30px;
    margin-right: 30px;
}
/* BUTTONS */
button {
    width: 100%;
    height: 60px;
    border-radius: 6px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    background: #561AE3;
    color: white;
    margin: 10px 0;
    transition: background-color .4s ease-in-out;
}
button.black {
    background: #000000;
}
button.black:hover {
    background: #34373c;
}
button:hover {
    background: #2c0882;
}
button:active {
    background: #ffffff;
    color: #000000;
}
button.loading {
    background: #ffffff;
    color: #000000;
}
/* LINKS */
a {
    text-decoration: underline;
    text-decoration-style: dashed;
    display: block;
}
a:hover {
    color: grey
}
a:active {
    color: #000000
}
.footer-bottom-bar a {
    margin-right: 35px;
}
.p-25 a {
    color: inherit;
}
/* HEADERS */
header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: white;
    height: 70px;
    padding: 0 20px;
    z-index: 1;
}
header .logo {
    height: 70px;
    width: 30px;
    margin-right: 30px;
    position: relative;
}
header .profile-img-box {    
    height: 85%;
    width: 60px;
}
nav footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    margin-top: unset;
    height: 70px;
    padding: 0 30px;
    width: unset;
    z-index: 1;
    display: flex;
    justify-content: space-between; 
    border-top: solid 1px #E3E3E3;
}
nav {
    align-items: center;
}
.nav-links {
    width: 100px;
    text-align: center;
    height: 70px;
    padding: 0;
    font-size: 11px;
    display: block;
    justify-content: center !important;
    text-decoration: none;
    color: unset;
}
.nav-item {
    font-size: 20px;
    margin: 10px 40px 10px 0px;
    font-weight: 900;
    cursor: pointer;
    height: 100%;
    line-height: 70px;
}
footer .nav-item {
    margin: unset;
    font-size: 15px;
    line-height: unset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
footer .nav-item > div {
    font-size: 11px;
    font-weight: normal;
    height: 30%;
}
footer .nav-item .hydrated {
    font-size: 20px;
    height: 40%;
}
.main {
    width: 100%;
}
.create-story__controls {
    height: 40px;
    width: 40px;
    background: red;
    border-radius: 10px;
    border: 2px solid white;
    margin: 0 15px 0 0;
}
.text-area {
    width: 93%;
    height: 100%;
    font-size: 40px;
    text-align: center;
    font-family: 'Nunito';
    /* padding: 20px; */
    position: absolute;
    right: 0;
    left: 0;
    margin: 60px auto;
    background: transparent;
    border: none;
    color: white;
    overflow: hidden;
    outline: none;
}textarea::-webkit-input-placeholder {
    color: #ffffff99;
  }
  
  textarea:-moz-placeholder { /* Firefox 18- */
    color: #ffffff99;  
  }
  
  textarea::-moz-placeholder {  /* Firefox 19+ */
    color: #ffffff99;  
  }
  
  textarea:-ms-input-placeholder {
    color: #ffffff99;  
  }
  
  textarea::placeholder {
    color: #ffffff99;  
  }
.story {
    border-radius: 20px;
    background-color: #272727;
    width: 49%;
    cursor: pointer;
    overflow: hidden
}
.story-group:nth-child(odd) {
    align-items: flex-start;
}
.story-group:nth-child(even) {
    align-items: flex-end;
    margin-top: -35px;
    margin-bottom: 5px;
}
.story-group:nth-child(odd) .story:nth-child(odd) {
    height: 280px;
}
.story-group:nth-child(odd) .story:nth-child(even) {
    height: 320px;
}
.story-group:nth-child(even) .story:nth-child(even) {
    height: 280px;
}
.story-group:nth-child(even) .story:nth-child(odd) {
    height: 320px;
}
.story__preview {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    margin: auto;
    height: 120px;
    font-size: 23px;
    display: flex;
    align-items: center;
    color: white;
}
.like-icon {
    height: 30px;
    width: 30px;
    color: white;
}
  
@keyframes completeProgress {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes zigzagFade {
    0% { 
        opacity: 1;
        bottom: 0px;
        left: 0;
    }
    25% { 
        opacity: .8;  
        bottom: 75px;   
        left: -15px;
    }
    50% { 
        opacity: .5;   
        bottom: 150px;  
    }
    75% { 
        opacity: .2.5; 
        bottom: 225px; 
        left: 25px;
    }
    100% { 
        opacity: 0;    
        bottom: 300px;
        left: 5px;
    }
}

@keyframes zigzagFadeReverse {
    0% { 
        opacity: 1;
        bottom: 0px;
        left: 5px;
    }
    25% { 
        opacity: .8;  
        bottom: 50px;   
        left: 25px;
    }
    50% { 
        opacity: .5;   
        bottom: 100px;  
    }
    75% { 
        opacity: .2.5; 
        bottom: 150px; 
        left: -15px;
    }
    100% { 
        opacity: 0;    
        bottom: 200px;
        left: 0px;
    }
}
.banner {
    background: #de3030;
    color: white;
    width: 25px;
    height: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 12px;
}

.progress.used span {
    background: white !important;
    width: 100% !important;
}
.progress.active span {
    background: white !important;
    animation: completeProgress 5400ms linear;
}
.story__inner {
    position: absolute;
    padding: 0 15px 20px;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(1805deg, black, transparent) 
}
/* TEXT */
.white {
    color: white
}
.horizontal-scroll::-webkit-scrollbar {
    display: none;
}
.ad-box {
    width: 245px;
    background: #f3f3f3;
    box-shadow: 0 0 15px 3px rgb(0,0,0,0.05);
    border-radius: 7px;
    padding: 10px 15px;
    margin-right: 20px;
    height: 120;
}
.ad-box h1 {
    font-size: 13px;
}

.number--red {
    color: #dc1818 !important;
}
.ad-link {
    position: absolute;
    bottom: 75px;
    background: white;
    width: 95%;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 5px;
    display: flex;
    color: black;
    height: 50px;
    align-items: center;
}
.share-button {
    background: #5b4ce3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
}
.ad-box h1 span {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    display: inline-block;
}
.ad-box_finished h1 span {
    background: #848282;
}
.ad-box__active h1 span {
    background: #2dc51a;
}
.ad-box__review h1 span {
    background: orange;
}
.ad-box h1 {
    margin: 0 0 10px;
}
p {
    padding: 0 20px;
}
.invitation-warning p {
    padding: 0
}
.follow-button {
    height: 35px;
    width: 80px;
    border: 1px solid #5b4ce3;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    color: #5b4ce3;
}
.follow-button--disabled {
    border: none;
    color: #353535;
}
p.center {
    text-align: center;
}
.p-12 {font-size: 12px}
.p-13 {font-size: 13px}
.p-14 {font-size: 14px}
.p-15 {font-size: 15px}
.p-16 {font-size: 16px}
.p-17 {font-size: 17px}
.p-18 {font-size: 18px}
.p-19 {font-size: 19px}
.p-20 {font-size: 20px}
.p-25 {font-size: 25px}
.p-30 {font-size: 30px}
/* CARDS */
.modal-group {
    z-index: 1;
}
.notification-modal, .search-modal {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px, rgba(0, 0, 0, 0.1) 0px 8px 16px;
    padding: 0 20px;
    background: white;
    overflow-y: auto;
    padding-bottom: 100px;
}
.modal-closer {
    position: fixed;
    bottom: 0;
    background: white;
}
.modal {
    width: 90%;
    background: white;
    height: 80%;
    position: fixed;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 8px 16px rgba(0, 0, 0, .1);
    overflow: hidden;
}
.modal-sidebar {
    width: 50%;
    min-width: 50%;
    height: 100%;
}
.auth-card {
    height: 100%;
    background: #30242a;
    overflow-y: auto;
    width: 100%;
}
.invitation-warning {
    margin: 40px auto;
    width: 90%;
    max-width: 396px;
}
.auth-card .form-group {
    width: 80%;
    margin: 50px auto;
    color: white;
}
.form-group p {
    padding: 0;
}
.step-bar-container {
    height: 3px;
    display: flex;
    justify-content: space-between;
}
.step-bar {
    background: #f3f3f3;
    width: 32.8%;
    height: 100%
}
.step-bar.active {
    background: #09d07d;
}
.step-counter p {
    margin-top: 5px;
    font-size: 12px;
    opacity: .7;
    text-align: right;
    margin-bottom: 30px;
}
.gender-card {
    height: 100px;
    width: 100px;
    border-radius: 6px;
    background: gainsboro;
    transition: background-color .4s ease-in-out;
}
.gender-card.male.active {
    background: #7cb9f5;
}
.gender-card.female.active {
    background: #ff88c3;
}
.form-card {
    align-items: center;
    background-color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 8px 16px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    margin: 40px auto;
    width: 90%;
    max-width: 396px;
    height: 400px;
}
.intro-card {
    margin: 50px auto 0;
    width: 90%;
    max-width: 396px;
}
.auth-area {
    width: 100%
}
.side-bar {
    position: fixed;
    right: 50px;
    top: 100px;
    width: 28%;
    text-align: left;
}
/* IMAGES */
.loading-screen img {
    height: 150px;
    width: 150px;
    margin: 150px auto;
    text-align: center;
    display: block;
    border-radius: 15px;
    animation: throb 2s ease-in-out infinite;
}
header .logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 5px;
}
img.flat-image {
    height: 100px;
}
.modal-sidebar img {
    width: 120%;
    height: 100%;
    margin-left: -40px;
    animation: bounceSmall 2s linear alternate infinite;
}
.gender-card img {
    width: 35%;
    margin: auto;
}
.gender-card.female img { 
    width: 39%;
}
.avatar-gallery img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: 300ms ease-in-out;
}
.avatar-gallery img.active {
    margin: 0 5px 10px;
    height: 70px;
    width: 70px;
}
.profile-img {
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.icon-img {
    height: 15px;
    width: 15px;
    vertical-align: middle;
}
/* FOOTER */
footer {
    background: white;
    width: 100%;
    margin-top: 50px;
    border-top: solid 1px #E3E3E3;
}
.footer-link-block {
    margin: auto 10px;
    padding: 0 0 30px;
    justify-content: space-between;
}
.footer-link-block div {
    width: 24%;
}
.footer-link-block h3 {
    margin: 30px 0 10px;
}
.footer-link-block a {
    line-height: 20px;
    color: black;
}
.footer-bottom-bar {
    background: #262626;
    height: 50px;
    line-height: 50px;
    color: #656B73;
}
.footer-bottom-bar .content {
    width: 90%;
    margin: auto;
}

@media screen and (min-width: 900px) {
    .hide-sm {
        display: block;
    }
    .intro-card, .auth-area {
        width: 50%;
        height: 100%;
    }
}

@keyframes move {
    0% {top: 0;}
    50% {top: 100%; -webkit-transform: rotate(450deg); width: 150px; height: 150px;}
    75% {top: 100%; -webkit-transform: rotate(450deg); width: 150px; height: 150px;}
    100% {bottom: 100%;}
} 

@media screen and (min-width: 1200px) {
    nav header {
        box-shadow: 0 0 8px 4px rgb(0,0,0,0.1);
        z-index: 9;    
    }
    nav footer {
        flex-direction: column;
        left: 0;
        right: unset;
        width: 130px;
        border-right: 1px solid #f1f1f1;
        top: 70px;
        bottom: 0;
        height: 100%;
        border-top: unset;
        justify-content: flex-start;
        padding-top: 35px;
    }

    footer .nav-item {
        flex-direction: row;
        height: 50px;
        justify-content: left;
        font-size: 16px;
    }

    footer .nav-item > div {
        font-size: 14px;
    }
    
    footer .nav-item .hydrated {
        height: 20px;
        width: 20px;
        opacity: .7;
        margin-right: 10px;
    }

    footer .nav-item:last-child > div{
        margin-left: 11px;
    }
    .horizontal-scroll {
        margin: 10px 0;
        height: 200px !important;
    }
    .horizontal-scroll::-webkit-scrollbar {
        display: block;
        margin-top: 20px;
    }
    .jumper {
        margin-top: 255px !important;
    }
    .modal-closer {
        width: 60%;
        margin: auto;
        right: 0;
        left: 0;
        text-align: center;
    }
    .search-modal, .notification-modal {
        padding: 20px 300px 100px !important;
        top: 150px !important;
    }

    .search-modal.modal div.main:not(.modal-closer) {
        max-width: 550px;
    }
    .footer-link-block {
        margin: auto 50px;
    }
}