.wrapper { max-width: 1200px; text-align: center; background: rgba(255, 255, 255, 0.95); box-shadow: 0 8px 32px 0 rgba(83, 89, 179, 0.37); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border-radius: 30px; display: grid; grid-template-columns: 1fr 2fr; margin: 0 20px; } .statsWrapper { background-color: rgb(247, 247, 247); padding: 30px; text-align: right; border-radius: 0 30px 30px 0; } .titleAndSearch { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; } @media only screen and (max-width: 950px) { .wrapper { display: grid; grid-template-columns: 1fr; max-width: 600px; margin: 20px auto; } .statsWrapper { border-radius: 0; } } @media only screen and (max-width: 600px) { .wrapper { margin: 0 auto; border-radius: 0; } } @media only screen and (max-width: 520px) { .titleAndSearch { grid-template-columns: 1fr; place-items: center; } }