:root {
	--primary: rgba(37, 37, 37, 1.0);
	--secondary: rgba(252, 41, 74, 1.0);
	--shades: rgba(238, 238, 238, 1.0);
}

* {
	scroll-behavior: smooth;
}

body {
	font-family: 'Source Code Pro', monospace;
	line-height: 1.6;
	margin: 0;
}

.home,
.kurzy,
.galerie,
.kontakt {
	height: 100vh;
}

.home,
.kurzy,
.galerie,
.kontakt,
.paticka {
	position: relative;
}

.hlavicka {
    min-height: 100vh;
    width: 100%;
    background-image: url(pozadi_1v2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
    background-position: center;
	font-size: 200%;
}

.hlavicka h1,
.home h1,
.home a,
.kurzy h1,
.galerie h1,
.reference h1{
	margin: 0;
	position: absolute;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: whitesmoke;
}

.hlavicka h1,
.paticka h1 {
	color: var(--shades);
	top: 48%;
}
.paticka h1{
	font-size: 1em;
	margin: 0;
	position: absolute;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: whitesmoke;
}

.hlavicka h1{
	font-family: 'Libre Baskerville', sans-serif;
}

.hlavicka h1:hover{
    transition: all 0.5s ease;
    opacity: 0.8;
}
.hlavicka h3{
	font-family: "Noto Sans Old Turkic", sans-serif;
	font-size: 80%;
	margin: 0;
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: whitesmoke;
}

.hlavicka h3:hover{
    transition: all 0.5s ease;
    opacity: 0.8;
}

.home p{
	margin: 0;
	position: absolute;
	top: 68%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: whitesmoke;
	text-align: center;
	font-size: 1.3rem;
}

.home a{
	color: whitesmoke;
	margin-top: 7%;
	text-align: center;
	font-size: 1.3rem;
}

.paticka {
	height: 10vh;
	background-color: var(--primary);
	margin-top: 10%;
}

.navbar {
	padding-top: .5em;
	padding-bottom: .5em;
	background-color: var(--primary);
}

.sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1;
}

.hidden {
	display: none;
}

.display__logo {
	font-size: 2.5rem;
	margin-bottom: .5rem;
	font-family: inherit;
	font-weight: 500;
	line-height: 1.2;
	color: inherit;
}

.nav__items {
	padding-right: 0;
	list-style: none;
}

.nav__link {
	color: var(--shades);
	text-decoration: none;
}

.brand {
	margin: 20;
	font-size: 1.45em;
	margin-right: 50%;
}

.logoimg{
	width: 80px;
	margin-left: 1%;

}

.nav__items {
	margin-top: 5px;
	margin-right: 5px;
}

.brand .nav__link,
.nav__items .nav__link {
	text-align: center;
	display: block;
}

.nav__items .nav__link {
	color: var(--shades);
	font-size: 0.99rem;
	margin-right: 11px;
}

.nav__items .nav__link:hover {
	color: var(--secondary);
}



.home{
	min-height: 100vh;
    width: 100%;
	background-image: url(pozadi_2.png);
	background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed;
    background-position: center;
}

.kurzy{
	background-image: url(pozadi3.png);
	background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed;
    background-position: center;
	min-height: 100vh;
    width: 100%;
}

article {
	--img-scale: 1.001;
	--title-color: rgb(255, 254, 254);
	--link-icon-translate: -20px;
	--link-icon-opacity: 0;
	position: relative;
	border-radius: 16px;
	box-shadow: none;
	background: #464242;
	transform-origin: center;
	transition: all 0.4s ease-in-out;
	overflow: hidden;
}
  
article a::after {
	position: absolute;
	inset-block: 0;
	inset-inline: 0;
	cursor: pointer;
	content: "";
}
  
article h2 {
	margin: 0 0 18px 0;
	font-family: "Bebas Neue", cursive;
	font-size: 1.9rem;
	letter-spacing: 0.06em;
	color: var(--title-color);
	transition: color 0.3s ease-out;
}
  
figure {
	margin: 0;
	padding: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
  
article img {
	max-width: 100%;
	transform-origin: center;
	transform: scale(var(--img-scale));
	transition: transform 0.4s ease-in-out;
}
  
.article-body {
	padding: 24px;
}
  
article a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #ffffff;
}
  
article a:focus {
	outline: 1px dotted #000000;
}
  
article a .icon {
	min-width: 24px;
	width: 24px;
	height: 20px;
	margin-left: 5px;
	transform: translateX(var(--link-icon-translate));
	opacity: var(--link-icon-opacity);
	transition: all 0.3s;
}
  
article:has(:hover, :focus) {
	--img-scale: 1.1;
	--title-color: #FF0000;
	--link-icon-translate: 0;
	--link-icon-opacity: 1;
	box-shadow: rgba(255, 255, 255, 0.16) 0px 10px 36px 0px, rgba(255, 255, 255, 0.06) 0px 0px 0px 1px;
}
  
*,
*::before,
*::after {
	box-sizing: border-box;
}
  
body {
	margin: 0;
	line-height: 1.6rem;
	min-height: 100vh;
}
  
.articles {
	display: grid;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
	padding-top: 10%;
}

.galerie{
	min-height: 100vh;
    width: 100%;
	background-image: url(pozadi_2.png);
	background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed;
    background-position: center;
}
.galerie h1{
	margin: 0;
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translate(-50%, -50%);
}
  
