/*  */
/* Start CSS for header */
/*  */

header {
    height: 56px;
    background-color: #FF4130;
    width: 100%;
    border-bottom: #FFE039 3px solid;
    position: sticky;
    top: 0;
    z-index: 1;
    user-select: none;
}

header > div.header_body {
    height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 80px;
    max-width: 1440px;
    margin: auto;
}

header div.header_left {
    display: flex;
}

header div.header_left > a {
    height: 24px;
}

header div.header_right {
    position: relative;
    display: inline-flex;
    align-items: center;
}

header > div.header_body div.header_profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

header p.profile_name {
    font-size: 16px;
    color: white;
    margin: auto;
}

header img.header_avatar {
    transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1.92);
}

    header img.header_avatar:hover {
        cursor: pointer;
    }

header ul.header_menu {
    position: absolute;
    width: 250px;
    right: -4px;
    top: calc(100% + 8px);
    padding: 12px 0px;
    border-radius: 12px;
    border: #EBEBEB 1px solid;
    box-shadow: 2px 2px 24px rgba(0, 0, 0, 0.10);
    background-color: white;
    list-style: none;
    display: none;
    z-index: 2;
}

header ul.header_menu div.header_menu_item {
    height: 24px;
    padding: 8px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer;
}

    header ul.header_menu div.header_menu_item:hover {
        background-color: #F7F7F7;
        transform: translateX(1px);
        transition: transform 0.2s ease;
    }

    header ul.header_menu div.header_menu_item.link_item:hover {
        transform: translateX(0px);
        background-color: white;
    }

    header ul.header_menu div.header_menu_item.link_item {
        height: 45px;
    }

header ul.header_menu a {
    color: black;
    text-decoration: none;
}

    header ul.header_menu div.header_menu_item p.disconnected {
        color: #B0B0B0;
    }

header ul.header_menu div.header_menu_item p {
    margin-top: 4px;
}

header ul.header_menu div.header_menu_item button {
    width: 100%;
}

header ul.header_menu > li.header_menu_blockline {
    margin: 4px 0;
    border-bottom: #EBEBEB 1px solid;
}

header ul.header_menu div.header_menu_item > a.header_menu_link {
    padding: 12px 24px;
    text-align: center;
    width: 100%;
    color: black;
}

    header ul.header_menu div.header_menu_item > a.header_menu_link.red_link {
        background-color: #FF4130;
        border-radius: 42px;
        color: white;
    }

    
div.header_body.initial {
    display: none;
}

/* Header version for scrolled */

div.header_body.scrolled {
    display: none;
}

header > div.header_body.scrolled div.header_profile {
    gap: 8px;
}

header > div.header_body.scrolled div.header_left > p {
    font-weight: 500;
    font-size: 24px;
    margin: auto;
    margin-top: 4px;
    color: white;
}

header > div.header_body.scrolled div.header_profile > button:hover {
    cursor: pointer;
}

header > div.header_body.scrolled div.header_profile > button.header_share_button {
    display: flex;
    padding: 8px 16px;
    border: none;
    border-radius: 42px;
    background-color: #00000099;
    align-items: center;
    gap: 8px;
}

header > div.header_body.scrolled div.header_profile > button.header_share_button > p {
    font-weight: 500;
    font-size: 16px;
    color: white;
    line-height: 16px;
    margin-top: 2px;
}

header > div.header_body.scrolled div.header_profile > button.header_like_button {
    padding: 8px;
    display: flex;
    border: none;
    border-radius: 42px;
    background-color: #00000099;
    align-items: center;
}

/* Header for Loading status */

header > div.header_body.loading {
    display: flex;
}

header > div.header_body.loading div.header_profile > div.profile_name_loading {
    border-radius: 4px;
    background-color: #0000001A;
    width: 68px;
    height: 18px;
}

header > div.header_body.loading div.header_profile > div.profile_icon_loading {
    border-radius: 100%;
    background-color: #0000001A;
    width: 36px;
    height: 36px;
}

