@media screen and (min-width: 700px) { main{ padding-bottom: 2%; } .about { display: grid; grid-template-columns: 1fr 1fr; } #logo{ display: flex; justify-content: center; } } @media screen and (max-width: 700px) { main{ padding-bottom: 2%; } .about { display: grid; } #logo{ display: flex; justify-content: center; } }