@charset "UTF-8";
/* CSS Document */


/* ----- Obory ----- */



.obor-ss {
	padding-top: 80px;
}

.obor-ss .container {
	display: flex;
	justify-content: space-between;
}

.obor-ss h2 {
	padding-top: 50px;
	margin-bottom: 30px;
}

.obor-ss p {
	max-width: 520px;
}

.obor-image {
	max-width: 600px;
	width: 40%;
	aspect-ratio: 3 / 2;
	background-image: url("/imgs/default.jpg");
	background-size: cover;
	background-position: center;
	position: relative;
}

.obor-image a {
	position: absolute;
	right: 40px;
	bottom: 40px;
}



/* ----- Obor – detail ----- */



.obor-hero {
	background-color: var(--cnx-blackdark);
	padding-top: 50px;
	min-height: 500px;
	box-sizing: border-box;
}

.obor-hero h1::selection {
	background-color: var(--cnx-main);
}

.obor-hero .container {
	position: relative;
	padding-top: 0;
}

.obor-hero .rvp {
	font-size: 1.125rem;
	margin-bottom: 15px; 
	font-weight: var(--semibold);
	color: var(--cnx-greydark);
}

.obor-typ {
	display: flex;
	height: 40px;
	gap: 40px;
	color: #ffffff;
	margin: 30px 0 20px;
}

.obor-typ div {
	display: flex;
	align-items: center;
	gap: 15px;
}

.obor-typ img {
	user-select: none;
	width: 32px;
}

.obor-hero p {
	max-width: 680px;
	color: var(--cnx-greylight);
}

.hero-image {
	position: absolute;
	right: 10px;
	top: 0;
	max-width: 400px;
	aspect-ratio: 1 / 1.375;
	object-fit: cover;
	z-index: 1;
}

#uvod {
	padding: 80px 0;
}

#uvod p {
	max-width: 720px;
}

.obor-main + footer {
	margin-top: 0;
}



/* ----- Galerie ----- */



#galerie {
	padding-bottom: 120px;
}

.prace-galerie-container {
	width: 100%;
	max-width: 2000px;
	mask-image: linear-gradient(to right, transparent 0%, white 6%, white 94%, transparent 100%);
	padding: 60px 0;
}

.prace-galerie-scroll {
	display: flex;
	white-space: nowrap;
	margin-bottom: 20px;
}

.prace-galerie-scroll.reverse {
	display: flex;
	flex-direction: row-reverse;
	white-space: nowrap;
}


.prace-galerie-scroll div {
	animation: 70s slider infinite linear;
	display: flex;
}

.prace-galerie-scroll.reverse div {
	animation: 70s sliderReverse infinite linear;
}

.prace-galerie-scroll img {
	height: 250px;
	margin: 0 10px;
}

@keyframes slider {
	to {
		transform: translateX(-100%);
	}
}


@keyframes sliderReverse {
	to {
		transform: translateX(100%);
	}
}



/* ----- Přijímačky ----- */



#prijimacky {
	padding-top: 100px;
	padding-bottom: 120px;
	border-top: 1px solid var(--cnx-greylight);
	border-bottom: 1px solid var(--cnx-greylight);
}

#prijimacky a:hover {
	color: var(--cnx-main);
}

.prijimacky-top {
	margin-bottom: 100px;
}

.prijimacky-top h2 {
	margin-bottom: 40px;
}

.prijimacky-top p {
	max-width: 760px;
	margin-bottom: 25px;
}

.prijimacky-pozadavky {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-column-gap: 40px;
}

.prijimacky-pozadavky div {
	border-top: 1px solid var(--cnx-greylight);
	padding-top: 30px;
}

.prijimacky-pozadavky p {
	max-width: 440px;
	padding-top: 25px;
}



/* ----- Předměty ----- */



#predmety {
	padding-top: 140px;
	padding-bottom: 120px;
}

#predmety h2 {
	max-width: 520px;
}

.predmety-grid {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-gap: 30px;
	padding-top: 80px;
}

.predmety-grid div {
	padding-bottom: 30px;
}

.predmety-grid img {
	height: 48px;
	margin-bottom: 10px;
}

.predmety-grid h3 {
	font-size: 1.125rem;
	color: var(--cnx-black);
	margin: 5px 0 15px;
}

