@font-face {
    font-display: swap;
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/Unbounded-Black.woff') format('woff');
}

@font-face {
    font-display: swap;
    font-family: 'Cygre';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/Cygre-Regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Cygre';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/Cygre-SemiBold.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Cygre';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/Cygre-Bold.woff') format('woff');
}

* {
    box-sizing: border-box;
}

:root {
    --background-color: #FBFBFB;
    --block-color: #FFFFFF;
    --main-text-color: #020202;
    --else-text-color-50: #ACACAC;
    --else-text-color-33: #CCCCCC;
    --main-accent-color: #31A05E;
    --else-accent-color-1: #E3DFFF;
    --else-accent-color-2: #F7D488;
    --error-accent-color: #FF220C;
    --block-accent-color-110: #E6E6E6;
    --block-accent-color-06: #F0F0F0;
    --block-accent-color-210: #EBF6EF;
    --like-button-accent-color: #FFE9E7;
    --like-button-hover-color: #FFE0DD;
    --shadow-big: 0 0 15px #02020207;
    --shadow-small: 0 0 12px #02020205;
    --shadow-popup: 0 0 9px #02020211;
    --font-size-0: 1.1rem;
    --font-size-1: 1.3rem;
    --font-size-2: 1.4rem;
    --font-size-3: 1.8rem;
    --font-size-4: 3.2rem;

    font-size: 62.5%;
    height: 100%
}

html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: calc(7.2rem + 2.6rem);
}

.wrapper {
    max-width: calc(100% - 10rem);
    width: 100%;
    margin: 0 auto;
}

body {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    background-color: var(--background-color);
    font-size: var(--font-size-3);
    letter-spacing: 0.39px;
    color: var(--main-text-color);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    line-height: 1.2;
}

footer {
    font-size: var(--font-size-1);
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 2.275rem 5rem;
    color: var(--else-text-color-33);
    align-items: center;
}

footer p {
    display: block;
}

header {
    display: flex;
    justify-content: space-between;
    background-color: var(--block-color);
    box-shadow: var(--shadow-big);
    border-radius: 0 0 2rem 2rem;
    color: var(--main-accent-color);
    padding: 2.1rem 5rem;
    align-items: center;
    font-size: var(--font-size-1);
    position: sticky;
    top: 0;
    z-index: 999;
    gap: 11.6rem;
}

header .phone-link {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-family: 'Unbounded';
    font-weight: 900;
    color: var(--main-text-color);
    font-size: var(--font-size-3);
}

header .phone-link img {
    border-radius: 0;
    margin: 0;
    min-width: 30px;
    max-width: 30px;
    min-height: 30px;
    max-height: 30px;
}

header img {
    object-fit: cover;
    width: 3rem;
    height: 3rem;
    border-radius: 1.5rem;
}

