Replaced em units by rem
Fixed invalid borders