﻿.horizontal_scroll_menu_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 4px;
    background-color: var(--dark);
    border-radius: 8px;
}

.horizontal_scroll_menu_left, .horizontal_scroll_menu_right {
    width: 36px;
    height: 36px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border: 2px solid var(--dark);
    border-radius: 50%;
    cursor: pointer;
}

.horizontal_scroll_menu::-webkit-scrollbar {
    display: none;
}

.horizontal_scroll_menu {
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
}

.horizontal_scroll_menu_link {
    min-width: 108px;
    height: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    text-decoration: none;
    border-radius: 4px;
    background-color: var(--light);
    border: 2px solid transparent;
}

    .horizontal_scroll_menu_link.horses_menu_link:focus,
    .horizontal_scroll_menu_link.horses_menu_link:active {
        border: 2px solid var(--primary-orange);
        transition: 0.2s ease-in-out;
    }

    .horizontal_scroll_menu_link.sport_menu_link:focus,
    .horizontal_scroll_menu_link.sport_menu_link:active {
        border: 2px solid var(--primary-green);
        transition: 0.2s ease-in-out;
    }

    .horizontal_scroll_menu_link.horses_menu_link[data-active="true"] {
        background-color: var(--light);
        border-color: var(--primary-orange);
        transition: 0.2s ease-out;
    }

    .horizontal_scroll_menu_link.sport_menu_link[data-active="true"] {
        background-color: var(--light);
        border-color: var(--primary-green);
        transition: 0.2s ease-out;
    }

    .horizontal_scroll_menu_icon {
        width: 32px;
        min-height: 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

.horizontal_scroll_menu_icon img {
    width: 30px;
    height: auto;
    display: block;
}

.horizontal_scroll_menu_text {
    min-height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--dark);
}

@media only screen and (min-width: 680px) {
    .horizontal_scroll_menu_left, .horizontal_scroll_menu_right {
        display: flex;
    }
}

@media only screen and (min-width: 1200px) {
    .horses_menu_link:hover {
        background-color: var(--light);
        border-color: var(--primary-orange);
        transition: 0.2s ease-in-out;
    }

    .sport_menu_link:hover {
        background-color: var(--light);
        border-color: var(--primary-green);
        transition: 0.2s ease-in-out;
    }
}