header div {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

header div a {
    color: var(--main-accent-color);
}

header div a:hover {
    color: var(--main-text-color);
}

.header__avatar {
    display: flex;
}

main {
    flex: 1 0 auto;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    font-size: var(--font-size-1);
    transition: 0.2s;
    line-height: 1;
    color: var(--else-text-color-50);
    -webkit-tap-highlight-color: transparent;
}

.title {
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.reg__form button.disabled {
    pointer-events: none;
    background-color: var(--else-text-color-33);
}

button {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: var(--font-size-3);
    color: var(--main-text-color);
    transition: 0.2s;
    cursor: pointer;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

input {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: var(--font-size-1);
    color: var(--main-text-color);
    transition: 0.2s;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

textarea {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: var(--font-size-1);
    color: var(--main-text-color);
    transition: 0.2s;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

label {
    -webkit-tap-highlight-color: transparent;
    line-height: 1;

}

div {
    -webkit-tap-highlight-color: transparent;
}

span {
    line-height: 1;
}

::placeholder {
    font-family: 'Cygre';
    font-size: var(--font-size-1);
    color: var(--else-text-color-50);
    line-height: 1;
    vertical-align: middle;
}

.auth__section,
.reg__section {
    max-width: calc(35rem + 2.6rem*2);
    height: max-content;
    background-color: var(--block-color);
    box-shadow: var(--shadow-small);
    border-radius: 2rem;
    padding: 1.6rem 2.6rem;
    display: flex;
    margin: 0 auto;
    margin-top: 1.6rem;
    margin-bottom: 2.6rem;
    align-items: flex-start;
    gap: 4.1rem;
    position: relative;
}

.auth__center,
.reg__center {
    display: flex;
    flex-direction: column;
    min-height: calc(var(--vh, 1vh) * 100 - 7.2rem*2);
    justify-content: center;
}

.auth__notify {
    font-size: var(--font-size-2);
    padding: 1.6rem 2.1rem;
    box-shadow: var(--shadow-small);
    border-radius: 1rem;
    margin: 0 auto;
    max-width: max-content;
    scale: 90%;
    opacity: 0;
    transition: 0.2s;
    left: 0;
    right: 0;
    text-align: center;
    position: absolute;
    top: calc(-4.6rem - 1.6rem);
}

.auth__notify.success {
    scale: 100%;
    opacity: 100%;
    background-color: var(--block-accent-color-210);
    color: var(--main-accent-color);
}

.auth__notify.reject {
    scale: 100%;
    opacity: 100%;
    background-color: var(--like-button-accent-color);
    color: var(--error-accent-color);
}

.auth__notify.info {
    scale: 100%;
    opacity: 100%;
    background-color: var(--block-color);
    color: var(--main-text-color);
}

.auth__notify .auth__notify-username {
    font-weight: 600;
}

.div-line {
    width: 100%;
    height: 1px;
    background-color: var(--block-accent-color-110);
}

.auth__section img,
.reg__section img {
    height: 30rem;
    width: 30rem;
}

.auth__form,
.reg__form {
    width: 100%;
    margin-top: 1.6rem;
}

input.auth-and-reg,
input.auth-and-reg::placeholder {
    font-size: var(--font-size-2);
}

.auth__form legend,
.reg__form legend {
    font-size: var(--font-size-4);
    font-weight: 600;
    margin: 0;
    padding: 0;
    margin-bottom: 4.1rem;
}

.auth__form label,
.reg__form label {
    display: inline-block;
    margin: 0;
    padding: 0;
    margin-bottom: 2.6rem;
    width: 100%;
    font-weight: 600;
}

.auth__form label:last-child,
.reg__form label:last-child {
    margin-bottom: 6.6rem;
}

.auth__form input,
.reg__form input {
    width: 100%;
    min-height: 4rem;
    border-radius: 2rem;
    outline: none;
    background-color: transparent;
    border: 1px solid var(--else-text-color-33);
    padding: 0 2.6rem;
    margin-top: 0.8rem;
}

.auth__form input:hover,
.reg__form input:hover {
    border: 1px solid var(--else-text-color-50);
}

.auth__form input:focus,
.reg__form input:focus {
    border: 1px solid var(--else-text-color-50);
}

.auth__form input:valid,
.reg__form #reg__email:valid {
    border: 1px solid var(--main-accent-color);
    color: var(--main-accent-color);
}

.reg__form #reg__email:invalid {
    border: 1px solid var(--else-text-color-50);
    color: var(--main-text-color);
}

.auth__form input::placeholder,
.reg__form input::placeholder {
    color: var(--else-text-color-33);
}

.auth__form button,
.reg__form button {
    background-color: var(--main-accent-color);
    color: var(--block-color);
    border: none;
    font-size: var(--font-size-3);
    width: 100%;
    min-height: 4rem;
    border-radius: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth__form button:hover,
.reg__form button:hover {
    opacity: 87%;
}

.auth__form button:active,
.reg__form button:active {
    transform: scale(95%);
}

.auth__buttons,
.reg__buttons {
    display: flex;
    gap: 0.8rem;
    position: relative;
}

.auth__buttons .create-account,
.reg__buttons .have-account {
    min-width: 4rem;
    max-width: 4rem;
    min-height: 4rem;
    max-height: 4rem;
    border-radius: 1rem;
    background-color: var(--block-accent-color-210);
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth__buttons span,
.reg__buttons span {
    position: absolute;
    min-width: max-content;
    top: 0;
    left: calc(100% + 0.4rem + 0.8rem);
    background-color: var(--block-accent-color-210);
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.6rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-small);
    cursor: default;
    pointer-events: none;
    opacity: 0;
    transition: 0.2s;
    font-size: var(--font-size-1);
    color: var(--main-accent-color);
}

.reg__buttons span {
    left: auto;
    right: calc(100% + 0.4rem + 0.8rem);
}

.auth__buttons span::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--block-accent-color-210);
    left: -8px;
    top: calc((4rem - 16px) / 2);
}

.reg__buttons span::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--block-accent-color-210);
    right: -8px;
    top: calc((4rem - 16px) / 2);
}

