﻿/* CSS Document */

/* defaultní nastavení + sizing pro nejmenší zařízení (aspoň 500px šířky)*/

/*galerie*/

.galerie { /* Změněno z ".gallery" na ".galerie" */
    flex-wrap: wrap; /* Umožní zalomení na další řádek */
	width: 80%; /* Šířka obrázku */
	height: auto;
	margin: 100px auto 50px; /* Mezera mezi obrázky */
	border-radius: 10px; /* Zaoblení rohů */
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 10%;
}

.gallery-img { /* Tento styl může zůstat beze změny */
    width: 400px; /* Šířka obrázku */
    height: auto; /* Automatická výška */
    margin: 15px; /* Mezera mezi obrázky */
    border-radius: 10px; /* Zaoblení rohů */
    transition: transform 0.3s; /* Plynulá animace */
    cursor: pointer; /* Ukazatel pro kliknutí */
	max-width: 150%;
}

.gallery-img:hover { /* Tento styl může zůstat beze změny */
    transform: scale(1.1); /* Zvětšení obrázku při najetí */
}

.full-img{
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,0.9);
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100;

}

.full-img img{
	width: 90%;
	max-width: 500px;

}

.full-img span{
	position: absolute;
	top: 5%;
	right: 5%;
	font-size: 30px;
	color: #f1f1f1;
	cursor:pointer ;
}

.arrow {
    position: absolute;
    top: 50%;
    font-size: 80px;
    color: red;
    background-color: rgba(0, 0, 0, 0.3); /* Poloprůhledné pozadí na obrázku */
    padding: 10px;
    cursor: pointer;
    z-index: 100;
    transform: translateY(-50%);
    transition: background-color 0.3s ease; /* Plynulá změna pozadí */
}

.left {
    left: 10px; /* Umístění na levé straně obrázku */
}

.right {
    right: 10px; /* Umístění na pravé straně obrázku */
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.6); /* Zvýšení průhlednosti při najetí myší */
}

/* Konec galerie*/

#kontaktniUdaje {
	font-size: 2vw; /* Set font size using viewport width */
    padding: 5% 0; /* Set padding using percentages */
    text-align: auto; /* Center the text */
    font-family: Arial, sans-serif; /* Set the font to Arial */
    font-size: larger; /* Increase the font size */
    color: white; /* Set the text color to white */
}

h1{   
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 5%;                       /*ur�uji druh textu */
	color: #000000;
	font-family: arial;
	font-weight: 200;
}

h2{        
	margin-top: 0;                    /*ur�uji druh nadpisu */
	color: #000000;
	font-family: Arial;
	padding-top: 5%;
}

h5{
	text-align: left;
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 130%;
	padding-left: 5%;
	padding-top: 0%;

}

.text1{                    /*určuji druh textu */
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-style: italic;
}

.text2{                                 /*ur�uji druh textu */
	color: #000000;
	font: unna;
	padding-top: 2%;
}

.text3{                                 /*ur�uji druh textu */
	color: #000000;
	font-family: Arial;
	text-align:left;
	max-width: 25%;
	padding-left: 17%;
	display:inline-flex;
	padding-top: 2%;
}

.text4{                                 /*ur�uji druh textu */
    color: #000000;
    font-family: Arial;
    text-align: center;
	padding-left: 7%;
    flex: 0 0 7%; /* pevná šířka 15% */
	margin: 0 5%;
    padding-top: 2%;
}

.row {
    display: flex;
    justify-content: left;
    align-items: left;
    flex-wrap: wrap;
}

#hlavicka{ /* Záhlaví */
	position: relative;
	text-align: center;
	
	width: 45%;
	
	margin-left: auto;
	margin-right: auto; 
	
	/*padding-left: 1%;
	padding-right: 1%;*/  
}

.custom-table {
    width: 100%;
    border-collapse: collapse; /* odstranění mezery mezi buňkami */
}

.custom-table td {
    text-align: left; /* zarovnání obsahu do středu buňky */
    padding-left: 0%; /* vnitřní okraj buňky */
    border: none; /* odstranění ohraničení buňky */
}



