body { font-size: 12px; font-family: sans-serif; color: #333; background-image: url(/img/background.png); background-attachment: fixed; padding: 20px; } a:hover { text-decoration: none; } h1, h2 { margin-top: 0; } img { max-width: 100%; max-height: 100%; } header { max-width: 254px; height: 50px; text-align: center; margin: auto; background-image: url("/img/header.png"); background-repeat: no-repeat; } main { max-width: 600px; margin: auto; padding-bottom: 35px; } main section, main footer { box-sizing: border-box; border: 6px ridge #dd366b; border-radius: 15px; background-color: #ffffb9; padding: 15px; margin: 20px auto; } main footer { text-align: center; } nav { text-align: center; position: fixed; bottom: 0; left: 0; width: 100%; height: 50px; background-color: #ffffb9; padding: 4px 0; border-top: 6px ridge #dd366b; display: flex; justify-content: center; align-items: center; gap: 5px; } nav a { color: #333; text-transform: uppercase; font-size: 13px; } nav a::before { content: url("/img/star.gif"); display: inline-block; transition: .5s; margin-right: 2px; } nav a:hover::before { rotate: 360deg; } table { text-align: center; width: 100%; box-sizing: border-box; } td:nth-child(even) { width: 199px; } .shelter { display: flex; flex-direction: row; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; } .shelter figure { width: 80px; height: 95px; text-align: center; font-size: 10px; } .pen { border: 10px solid transparent; border-image: url(/img/border.png) 21 round; width: 64px; height: 64px; }