p, label, th, td, li { font-size: 16px; } .button-link { background: none; border: none; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; } img { width: calc(min(100%, 800px)); } img, iframe { border-radius: 4px; border-style: none; } button { font: inherit; cursor: pointer; text-decoration: none; } table { border-collapse: collapse; width: 100%; } th, td { text-align: left; padding: 0.75em; } .visually-hidden { overflow: hidden; width: 0; height: 0; display: block; left: 50%; position: absolute; transform: translateY(-100%); } ul.navbar { list-style-type: none; margin: 0; padding: 0; overflow: hidden; } ul.navbar li { display: inline; float: left; margin: 0; padding: 0; } ul.navbar li button, ul.navbar li .button-link { transition: 0.25s; background-color: inherit; border: none; padding: 16px 24px; font: inherit; cursor: pointer; text-decoration: none; display: block; } ul.navbar li.right { float: right; } ul.navbar li .button-emoji { font-size: 30px; padding: 6px 12px; } input[type="text"], input[type="email"], textarea { display: block; width: calc(min(100% - 1em, 800px)); } input[type="text"], input[type="email"], input[type="button"], textarea, button { border-radius: 4px; border-width: thin; border-style: solid; border-color: gray; padding: 8px 12px; } textarea { height: 10em; } label { margin-top: 0.5em; display: block; } html, body { height: 100%; margin: 0; padding: 0; } .responsive-iframe { width: 100%; height: 0; padding-top: 56.25%; position: relative; } .responsive-iframe iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } #root-head { margin: 0 auto; padding: 0; display: block; max-width: calc(max(80%, 800px)); min-height: 100%; } #root-body { padding: 1em; } .skills { columns: 4 16em; column-gap: 4em; } .skills li { break-inside: avoid-column; } .about-me { display: flex; } @media (max-width: 800px) { .about-me { flex-direction: column; } } @media (min-width: 800px) { .about-me img { width: 320px; margin-left: 4em; } }