/*menu začátek*/
#menu {
	width: 100%; /* Šířka menu */
	position: fixed;
	left: 0; /* Umístění na levé straně */
	}

#menu ul {
	padding-left: 0; /* Odebrání výchozího odsazení seznamu */
}

#menu a {
	color: #000000;
	width: 5%; /* Zaujímání celé šířky menu */
	display: block; /* Převést odkazy na blokové prvky */
	font-weight: bolder;
	text-decoration: none;
	text-transform: uppercase;
	font-family: Yellowtail;
	padding-left: 15px;
	text-align: left;
	font-size: x-small;
	/*background: linear-gradient(to left,  #ffffff,  #fafdeb);*/

}

#menu ul li {
	list-style: none;
}

#menu ul li:hover {
	color: #7F1734;
}

#menu .active {
	color: #8ad2ab ;
}
/*konec hlavního menu*/

/* začátek submenu*/
.dropdown {
	position: relative;
	display: inline-block;
  }
  
  .dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
  }
  
  .dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
  }
  
  .dropdown-content a:hover {background-color: #f1f1f1}
/*konec submenu*/
/*menu konec*/


.banner {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 7%;
    height: 10%;
    background-color: rgba(91, 3, 27, 0.8);
    color: white;
    text-align: center;
    overflow: hidden;
    z-index: 9999;
    font-family: Arial, Helvetica, sans-serif;
    transition: width 0.5s ease; /* Add transition for width property */
}

/* Hover effect */
.banner:hover {
    width: 20%; /* Expand width on hover */
	height: 15%;
}

/* Styling for close icon */
.zavritBanner {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
}

/* Animation for banner */
@keyframes vyskakovani {
    from { width: 10%; }
    to { width: 14%; }
}
.banner.animace {
    animation: vyskakovani 0.5s ease; /* Use animation for expanding */
}




#obsah{ /* Tělo */	

	position: relative;
	width: 100%;
	height: 100%;
	
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto; 
	
	/*padding-top: 7px;           
	padding-left: 7%;
	padding-right: 7%;
	padding-bottom: 7px; */
}
/*tabulka-definice*/
table {
	font-family: arial, sans-serif;
	border-collapse: collapse;
	width: 50%;
}

td, th {
	border: 0px solid #000000;
	text-align: left;
	padding: 10px;
}

h3 {
	text-align: left;
}
/*konec definice tabulky*/


.menu-icon {
	display: none;
  }

