@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Praise&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* { 
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* a {
	text-decoration: none;
	color: black;	
} */

body {
	background-color: white;
	/* height: 200vh; */
}

#contact-main {
	/* background-color: red; */
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

#contact-img img {
	width: 300px;
	border-radius: 100%;
}

#contact-text {
	font-family: "Josefin Sans", sans-serif;
	font-weight: 200;
	margin-left: 30px;
	font-size: 50px;
}

#name {
	font-weight: 400;
}

#colab {
	font-weight: 300;
}

#contact-text > p {
	padding: 5px 0;
}

#contact-text a {
	color: black;
	text-decoration-thickness: 2px;
}

#home-main {
	color: white;
	height: 100vh;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	overflow: hidden;
	position: relative;
}

#home-main::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.5)), url("images/background.jpg");
	background-size: cover;
	background-position: center;
	transform: scale(1);
	animation: breathing 20s ease-in-out infinite;
	z-index: -1;
}

@keyframes breathing {
	0%   { transform: scale(1); }
	50%  { transform: scale(1.02); }
	100% { transform: scale(1); }
}


#main-text {
	text-shadow: 0 0 50px  rgba(0,0,0,1);
     /* 0 0 12px rgba(0,0,0,.6);   */
	font-size: 120px;
	text-align: center;
	/* font-family: "DM Serif Display", serif; */
	font-family: "Josefin Sans", sans-serif;
	/* font-family: "Praise", cursive; */
	/* font-family: "Playfair Display", serif; */
	/* font-family: "Libre Bodoni", serif; */
	font-family: "Jost", sans-serif;
	font-weight: 500;
	font-style: normal;

	opacity: 0;
	animation: fadeIn 2s ease-out forwards;
	animation-delay: 0s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

#contact {
	margin-top: 20px;
	padding: 10px;
	padding-top: 13px;
	border: solid white 1px;
	text-align: center;
	font-family: "Josefin Sans", sans-serif;
	font-size: 15px;
	border-radius: 20px;
	font-weight: 300;

	display: none;

	opacity: 0;
	animation: fadeIn 2s ease-out forwards;
	animation-delay: 1s;
}

#contact a {
	text-decoration: none;
	color: white;
}

#contact:hover {
	background-color: white;
}

#contact:hover a {
	color: black;
}

#supportive-text {
	text-align: center;
	font-family: "Josefin Sans", sans-serif;
	font-weight: 300;
	font-size: 50px;
	text-shadow: 0 0 50px  rgba(0,0,0,1);

	opacity: 0;
	animation: fadeIn 2s ease-out forwards;
	animation-delay: 1s;
}

#supportive-paragraph {
	width: 600px;
	text-align: center;
	/* margin: auto; */
	/* background-color: red; */

	margin-top: 20px;

	font-family: "Josefin Sans", sans-serif;
	font-weight: 200;
	font-size: 25px;
	text-shadow: 0 0 50px  rgba(0,0,0,1);
	
	opacity: 0;
	animation: fadeIn 2s ease-out forwards;
	animation-delay: 1s;;
}

header {
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 120px;
	/* padding: 40px 0; */
	position: fixed;
	transition: 0.3s;
	z-index: 10;
}

header ul {
	display: flex;
	justify-content: center;
}

header ul li {
	list-style: none;
}

header ul li a {
	margin: 0 20px;
	font-family: 'Raleway', sans-serif;
	/* font-family: "Josefin Sans", sans-serif; */
	/* font-family: "Jost", sans-serif; */
	/* font-family: "Josefin Sans", sans-serif; */
	font-size: 1.2em;
	font-weight: 900;
	color: black;
	letter-spacing: 1px;
	text-decoration: none;
	transition: 0.3s;
}

.gray {
	color: #adadad;
	/* font-weight: 100; */
}

header a:hover {
	color: black;
	transition: 0.2s;
}

header.sticky {
	/* padding: 15px 0; */
	height: 80px;
	background: black;
}

header.sticky ul li a {
	color: white;
}

header.sticky .gray {
	color: #adadad;
}

header.sticky a:hover {
	color: white;
	transition: 0.2s;
}

#gallery-main {
	/* background-color: red; */
	margin-top: 200px;
}

#gallery{
	margin-top: 25px;
	display: flex;
	justify-content: center;
	/*align-items: center; */
	/* height: 200px; */
	/* background-color: blue; */
}

#gallery-nav ul
{
	display: flex;
	justify-content: center;
}

#gallery-nav ul li
{
	list-style: none;
	padding: 0 160px;
	/* font-size: 1.2em; */
	/* font-weight: 600; */
	font-family: 'Encode Sans', sans-serif;
	letter-spacing: 0.5em;
}

