@charset "UTF-8";
/* CSS Document */




/* ----- O škole ----- */



#oskole {
	flex-direction: column;
	align-items: center;
}

.oskole-top {
	padding: 100px 0;
}

.oskole-top p {
	max-width: 720px;
}

.oskole-top p:first-of-type {
	padding-top: 10px;
}

.oskole-video-background {
	position: relative;
}

.oskole-video {
	background-image: url("/imgs/homepage/hp_video_background.jpg");
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 440px;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-box-shadow: 0px 20px 50px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 20px 50px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 20px 50px 0px rgba(0,0,0,0.15);
}

.oskole-video-background::before {
	content: "";
	display: block;
	width: 100%;
	height: 220px;
	background-color: var(--cnx-blackdark);
	background-image: url("/imgs/background_black.jpg");
	position: absolute;
	bottom: 0;
	z-index: -1;
}

#playVideo {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: none;
	border: none;
	color: #ffffff;
	font-family: var(--font-kyberna);
	text-transform: uppercase;
	gap: 16px;
	cursor: pointer;
	user-select: none;
	padding: 0;
	visibility: hidden;
}

#playVideo:hover .play {
	transform: scale(1.05);
}

.play {
	height: 60px;
	aspect-ratio: 1 / 1;
	background: none;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.1s ease-out;
}

.play::after {
	display: block;
	content: '';
	width: 80%;
	aspect-ratio: 1 / 1;
	background-image: url("/imgs/svg/videoplay.svg");
	background-size: cover;
}

#playVideo span {
	text-shadow: 0px 0px 7px black;
}

#videoPopup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 99;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.82);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease-out, visibility 0.2s ease;
}

#videoPopup.playing {
	opacity: 1;
	visibility: visible;
}

#videoPopup div {
	width: 100%;
	max-width: 85%;
	max-height: 85vh;
	aspect-ratio: 16 / 9;
	position: relative;
	transform: scale(0.95);
	transition: transform 0.5s ease;
}

#videoPopup.playing div {
	transform: scale(1);
}

iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}


#closeVideo {
	z-index: 100;
	position: absolute;
	top: 22px;
	right: 22px;
	height: 36px;
	width: 36px;
	border-radius: 50%;
	border: none;
	background: var(--cnx-black);
	color: #ffffff;
	font-size: 1.125rem;
	font-weight: var(--bold);
	cursor: pointer;
	transition: transform 0.2s;
}

#closeVideo:hover {
	background: var(--cnx-main);
	transform: scale(1.1);
}

.oskole-cisla {
	background-color: var(--cnx-blackdark);
	background-image: url("/imgs/background_black.jpg");
	background-position: 0 -240px;
	padding: 80px 0;
}

.oskole-cisla h3 {
	font-size: 1.625rem;
	line-height: 2.5rem;
	color: #ffffff;	
}

.oskole-cisla .container {
	display: flex;
	justify-content: space-between;
}

.oskole-cisla .container > div {
	display: grid;
	grid-template-columns: repeat(3,220px);
	grid-gap: 40px;
}

.oskole-cisla .container > div div {
	max-width: 220px;
	color: var(--cnx-greylight);
	font-weight: var(--medium);
	line-height: 1.625rem;
}

.oskole-cisla .container div span {
    display: block;
    color: #ffffff;
    font-family: var(--font-kyberna);
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 2rem;
}



/* ----- Výhody ----- */



#vyhody {
	padding-top: 120px;
	padding-bottom: 140px;
	border-bottom: 1px solid var(--cnx-greylight);
	text-align: center;
}

.vyhody-nadpis {
	display: flex;
	justify-content: center;
}

#vyhody h2 {
	margin-bottom: 80px;
	max-width: 600px;
}

.vyhody-flex {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 80px;
}

.vyhody-flex div {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: clamp(320px, 33%, 370px);
}

#vyhody img {
	height: 60px;
	image-rendering: smooth;
}

#vyhody h3 {
	max-width: 280px;
    font-size: 0.875rem;
    line-height: 1.5rem;
    margin-bottom: 20px;
    padding-top: 22px;
}



/* ----- Obory ----- */



.obory-top {
    padding: 120px 0 100px;
    display: flex;
    flex-direction: column;
}

.obory-top h2 {
	max-width: 600px;
}

.obory-top p {
	max-width: 900px;
}

.obory-karty {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-gap: 30px;
	margin-bottom: 120px;
}

.obory-karty div {
	aspect-ratio: 1 / 1.35;
	background-position: center;
	background-size: cover;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding-bottom: 50px;
}

.obor-gra {
	background-image: url("/imgs/homepage/hp_obory_grafika.jpg");
}

.obor-prg {
	background-image: url("/imgs/homepage/hp_obory_programovani.jpg");
}

.obor-psi {
	background-image: url("/imgs/homepage/hp_obory_site.jpg");
}

.obory-karty h3 {
    color: #ffffff;
    font-size: 2rem;
    line-height: 2.5rem;
    text-transform: uppercase;
    text-align: center;
    margin: 10px 0 20px;
}

.obory-karty p {
	color: #ffffff;
}

.obory-karty .cta-white {
	min-width: 320px;
}



/* ----- Dílny ----- */



#dilny {
	flex-direction: column;
	align-items: center;
	border-top: 1px solid var(--cnx-greylight);
	margin-bottom: 140px;
}

