/* START RIGHT BLOCK */

.right_block {
    max-width: 300px;
    width: 100%;
    margin: 60px auto 40px;
}

.right_block__fixed_content {
    max-width: 200px;
    margin: auto;
}

.right_block__avatar {
    height: 260px;
    overflow: hidden;
}

.right_block__avatar img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.line {
    width: 100%;
    height: 1px;
    background-color: white;
    margin: 24px auto;
}

.nav_scroll_buttons {
    display: flex;
    /*justify-content: space-between;*/
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 200;

    justify-content: center;
}

.nav_scroll_buttons a {
    margin: 0 8px;
    background-color: #2d2d2d;
    font-size: .8em;
    align-content: center;
}

.memorial_candle_btn, .right_block__btn {
    width: 100%;
    display: block;
    padding: 6px 12px;
    border-radius: 24px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    margin: 12px auto;
    cursor: pointer;
    transition: .3s;
}

.memorial_candle_btn {
    background-color: white;
    color: black;
    margin-bottom: 24px;
    border: none;
}

.right_block__btn {
    box-shadow: inset 0 0 0 1px white;
    color: white;

    width: 33%;
}

.right_block__btn:hover {
    box-shadow: inset 0 0 0 1px var(--main-red-color);
}

.right_block__btn.active {
    background-color: var(--main-red-color);
    color: white;
    box-shadow: unset;
}

.right_block__name {
    font-size: 1.8em;
    font-weight: bold;
    margin: 24px 0 16px;
}

.right_block__params {
    margin: 8px 0;
    font-size: 1.3em;
    line-height: 1.3em;
}

.right_block__tag {
    background: #2d2d2d;
    padding: 2px 8px;
    margin-left: 8px;
    margin-top: 8px;
    display: inline-block;
    border-radius: 11px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: .9em;
}

@media (min-width: 768px) {
    .right_block {
        max-width: 200px;
        overflow-y: auto;
        max-height: calc(100dvh - 124px);
        margin-left: 40px;
        margin-top: 0;
        margin-right: 0;
    }

    .nav_scroll_buttons {
        display: unset;
        position: unset;
        transform: translateX(-50%);
    }

    .nav_scroll_buttons a {
        margin: 12px auto;
        background-color: transparent;
        font-size: unset;
    }

    .right_block__btn{
        width: 100%;
    }
}

/* END RIGHT BLOCK */