@font-face { font-family: 'Mulish'; src: url('Mulish-Regular.ttf'); /* older browsers */ font-weight: normal; font-style: normal; } @font-face { font-family: 'Oswald'; src: url('Oswald-ExtraLight.ttf'); /* older browsers */ font-weight: 300; font-style: normal; } @font-face { font-family: 'Sorts'; src: url('SortsMillGoudy-Regular.ttf'); /* older browsers */ font-weight: 300; font-style: normal; } body { min-height: 100vh; margin: 0; font-family: 'Mulish', sans-serif; line-height: 2em; background: #0e1317; color: white; display: flex; flex-direction: column; text-align: center; } /*----------------------------------*/ header { min-height: 50px; height: 10vh; background-color: #090c0f; box-sizing: border-box; padding: 1em 0; } header img { height: 100%; display: block; margin: 0 auto; } /*----------------------------------*/ nav { height: 90vh; display: flex; flex-direction: column; } nav ul { padding: 0; margin: 0; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-around; } nav ul:nth-of-type(1) { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAEklEQVQImWNgYGD4z0AswK4SAFXuAf8EPy+xAAAAAElFTkSuQmCC) repeat, url('../-img/restaurace-fotka.jpg') center/cover no-repeat scroll; margin-bottom: 0.3em; } nav ul:nth-of-type(2) { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAEklEQVQImWNgYGD4z0AswK4SAFXuAf8EPy+xAAAAAElFTkSuQmCC) repeat, url('../-img/club-fotka.jpg') center/cover no-repeat scroll; margin-bottom: 0.3em; } nav ul:nth-of-type(3) { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAEklEQVQImWNgYGD4z0AswK4SAFXuAf8EPy+xAAAAAElFTkSuQmCC) repeat, url('../-img/apartmany-fotka.jpg') center/cover no-repeat scroll; } nav li { list-style-type: none; font-style: normal; } /*----------------------------------*/ #hero { background-color: darkslategrey; } #hero div { padding: 12vh 8vw; background-color: slategrey; background-image: url("../-img/hero-burger-fotografie.jpg"), url("../-img/hero-vino.jpg"), url("../-img/hero-krkovicka.jpg"), url("../-img/hero-kure.jpg"); background-repeat: no-repeat; background-position-x: right+80vw, right+88vw, 80vw, 85vw; background-position-y: 35%, 10%, 35%, 15%; background-size: 40%, 24%, 45%, 35%; } #hero div em { color: #c19977; position: relative; } #hero div em::after { content: ""; background-color: #c19977; height: .5em; width: 300%; margin-left: -200%; position: absolute; top: 4em; } #hero div p { font-size: 0.8em; line-height: 1.5em; } #hero nav { display: initial; display: block; padding: 5vh 8vw; } #hero nav h3 { font-size: 2em; font-weight: lighter; margin: 2vh 0 5vh 0; } #hero ul { list-style: none; margin: 0; padding: 0; } #hero img { width: 100%; } /*----------------------------------*/ /* #oNas h2::before { content: "◈"; position: relative; display: block; font-size: 0.6em; background-color: red; width: 60vw; line-height: 0; left: 20%; top: 2em; } */ #oNas p { padding: 3vh 8vw; color: #b1b5b7; } #oNas figure { position: relative; min-height: 75vw; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 8vw; margin-inline-end: 8vw; } #oNas figure img:nth-child(1) { right: 0; top: 0; width: 60vw; } #oNas figure img:nth-child(2) { left: 0; bottom: 0; width: 30vw; padding-bottom: 3vh; } #oNas figure img:nth-child(3) { bottom: 0; margin: 0 auto; margin-left: -25vw; width: 50vw; padding-top: 1em; } #oNas figure img { position: absolute; } /*----------------------------------*/ #highlights { background-color: #090c0f; margin: 0 5vw; padding: 3vh 0; } #highlights figure { background: #0e1317; display: inline-block; line-height: 0; border-radius: 50%; margin: 10vw; } #highlights img { width: 10vh; height: 10vh; margin: 1.1em; } #highlights h3 { font-size: 1.3em; font-family: 'Oswald', sans-serif; display: block; font-weight: bold; margin-top: -1em; } #highlights p { color: #b1b5b7; } /*----------------------------------*/ #poledniMenu { background-color: #090c0f; padding: 3vh 9vw 5vh; margin-bottom: 20vh; } #poledniMenu ul { list-style-type: none; margin: 0; margin-top: 3em; padding: 0; text-align: initial; } #poledniMenu ol { overflow-x: hidden; counter-set: menu-counter -1; padding-left: 1.5em; padding-bottom: 2em; } #poledniMenu ol li { display: flex; overflow: hidden; counter-increment: menu-counter; justify-content: space-between; } #poledniMenu ol li::before { content: counter(menu-counter)"."; padding-right: 0.33em; } #poledniMenu ol li:first-child::before { display: none; } #poledniMenu ol li span:first-child::after { content: " . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . " ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . " ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "; position: absolute; white-space: nowrap; padding-left: .5em; } #poledniMenu li span { position: relative; flex-grow: 10; } #poledniMenu ol li em { background: #090c0f; align-self: flex-end; z-index: 10; padding-left: .5em; } #poledniMenu li em { color: inherit; font-weight: bold; font-style: normal; font-size: inherit; font-family: inherit; } #poledniMenu em { color: #c19977; } /*----------------------------------*/ footer { min-height: 50px; padding: 3vh 9vw 5vh; background: #090c0f; } footer nav { display: initial; font-weight: bold; } footer ul, address { list-style-type: none; margin: 0; margin-bottom: 2em; padding: 0; font-style: normal; } footer img { max-height: 4vh; vertical-align: top; } footer .social { max-height: 8vh; } footer strong { font-size: 1.2em; font-family: 'Oswald', sans-serif; display: block; margin-bottom: 1.5em; text-transform: uppercase; color: #c19977; font-weight: normal; } footer strong::before, footer strong::after { content: "◆"; font-size: 0.5em; vertical-align: top; margin: 0 1.5em; } footer em { font-weight: bold; font-style: normal; font-size: inherit; font-family: inherit; } /*----------------------------------*/ a:link { color: white; background-color: transparent; text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 1.1em; } a, a:hover, a:active, a:visited { color: white; } h1 { font-family: 'Oswald', sans-serif; font-size: 2.5em; font-weight: normal; margin-top: 0; margin-bottom: 2em; } h2 { font-family: 'Oswald', sans-serif; font-size: 2.5em; font-weight: normal; border-bottom: 1px solid rgb(193, 153, 119, 0.6); width: fit-content; margin: 0 auto; line-height: 1em; } h2::after { content: ""; height: 0.25em; width: 0.25em; display: block; position: relative; left: 50%; margin-left: -0.125em; background-color: #c19977; transform: rotate(45deg); border: 3px solid #0e1317; outline: 1px solid #c19977; margin-bottom: -0.21em; margin-top: 1em; } h3 { margin: 0; } em { font-size: 1.3em; font-family: 'Sorts', sans-serif; } /*----------------------------------*/ .hide { display: none; } a.button { padding: 1em 3em; text-transform: uppercase; background-color: #222d3b; color: white; border: 4px solid #0a0e10; outline: 1px solid #c19977; font-family: 'Oswald', sans-serif; font-weight: bold; font-size: 1em; cursor: pointer; margin: 0 auto; display: block; width: fit-content; }