.predmety-grid p {
	max-width: 360px;
}

#studijni-plan {
	display: none;
}



/* ----- Testimoniály ----- */



#testimonial {
	padding-top: 100px;
	padding-bottom: 60px;
	display: none;
}

#testimonial .container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.slideshow-mask {
	position: relative;
}

.slideshow {
	max-width: 1200px;
	width: 100%;
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent 0%, white 12%, white 88%, transparent 100%);
}

.slides {
	width: 100%;
	display: flex;
	transition: transform 0.5s ease-in-out;
	margin-bottom: 50px;
}

#testimonial h2 {
	text-align: center;
	margin-bottom: 70px;
}

#testimonial .slide > img {
	width: 100px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;	
	object-fit: cover;
	user-select: none;
	margin-bottom: 20px;
}

#testimonial .slide {
	min-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 120px;
}

#testimonial .karta {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 30px;
}

.position {
	color: var(--cnx-greydark);
	font-weight: var(--medium);
	padding-top: 6px;
}

.testimonial {
	max-width: 660px;
}

#arrow-left, #arrow-right {
	border: none;
	background: none;
	background-image: url("../imgs/svg/cta_arrow.svg");
	background-position: right center;
	background-size: 60% ;
	background-repeat: no-repeat;
	height: 100%;
	width: 40px;
	filter: grayscale(1) brightness(1.5);
	cursor: pointer;
	z-index: 10;
}

#arrow-left {
	position: absolute;
	top: 0;
	left: 0;
	transform: scaleX(-1);
}

#arrow-right {
	position: absolute;
	top: 0;
	right: 0;
}

#arrow-left:hover, #arrow-right:hover {
	filter: none;
} 





/* ----- DOD ----- */



#dod {
	margin-top: 100px;
	background-color: var(--cnx-blackdark);
	min-height: 400px;
	
}

#dod .container {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#dod h2 {
	color: #ffffff;
	max-width: 600px;
	margin-bottom: 40px;
}

#dod img {
	position: absolute;
	right: 0;
	bottom: 0;
}



/* ----- Přihlášky ----- */



#prihlaska {
	background: var(--cnx-main);
	padding-top: 50px;
	padding-bottom: 50px;
}

#prihlaska .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #ffffff;
}

#prihlaska .cta-black:hover {
	border: 0.5px solid #ffffff;
}




/* ----- Responz – Tablet ----- */



@media screen and (max-width: 1199px) {
	
	
	.hero-image {
		display: none;
	}
	
	.prace-galerie {
		grid-template-columns: 1fr 1fr;
	}
	
	.prijimacky-top {
		flex-direction: column;
		gap: 30px;
	}
	
	.prijimacky-pozadavky {
		grid-template-columns: 100%;
		grid-row-gap: 40px;
	}

	.predmety-grid {
		grid-template-columns: repeat(2,1fr);
	}
	
	.slideshow, .slideshow-mask {
		max-width: 100%;
	}
	
	#testimonial .slide {
		padding: 0 30px;
	}
	
	#arrow-left, #arrow-right {
		height: 200px;
	}
	
	#dod img {
		right: -120px;
	}
	
	#prihlaska h2 {
		max-width: 60%;
	}
	
}
	
	
/* ----- Responz – Mobil ----- */



@media screen and (max-width: 599px) {
	
	.obor-ss .container {
		flex-direction: column;
		gap: 40px;
	}
	
	.obor-image {
		width: 100%;
		aspect-ratio: 1 / 1;
	}
	
	.obor-image a {
		right: 25px;
		bottom: 25px;
	}
	
	.obor-hero .container {
		padding-bottom: 60px;
	}
	
	.obor-typ {
		flex-direction: column;
		height: auto;
		gap: 20px;
		margin-bottom: 40px;
	}
	
	.prace-galerie, .predmety-grid {
		grid-template-columns: 100%;
	}
	
	#predmety {
		text-align: center;
	}
	
	.predmety-grid div {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	#dod {
		margin-top: 0;
	}
	
	#dod .container {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-top: 80px;
		overflow-x: hidden;
		gap: 60px;
	}
	
	#dod div {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
	
	#dod img {
		position: static;
	}
	
	#prihlaska .container {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 30px;
	}
	
	#prihlaska h2 {
		max-width: 100%;
	}
	
}