.dilny-top {
	padding: 100px 0;
	display: flex;
	justify-content: space-between;
}

.dilny-top p {
	max-width: 660px;
	margin-bottom: 30px;
}

.dilny-top h2 {
	max-width: 600px;
	margin-bottom: 30px;
}

.dilny-top img {
	max-width: 40%;
}


.dilny-galerie-container {
	width: 100%;
	max-width: 2000px;
	mask-image: linear-gradient(to right, transparent 0%, white 10%, white 90%, transparent 100%);
}

.dilny-galerie-scroll {
	display: flex;
	white-space: nowrap;
	margin-bottom: 20px;
}

.dilny-galerie-scroll.reverse {
	display: flex;
	flex-direction: row-reverse;
	white-space: nowrap;
}


.dilny-galerie-scroll div {
	animation: 70s slider infinite linear;
	display: flex;
}

.dilny-galerie-scroll.reverse div {
	animation: 70s sliderReverse infinite linear;
}

.dilny-galerie-scroll img {
	height: 200px;
	margin: 0 10px;
}

@keyframes slider {
	to {
		transform: translateX(-100%);
	}
}


@keyframes sliderReverse {
	to {
		transform: translateX(100%);
	}
}


.dilny-jumbotron {
	padding-top: 100px;
}

.dilny-jumbotron h2 {
	text-align: center;
	margin-bottom: 80px;
}

#dilny-seznam {
	display: flex;
	width: 100%;
}

#dilny-seznam > div {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	border-bottom: 1px solid var(--cnx-greylight);
	padding: 0 8px 35px;
	position: relative;
	transition: border 0.1s;
	cursor: pointer;
}

#dilny-seznam > div:hover {
	border-bottom: 3px solid var(--cnx-main);
}

#dilny-seznam > div.active {
	border-bottom: 3px solid var(--cnx-main);
}

#dilny-seznam img {
	height: 48px;
}

#dilny-seznam p {
	text-align: center;
	font-family: var(--font-basic);
	font-weight: var(--semibold);
	line-height: 1.375rem;
}

#dilny-slides {
	padding: 70px 0 0;
	overflow-x: hidden;
}

#dilny-slides-container {
	display: flex;
	width: 100%;
}

#dilny-slides-container > div {
	display: grid;
	grid-template-columns: auto 40%;
	grid-gap: 80px;
	min-width: 100%;
	padding: 0 5%;
}

#dilny-slides-container > div > div {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-direction: column;
}

#dilny-slides img {
	width: 100%;
	aspect-ratio: 5 / 3;
	object-fit: cover;
}

#dilny-slides h4 {
    font-size: 1.25rem;
    line-height: 2rem;
    margin-bottom: 25px;
}

#dilny-slides p {
	max-width: 600px;
	margin-bottom: 32px;
}



/* ----- VOŠ ----- */


#vos {
	display: none;
}




/* ----- Ubytování ----- */



#ubytovani {
	padding-top: 100px;
	padding-bottom: 120px;
}

.ubytovani-top {
	margin-bottom: 80px;
}

.ubytovani-top h2, .ubytovani-top p {
	max-width: 720px;
	margin-bottom: 40px;
}

.ubytovani-galerie {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	grid-gap: 20px;
}

.ubytovani-galerie img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}



/* ----- FAQ ----- */



#faq {
	padding-top: 70px;
	padding-bottom: 50px;
}

#faq .container {
	display: flex;
	justify-content: space-between;
}

#faq h2 {
	margin-bottom: 40px;
	padding-top: 20px;
}




/* ----- Responz – Tablet ----- */


@media screen and (max-width: 1199px) {

	
	.obory-karty {
		grid-template-columns: 1fr 1fr;
	}
	
	.vyhody-flex {
		flex-direction: column;
	}
	
	.oskole-cisla .container > div {
		grid-template-columns: 100%;
	}
	
	.oskole-cisla .container > div div {
		max-width: 250px;
	}
	
	.obory-karty h3 {
		font-size: 1.75rem;
	}
	
	.dilny-galerie-container {
		mask-image: none;
	}
	
	.dilny-jumbotron h2 {
		margin-bottom: 50px;
	}

	#dilny-seznam img {
		height: 32px;
	}
	
	#dilny-seznam > div {
		padding: 10px 0 15px;
		justify-content: flex-end;
	}
	
	#dilny-seznam p {
		display: none;
	}
		
	#dilny-slides-container > div {
		display: flex;
		flex-direction: column-reverse;
		justify-content: flex-end;
		min-width: 100%;
		padding: 0 5%;
		grid-gap: 40px;
	}
	
	#faq .container {
		flex-direction: column;
	}
	
	#faq h2 {
		margin-bottom: 20px;
	}

}



/* ----- Responz – Mobil ----- */


@media screen and (max-width: 599px) {

	
	.obory-karty {
		grid-template-columns: 100%;
	}
	
	.oskole-cisla .container {
		flex-direction: column;
		gap: 40px;
		align-items: center;
		text-align: center;
	}
	
	.dilny-top {
		display: flex;
		flex-direction: column-reverse;
		gap: 40px;
	}
	
	.dilny-top img {
		max-width: 100%;
	}
	
	
}





/* ----- Responz – Desktop ----- */




@media screen and (max-width: 1600px) {

	
	#playVideo {
		transform: translateX(0);
	}
	
}



@media screen and (min-width: 2000px) {

	
	
	
}