/*  */
/* End for header */
/*  */

/*  */
/* Start for footer */
/*  */

footer {
    width: 100%;
    /* position: absolute; */
    bottom: 0;
    font-family: 'OldschoolGroteskMedium', sans-serif;
}

footer div.footer_page_link {
    padding: 24px 80px;
    border-top: 1px solid #DDDDDD;
    background-color: #F7F7F7;
    height: 21px;
}

footer div.footer_page_link > div {
    max-width: 1440px;
    margin: auto;
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
}

footer div.footer_page_link a {
    text-decoration: none;
    color: #5E5E5E;
    font-size: 16px;
    line-height: 16px;
}

footer div.footer_page_link b {
    margin-top: 2px;
    line-height: 16px;
}

    footer div.footer_page_link a:hover {
        text-decoration: underline;
    }

footer div.footer_main {
    padding: 0px 80px;
    display: flex;
    flex-direction: column;
    background-color: #F7F7F7;
    border-top: #EBEBEB 1px solid;
}

footer div.footer_bottom {
    padding: 32px 80px;
    background-color: black;
    height: auto;
    font-size: 14px;
}

footer div.footer_bottom_payments_items {
    max-width: 1440px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer div.footer_payments {
    display: flex;
    gap: 16px;
    align-items: center;
}

footer div.footer_bottom p, footer div.footer_bottom p > a {
    color: #5E5E5E;
    line-height: 19px;
    text-decoration: none;
}

footer div.footer_payments > div.payment_icons {
    display: flex;
    height: 24px;
    gap: 12px;
}

footer div.footer_payments > div.payment_icons > img {
    height: 24px;
}

footer div.footer_bottom_items {
    display: flex;
    gap: 20px;
}

footer div.footer_bottom_list {
    display: flex;
}

footer div.footer_bottom_list > p.footer_bottom_item:not(:first-child)::before {
    content: '\2022';
    margin: 0 4px;
}

footer div.footer_logo_sm {
    padding: 48px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
}

footer div.footer_logo_sm > div.footer_socials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 7.4px;
}

footer div.footer_logo_sm > div.footer_socials > div.footer_social_item {
    position: relative;
    display: flex;
    justify-content: center;
    width: 86px;
    height: 86px;
    user-select: none;
}
    
    footer div.footer_logo_sm > div.footer_socials > div.footer_social_item:hover div.tooltip_text {
        visibility: visible;
    }

footer div.footer_logo_sm > div.footer_socials > div.footer_social_item:last-child > div.tooltip_text {
    right: 0;
}

    footer div.footer_logo_sm > div.footer_socials > div.footer_social_item:last-child > div.tooltip_text:after {
        right: 35px;
        left: auto;
    }

footer div.footer_logo_sm > div.footer_socials img {
    transition: transform 0.3s ease;
    width: 86px;
    height: 86px;
}

footer div.footer_logo_sm > div.footer_socials img.initial_animation {
    animation: social_item_init 0.65s ease-in-out 1;
}

    @keyframes social_item_init {
        0% {
            transform: rotate(0deg);
        }
        25% {
            transform: rotate(45deg);
        }
        75% {
            transform: rotate(-45deg);
        }
        100% {
            transform: rotate(0deg);
        }
    }

    footer div.footer_logo_sm > div.footer_socials img:hover {
        transform: rotate(180deg);
        width: 86px;
        height: 86px;
        cursor: pointer;
    }

footer div.tooltip_text {
    visibility: hidden;
    display: inline-block;
    width: max-content;
    padding: 12px;
    background-color: black;
    color: white;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
    border-radius: 8px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    transition: visibility 0.1s ease;
}

footer div.tooltip_text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

#footer_logo_svg {
    width: 100%;
    height: auto;
}

footer div.footer_main > div.footer_nl_links {
    display: flex;
    justify-content: space-between;
    padding: 54px 0px;
    border-top: #EBEBEB 1px solid;
}

