﻿.car-shop {

    .cars {
        position: absolute;
        bottom: 50px;
        left: 0px;
        width: 100%;

        flex-direction: row;
        justify-content: center;
        align-items: center;

        gap: 10px;

        pointer-events: all;

        .car-button {
            font-family: "Rubik Mono One";
            font-size: 40px;
            padding: 20px 40px;
            border-radius: 10px;
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            cursor: pointer;

            &.selected {
                background-color: rgba(93, 205, 93, 0.5);
            }

            &:hover {
                background-color: rgba(58, 124, 151, 0.5);
                sound-in: "sounds/menu/button-hover.sound";

                &.selected {
                    background-color: rgba(76, 248, 76, 0.5);
                }
            }

            &:active {
                background-color: rgba(76, 248, 76, 0.5);
                sound-in: "sounds/menu/button-click.sound";
            }
        }
    }

    .car-details {
        position: absolute;
        top: 50px;
        right: 50px;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(1px);

        width: 600px;

        padding: 20px;

        gap: 5px;

        font-family: Roboto;
        font-size: 30px;

        pointer-events: all;

        h2 {
            font-family: "Rubik Mono One";
            font-size: 60px;
        }

        ul {
            flex-direction: column;
            gap: 10px;
            width: 100%;

            li {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 30px;

                strong {
                    font-weight: bold;
                }
            }
        }

        .buttons {
            flex-direction: row;
            gap: 10px;

            button {
                font-family: "Rubik Mono One";
                font-size: 30px;
                padding: 10px 20px;
                border-radius: 10px;
                background-color: rgba(0, 0, 0, 0.8);
                color: white;
                cursor: pointer;

                &.disabled {
                    color: rgba(255, 255, 255, 0.5);
                    cursor: not-allowed;
                }

                &:hover {
                    background-color: rgba(58, 124, 151, 0.5);
                    sound-in: "sounds/menu/button-hover.sound";
                }

                &:active {
                    background-color: rgba(76, 248, 76, 0.5);
                    sound-in: "sounds/menu/button-click.sound";
                }
            }
        }

        small {
            font-size: 20px;
            margin-top: 20px;
        }

    }

}