/*
Theme Name:		Cello Republic
Theme URI:		https://www.cellorepublic.cz
Author:			Petr Šabach
Author URI:		https://sabach.studio
Version:		2022
*/

html {
	scroll-behavior: smooth;
}
body {
	font-family: 'Epilogue', sans-serif;
	font-size: 1em;
	line-height: 1;
	font-weight: 400;
	background: #281C5D;
	color: #fff;
}
html, body {
	height: 100%;
}
a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4, strong, b {
	font-weight: 500;
	margin: 0;
	line-height: 1;
}
h2 {
	margin-bottom: 3em;
}
h3 {
	font-size: 1.875em;
}

#bg {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	overflow: hidden;
}
.bg {
	width: 50%;
	height: 3px;
	will-change: transform, top, left;
}

.wrap {
	position: relative;
    margin: 0 auto;
	padding: 0 25px;
}
.flex {
	display: flex;
}
.skrollable {
	position: fixed;
}

#head {
	position: relative;
	overflow: hidden;
	min-height: 100%;
	background: url(img/head.130622.jpg) center/cover no-repeat;
}
#head::after,
#head::before {
	content: '';
	position: absolute;
	z-index: 1;
	background: #1fb852;
	width: 75%;
	height: 3px;
	bottom: 0;
	transform: rotate(-45deg);
}
#head::after {
	left: 25%;
}
#head::before {
	left: -25%;
}

#nav {
	position: fixed;
	z-index: 99;
	left: 0;
	right: 0;
	top: -100%;
	height: 100%;
	background: #281c5d;
	align-items: center;
	transition: .5s top;
}

body.open {
	overflow-y: hidden;
}
body.open #nav {
	display: flex;
	top: 0;
}
body.open #open::before {
	transform: rotate(-45deg) translateY(-100%);
	transition: .5s transform;
}
body.open #open::after {
	transform: rotate(45deg) translateY(100%);
	transition: .5s transform;
}

#menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
#menu {
	margin-top: 10vh;
}
#menu li:first-child {
	display: none;
}
#menu li {
	font-size: 1.875em;
	font-size: 4vh;
	text-align: center;
	display: block;
	margin: 8vh 0;
}
#menu a {
	position: relative;
}
#menu a::after {
	content: '';
	position: absolute;
	height: 3px;
	background: #6029a5;
	left: 0;
	right: 0;
	bottom: -2vh;
	transform: rotate(-5deg);
}
#menu li:nth-child(odd) a::after {
	transform: rotate(5deg);
}
#menu li a + a {
	margin-left: 1em;
}
.submenu a {
	position: static;
	display: inline-block;
	/*
	height: 4vh;
	*/
}
.submenu a::after {
	display: none !important;
}
.submenu img {
	vertical-align: middle;
	height: 100%;
}
.submenu a#promo {
	display: block;
}

#navbar {
	position: fixed;
	z-index: 100;
	left: 1.5em;
	right: 1.5em;
	top: 1.5em;
	justify-content: space-between;
	align-items: center;
}
#navbar h1 {
	position: relative;
	flex-grow: 1;
	flex-basis: 50%;
	max-width: 65%;
}
#navbar h1 img {
	vertical-align: middle;
}

#open {
	position: relative;
	text-indent: -100em;
	width: 2em;
	height: 2em;
	padding-top: 100%;
	background: none;
	color: inherit;
	font: inherit;
	border: none;
	cursor: pointer;
	padding: 0;
	margin: 0;
	line-height: 1;
}
#open::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 4px;
	border-top: 2px solid;
	border-bottom: 2px solid;
}
#open::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: calc( 50% - 12px );
	height: 4px;
	border-top: 2px solid;
	border-bottom: 2px solid;
}

#lead {
	position: relative;
	z-index: 10;
	text-align: center;
	font-size: 1.5em;
	padding-top: 35vh;
	line-height: 1.25;
}
#lead p {
	margin: 1em auto;
	max-width: 90%;
}
#lead a {
	border-bottom: 1px solid;
}
#lead a:hover {
	border-bottom-color: transparent;
}

