@media only screen and (max-width:1300px) { #layer_info .upgrades-list { grid-template-columns: repeat(2, 1fr); } #layer_info .prestige { width: 100%; } } @media only screen and (max-width:720px) { body { font-size: 0.6em; } .main-container { grid-template-columns: 1fr; grid-template-rows: 2fr 3fr; } #layer_info .upgrade::before { padding-bottom: 50%; } #layer_info .prestige { width: 75%; } }