* {
    box-sizing: content-box;
}

#main__page {
    font-family: "Lato", sans-serif;
}

.inbox__sidebar--int {
    position: relative;
}

.inbox__notification {
    position: absolute;
    top: -5px;
    right: -10px;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    background-color: red;
    border-radius: 50%;
    padding: 2px;
    color: white;
}

a {
    text-decoration: none;
    color: black;
}

.disabled {
    pointer-events: none;
}

.ban__notification {
    background-color: red;
    padding: 10px;
    text-align: center;
    color: white;
    position: fixed;
    right: 10px;
    left: 10px;
}

.search__error {
    background-color: #28DF99;
    display: flex;
    justify-content: center;
    color: white;
    font-weight: bold;
    padding: 10px;
}

/* for desktop only */
@media (min-width: 920px) {
    #main__page {
        display: flex;
        flex-direction: row;
    }

    .sidebar,
    .main__content {
        min-height: 100vh;
        margin-top: 70px;
    }

    .sidebar {
        background-color: white;
        position: fixed;
        top: 0px;
        left: 0px;
        bottom: 0px;
        width: 10%;
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
        border-right: 2px solid #eee;
        z-index: 100;
    }

    .explore__sidebar,
    .market__sidebar,
    .post__sidebar,
    .profile__sidebar,
    .inbox__sidebar,
    .hangout__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
    }

    .explore__sidebar {
        margin-top: 35px;
    }

    .explore__sidebar--int,
    .market__sidebar--int,
    .post__sidebar--int,
    .profile__sidebar--int,
    .inbox__sidebar--int,
    .hangout__sidebar--int {
        width: 25px;
        height: 25px;
        background-color: rgb(236, 219, 219);
        padding: 10px;
        border-radius: 8px;
    }

    .main__content {
        background-color: white;
        position: absolute;
        top: 0px;
        left: 11%;
        right: 0px;
        padding: 20px;
    }
}


/* For Mobile and tablet only */
@media (max-width: 919px) {
    .sidebar {
        position: fixed;
        left: 0px;
        right: 0px;
        bottom: 0px;
        height: 50px;
        z-index: 100;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        border-top: 2px solid rgb(241, 236, 236);
        background-color: white;
    }

    .explore__sidebar,
    .market__sidebar,
    .post__sidebar,
    .profile__sidebar,
    .inbox__sidebar,
    .hangout__sidebar {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .explore__sidebar > div:last-child,
    .market__sidebar > div:last-child,
    .post__sidebar > div:last-child,
    .profile__sidebar > div:last-child,
    .inbox__sidebar > div:last-child,
    .hangout__sidebar > div:last-child {
        font-size: 12px;
    }

    .main__content {
        margin-top: 70px;
        margin-bottom: 70px;
    }

}