#skip {
	display: inline-block;
	display: none;
	position: relative;
	overflow: hidden;
	text-indent: -100em;
	border-radius: 50%;
	width: 2em;
	height: 2em;
	border: 3px solid;
}
#skip::after,
#skip::before {
	content: '';
	position: absolute;
	background: none;
	top: 50%;
	left: 50%;
	height: 33%;
	width: 33%;
	border-bottom-style: solid;
	border-left-style: solid;
	border-width: 3px;
	transform: translate(-50%,-65%) rotate(-45deg);
	transition: .5s top;
}
#skip::before {
	top: -150%;
}
#skip:hover::after {
	top: 150%;
}
#skip:hover::before {
	top: 50%;
}

#album {
	margin: 0;
	padding: 0;
	position: absolute;
	z-index: 98;
	left: 1em;
	right: 1em;
	bottom: 1em;
	background: #1FB852;
	display: flex;
	align-items: center;
	font-size: 1.125em;
}
#album img {
	width: 40%;
	max-width: 120px;
}
#album figcaption {
	padding: 1em;
}
#album p {
	line-height: 1;
	margin: 0 0 1em;
}
#album a {
	border-bottom: 1px solid;
}
#album a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

#info {
	position: relative;
	z-index: 10;
	/*
	background: url(img/info.130622.jpg) 65% 0% / 100% auto no-repeat;
	background: url(img/band.140622.jpg) 90% center / cover no-repeat;
	*/
	line-height: 1.5;
	padding: 10vh 0 75%;
	background: #281c5d url(img/band.140622.jpg) bottom center / 100% auto no-repeat;
}
#info::after,
#info::before {
	content: '';
	position: absolute;
	z-index: 0;
	height: 20vh;
	border-top: 3px solid #6029A5;
	border-bottom: 3px solid #6029A5;
	left: 50%;
	right: 0;
}
#info::before {
	top: 40vh;
}
#info::after {
	top: 50vh;
}
#info p {
	position: relative;
	z-index: 10;
}

#program {
	padding: 10vh 0;
	background: #F8A75D;
	background: #281c5d;
	color: #281c5d;
	color: #fff;
	font-weight: 500;
}
#program dl {
	font-size: 1.125em;
	line-height: 1.25;
}
#program dl * {
	margin: 0;
	padding: 0;
}
#program .flex {
	padding: .75em 0;
	flex-wrap: wrap;
	border-top: 1px solid #F8A75D;
}
#program .flex:first-child {
	border: 0;
}
#program dt {
	flex-basis: 100%;
	display: flex;
	justify-content: space-between;
}
#program dt small {
	display: none;
	font-weight: 400;
}
#program dd {
	flex-basis: 100%;
	margin-top: .5em;
}
#program dd small {
	font-weight: 400;
	display: block;
	margin-right: 15%;
}
#program dd + dd {
	margin-top: 1em;
}
/*
#program a {
	position: relative;
	z-index: 10;
	display: inline-block;
	border: 3px solid;
	padding: 10% 2.5em 8%;
	font-size: 80%;
	text-transform: uppercase;
	line-height: 1;
	background-image: linear-gradient(0deg, #281c5d 25%, transparent 25%, transparent 50%, #281c5d 50%, #281c5d 75%, transparent 75%, transparent 100%), linear-gradient(0deg, #281c5d 25%, transparent 25%, transparent 50%, #281c5d 50%, #281c5d 75%, transparent 75%, transparent 100%);
	background-position: 10% 0, 90% 0;
	background-size: 3px 12px;
	background-repeat: repeat-y;
}
#program a:hover {
	box-shadow: 10px 10px #281c5d;
	background-color: #fff;
	transition: background-color .5s, box-shadow .5s;
}
*/
#program a:hover {
	text-decoration: underline;
}