#gallery-nav ul li:hover {
	/* font-weight: bold; */
	cursor: pointer;
	color: black;
}

#gallery > div{
	position: absolute;
	width: 1280px;
	column-count: 3;
	column-gap: 1rem;
	padding: 1rem;
	padding-bottom: 100px;
}

#one{
	/* background-color: blue; */
}

#two{
	/* background-color: red; */
}

#three{
	/* background-color: green; */
}

#four{
	/* background-color: yellow; */
}

.hidden
{
	/* display: none; */
	/* visibility: hidden;
	position: absolute; */
	opacity: 0;
	/* width: 100px; */
	/* column-count: 1; */
	position: absolute;
	inset: 0;
	top: -500%;
	pointer-events: none;
	/* height: 0px; */
	/* column-count: 0; */
}

.hidden img {
	/* height: 100px; */
	/* width: 100px; */
}

/* #one {
	column-count: 3;
	column-gap: 1rem;
} */

#gallery > div > img 
{
	width: 100%;
	display: block;
	margin-bottom: 1rem;
	border-radius: 0.5em;
	break-inside: avoid;
	cursor: pointer;
	transition: 0.3s;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  z-index: 1000;
  /* box-shadow: 0 0 20px black; */
}

#lightbox.hidden {
  display: none;
}

#overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-color: red; */
}

#close-lb{
  position:absolute;
  top:1rem;
  right:1rem;
  background:transparent;
  border:none;
  font-size:2.8rem;      /* velký křížek pro prsty */
  line-height:1;
  color:white;
  mix-blend-mode: difference;
  cursor:pointer;
  padding:.25rem .5rem;  /* zvětší klikací plochu */
  cursor: pointer;
  z-index: 2000;
}

/* #close-lb:hover {
	color: red;
} */

/* max 1280 px – běžné notebooky */
@media (max-width: 1280px){ 
	#gallery > div{
		width: 1024px;
	}

	#gallery-nav ul li
	{
		padding: 0 115px;
	}

	#contact-text {
		font-size: 42px;
	}
}

/* max 1024 px – větší tablety / malý notebook */
@media (max-width: 1024px){
	#gallery > div{
		width: 768px;
		column-count: 2;
	} 

	#gallery{
		margin-top: 10px;
	}

	#gallery-nav ul li
	{
		font-size: 0.8em;
		letter-spacing: 0.2em;
		padding: 0 25px;
	}	

	#gallery > div{
		padding: 1rem;
		/* padding-bottom: 100px; */
	}

	#main-text {
		font-size: 90px;
	}

	#supportive-text {
		font-size: 40px;
	}

	#supportive-paragraph {
		width: 500px;
		font-size: 20px;
	}

	#contact-main {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	#contact-text {
		text-align: center;
		margin: 0px;
		margin-top: 20px;
	}

	#gallery-nav ul li
	{
		padding: 0 70px;
	}
}

/* max 768 px  – mobily v landscape / malé tablety */
@media (max-width: 768px){ 
	#gallery > div{
		/* width: 500px; */
		width: 100vw;
		/* column-count: 2; */
	}

	#gallery-nav ul li
	{
		font-size: 0.8em;
		letter-spacing: 0.2em;
		padding: 0 20px;
	}	

	#main-text {
		font-size: 60px;
	}

	#supportive-text {
		font-size: 30px;
	}

	#supportive-paragraph {
		width: 400px;
		font-size: 20px;
	}

	#contact-img img {
		/* width: 250px; */
	}

	#contact-text {
		font-size: 32px;
	}

	#gallery-nav ul li
	{
		padding: 0 8vw;
	}
}

/* max 500 px  – mobily v portrétu */
@media (max-width: 500px){ 
	#gallery > div{
		width: 100%;
		column-count: 1;
	}

	#gallery-nav 
	{
		display: flex;
		justify-content: center;
		/* margin: auto; */
	}

	#gallery-nav ul
	{
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	#gallery-main {
	/* background-color: red; */
		margin-top: 120px;
	}

	#gallery-nav ul li
	{
		font-size: 1em;
		letter-spacing: 0.7em;
		padding: 10px 10px;
	}	
	header ul li a {
		/* margin: 0 10px; */
	}

	#gallery > div{
		padding: 0 1rem;
	}

	#home-main {
		/* padding-top: 150px; */
	}
	
	#main-text {
		/* font-size: 12vw; */
		font-size: 70px;
		padding: 0 20px;
	}

	#supportive-text {
		font-size: 30px;
	}

	#supportive-paragraph {
		padding: 0 30px;
		width: 100vw;
		font-size: 20px;
	}

	.contact {
		display: none;
	}

	#contact {
		display: block;
	}

	#contact-text {
		font-size: 6vw;
	}

	#contact-img img {
		width: 60vw;
	}
}