footer div.footer_nl_links > div.footer_friend {
    display: flex;
    flex-direction: column;
    width: 404px;
    gap: 20px;
}

footer div.footer_friend > div.footer_friend_text > h1 {
    position: relative;
    width: max-content;
    display: flex; 
    align-items: center;
    height: 46px;
    color: white;
    z-index: 1;
    background-color: #FF4130;
    left: -8px;
    padding: 0 8px;
    margin-top: 0;
    margin-bottom: 12px;
    rotate: 0.43deg;
    font-family: 'OldschoolGroteskMedium', sans-serif;
    border: none;
    font-size: 32px;
    text-transform: none;
}

footer div.footer_friend > div.footer_friend_text > h5 {
    font-family: 'OldschoolGroteskMedium', sans-serif;
    font-size: 18px;
    line-height: normal;
    font-weight: normal;
}

footer div.footer_friend > div.footer_friend_input {
    display: flex;
    height: 45px;
    gap: 12px;
    align-items: center;
}

footer div.footer_friend > div.footer_friend_input > div.footer_friend_register {
    display: flex;
    gap: 2px;
    height: 43px;
    padding: 1px 0;
}

footer div.footer_friend div.footer_friend_register_arrow {
    display: flex;
    align-items: center;
    padding: 0 13.5px;
    animation: register_arrow_animation 1s ease-in-out 10ms infinite;
}

@keyframes register_arrow_animation  {
    0% {
        padding: 0 20px 0 7px;
    }

    50% {
        padding: 0 9px 0 18px;
    }

    100% {
        padding: 0 20px 0 7px;
    }
}

footer div.footer_friend div.footer_friend_register_button {
    padding: 12px 24px;
    background-color: #0209BD;
    border-radius: 42px;
    width: 55px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

footer div.footer_friend div.footer_friend_register_button div.p_container {
    font-family: 'OldschoolGroteskMedium', sans-serif;
    position: relative;
    overflow: hidden;
    margin: 0 -24px;
}

footer div.footer_friend div.footer_friend_register_button p {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: white;
    white-space: nowrap;
    height: 16px;
    width: 100%;
    animation: register_button_animation 10s linear 10ms infinite;
    line-height: 1;
}

@keyframes register_button_animation  {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-730px);
    }
}

footer div.footer_friend input.footer_friend_input_form {
    padding: 12px 8px;
    border: none;
    border-bottom: #C2C2C2 2px solid;
    background-color: initial;
    font-size: 16px;
    width: 222px;
    border-radius: 0;
}

    footer div.footer_friend input.footer_friend_input_form.error {
        border-color: #FF4130;
    }

    footer div.footer_friend input.footer_friend_input_form:focus-visible {
        outline: none;
        border-color: black;
    }

    footer div.footer_friend input.footer_friend_input_form::placeholder {
        color: #717171;
    }

    footer div.footer_friend input.footer_friend_input_form.error::placeholder {
        color: #FF4130;
    }

    footer div.footer_friend input.footer_friend_input_form:disabled::placeholder {
        color: black;
    }
    footer div.footer_friend_legal_text {
        display: none
    }
    footer .green-underline {
        color: blue;
        text-decoration: underline;
    }
footer div.footer_links {
    display: flex;
    gap: 16px;
    margin-left: 90px;
}

footer div.footer_links > div.footer_link {
    width: 180px;
}

footer div.footer_links > div.footer_link > div.footer_link_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 16px;
}

footer div.footer_links > div.footer_link > div.footer_link_header > h4 {
    font-family: 'OldschoolGroteskBold', sans-serif;
}

footer div.footer_links > div.footer_link > div.footer_link_header > img {
    display: none;
    transition: transform 0.2s ease;
}

footer div.footer_links > div.footer_link > ul.footer_link_body {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 12px;
    margin-left: 0;
}

footer div.footer_links ul.footer_link_body li {
    margin-left: 0;
}

footer div.footer_links ul.footer_link_body li > a {
    line-break: auto;
    color: black;
    text-decoration: none;
    font-size: 16px;
    line-height: 21.47px;
    font-weight: 400;
}

    footer div.footer_links ul.footer_link_body li > a:hover {
        text-decoration: underline;
    }

