body {
	margin: 0;
	background-color: #3e3e3e;
	display: flex;
	flex-direction: column;
	width: 100vw;
	font-family: Comfortaa;
	overflow-x: hidden;
}

a {
	text-decoration: none; 
	color: inherit; 
}

header {
	background-color: rgba(0, 0, 0, 0.476);
	backdrop-filter: blur(10px);
	display: flex;
	justify-content: center;
	align-items: center;
	height: 76px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	width: 100%;
	top: 0;
	z-index: 10;
	position: fixed;
}

.center-header {
	display: flex;
	justify-content: space-between;
	width: 90%;
	height: 100%;
}

.logo-mobile {
	height: 100%;
}

.fj-logo {
	height: 100%;
	transition: 150ms;
}

@media (hover: hover) {
  .hover:hover {
    scale: 105%;
    transition: 150ms ease-in-out;
    cursor: pointer;
  }

  .hover2:hover {
    scale: 102%;
    transition: 150ms ease-in-out;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.135);
  }
}

.hide {
	display: none;
	pointer-events: none;
}

.active:active {
	opacity: 0.65;
	scale: 100%;
}

.buttons {
	display: flex;
	width: 86%;
	justify-content: space-between;
	height: 100%;
}

.buttons button {
	border: none;
	color: #ffffff;
	background-color: transparent;
	font-size: 1.1rem;
	transition: 150ms ease-in-out;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.5em 2em;
	border-radius: 8px;
	box-sizing: border-box;
	font-family: Comfortaa;
	font-weight: 700;
}

.bold {
	font-weight: 900;
	transition: font-weight 0.3s ease;
	font-size: 17px;
}

#auto-foto {
	display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    background-image: url(./materials/audirs34.jpeg);
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    color: #ffffff;
}

.full-page {
	width: 100vw;
	height: 100vh; 
	margin-top: 0; 
}

.not-full-page {
	width: 100vw;
	height: 92vh; 
	margin-top: 0; 
}

.punch-h1 {
	font-family: Comfortaa;
	text-align: center;
	font-weight: 700;
	font-size: 1.8rem;
	text-shadow: 0px 0px 20px black;
	pointer-events: none;
	
}

.fj-big-logo {
	filter: drop-shadow(2px 2px 10px rgb(239, 6, 6));
}

#o-mne {
	background-image: url(./materials/cle532.jpeg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
}

.half-transparent-div {
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 20px;
	backdrop-filter: blur(10px);
	box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.3);
	color: #ffffff;
	border: none;
}

.vysoka-uzka {
	display: flex;
	flex-direction: column;
	height: 90%;
	width: 45%;
}

h2 {
	padding: 0;
	margin: 0;
	font-weight: bold;
	font-size:1.3em;
}

.rem2-border-box {
	box-sizing: border-box;
	padding: 2rem;
}

.vysoka-uzka-transparent {
	display: flex;
	flex-direction: column;
	height: 90%;
	width: 42%;
	background-color: transparent;
	justify-content: space-between;
}

.nizka-uzka {
	height: 45%;
}

#fotogalerie {
	background-image: url(./materials/typer.jpeg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	font-family: Comfortaa;
	transition: 150ms;
	cursor: pointer;
	color: #ffffff;
	box-sizing: border-box;
	text-decoration: none;
}

#fotogalerie:hover {
	/*
	background-image: url(./materials/typer2.jpeg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 105%;
	*/
	background-repeat: no-repeat;
	background-position: center;
	filter: contrast(80%);
}

#fotogalerie:active {
	background-image: url(./materials/typer.jpeg);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: auto auto; 
    gap: 1rem; 
}

.buttons a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.grid span a:hover {
	font-weight: 700;
	transition: 150ms;
	text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.4);
}

#name {
	pointer-events: none;
}

main {
	display: flex;
	justify-content: center;
	padding: 20px;
	margin-top: 100px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 80%;
	align-items: center;
	justify-content: center;
}

.gallery-grid img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.photo {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	scale: 80%;
	transition: 150ms;
}

.photo:hover {
	scale: 100%;
}

#kontakty {
	padding-top: 200px; 
  margin-top: -200px;
}

#letacek {
	padding-top: 100px; 
  margin-top: -100px;
}

footer {
	height: 300px;
	background-image: url(materials/0.jpg);
	background-size: cover;
	background-position: center;
	display: flex;
	padding: 0rem 13rem;
	color: white;
	align-items: center;
}

.footer-sections {
	display: flex;
	width: 100%;
	justify-content: space-between;
}

.footer-hover:hover {
	font-weight: 700;
	transition: 150ms;
	text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.4);
	background-color: none;
}

@media only screen and (max-width: 1300px) {
	footer {
		padding: 0rem 10rem;
	}
}

@media only screen and (max-width: 1000px) {
	#o-mne {
		background-image: url(./materials/audiheight.jpeg);
		flex-direction: column;
		height: auto;
	}
	.vysoka-uzka,
	.vysoka-uzka-transparent {
		width: 90%;
		height: auto;
	}
	.vysoka-uzka {
		height: auto;
		margin-top: 2rem;
	}
	.nizka-uzka {
		height: auto;
		margin-top: 2rem;
	}
	.punch-h1 {
		text-align: center;
	}
	#fotogalerie {
		margin-bottom: 2rem;
	}
	#auto-foto {
		background-image: url(./materials/rari_int.jpeg);
	}
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media only screen and (max-width: 950px) {
	footer {
		padding: 0.8rem 1.5rem;
		height: 110%;
	}
}

@media only screen and (max-width: 700px) and (-webkit-min-device-pixel-ratio: 2) {
	/*.logo {
		display: flex;
		justify-content: flex-start;
	}*/
	.buttons {
		width: 94%;
	}
	.gallery-grid {
		grid-template-columns: 1fr;
	}
	.fj-logo {
		max-width: 50px;
	}
}

@media only screen and (max-width: 576px) and (-webkit-min-device-pixel-ratio: 2) {
	footer {
		font-size: 0.7rem;
	}
	.buttons {
		height: 86%;
	}
	.buttons button {
		padding: 0em 0.5em;
	}
}

@media only screen and (max-width: 484px) and (-webkit-min-device-pixel-ratio: 2) {
	.grid {
		display: flex;
		flex-direction: column;
	}
}


/*iPhone 5c nebo tak něco, jen změnšit header ještě víc*/
@media only screen and (max-width: 418px) and (-webkit-min-device-pixel-ratio: 2) {
	header .buttons a button {
		font-size: small;
	}
	header .buttons {
		height: 60%;
	}
}

@media only screen and (max-height: 730px) and (-webkit-min-device-pixel-ratio: 2) {
	.vysoka-uzka, 
	.nizka-uzka {
		font-size: 0.7rem;
	}
	.half-transparent-div h1 {
		font-size: 0.9rem;
	}
	.half-transparent-div h2 {
		font-size: 0.8rem;
	}
	.gallery-grid {
		grid-template-columns: 1fr;
	}
}