@font-face { font-family: SW; src: url(./AurebeshAF-CanonTech.otf); } body { background-color: black; color: white; margin: 0px; overflow: hidden; } .recordingNo{ font-size: 90px; } #safeArea{ margin-top:52px; /* border: 1px solid gray; */ display: none; justify-content: space-between; } .speechtext{ font-size: 22px; line-height: 28px; height: 190px; margin: 5px; overflow: hidden; /* Hide overflowing text */ display: flex; flex-direction: column; justify-content: flex-end; /* Stick content to the bottom */ /* white-space: pre-wrap; */ word-wrap: break-word; overflow-wrap: break-word; /* <-- allow breaking at spaces if needed */ /* white-space: pre-wrap; */ } #element{ /* padding-right:10px; */ } .UIbody{ font-family: SW; margin-left: auto; margin-right: auto; width: 320px; height: 480px; /* border: 1px solid white; */ overflow: hidden; } .topBar { font-family: SW; width: 320px; height: 44px; margin-top: 10px; border: 1px solid gray; } .grid { display: flex; flex-direction: row; justify-content: space-between; align-items: center; vertical-align: middle; /* display: grid; grid-template-columns: repeat(9, 1fr);*/ height: 100%; } .grid div { display: flex; /* add this */ justify-content: center; /* center horizontally */ align-items: center; /* center vertically */ text-align: center; border: 1px solid white; width: 100%; height: 100%; } button { all: unset } .menuButtons{ margin-top: 50px; font-size: 32px; padding: 20px; } .active { color: black; background-color: white; } /* @media (max-width: 1200px) { .UIbody{ width: 100%; height: 100%; } .topBar { width: 320px; height: 44px; margin-top: 10px; border: 1px solid gray; } } */