/*  */
/* End for footer */
/*  */

@media screen and (max-width: 743px) {

    header {
        height: 52px;
    }

    header > div.header_body {
        padding: 12px 16px;
        height: 28px;
    }

    header img.header_avatar {
        height: 28px;
    }

    header p.profile_name, header div.profile_name_loading {
        display: none;
    }

    header div.profile_icon_loading {
        width: 28px !important;
        height: 28px !important;
    }

    header > div.header_body.scrolled div.header_profile > button.header_share_button {
        padding: 4px 8px;
    }

    header > div.header_body.scrolled div.header_profile > button.header_share_button > p {
        display: none;
    }

    header > div.header_body.scrolled div.header_profile > button.header_like_button {
        padding: 4px;
    }

    main, footer div.footer_main {
        padding: 0px 12px;
    }

    footer div.footer_bottom {
        padding: 0;
    }

    footer div.footer_bottom_payments_items {
        padding: 16px 12px;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px !important;
        height: auto !important;
    }
    
    footer div.footer_bottom p {
        font-size: 12px;
        margin: 0;
        line-height: 16px;
    }

    div.footer_payments {
        gap: 12px !important;
    }

    footer div.footer_bottom_items {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    footer div.footer_bottom_list {
        flex-wrap: wrap;
    }

    div.footer_logo_sm {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 32px 0px !important;
    }

    div.footer_logo_sm > div.footer_socials {
        overflow: hidden;
        display: flex !important;
        width: 100%;
    }

    footer div.footer_logo_sm > div.footer_socials > div.footer_social_item, footer div.footer_logo_sm > div.footer_socials img {
        width: 100%;
        height: 100%;
    }

        footer div.footer_logo_sm > div.footer_socials > div.footer_social_item:hover div.tooltip_text {
            visibility: hidden;
        }

        footer div.footer_logo_sm > div.footer_socials > div.footer_social_item:hover img {
            width: 100%;
            height: 100%;
            transform: rotate(0);
        }

    footer div.footer_nl_links {
        padding: 32px 0 !important;
        flex-direction: column;
    }

    footer div.footer_nl_links div.footer_friend {
        margin-bottom: 32px;
        width: 100%;
    }

    footer div.footer_friend > div.footer_friend_text > h1 {
        font-size: 20px;
        left: -4px;
        padding: 0 4px;
        rotate: 0deg;
        height: 28px;
        font-family: 'OldschoolGroteskMedium', sans-serif;
    }

    footer div.footer_friend > div.footer_friend_text > h5 {
        font-size: 16px;
    }

    footer div.footer_friend > div.footer_friend_input {
        width: 100%;
        justify-content: flex-start;
    }

    footer div.footer_friend input.footer_friend_input_form {
        width: 100%;
        max-width: 250px;
    }

    footer div.footer_links {
        display: flex;
        flex-direction: column;
        padding-top: 24px;
        border-top: #EBEBEB 1px solid;
        margin-left: 0;
        gap: 6px;
        user-select: none;
    }

    footer div.footer_links > div.footer_link {
        width: 100%;
    }

    footer div.footer_links > div.footer_link > div.footer_link_header {
        margin-bottom: 0;
    }

    footer div.footer_links > div.footer_link > ul.footer_link_body {
        display: none;
        flex-direction: column;
        gap: 4px;
        margin: 10px 0 0 0;
    }

    footer div.footer_links > div.footer_link > ul.footer_link_body.show {
        display: flex;
    }
    
    footer div.footer_links > div.footer_link > div.footer_link_header > img {
        display: block;
    }

    footer div.footer_social_item:first-child div.tooltip_text {
        left: 0;
    }
    
        footer div.footer_social_item:first-child div.tooltip_text::after {
            left: 35px;
        }

    footer div.footer_social_item:last-child div.tooltip_text {
        right: 0;
    }
    
        footer div.footer_social_item:last-child div.tooltip_text::after {
            right: 27px !important;
            left: auto;
        }

    footer div.footer_page_link {
        padding: 12px;
        height: max-content;
    }

    footer div.footer_page_link > div {
        font-size: 14px;
        gap: 4px;
    }
    
    footer div.footer_page_link a, footer div.footer_page_link b {
        font-size: 14px;
    }

}

@media screen and (min-width: 1600px) {
    footer div.footer_logo_sm, footer div.footer_nl_links {
        width: 1440px;
        margin: auto;
    }
}
@media screen and (min-width: 1440px) {
    footer div.footer_main, footer div.footer_bottom, footer div.footer_page_link {
        padding-right: 80px;
        padding-left: 80px;
    }
}

@media screen and (min-width: 1240px) and (max-width: 1440px) {
    footer div.footer_main, footer div.footer_bottom, footer div.footer_page_link {
        padding-right: 64px;
        padding-left: 64px;
    }
    
    footer div.footer_bottom_payments_items {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px !important;
        height: auto !important;
    }
    
    #footer_logo_svg {
        width: 100%;
        height: auto;
    }

    footer div.footer_links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        margin-left: 16px;
    }
}

