.results {   margin-top:20px;   display:flex;   justify-content:space-between;   }   .table-section {  clear:both;  width:100%;   }   .year-end-row {  background-color:#fff;   } table.frequencyTable thead th {   font-weight:600;   font-size:18px;   line-height:26px;   vertical-align:middle;   background:#1E58B8;   color:#fff; } table.frequencyTable td {   font-family:Montserrat;   font-weight:400;   font-size:16px;   line-height:26px;   vertical-align:middle;   text-align:center; } .results span {   font-weight:700; } .results p, .results h3 {   margin-bottom:0; } .main-input-div {   display:grid;   grid-template-columns:repeat(2, 1fr);   gap:20px;   margin-bottom:20px; } h3.table-heading {   margin-top:20px; } button.cal-button{   margin-top:20px; } @media(max-width:767px){   .table-section {   overflow:auto;   max-height:400px;   } .results {   flex-direction:column;   gap:10px; } } @media(max-width:767px){   table.frequencyTable td, table.frequencyTable thead th{  font-size:14px !important;   } } @media(max-width:465px){   .main-input-div {   grid-template-columns:repeat(1, 1fr); } }