.education { // avoid page breaks inside the education section page-break-inside: avoid; margin-top: 75px; // remove the extra space added for the website margin-bottom: 0; } .education__details { margin-top: 0.3em; }