@media screen and (max-width: 1240px) {
    footer div.footer_main, footer div.footer_bottom, footer div.footer_page_link {
        padding-right: 40px;
        padding-left: 40px;
    }

    footer div.footer_bottom_payments_items {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px !important;
        height: auto !important;
    }

    footer div.footer_bottom_list {
        flex-wrap: wrap;
    }

    footer div.footer_bottom_items {
        flex-wrap: wrap;
    }
    
    footer div.footer_bottom p.footer_bottom_item {
        font-weight: 500;
        line-height: 14.5px;
    }

    div.footer_payments {
        gap: 8px !important;
    }

    footer div.footer_links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        margin-left: 16px;
    }

    footer div.footer_links ul.footer_link_body li > a {
        font-size: 14px;
    }

    div.footer_logo_sm {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 32px 0px !important;
    }

    div.footer_logo_sm > div.footer_socials {
        display: flex !important;
        width: 100%;
    }

    footer div.footer_nl_links {
        padding-top: 32px !important;
        padding-bottom: 24px !important;
        flex-direction: column;
    }

    footer div.footer_nl_links div.footer_friend {
        margin-bottom: 32px;
        width: 66%;
    }

    footer div.footer_friend > div.footer_friend_text > h1 {
        font-size: 24px;
        left: -6px;
        padding: 6px;
        rotate: 0deg;
        height: 28px;
    }
    
    footer div.footer_friend > div.footer_friend_input {
        width: 100%;
        justify-content: space-between;
    }

    footer div.footer_friend input.footer_friend_input_form {
        width: 100%;
    }

    footer div.footer_links {
        display: flex;
        flex-direction: column;
        padding-top: 24px;
        border-top: #EBEBEB 1px solid;
        margin-left: 0;
        gap: 12px;
        user-select: none;
    }

    footer div.footer_links > div.footer_link {
        width: 100%;
    }

    footer div.footer_links > div.footer_link > div.footer_link_header {
        margin-bottom: 0;
    }

    footer div.footer_links > div.footer_link > ul.footer_link_body {
        display: none;
        flex-direction: column;
        gap: 4px;
        margin: 10px 0 0 0;
    }

    footer div.footer_links > div.footer_link > ul.footer_link_body.show {
        display: flex;
    }
    
    footer div.footer_links > div.footer_link > div.footer_link_header > img {
        display: block;
    }

    footer div.footer_social_item:first-child div.tooltip_text {
        left: 0;
    }
    
        footer div.footer_social_item:first-child div.tooltip_text::after {
            left: 43px;
        }

    footer div.footer_social_item:last-child div.tooltip_text {
        right: 0;
    }
    
        footer div.footer_social_item:last-child div.tooltip_text::after {
            right: 35px !important;
            left: auto;
        }
}