@import url('https://fonts.googleapis.com/css2?family=Inter+Tight&display=swap');

:root {
    --border: 1px solid #262626;
    --borderBlack: 1px solid #000;
}

html,
body {
    /* overflow: hidden; */
    font-family: 'Inter Tight', sans-serif;
    color: #FFF;
    background-color: black;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    display: none;
}

.menu {
    z-index: 100;
    background-color: black;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 0.5rem 0.75rem;
    border-right: var(--border);
}

.menu__elements-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    /* height: 100%; */
}

.menu__elements-wrapper .menu__element {
    position: relative;
    transition: all .5s ease;
    background: #FFF0;
    color: #FFF;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
}

.menu__element--page {
    gap: 0.5rem;
    justify-content: normal !important;
    width: auto !important;
    padding: 12px;
    flex: 1;
}

.menu__element:hover {
    background: #ffffff1f;
}

.menu__element>img {
    transition: .3s ease;
    transform: scale(1);
    color: #FFF;
}

.menu__element:hover>img {
    transform: scale(1.1);
}

.menu__element.menu__element--logo .logo-image-wrapper {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
}

.menu__element.menu__element--profile .menu__profile-image-wrapper {
    transition: .3s ease;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.25px solid white;
}

.menu__element--profile:hover>.menu__profile-image-wrapper {
    transform: scale(1.1);
}

.menu__element-counter {
    z-index: 100;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ff3040;
    height: 1rem;
    min-width: 1rem;
    max-width: 2rem;
    border-radius: 1rem;
    border: var(--borderBlack);
    text-align: center;
    padding: 1px 2px;
    font-size: 0.7em;
    line-height: 18px
}

/* main {
    min-height: 100vh;
} */

main,
header,
footer {
    margin-left: 185px;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 650px) {

    main,
    header,
    footer {
        margin: 0;
    }

    .menu {
        flex-direction: row;
        max-height: 48px;
        min-height: 48px;
        top: auto;
        right: 0;
        border-top: var(--border);
        border-right: none;
        padding: 0;
    }

    .menu__elements-wrapper {
        flex-direction: row;
        justify-content: space-around;
    }

    .menu__element--page {
        gap: 0;
        justify-content: center !important;
        width: 48px !important;
        padding: 0;
        flex: auto;
    }

    .menu__element--page span {
        display: none;
    }
}

.profile {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.profile__image {
    border-radius: 50%;
}

.profile__info {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.25rem;
}

.profile__info-element {
    font-size: 1.25em;
    opacity: 1;
}

.profile__info-element--link {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .75rem;
    opacity: 0.7;
}

.tablist {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #242424;
}

.tablist__container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 400px;
}

.tablist__container .tablist__element {
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .75rem;
    padding: 1rem;

    justify-content: center;
    flex: 0.5;
    padding: 1rem 0;
}

.tablist__element img {
    width: 14px;
    height: 14px;
}

/* width="14px" height="14px" */

.tablist__element--selected {
    border-top: 1px solid #f5f5f5;
}

@media screen and (max-width: 650px) {
    .profile {
        justify-content: normal;
    }

    .profile__container {
        flex-direction: row;
    }

    .profile__image {
        width: 64px;
        height: 64px;
    }

    .profile__info {
        align-items: normal;
    }

    .tablist__container {
        max-width: none;
        /* flex: 1; */
    }

    /* .tablist__container .tablist__element {
            justify-content: center;
            flex: 0.5;
            padding: 1rem 0;
        } */
}