#booking {
	position: relative;
	overflow: hidden;
	text-align: center;
	background: url(img/foot.140622.jpg) 45% top/cover no-repeat;
	height: 100%;
}
#booking .wrap {
	position: relative;
	padding-top: 40vh;
}
#booking ul {
	position: relative;
	z-index: 10;
	list-style: none;
	margin: 0;
	padding: 0;
}
#booking li {
	padding: 0;
	margin: 1em;
	display: inline-block;
	line-height: 1.5;
}
#booking img {
	height: 1.25em;
	vertical-align: middle;
}
#booking a {
	position: relative;
}
#booking p {
	line-height: 1.5;
}
#booking::after,
#booking::before,
#booking .wrap::after,
#booking .wrap::before {
	content: '';
	position: absolute;
	z-index: 1;
	background: #f8a75d;;
	width: 75%;
	height: 3px;
}
#booking::after {
	bottom: 5%;
	left: -5%;
	transform: rotate(-15deg);
}
#booking::before {
	top: 20%;
	left: -15%;
	transform: rotate(-95deg);
}
#booking .wrap::after {
	top: -25%;
	left: 40%;
	transform: rotate(-95deg);
}
#booking .wrap::before {
	top: 65%;
	right: -35%;
	transform: rotate(-75deg);
}

#disc .wrap {
	overflow: hidden;
}
#disc figure,
#disc ol {
	margin: 0;
	padding: 0;
}
#disc img {
	margin-top: 12vh;
	max-width: 100%;
}
#disc h3 {
	margin-top: 1.5em;
	line-height: 1.25;
	font-size: 1.125em;
}
#disc a {
	border-bottom: 1px solid;
}
#disc a:hover {
	border-bottom-color: transparent;
}
#disc ol,
#disc p {
	line-height: 1.5;
}
#disc ol {
	font-size: 80%;
	margin: 1em 0;
	list-style: none;
	counter-reset: elementcounter;
}
#disc li::before {
	display: inline-block;
	text-align: right;
	width: 1.5em;
	margin-right: .5em;
	content: counter(elementcounter) '/ ';
	counter-increment: elementcounter;
}
#disc figcaption a {
	background: #1FB852;
	border: 0;
	padding: 1em 1.5em;
	border-radius: 5px;
	box-shadow: 2px 2px 12px 0px rgba(0,0,0,0.25);
	display: block;
	text-align: center;
	margin: 0;
	line-height: 1;
	transition: .2s box-shadow;
}
#disc figcaption a:hover {
	box-shadow: 2px 2px 25px 0px rgba(0,0,0,1);
}


.skrollr #head::after,
.skrollr #head::before,
.skrollr #info::after,
.skrollr #info::before,
.skrollr #booking::after,
.skrollr #booking::before,
.skrollr #booking .wrap::after,
.skrollr #booking .wrap::before {
	display: none;
}
.skrollr #head,
.skrollr #info,
.skrollr #booking {
	position: static;
}

#program a svg {
	display: inline-block;
}
#program path {
	fill: #6029a5;
}
#program a path {
	fill: #fff;
	transition: .2s;
}
#program a:hover path {
	fill: #f8a75d;
}

@media only screen and (min-width: 640px) {
	#navbar h1 {
		max-width: 25%;
	}
}

@media only screen and (min-width: 768px) {
	body {
		font-size: 1.875em;

	}
	
	.wrap {
		padding: 0 50px;
	}
	
	#navbar h1 {
		max-width: 50%;
	}
	
	#lead p {
		max-width: none;
	}
	
	#info {
		background: url(img/band.140622.jpg) center bottom / 100% auto no-repeat;
	}
	
	#program .flex {
		flex-wrap: wrap;
	}
	#program dt {
		display: block;
		flex-basis: 35%;
	}
	#program dt small {
		display: block;
		display: none;
	}
	#program dt + dd {
		flex-basis: 55%;
		margin: 0;
	}
	
	#album {
		font-size: .5em;
		left: auto;
		bottom: auto;
		right: 0;
		top: 150px;
		width: 15em;
	}
}

