/* Define platform-specific typefaces */ @font-face { font-family: "system"; font-style: normal; src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma"); } /* Web query */ @media screen and (min-width: 501px) { img#logo { width: 72px; height: 72px; } } /* Mobile screen+ query */ @media screen and (max-width: 500px) { h1 { font-size: 1.6rem; margin: 0; } article#main, input { font-size: 1.1rem; } img#logo { width: 64px; height: 64px; } } /* Mobile screen query */ @media screen and (max-width: 320px) { h1 { font-size: 1.2rem; margin: 0; } article#main, input { font-size: 1.2rem; } img#logo { width: 32px; height: 32px; } } body { font-family:-apple-system, "system"; display: flex; flex-direction: column; min-height: 100vh; font-size: 16px; margin: 0px; padding: 5px; max-width: 600px; box-sizing: border-box; } header { display: flex; align-items: center; } footer { background-color: #fff; } article#main { flex: 1; } img#logo { margin: 5px; } #current-download { display: none; }