.auth__buttons .create-account:hover~span,
.reg__buttons .have-account:hover~span {
    opacity: 1;
}

.auth__buttons .create-account svg,
.reg__buttons .have-account svg {
    fill: var(--main-accent-color);
    height: 13px;
    width: 13px;
    transition: 0.2s;
}

.auth__buttons .create-account:hover svg {
    transform: rotate(15deg);
}

.reg__buttons .have-account svg {
    transform: rotate(180deg);
}

.reg__buttons .have-account:hover svg {
    transform: rotate(180deg) translateX(4px);
}

.auth__links,
.reg__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.6rem;
    color: var(--else-text-color-50);
}

.auth__links a:hover,
.reg__input-div a:hover {
    color: var(--else-text-color-33);
}

.reg__input-div a {
    margin-top: 2.7rem;
    color: var(--else-text-color-50);
}

.reg__input-div a.mobile {
    display: none;
}

.reg__input-div span {
    font-size: var(--font-size-1);
    font-weight: 400;
    color: var(--else-text-color-33);
    transition: 0.2s ease-in-out;
}

#reg__lable_id span,
#reg__lable_email span {
    display: none;
    color: var(--main-accent-color);
    margin-left: auto;
}

#reg__lable_id span.show,
#reg__lable_email #reg__email:valid+div span.show {
    display: block;
}

#reg__lable_id span.off,
#reg__lable_email span.off {
    color: var(--error-accent-color);
}

.reg__form input.off,
#reg__lable_email #reg__email.off,
.auth__form input.off {
    color: var(--error-accent-color);
    border: 1px solid var(--error-accent-color);
}

.reg__form input.on,
.auth__form input.on {
    color: var(--main-accent-color);
    border: 1px solid var(--main-accent-color);
}

.reg__input-div span.done {
    color: var(--main-accent-color);
}

.reg__input-div div {
    width: 100%;
    padding: 0 2.6rem;
    display: inline-flex;
    justify-content: space-between;
    position: absolute;
    top: 0.5rem;
    left: 0;
}

.reg__input-div div.password {
    top: 7.2rem;
}

#reg__label_pass-1,
#reg__lable_id,
#reg__lable_email {
    position: relative;
}

#reg__label_pass-2 {
    margin-top: 2rem;
}

.main-section {
    display: flex;
    margin-top: 2.6rem;
    margin-bottom: 2.6rem;
}

.first-part {
    width: 100%;
    max-width: 25rem;
    margin-right: 2.6rem;
    flex-shrink: 2;
    height: calc(100vh - 2.6rem*2 - 7.2rem);
    position: sticky;
    top: calc(2.6rem + 7.2rem);
}

.first-part ul {
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--block-color);
    box-shadow: var(--shadow-small);
    border-radius: 2rem;
    padding: 1rem;
    height: 100%;
    min-height: 50rem;
}

.third-part>div {
    position: sticky;
    top: calc(2.6rem + 7.2rem);
}

