/* Basic reset */ * { margin: 0; padding: 0; } /* Body styling */ body { line-height: 1.6; min-height: 100vh; width: 100%; font-size: 1em; display: flex; flex-direction: column; align-items: center; padding: 0em; } /* Center the main container */ .box { border: 2px solid #3e4446; background-color: #181a1b; } .small-box { border: 2px solid #3e4446; background-color: #181a1b; } .outer-container { display: flex; flex-direction: column; width: fit-content; height: fit-content; padding: 0.5em; } .container { text-align: center; } .hi { display: flex; flex-direction: column; } .top { display: flex; flex-direction: column; gap: 1em; } .top-left { display: flex; flex-direction: column; gap: 1em; } .intro { height: 80%; } .cool-people { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 20%; padding: 1em 0; } .people-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25em; margin: 0 0.25em; } .text-site-button { width: 84px; height: 27px; border-radius: 4px; text-align: center; } .image-site-button { width: 88px; height: 31px; } .links { padding: 1em; text-align: start; } article { padding: 1em; font-size: 1em; display: flex; flex-direction: column; justify-content: center; align-items: center; } /* Article styling */ h1 { font-size: 2em; margin-bottom: 0.5em; } h2 { font-size: 1.5em; margin-bottom: 0.5em; } ul { list-style-type: none; padding: 0; display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); grid-auto-flow: row; column-gap: 0; } li { margin: 1em 0; } a { font-weight: bold; } a:hover { text-decoration: underline; } /* Footer styling */ footer { font-size: 1em; margin-top: 1em; text-align: center; min-height: fit-content; display: flex; min-width: 100%; width: fit-content; } .credits { display: flex; justify-content: center; width: 100%; gap: 0.5em; padding: 1em 0; } .credits span { font-weight: bold; } .banana-img { width: 16em; aspect-ratio: 820/1180; } .toothbrush-img { height: 3em; } img { image-rendering: pixelated; image-rendering: -moz-crisp-edges; image-rendering: crisp-edges; } .non-pixelated { image-rendering: optimizeQuality; } @media (width >= 40rem) { .outer-container { padding: 2em; } ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1em; } } @media (width >= 64rem) { .top { flex-direction: row; } .links { width: 48em; } ul { grid-template-columns: repeat(1, minmax(0, 1fr)); column-gap: 0; } .cool-people { padding: 0; } } @media (width >= 80rem) { .outer-container { padding: 2em 8em; } article { font-size: 1.3em; } }