@keyframes move-avatar { 0% { padding-bottom: 0rem; } 50% { padding-bottom: 0.3rem; } 100% { padding-bottom: 0rem; } } body { margin: 0px; padding: 0px; height: 100vh; background: ghostwhite; } body div.talk-npc div.detail { display: flex; flex-direction: column; border-radius: 3px; min-height: 100px; border: solid 1px black; align-items: center; align-content: center; justify-content: center; } body div.talk-npc div.name-container { display: flex; padding: 10px; } body div.talk-npc div.name-container div.avatar { width: 100%; aspect-ratio: 1/1; border-radius: 50%; background: lightgray; margin-right: 2%; display: flex; align-items: center; justify-content: center; position: relative; } body div.talk-npc div.name-container div.avatar img { animation-name: move-avatar; animation-duration: 0.5s; animation-iteration-count: infinite; width: 80%; aspect-ratio: 1/1; z-index: 1; } body div.talk-npc div.name-container div.avatar div.shadow { top: 78%; position: absolute; width: 50%; aspect-ratio: 7/2; background: darkgray; border-radius: 50%; } body div.talk-npc div.name-container div.name { width: 100%; display: flex; align-items: center; } body div.talk-npc div.buttons { padding: 10px; } body label.bar-container { width: 90%; } body label.bar-container div.bar { width: 100%; height: 1em; border: solid 1px black; } body label.bar-container div.bar div.filled { background: lightgreen; height: 100%; } body a.action { border: solid 1px black; text-decoration: underline; display: flex; min-height: 100px; align-content: center; justify-content: center; align-items: center; flex-direction: column; } body a.action div.disabled-reason { text-decoration: none; } body div.pj-list-item { display: flex; align-items: center; } body div.pj-list-item div.avatar { width: 30%; aspect-ratio: 1/1; border-radius: 50%; background: lightgray; margin-right: 2%; display: flex; align-items: center; justify-content: center; position: relative; } body div.pj-list-item div.avatar img { animation-name: move-avatar; animation-duration: 0.5s; animation-iteration-count: infinite; width: 80%; aspect-ratio: 1/1; z-index: 1; } body div.pj-list-item div.avatar div.shadow { top: 78%; position: absolute; width: 50%; aspect-ratio: 7/2; background: darkgray; border-radius: 50%; } body div.pj-list-item div.data { width: 60%; } body div.presentation { display: flex; flex-direction: row; width: 95%; justify-content: center; height: 50vh; } body div.presentation div.presentation-item { margin: 1%; width: 30%; overflow-y: scroll; } body div.presentation div.presentation-item code pre { white-space: pre-wrap; } body div.width-max-content { width: max-content; } body div#game-container { height: 100vh; } body div#game-container nav.menu-bar { width: 100%; background: grey; height: 3rem; display: flex; justify-content: end; align-items: center; } body div#game-container nav.menu-bar a { font-size: 1.7rem; display: inline-block; background: chocolate; border-radius: 0.3rem; color: ghostwhite; text-decoration: none; margin-right: 0.7rem; margin-left: 0.7rem; height: 100%; } body div#game-container nav.menu-bar a:last-child { margin-right: 0px; } body div#game-container nav.menu-bar a:hover { background: ghostwhite; color: black; } body div.pj-selection-menu { display: flex; justify-content: center; align-items: center; min-height: 100%; background: ghostwhite; flex-direction: column; } body div.pj-selection-menu div.pj-selection-menu-container { background: ghostwhite; color: black; padding: 30px; display: flex; align-items: center; min-width: 80%; min-height: 100%; flex-direction: column; overflow: scroll; } body div.pj-selection-menu div.pj-selection-menu-container div.pj-list { background: ghostwhite; width: 90%; padding: 10px; display: flex; flex-wrap: wrap; flex-direction: row; align-content: center; justify-content: center; align-items: center; flex-grow: 1px; gap: 8px; } body div.pj-selection-menu div.pj-selection-menu-container div.pj-list a { width: 10em; height: 10em; background: white; border: solid 1px black; box-shadow: 3px 1px 3px 3px #333; color: blue; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none; } body div.pj-selection-menu div.pj-selection-menu-container div.pj-list a:hover { color: yellow; background: gray; } body div.login-container { display: flex; justify-content: center; align-items: center; height: 100%; background: url() no-repeat center black; flex-direction: column; } body div.login-container div.login-contained { background: #001e8b; color: azure; padding: 30px; border: solid 1px black; display: flex; align-items: center; flex-direction: column; } body div.login-container div.login-contained input { display: block; } body div.login-container div.login-contained button { display: block; } body div.login-container div.login-contained div.login-form { display: flex; flex-direction: column; width: max-content; } body div.login-container div.login-contained div.login-form div.align-self-end { align-self: end; } body div.login-container div.login-contained a { color: aquamarine; } body div.login-container div.login-contained a:hover { color: yellow; }