.slogan {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    padding-bottom: 0.4em;
}

.mobileNav {
    display: none;
}

.topBar {
    background: #272727;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.activeNav {
    border-bottom: 1px solid #CBC473;
}

.activeSection {
    color: #CBC473;
}

.activeSection:hover {
    border-bottom: 1px solid #CBC473;
}

.inactiveSection {
    color: #989898;
    font-size: 0.9rem;
}

.soon {
    position: absolute;
    top: 0;
    margin-top: -11px;
    margin-left: -13px;
}

.soonNotification {
    position: relative;
    top: 4px;
    left: 25px;
}

.mobileSoon {
    margin-top: -26px;
    margin-left: -10px;
}

/* Top bar */
.topBar {
    background: #222627;
    padding: 1em 1em 0 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    right: 0;
    width: 100%;
    z-index: 9;
    /*box-shadow: 1px 1px 10px 1px #000;*/
    border-bottom: 1px solid #FF7555;
}

.veryTopBar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.earthIcon {
    width: 15px;
}

.mainNav ul {
    display: flex;
    align-items: center;
}

.mainNav li {
    list-style: none;
    margin: 0 0.75em;
}

.mainNav ul a {
    border-right: 1px solid #989898;
}

.mainNav ul a:hover {
    text-decoration: none;
}

.mainNav ul a:last-child {
    border-right: none;
    border-left: 1px solid #989898;
}

.logo {
    text-align: center;
    font-style: italic;
}

.bars::before {
    display: none;
}

/* Notifications bar */
.notificationIcon {
    margin: auto
}

.notificationsBar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222627;
    border-top: 1px solid #707070;
}

.searchBarForm {
    display: flex;
    width: 25%;
    margin-right: auto;
}

.searchBar {
    padding: 0 0.75em;
    background: #707070;
    color: #fff;
    border: none;
    border-radius: 50px 0 0 50px;
    width: 100%;
}

.searchBar::placeholder {
    color: #d7d7d7;
}

.searchBtn {
    background: var(--primaryColor);
    border: none;
    border-radius: 0 50px 50px 0;
    width: 40px;
    height: 30px;
    background-image: url(../assets/search.svg);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.searchBtn:hover {
    background: #EE5D3B;
    background-image: url(../assets/search.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.SoonIcon {
    margin-top: -45px;
}

.soonPicAndName {
    position: relative;
}

.soonSoon {
    margin-top: 14px;
}

.picAndName {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 13em;
    margin: 0.2em 0;
    padding: 0.2em;
    background: #815A49;
    border-radius: 5px;
    color: #fff;
}

.soonPicAndName {
    display: flex;
    align-items: center;
    width: 210px;
    color: #a7a7a7;
}

.soonPicAndName .pic {
    opacity: 0.7;
}

.soonPicAndName .soonNotification {
    top: -25px;
}

.userName {
    display: flex;
    width: 11em;
    justify-content: space-around;
    margin: 0 0.2em;
}

.userName h3 {
    font-size: 1rem;
}

.notificationItem {
    cursor: pointer;
    position: relative;
}

.notiNumber {
    width: 20px;
    height: 20px;
    font-size: 0.9rem;
    background: var(--primaryColor);
    position: absolute;
    right: -15px;
    top: -5px;
    padding: 0.25em;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.speechBubble {
    opacity: .5;
}

/* Notification dropdown */
.notiDiv {
    width: 460px;
    background: #6A6A6A;
    position: absolute;
    left: -1em;
    z-index: 1;
    border-radius: 10px;
}

.notiDivItemsContainer {
    display: flex;
    border-bottom: 1px solid #424242;
}

.notiDivItemsContainer:nth-last-child(1) {
    border: none;
}

.notiDivImg img {
    width: 100px;
}

.notiDivCol {
    margin: 0 5px;
}

.notiDivNumber {
    margin-left: 0;
    background: #6F6F6F;
    padding-right: 0.5em;
    text-align: center;
    border-radius: 10px 0 0 10px;
}

.notiDivNumber h5 {
    background: var(--primaryColor);
    padding: 5px 10px 5px 5px;
    clip-path: polygon(0 0, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
    margin: 10px 0;
}

.notiDivNumber p {
    color: var(--primaryColor);
}

.notiDivImg {
    display: flex;
    margin: 0.5em 0 0.5em 0.5em;
}

.notiDivImg img {
    border-radius: 20px 0;
}

.notiDivContent {
    width: 150px;
    margin-left: -5px;
    padding: 10px 5px;
}

.notiDivContentName {
    padding: 0 0 10px 10px;
    border-bottom: 1px solid var(--primaryColor);
}

.notiDivContentText {
    padding: 10px;
    color: #C9C9C9;
    font-size: 0.9rem;
}

.notiDivTime {
    color: var(--primaryColor);
    padding: 10px 10px 0 0;
}

.notiDivTime img {
    width: 2em;
    display: block;
    margin: 1em auto;
}

.hide {
    display: none;
}

.topContainer {
    padding-top: 5em;
}


/* Smaller screen size */
@media (max-width: 1162px) {

    /* Replacing the desktop nav with the mobile one */
    .slogan {
        max-width: 20rem;
    }

    .bars::before {
        display: block;
    }

    .menuIcon {
        position: absolute;
        right: 50px;
    }

    .mainNav {
        display: none;
    }

    .mobileNav {
        display: block;
    }

    /* Styling the mobile nav */
    .bars {
        padding: 0.8rem;
        background: var(--primaryColor);
        cursor: pointer;
    }

    .bars:hover {
        background: #EE5D3B;
    }

    .mobileNav {
        width: 200px;
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
        transform-origin: right;
        transform: scale(0, 1);
        background: #424242;
        z-index: 10;
        border-left: 2px solid #707070;
        cursor: pointer;
        overflow: auto;
    }

    .mobileNav ul {
        list-style: none;
        padding: 1em;
        margin-top: 6em;
    }

    .mobileNav ul li {
        padding: 1em 0.5em;
        border-bottom: 1px solid #707070;
    }

    .activeSection:hover,
    .logOut:hover {
        background: var(--primaryColor);
        color: #fff;
    }

    .logOut {
        display: flex;
    }

    .logOut p {
        padding-left: 1rem;
    }

    .closeMenuIcon {
        position: absolute;
        right: 20px;
        top: 20px;
        padding: 1em;
        background: var(--borderColor);
    }

    .openMenu {
        transform: scale(1, 1);
        transition: all 0.2s ease;
    }

    .closeMenu {
        transition: all 0.2s ease;
    }

    .soonPicAndName {
        display: none;
    }




}


@media (max-width: 600px) {

    /* Notification bar */
    .bubble,
    .friends {
        display: none;
    }


}

@media (max-width: 450px) {

    .menuIcon {
        right: 2.5em;
    }
}

@media (max-width: 390px) {
    .menuIcon {
        right: 1.5em;
    }
}

@media (max-width: 280px) {

    .menuIcon {
        right: 0.5em;
        top: 0.5em;
    }
}