changes percentages of padding on mainDiv.