.cars-content {
    position: absolute;
    left: 50px;
    top: 50px;
    gap: 20px;
    flex-direction: column;
}

.cars {
    display: flex;
    // justify-content: center;
    flex-direction: column;
    color: white;
    
    max-width: 1000px;

    .cars-list {
        flex-wrap: wrap;
        gap: 20px;
        align-items: center;
        flex-direction: row;
        max-height: 400px;
        overflow: scroll;
    }
}

.car-button {
    // border: none;
    // background-color: transparent;
    width: 200px;
    height: 200px;
    // flex-shrink: 0;
    position: relative;
    
    align-content: center;
    justify-content: center;

    /*&.disabled {
        // filter: grayscale(100%);
        cursor: not-allowed;

        img {
            opacity: 0.5;
        }
    }*/

    .locked-icon {
        position: absolute;
        top: 10px;
        left: 10px;
        color: white;
        font-size: 60px;
    }

    .preview {
        aspect-ratio: 1;
        // max-width: 100%;
        width: auto;
        max-height: 100%;
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: center;
        // background-color: rgba(0, 0, 0, 0.3);
        transition: all 0.2s;
    }

    &:hover {
        .preview {
            background-size: 110%;
        }
    }

   /* &:not(.disabled) {
        &:hover {
            background-color: rgba(229, 235, 253, 0.32);
            sound-in: "sounds/menu/button-hover.sound";
            cursor: pointer;
        }

        &:active {
            background-color: rgba(129, 154, 217, 0.32);
            sound-in: "sounds/menu/button-click.sound";
        }
    }*/
}

.cars .selected {
    background-color: rgba(129, 154, 217, 0.32);
}

.colors {
    width: 1000px;
    height: 250px;
    flex-wrap: wrap;
    // position: absolute;
    // left: 50px;
    // bottom: 220px;
    // align-content: flex-end;
    align-content: center;
    justify-content: center;
    gap: 2px;

    .color-button {
        flex-shrink: 0;
        width: 12%;
        height: 25%;
        cursor: pointer;
        // text-shadow: none;
        color: white;
        align-content: center;
        justify-content: center;
        border: 3px solid transparent;

        &:hover {
            sound-in: "sounds/menu/button-hover.sound";
            border-color: black;
        }

        &:active {
            sound-in: "sounds/menu/button-click.sound";
        }
    }
}
