body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

header {
    color:#fff;
    font-family:none;
    font-size: 2em;
    background: #000;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    font-size:1em;
    color:#fff;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color:white;
    transition: color 1s ease;
}

nav ul li a:hover {
    color: #c0392b;
}
nav ul li a:visited {
    color:white;
}

#hero {
    background:#840000e5;
    padding: 50px 0;
    text-align: center;
    font-size: 1.1em;
}

section {
    padding: 40px 20px;
    margin: 20px 0;
    text-align: center;
}

.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery a {
    margin: 10px;
}

.gallery img {
    width: 300px; /* Å Ã­Å™ka obrÃ¡zkÅ¯ */
    height: auto; /* AutomatickÃ¡ vÃ½Å¡ka pro zachovÃ¡nÃ­ pomÄ›ru stran */
    border-radius: 5px; /* ZaoblenÃ­ rohÅ¯ obrÃ¡zkÅ¯ */
    transition: transform 0.3s ease; /* PÅ™idÃ¡nÃ­ animace pro obrÃ¡zky */
}

.gallery img:hover {
    transform: scale(1.05); /* ZvÃ½Å¡enÃ­ velikosti obrÃ¡zku pÅ™i najetÃ­ */
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form label {
    margin: 10px 0 5px;
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px; /* Å Ã­Å™ka vstupnÃ­ch polÃ­ */
    transition: border-color 0.3s ease; /* PÅ™idÃ¡nÃ­ animace pro vstupnÃ­ pole */
}

form input:focus, form textarea:focus {
    border-color: #c0392b;
}

button {
    padding: 10px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}


button:hover {
    background: #c0392b;
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 10px 0;
    background: #333;
    color: #fff;
}



.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #c0392b; /* TmavÄ› ÄervenÃ¡ barva */
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px; /* VertikÃ¡lnÃ­ zarovnÃ¡nÃ­ textu */
    font-size: 24px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: none; /* SkrytÃ©, dokud se neproscrolluje */
}

.back-to-top:hover {
    background-color: #e74c3c; /* SvÄ›tlejÅ¡Ã­ ÄervenÃ¡ pÅ™i najetÃ­ */
    transform: scale(1.1); /* ZvÃ½Å¡enÃ­ velikosti pÅ™i najetÃ­ */
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

figcaption {
	color:gray;
	font-style:italic;
	text-decoration:none;
	padding-top:5%;
}