.first-part a {
    font-size: var(--font-size-3);
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 1.6rem;
    color: var(--else-text-color-50);
    min-width: 10rem;
    padding: 1.6rem 2.1rem;
}

.first-part li {
    border-radius: 1rem;
    overflow: hidden;
    transition: 0.2s;
}

.first-part li svg:first-child {
    max-height: 19px;
    max-width: 24px;
}

.first-part li svg path {
    fill: var(--else-text-color-50);
}

.first-part li svg.pointer {
    min-height: 11px;
    max-height: 11px;
    fill: var(--else-text-color-50);
    margin-left: auto;
    transition: 0.2s;
    opacity: 0;
}

.first-part li:hover svg.pointer {
    opacity: 1;
}

.first-part li svg.pointer path {
    stroke-width: 0;
    stroke: transparent;
}

.first-part li:hover {
    background-color: var(--block-accent-color-06);
}

.first-part li:has(#exit) {
    margin-top: auto;
}

#exit,
#back {
    color: var(--error-accent-color);
}

#exit:hover,
#back:hover {
    background-color: var(--like-button-accent-color);
}

#exit svg path {
    stroke-width: 1.5px;
    stroke: var(--error-accent-color);
    fill: transparent;
}

#back svg path {
    fill: var(--error-accent-color);
}

#back svg {
    transform: rotate(180deg);
}

#active svg path {
    fill: var(--main-accent-color);
}

#active a {
    color: var(--main-accent-color);
    background-color: var(--block-accent-color-210);
    box-shadow: var(--shadow-small);
}

.second-and-third-parts {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-shrink: 1;
    min-width: 0;
}

.second-part {
    width: 100%;
    min-width: 0;
    position: relative;
}

.third-part {
    width: 100%;
    max-width: 25rem;
    margin-left: 2.6rem;
}

.post-buttons {
    display: flex;
    gap: 1.6rem;
    margin-top: 2.1rem;
    margin-bottom: 1.6rem;
}

.like-button,
.comment-button,
.repost-button {
    background-color: transparent;
    border: none;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--else-text-color-50);
    font-weight: 600;
    gap: 0.39rem;
    max-width: max-content;
    transition: 0.2s;
}

.like-button:hover svg,
.comment-button:hover svg,
.repost-button:hover svg {
    opacity: 80%;
}

.like-button:active,
.comment-button:active,
.repost-button:active {
    transform: scale(95%);
}

.like-button span,
.comment-button span,
.repost-button span {
    font-size: var(--font-size-2);
    font-weight: 700;
}

.like-button.liked svg {
    animation: like-post 1s;
}

.menu-profile {
    position: relative;
}

/* .first-part li:has(.menu-profile) {
    margin-bottom: 3.1rem;
} */

.menu-profile div {
    display: flex;
    gap: 0.39rem;
    flex-direction: column;
}

.menu-profile div p.menu__first-and-second-names {
    color: var(--main-text-color);
    font-weight: 600;
    text-overflow: ellipsis;
    width: calc(23rem - 50px - 1.6rem*3);
    white-space: nowrap;
    overflow: hidden;
}

.menu-profile div p.menu__username {
    color: var(--main-accent-color);
    font-size: var(--font-size-1);
    text-overflow: ellipsis;
    width: calc(23rem - 50px - 1.6rem*3);
    white-space: nowrap;
    overflow: hidden;
}

.menu-profile div p.menu__username.main {
    color: var(--main-accent-color);
    font-weight: 600;
    text-overflow: ellipsis;
    width: calc(23rem - 50px - 1.6rem*3);
    white-space: nowrap;
    overflow: hidden;
    font-size: var(--font-size-3);
}

.menu-profile div p.menu__username.main span {
    color: var(--main-text-color);
}

