When I try to change the width and border-color property of a Bootstrap 4 card depending on the screen width it gets the width and border-color value from the default one.