h1 { text-align: center; color: black; } h2 { text-align: center; color: black; } p#warning { text-align: center; font-weight: bold; color: red; } .stRadio [role = radiogroup]{ align-items: center; justify-content: center; font-size: 3rem !important; }