.menu-profile .menu-avatar {
    min-height: 50px;
    min-width: 50px;
    max-width: 50px;
    max-height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.menu-profile .menu-status {
    min-height: 24px;
    min-width: 24px;
    max-width: 24px;
    max-height: 24px;
    position: absolute;
    top: 1.1rem;
    left: 1.6rem;
}

@keyframes like-post {
    from {
        transform: scale(100%);
    }

    20% {
        transform: scale(95%);
    }

    40% {
        transform: scale(125%);
    }

    to {
        transform: scale(100%);
    }
}

.like-button svg,
.comment-button svg,
.repost-button svg {
    width: 24px;
    height: 19px;
    stroke: var(--else-text-color-50);
    fill: transparent;
    stroke-width: 2px;
    transition: 0.2s;
}

.liked {
    color: var(--error-accent-color);
}

.liked svg {
    fill: var(--error-accent-color);
    stroke: transparent;
}

.reposted {
    color: var(--main-accent-color);
}

.reposted svg {
    stroke: var(--main-accent-color);
}

.hide {
    display: none;
}

.third-part-in-header {
    display: none;
}

.user-post:target {
    animation: scrollPost 1s 0.5s;
}

.friend-buttons-div {
    display: flex;
    align-items: center;
    margin-top: 2.6rem;
    gap: 1.6rem;
}

#add-to-friends,
#unrequest-from-friends {
    margin: 0;
}

#unrequest-from-friends {
    font-size: var(--font-size-1);
}

.friend-buttons {
    min-height: 4rem;
    cursor: pointer;
    margin-top: 2.6rem;
    display: flex;
    align-items: center;
    padding: 0 1.6rem;
    border-radius: 2rem;
    color: var(--block-color);
    background-color: var(--main-accent-color);
    max-width: max-content;
    transition: 0.2s;
}

.friend-buttons:hover {
    opacity: 80%;
}

.friend-buttons:active {
    transform: scale(95%);
}

#you-are-friends:hover,
#delete-from-friends:hover {
    opacity: 100%;
}

#you-are-friends:active,
#delete-from-friends:active {
    transform: scale(100%);
}

#unrequest-to-friends,
#unrequest-from-friends {
    padding: 0;
    background-color: transparent;
    color: var(--error-accent-color);
}

#delete-from-friends {
    color: var(--error-accent-color);
    margin: 0;
    min-height: inherit;
    border-radius: 0;
    max-width: none;
}

#delete-from-friends.friend-buttons.hide {
    display: none;
}

.friend-buttons.hide,
.friend-buttons-div.hide {
    display: none;
}

.notification-in-menu {
    margin-left: auto;
    font-size: var(--font-size-2);
    color: var(--else-text-color-50);
    display: flex;
    align-items: center;
    justify-content: center;
}

#active .notification-in-menu {
    color: var(--main-accent-color);
}

.notification-in-menu-mobile {
    font-size: var(--font-size-0);
    border-radius: 50%;
    padding: 0.39rem;
    color: var(--block-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1.9rem;
    min-width: 1.9rem;
    position: absolute;
    left: calc(50% + 0.425rem);
    top: -0.015rem;
}

.notification-in-menu-mobile.active {
    background-color: var(--main-accent-color);
}

.show-three-dots-popup {
    max-width: 19px;
    max-height: 6px;
    min-width: 19px;
    min-height: 6px;
    pointer-events: none;
}

.div-show-three-dots-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 28px;
    max-height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.div-show-three-dots-popup.main-in-profile {
    position: absolute;
    top: 1.6rem;
    right: 2.6rem;
    z-index: 51;
}

.div-show-three-dots-popup:hover {
    background-color: var(--block-accent-color-06);
}

.menu-title {
    font-size: var(--font-size-3);
    padding-left: 2.1rem;
    margin: 1.6rem 0 0.6rem;
    font-weight: 600;
}

@keyframes scrollPost {
    from {
        background-color: var(--block-color);
    }

    33% {
        background-color: var(--block-accent-color-110);
    }

    to {
        background-color: var(--block-color);
    }
}

.third-part-title {
    color: var(--else-text-color-50);
    margin-bottom: 1.6rem;
}

.image-in-post-div {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    max-height: 56rem;
    margin-top: 1rem;
}

.image-in-post {
    width: 100%;
    max-height: 56rem;
    object-fit: contain;
    border-radius: 1rem;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
}

.image-in-post-hide {
    border-radius: 1rem;
    width: 100%;
    object-fit: cover;
    max-height: 56rem;
    overflow: hidden;
    /* filter: blur(20px); */
    opacity: 20%;
}

.main-title {
    font-size: var(--font-size-4);
    font-weight: 600;
    margin-bottom: 2.6rem;
}

.section-title {
    color: var(--else-text-color-50);
    margin-bottom: 1.6rem;
}

.section-title.mobile {
    display: none;
}

.first-part-mobile {
    display: none;
    width: 100%;
    gap: 0.625rem;
}

.first-part-mobile ul {
    flex-grow: 1;
    list-style: none;
    padding: 0.39rem;
    gap: 0.39rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: var(--block-color);
    box-shadow: var(--shadow-small);
    border-radius: 2rem;
    min-height: 4rem;
}

.first-part-mobile li a:hover {
    background-color: var(--block-accent-color-06);
}

.first-part-mobile li {
    width: 100%;
    overflow: hidden;
    flex-shrink: 1;
}

.first-part-mobile li#active {
    flex-shrink: 1;
}

