// stylelint-disable max-nesting-depth, selector-max-compound-selectors

.subject-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;

    .subject-item {
        width: calc(50% - 20px);

        .btn {
            display: inline-block;
            margin-bottom: 0;
            font-weight: 400;
            text-align: center;
            white-space: nowrap;
            touch-action: manipulation;
            cursor: pointer;
            background-image: none;
            border: 1px solid transparent;
            border-radius: 2px;
            padding: 6px 12px;
            font-size: 14px;
            line-height: 1.42857;
            user-select: none;
            vertical-align: middle;
            color: $color-text-white;
        }

        .subject-button {
            width: 100%;
            font-size: 17px;
            overflow: hidden;
            text-overflow: ellipsis;
            background-color: var(--primary-color);
            color: var(--secondary-color);
            border: 1px solid var(--secondary-color);

            &:hover {
                color: var(--primary-color);
                background-color: var(--secondary-color);
                border: 1px solid var(--primary-color);
            }
        }
    }

    &.mobile {
        flex-direction: column;

        .subject-item {
            width: 100%;
        }
    }
}
