a { color: black; text-decoration: none; } td { border: 1px solid black; } table { width: 100%; } .aktuelles_datum { font-weight: bold; font-size: 30px; display: flex; flex-direction: row; justify-content: center; margin-top:20px; border-bottom: 1px solid black; } .sort { display: flex; justify-content: space-between; /* margin-top: 10px; */ width: 260px; margin-left: auto; margin-right: auto; position: absolute; right: 20px; top: 170px; font-size: 20px; } .sort a { font-weight: bold; font-size: 20px; color: #666; font-family: sans-serif; text-decoration: unset; } .kalender_div_inhalt { height: auto; width: 100%; border-bottom: 1px solid black; } .kalender_div { width: 13.18%; height: 13%; float: left; border: black 1px solid; margin: 0.5%; } .aktuell { background-color: lightgray; } @media only screen and (max-device-width: 480px) { .kalender_div { width: 32%; font-size: 25px; } .aktuelles_datum { font-size: 35px; } #prev-month { font-size: 35px; } #next-month { font-size: 35px; } #aktueller-monat { font-size: 35px; width: auto !important; padding: 10px; } #prev-year { font-size: 35px; } #next-year { font-size: 35px; } #year { font-size: 35px; width: 100px !important; } tr { font-size: 35px; } }