.hero { grid-area: 1 / 1 / 4 / 5; animation-duration: 1.5s; transition: all 0.3s ease; } .hero p span { color: white; font-weight: bold; } .hero p { font-size: 2rem; color: rgb(90, 90, 90); } .hero.light p span { color: rgb(40, 40, 40); } @media screen and (max-width: 450px) { .hero { grid-area: 2 / 1 / 4 / 5; } }