/* CSS Document */ body { margin: 0px auto; max-width: 768px; background-color: rgb(211, 211, 211); display: grid; grid-template-columns: 140px auto; } header { background-color: black; color: white; text-align: center; font-family: sans-serif; grid-column: 1 / 3; grid-row: 1 / 2; } header h1, header h2 { margin: 0px; padding: 3px; } nav { grid-column: 1 / 2; grid-row: 2 / 3; } nav a{ background-color: black; padding: 5px 10px; border: 4px outset grey; margin: 2px; color: white; text-decoration: none; font-family:sans-serif; display: block; line-height: 2; } nav a:visited{ background-color: black; color: grey; } nav a:hover{ background-color: gray; color: white; } #vybrany { background-color: #0D0D0D; border: 4px intset gray; color: #808080; } section { grid-column: 2 / 3; grid-row: 2 / 3; padding: 1px; } footer { grid-column: 1 / 3; grid-row: 3 / 4; background-color: black; color: white; padding: 5px 10px; font-family: sans-serif; font-size: x-small; }