@media only screen and (min-width:320px) {
    h1, h2 {
        font-size: larger;
		text-align: center;
		padding-left: 0%;
		padding-top: 15%;
		margin-top: -8%;
    }

	.banner{
		width: 15%;
	}

	.galerie {
		width: 100%; /* Plná šířka galerie na mobilních zařízeních */
		margin-top: 0;
		display: flex; /* Použij flexbox pro jednoduché vertikální uspořádání */
		flex-direction: column; /* Vertikální směr */
	}
	
	.gallery-img {
		width: 90%; /* Zajistí, že obrázky se přizpůsobí šířce rodičovského prvku */
		display: block; /* Zajištění, že obrázky budou v novém řádku */
		margin-bottom: 15px; /* Mezera mezi obrázky */
		max-width: none; /* Zrušení maximální šířky */
	}
    #kontaktniUdaje {
        font-size: 50%; /* Adjust font size for screens up to 320px */
    }

	.text1{
		font-size: small;
		text-align: center;
		padding-left: 0%;
	}
	.text2{
		font-size: large;
		text-align: center;
		padding-left: 10%;
		width: 80%;
	}
	.text3{
		font-size: small;
	}

	.text4{
		display: none;
	}

	#hlavicka{
		height: 10%;
	}
	#obsah{
		height: 100%;
		width: auto;
		padding-top: 5px;
		}
    .obr{
        display: block;
		padding-left: 40%;
		width: 25%;
		height: 10%;
	}

	.obr_titul{
		width: 50%;
		padding-bottom: 0;
		margin-bottom: -10%;

	}

   .obr1{
        display: inline;
		padding-top: 10%;
		width: 107%;
		height: 50%;
		margin-left: -5%;
		
	}
	#pozadi{
		background-color: white;
		background-size: contain ;
		background-position: bottom;
	}
	.obr2{
        display: inline;
		width: 30%;
		padding-left: 15%;
		justify-content: center;
	}
	
	.obr3{
		display: none;
	}
	.obr4{
        display:block;
		width: 20%;
		padding-left: 20%;
		justify-content: center;
		position: relative;
		padding-left: 45%;
		margin-top: 5%;
	}

	.text5{
        display: block;
		font-size: small;	
		position: static;
		text-align: center;

	} 

	.obr4:hover {
		transform: scale(1.2); /* Slightly increase the size */
		transition: transform 0.3s ease; /* Smooth transition */
		cursor: pointer; /* Change the cursor to indicate it's clickable */
		transform-origin: center;
		margin-left: -5%;
	}

}	
@media only screen and (min-width:768px) {
	
	#kontaktniUdaje {
        font-size: 75%; /* Adjust font size for screens between 769px and 1200px */
    }

	.banner{
		width: 10%;
	}

	
	h1 {
		font-size: x-large;
		padding-left: 0%;
    }
	h2{
		font-size: large;
		text-align: center;
		padding-left: 0%;
	}
	.text1, .text2{
		font-size:large;
		display: block;
		text-align: center;
	}

	#menu ul li{
		height: 10px;
		width: 15px;
		font-size: small;
	}
	#menu a {
		height: 80px;
	}

	#hlavicka{
		height: 10%;
	}
	#obsah{
		height: auto;
		}

    .obr{
        display: none;
		width: 40%;
		height: 40%;
	}
   
	.galerie {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Menší sloupce na mobilních zařízeních */
        width: 80%; /* Zvětšení šířky galerie na mobilních zařízeních */
        margin: 0 auto; /* Centrovat galerii */
    }

    .gallery-img {
        width: 100%; /* Zajistí, že obrázky budou mít 100% šířku rodičovského elementu */
        height: auto; /* Automatická výška pro udržení poměru stran */
    }

   .obr1{
        display: inline;
		width: 100%;
		height: 100%;
	}
	.uvodnifotka{
        display: inline;
		width: 48%;
		height: 100%;
		padding-bottom: 0px;
	}

	.mapa{
        display: inline;
		width: 100%;
		height: 200px;
	}
	
	#pozadi{
		background-color: aliceblue;
		background-size: contain ;
		background-position: bottom;
	}
	.menu-icon{
        display: none;
		width: 100%;
		height: 100%;
	}


}