.first-part-mobile a {
    font-size: var(--font-size-0);
}

.first-part-mobile li a {
    border-radius: calc(2rem - 0.39rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0;
    transition: 0.2s;
    position: relative;
}

.first-part-mobile li a svg {
    fill: var(--else-text-color-33);
}

.first-part-mobile #active a svg {
    fill: var(--main-accent-color);
    opacity: 100%;
}

.menu__link-profile {
    display: flex;
    border-radius: 50%;
    transition: 0.2s;
    box-shadow: var(--shadow-small);
    /* padding: 0.39rem; */
}

.menu__link-profile .menu-avatar {
    min-height: calc(6.155rem);
    min-width: calc(6.155rem);
    max-width: calc(6.155rem);
    max-height: calc(6.155rem);
    object-fit: cover;
    border-radius: 50%;
    border: 0.39rem solid var(--block-color);
    transition: 0.2s;
}

.menu__link-profile:hover .menu-avatar {
    border: 0.39rem solid var(--block-accent-color-06);
}

.menu__link-profile:focus .menu-avatar {
    border: 0.39rem solid var(--block-accent-color-06);
}

.request-buttons {
    display: flex;
    gap: 0.39rem;
}

.not-friend {
    display: flex;
    gap: 1rem;
}

.not-friend .request {
    border: none;
    font-size: var(--font-size-2);
    width: 100%;
    max-width: fit-content;
    min-height: 4rem;
    max-height: 4rem;
    border-radius: 1rem;
    padding: 1rem 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-friend .hide {
    display: none;
}

.not-friend .request.to-friends {
    background-color: var(--main-accent-color);
    color: var(--block-color);
}

.not-friend .request.sended {
    color: var(--main-accent-color);
    background-color: var(--block-accent-color-210);
}

.not-friend .request.un-to-friends {
    background-color: var(--like-button-accent-color);
    padding: 0;
    min-width: 4rem;
    max-width: 4rem;
    max-height: 4rem;
}

.not-friend .request.un-to-friends svg {
    fill: var(--error-accent-color);
    height: 11px;
    width: 11px;
}

.not-friend button:hover {
    opacity: 80%;
}

.not-friend button:active {
    transform: scale(95%);
}

.text-other-user {
    border: none;
    font-size: var(--font-size-2);
    width: 100%;
    max-width: fit-content;
    min-height: 4rem;
    max-height: 4rem;
    border-radius: 1rem;
    padding: 1rem 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-accent-color);
    color: var(--block-color);
    transition: 0.2s;
}

.text-other-user:hover {
    opacity: 80%;
}

.f-and-s-names-and-plat {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    position: relative;
    max-width: fit-content;
}

.plat-status-div {
    position: relative;
    display: flex;
    align-items: center;
}