@media only screen and (min-width: 1024px) {
	body {
		font-size: 1.125em;
	}
	
	.wrap {
		width: 100%;
		max-width: 1200px;
		box-sizing: border-box;
	}
	
	.section {
		display: flex;
		align-items: center;
		min-height: 100vh;
		font-size: 1.25em;
	}
	
	#head, #info {
		background-position: center center;
		background-size: cover;
	}
	
	#navbar {
		position: static;
	}
	#navbar h1 {
		margin: 20% auto 0;
		padding: 0 1em;
		max-width: 1000px;
	}
	#open {
		display: none;
	}
	#nav {
		display: block;
		height: auto;
		position: absolute;
		bottom: 4vh;
		top: auto;
		padding: 0;
		background: none;
	}
	#nav.fixed {
		position: fixed;
    	top: 0;
		bottom: auto;
		background: #281c5d;
	}
	
	#menu {
		display: flex;
		align-items: center;
		margin-top: 0;
		font-size: .85em;
	}
	#menu li#lang {
		flex-grow: 1;
		text-align: right;
	}
	#nav.fixed #menu li:first-child {
		display: inline-block;
		margin-left: 0;
		margin-right: 4em;
		flex-basis: 20%;
	}
	#menu li:first-child img {
		width: 100%;
		height: auto;
		/*
		height: .75em;
		*/
	}
	#menu li {
		flex-grow: 0;
		flex-shrink: 1;
		display: inline-block;
		font-size: 1.25em;
		margin: 1.5em 0;
		margin-right: 1.5em;
	}
	#menu li.submenu {
		text-align: right;
		margin-right: 0;
	}
	.submenu a {
		height: auto;
	}
	.submenu img {
		height: auto;
	}
	.submenu a#promo {
		margin-left: .5em;
		display: inline-block;
	}
	#menu li a + a {
		margin-left: .5em;
	}
	#menu li a::after,
	#nav.fixed #menu li:first-child a::after {
		opacity: 0;
		pointer-events: none;
	}
	#menu li a:hover::after {
		opacity: 1;
	}
	#menu a::after {
		background: #fff;
	}
	
	#lead {
		font-size: 1.5em;
		padding-top: 1em;
	}
	#lead p {
		max-width: 20em;
	}
	
	#info {
		line-height: 1.5;
		padding: 0;
	}
	#info p:first-child {
		margin-top: 50vh;
	}
	#info p {
		margin-right: 0;
	}

	#program {
		/*
		min-height: auto;
		*/
		padding: 5em 0;
	}

	#program .flex {
		flex-wrap: wrap;
	}
	#program dt {
		display: block;
		flex-basis: 25%;
	}
	#program dt + dd {
		flex-basis: 45%;
		margin: 0;
	}
	#program dd + dd {
		flex-basis: auto;
		margin: 0;
		margin-left: auto;
		align-self: center;
	}
	#program dd + dd small {
		display: inline-block;
		margin: 0;
	}

	#booking {
		background-position: center top;
		background-size: cover;
		font-size: 1.5em;
	}
	#booking .wrap {
		padding-top: 25vh;
	}
	
	#album {
		z-index: 1000;
		position: fixed;
		top: 13vh;
		font-size: 1em;
		transition: 1s right;
		width: auto;
	}
	#album figcaption {
		width: 9em;
	}

	#album.hidden {
		right: -11em;
	}
	#album:hover {
		right: 0;
	}
	
	#disc img {
		margin-top: 0;
	}
	#disc figure {
		float: right;
		margin-right: -80px;
	}
	#disc p {
		max-width: 20em;
	}
	#disc figcaption {
		margin-left: 170px;
	}
	#disc figcaption a {
		display: inline-block;
	}
}

@media only screen and (min-width: 1200px) {
	#menu {
		font-size: 1em;
	}
}