@media only screen and (min-width:1200px) {

	.galerie { /* Změněno z ".gallery" na ".galerie" */
		flex-wrap: wrap; /* Umožní zalomení na další řádek */
		width: 80%; /* Šířka obrázku */
		height: auto;
		margin: 100px auto 50px; /* Mezera mezi obrázky */
		border-radius: 10px; /* Zaoblení rohů */
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 10%;
	}
	
	.gallery-img { /* Tento styl může zůstat beze změny */
		width: 400px; /* Šířka obrázku */
		height: auto; /* Automatická výška */
		margin: 15px; /* Mezera mezi obrázky */
		border-radius: 10px; /* Zaoblení rohů */
		transition: transform 0.3s; /* Plynulá animace */
		cursor: pointer; /* Ukazatel pro kliknutí */
		max-width: 150%;
	}


	#kontaktniUdaje {
        font-size: 1vw; /* Adjust font size for screens between 769px and 1200px */
    }
	
	
	h1 {
		font-size: 60px;
		text-align: center;
		padding-left: 0px;
    }
	h2{
		font-size: 30px;
		text-align: center;
		margin: 0;
		padding-left: 0px;
	}
	.text1,  .text2{
		font-size: 200%;
		display: block;
		text-align: center;
		padding-right: 5%;
	}

	
	.text3{
	font-size: x-large;
	}

	#menu ul li{
		height: 1%;
		width: 20%;
		font-size: large;
		margin-left: 1%;
		margin-top: 0%;
	}
	#menu a {
		height: 100px;
	}
	.menu-icon{
        display: none;
		width: 8000%;
		height: 100%;
	}

	#hlavicka{
		height: 200px;
	}
	
	#hlavicka img{
		height: 75%;
		width: 50%;
		display: inline;
	}

    #obsah{
	height: 100%;
	width: 80%;
	}

    .obr{
		width: 20%;
		height: 15%;
        display: none;
	}
    
    .obr1{
        display: inline;
		width: 105%;
		height: 100%;
		padding-top: 15%;
		margin-left: -2.5%;
	}
	.obr_titul {
		width: 500px; /* Zruší jakékoliv omezení šířky */
		max-width: 500px; /* Nastaví maximální šířku podle potřeby */
		height: 500px; /* Zajistí správný poměr stran */
		margin: auto;
	}


	.obr2{
        display: inline;
		width: 20%;
		height: 20%;
		padding-left: 20%;
		justify-content: center;
		padding-top: 50px;
	}


	.obr3{
        display: inline;
		width: 100%;
		height: 100%;
		padding-left: 12.5%;
		padding-top: 5%;
		justify-content: center;
		max-width: auto;
		max-height: 150px;
		margin: 0 30px;
		
	} 

	.gallery {
		display: flex; /* Používáme flexbox */
		justify-content: center; /* Zarovná obrázky na střed */
		flex-wrap: wrap; /* Umožní zalomení na další řádek */
		margin: 0 auto; /* Centruje galerie na střed */
		max-width: 1200px; /* Maximální šířka galerie */
	  }
	
	.obr3:hover {
		transform: scale(1.6); /* Slightly increase the size */
		transition: transform 0.3s ease; /* Smooth transition */
		cursor: pointer; /* Change the cursor to indicate it's clickable */
		transform-origin: center;
	}


	.uvodnifotka{
        display: inline;
		width: 45%;
		height: 120%;
	}

	.mapa{
        display: inline;
		width: 100%;
		height: 200px;
	}
	
	#pozadi{
		background-color: rgb(255, 255, 255);
		background-size: 100%;
		background-position: top;
		background-repeat: repeat;
	}

	.text4{                                 /*ur�uji druh textu */
		color: #000000;          /* Barva textu */
		font-family: Arial;      /* Písmo */
		font-size: 25px;         /* Velikost písma */
		text-align: center;      /* Zarovnání textu do středu */
		margin-top: 10px;       /* Mezera mezi obrázkem a popiskem */
		margin: 0;               /* Odstranění postranních mezer */
		padding: 0;              /* Odstranění vnitřního odsazení */
		flex: 0 0 auto;          /* Automatická šířka pro text */
		display: block; /* Zajištění, že se text chová jako blokový prvek */

	}
	

	.text5{
		display: none;
	}

	.obr4{
		display: none;
	}
	
}

@media only screen and (min-width:2000px) {
	#kontaktniUdaje {
        font-size: 1vw; /* Adjust font size for screens between 769px and 1200px */
    }
	
	
	h1, h2 {
		font-size: 500%;;
		text-align: center;
		padding-left: 10%;
		padding-bottom: 2%;
    }
	
	.text1, .text2{
		font-size: 400%;
	}
	
	.text3{
		font-size: 500%;
		margin-left: 5%;
	}

	#menu ul li{
		height: 30px;
		font-size: large;
	}
	
	#hlavicka{
		height: 200px;
	}
	
	#hlavicka img{
		height: 90px;
		width: 90px;
	}
    #obsah{
	height: auto;
	}
    .obr{
		width: 20%;
		height: 20%;
        display: none;
	}
    
    .obr1{
        display: inline;
		width: 100%;
		height: 100%;
	}
	.obr2{
        display: inline;
		width: 25%;
		height: 25%;
	} 
	
	.obr_titul{
        display: inline;
		width: 200%;
		height: 200%;
		padding-top: 5%;
	}

	.text1, .text2{
		font-size: xx-large;
		display: block;
	}

}

/* CSS Document */