#plat-status {
    font-family: 'Unbounded';
    background: linear-gradient(45deg, #050310, #5a1f8c, #083a8c);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--block-color);
    border-radius: 0.625rem;
    padding: 0.39rem 0.625rem;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

#plat-status-desc {
    position: absolute;
    min-width: max-content;
    top: 0;
    right: calc(-14.4rem - 0.39rem);
    background: linear-gradient(45deg, #050310, #5a1f8c, #083a8c);
    padding: 1rem 1.6rem;
    border-radius: calc(1rem);
    box-shadow: var(--shadow-popup);
    cursor: default;
    pointer-events: none;
    opacity: 0;
    transition: 0.2s;
    font-size: var(--font-size-0);
    color: var(--block-color);
    z-index: 77;
}

#plat-status:hover {
    opacity: 80%;
}

#plat-status:hover~#plat-status-desc {
    opacity: 1;
}

.fixed-div-for-bottom {
    position: fixed;
    bottom: 2.6rem;
    width: calc(100% - 25rem - 25rem - 2.6rem - 2.6rem - 10rem - 2.6rem*2);
    max-width: 100%;
    z-index: 1;
    margin: 1.6rem 2.6rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.39rem;
}

@media (min-width: 1900px) {
    .wrapper {
        max-width: 188rem;
    }
}

@media (max-width: 1320px) {
    .wrapper {
        max-width: calc(100% - 5rem);
    }

    header {
        padding: 2.1rem 2.5rem;
    }

    footer {
        padding: 2.275rem 2.5rem;
    }

    #plat-status:active {
        opacity: 80%;
    }

    #plat-status:active~#plat-status-desc {
        opacity: 1;
    }

    #plat-status-desc {
        top: calc(1.6rem + 0.39rem);
        right: 50%;
        transform: translateX(50%);
        text-align: center;
    }

    .fixed-div-for-bottom {
        width: calc(100% - 25rem - 2.6rem - 5rem - 2.6rem*2);
    }

    .section-title.mobile {
        display: block;
    }
}

@media (max-width: 1080px) {
    .friend-buttons {
        font-size: var(--font-size-1);
    }
}

@media (max-width: 920px) {

    .auth__section img {
        display: none;
    }

    .auth__section>.div-line,
    .reg__section .div-line {
        display: none;
    }

    .reg__input-div {
        max-width: none;
    }

    .reg__input-div a.mobile {
        display: flex;
    }

    .reg__input-div a.desktop {
        display: none;
    }
}

@media (max-width: 820px) {

    .auth__buttons span,
    .reg__buttons span {
        display: none;
    }

    .not-friend .request,
    .text-other-user {
        font-size: var(--font-size-1);
        padding: 0.625rem 1rem;
        min-height: 3rem;
        max-height: 3rem;
    }

    .not-friend .request.un-to-friends {
        background-color: var(--like-button-accent-color);
        padding: 0;
        min-width: 3rem;
        max-width: 3rem;
        max-height: 3rem;
    }

    .first-part-mobile {
        display: flex;
    }

    .fixed-div-for-bottom {
        width: calc(100% - 5rem);
        bottom: 1rem;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 720px) {
    :root {
        --font-size-3: 1.6rem;
        --font-size-4: 2.4rem;
    }

    .auth__form legend,
    .reg__form legend {
        margin-bottom: 4.1rem;
    }

    .auth__form {
        min-height: 0;
    }

    header div a {
        display: none;
    }

    header .phone-link span {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 2.1rem 2.4rem;
    }

    .wrapper {
        max-width: calc(100% - 1.6rem);
    }

    footer {
        padding: 2.275rem 2.4rem;
    }

    .reg__input-div div {
        gap: 0.75rem;
    }

    #reg__label_pass-2 {
        margin-top: 6.1rem;
    }

    .fixed-div-for-bottom {
        width: calc(100% - 1.6rem);
    }

    .main-title {
        margin-left: 1.6rem;
    }

    .section-title {
        margin-left: 1.6rem;
    }
}