.sr-only:not(:focus):not(:active) {
	clip: rect(0 0 0 0); 
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap; 
	width: 1px;
}
*{
	box-sizing: border-box;
}
  
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	grid-gap: 2em;
	padding: 2em;
	padding-top: 13%;
	pointer-events: none;
  
	img {
	  display: block;
	  width: 100%;
	  border-radius: .25em;
	  transition: 250ms 50ms;
	  pointer-events: auto;
	}
	
	&:hover img:not(:hover) {
	  filter: saturate(.2) opacity(.2);
	}
}

@media (min-width: 800px) {

	.navbar,
	.nav__items {
		display: flex;
	}

	.navbar {
		flex-direction: column;
		align-items: center;
	}

	.navbar {
		flex-direction: row;
		justify-content: space-between;
	}
}

body {
	color: #1a1a1a;
	background-image: url(pozadi_2.png);
	background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed;
    background-position: center;
	min-height: 100vh;
    width: 100%;
}
  
#content {
	max-width: 600px;
	margin: auto;
	padding-top: 10%;
}
  
.testimonial blockquote {
	margin: 10px 10px 0;
	background: #efefef;
	padding: 20px 60px;
	position: relative;
	border: none;
	border-radius: 8px;
	font-style: italic;
}
  
.testimonial blockquote:before,
.testimonial blockquote:after {
	content: "\201C";
	position: absolute;
	font-size: 80px;
	line-height: 1;
	color: #757f9a;
	font-style: normal;
}
  
.testimonial blockquote:before {
	top: 0;
	left: 10px;
}
  
.testimonial blockquote:after {
	content: "\201D";
	right: 10px;
	bottom: -0.5em;
}
  
.testimonial div {
	width: 0;
	height: 0;
	border-left: 0 solid transparent;
	border-right: 20px solid transparent;
	margin: 0 0 0 60px;
}
  
.testimonial p {
	margin: 8px 0 0 20px;
	text-align: left;
	color: #fff;
}

.kontakt{
	min-height: 100vh;
    width: 100%;
	background-image: url(pozadi_2.png);
	background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed;
    background-position: center;
}
.kontakt h1{
	font-size: 40px;
	color: whitesmoke;
	margin: 0;
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#contact {
	padding-top: 15%;
	width: 100%;
	height: 100%;
}
  
.contact-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin: 0 auto;
	padding: 20px;
	position: relative;
	max-width: 840px;
}
  
.form-horizontal {
	max-width: 400px;
	font-weight: 400;
}
  
.form-control, 
textarea {
	max-width: 400px;
	background-color: #000;
	color: #fff;
	letter-spacing: 1px;
}
  
.send-button {
	margin-top: 15px;
	height: 34px;
	width: 400px;
	overflow: hidden;
	transition: all .2s ease-in-out;
}
  
.alt-send-button {
	width: 400px;
	height: 34px;
	transition: all .2s ease-in-out;
}
  
.send-text {
	display: block;
	margin-top: 10px;
	font: 700 12px 'Lato', sans-serif;
	letter-spacing: 2px;
}
  
.alt-send-button:hover {
	transform: translate3d(0px, -29px, 0px);
}

.direct-contact-container {
	max-width: 400px;
}
  
.contact-list {
	list-style-type: none;
	margin-left: -30px;
	padding-right: 20px;
}
  
.list-item {
	line-height: 4;
	color: #aaa;
}
  
.contact-text {
	font: 300 25px 'BioRhyme', sans-serif;
	letter-spacing: 1.9px;
	color: #bbb;
}
  
.place {
	margin-left: 62px;
}
  
.phone {
	margin-left: 62px;
}
  
.gmail {
	margin-left: 62px;
}
  
.contact-text a {
	color: #bbb;
	text-decoration: none;
	transition-duration: 0.2s;
}
  
.contact-text a:hover {
	color: #fff;
	text-decoration: none;
}
  
#nav:checked+.nav__open {
	transform: rotate(45deg);
}

#nav:checked+.nav__open i {
	background-color: var(--shades);
	transition: transform 0.2s ease;
}

#nav:checked+.nav__open i:nth-child(1) {
	transform: translateY(6px) rotate(180deg);
}

#nav:checked+.nav__open i:nth-child(2) {
	opacity: 0;
}

#nav:checked~.nav__item a {
	display: block !important;
}

#nav:checked+.nav__open i:nth-child(3) {
	transform: translateY(-6px) rotate(90deg);
}

#nav:checked~.nav {
	z-index: 9990;
	opacity: 1;
}

#nav:checked~.nav ul li a {
	opacity: 1;
	transform: translateY(0);
}
@media (max-width: 1200px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav__items {
        flex-direction: column;
        align-items: center;
    }

    .display__logo {
        font-size: 2rem;
    }
}

@media (max-width: 800px) {
    .display__logo {
        font-size: 1.5rem;
    }

    .navbar {
        padding: 1em;
    }

    .nav__items .nav__link {
        font-size: 0.8rem;
        margin-right: 5px;
    }

    .home p,
    .home a,
    .kontakt h1 {
        font-size: 1rem;
    }

    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .form-horizontal,
    .form-control,
    .send-button,
    .alt-send-button {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .home p,
    .home a,
    .kontakt h1 {
        font-size: 0.8rem;
    }

    .articles {
        grid-template-columns: 1fr;
    }
}
