@font-face {
  src: url("../Poppins-Bold.ttf");
  font-family: "Poppins";
}
@font-face {
  src: url("../CheddarGothicRough-Regular.ttf");
  font-family: "Cheddar";
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Poppins";
}
body {
  background: #fde4db;
  text-align: center; /* Zarovnání obsahu na střed */
}

img {
  width: 100%;
}
header {
  width: 100%;
  height: 65px;
  background: #a83000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-radius: 0 0 5px 5px;
  margin: 0 auto;
  position: fixed;
  z-index: 200;
}
section { 
  display: block;
  width: 75%;
}
.Photogallery {
  width: 70%;
}
/***** reusable *****/
  .row {
  max-width: 100%;
  margin: 0 auto;
  }
  .heading-main h2 {
      text-align: center;
      margin-top: 20px;
      font-size: 30px;
      color: #a83000;
  }
  .heading-main h2:after {
      content: "";
      display: block;
      width: 10vw;
      border-bottom: 4px solid #4e1600;
      margin: 5px auto;
  }
  .empty-space {
      height: 8vh;
  }
  .empty-space-xs {
      height: 1vh;
  }
  p {
     font-family: Verdana, Geneva, Tahoma, sans-serif;
     font-size: clamp(1rem, 0.9545rem + 0.2273vw, 1.125rem);
     padding-bottom: 7px;
     line-height: 1.3;
  }
  a{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 15px;
    color: #24a800;
    font-weight: 600;
    margin: 50px 0px;
  }

/***** Navigation *****/
.logo {
  width: 120px;
  margin-top: 40px;
}
.nav_menu {
  position: fixed;
  z-index: 100;
}
nav .logo {
  display: none;
}
nav ul {
  display: flex;
}
nav ul li a {
  color: #fde4db;
  display: block;
  margin: 0 2px;
  font-weight: 600;
  padding: 8px 18px;
  transition: 0.2s;
  border-radius: 20px;
  font-size: clamp(1rem, 0.525rem + 0.8vw, 1.125rem);
}
nav ul li a:hover,
nav ul li a.active:hover {
  background: #4e1600;
  color: #fde4db;
}
nav ul li a.active {
  background: #fde4db;
  color: #4e1600;
}
.hamburger {
  display: none;
  height: fit-content;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 0 0 0 5px;
  transition: 0.2s;
}
.hamburger:hover {
  background: #4e1600;
}
.hamburger div {
  width: 30px;
  height: 2px;
  margin: 6px 0;
  background: #fde4db;
}

.heading-main-h3 h3 {
  text-align: center;
  font-size: clamp(1.125rem, 0.9659rem + 0.7955vw, 1.5625rem);
  color: #a83000;
}
.heading-main-h3 h3:after {
  content: "";
  display: block;
  width: 10vw;
  border-bottom: 4px solid #4e1600;
  margin: 0px auto 5px auto;
}
h4 {
  display: inline-block;
  color: #fde4db;
  background-color: #4e1600;
  margin-top: 150px;
  padding: 20px;
  border-radius: 20px;
  font-size: 20px;
}
h4::after {
  content: "";
  display: block;
  width: 10vw;
  border-bottom: 4px solid #a83000;
  margin: 5px auto 5px auto;
}

.volba {
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center;
}

label {
  text-align: center;
  font-size: clamp(0.8125rem, 0.6989rem + 0.5682vw, 1.125rem);
  color: #a83000;
}

select {
  display: inline-block;
  color: #fde4db;
  text-decoration: none;
  font-size: clamp(0.8125rem, 0.6989rem + 0.5682vw, 1.125rem);
  border: 2px solid #4e1600;
  border-radius: 10px;
  margin-top: 2px;
  padding: 2px 2px;
  background: #a83000;
  border: 2px solid #4e1600;
  color: #ffffff;
}

.photogallery {
  background: whitesmoke;
  display: -webkit-flex;
  display: flex;
  height: 660px;
  margin: 10px auto 70px auto;
  width: 100%;
  max-width: 750px;
  overflow: hidden;
}
.photogallery menu {
  background: whitesmoke;
  border-right: 2px solid lightgrey;
  box-shadow: 5px 1px 5px lightgrey;
  display: inline-block;
  margin: 0;
  overflow-y: auto;
  padding: 30px 5px;
  width: 90px;
}
.photogallery menu ul {
  list-style-type: none;
  height: 100%;
  margin: 1pt;
  padding: 0;
  overflow-y: auto;
}
.photogallery menu ul li {
  height: 40px;
  margin-bottom: 10px;
  width: 100%;
  overflow: hidden;
}
.photogallery menu ul li img {
  opacity: 0.5;
  height: 100%;
}
.photogallery menu ul li img.activeImage {
  opacity: 1;
}
.photogallery menu ul li img:hover {
  cursor: pointer;
}
.photogallery menu ul li span {
  display: none;
}
.photogallery section {
  display: inline-block;
  -webkit-flex: 1;
  /* Safari 6.1+ */
  -ms-flex: 1;
  /* IE 10 */
  flex: 1;
  margin: 30px 15px;
  width: 45%;
  vertical-align: top;
}
.photogallery section .galleryimage {
  display: block;
  max-height: 80%;
  margin: auto;
}
.photogallery section .gallerydescription {
  padding: 16px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 15px;
  color: #4e1600;
  font-weight: 600;
}
.photogallery img {
  max-width: 100%;
}

/* Přidáno pro skrytí posuvníku v neaktivním stavu */
.photogallery menu ul::-webkit-scrollbar, 
.photogallery menu::-webkit-scrollbar {
 background: none;
 width: 5px;
 padding: 10px;
}

/* Přizpůsobení vzhledu posuvníku */
.photogallery menu::-webkit-scrollbar-thumb {
  background: none;
}

/* Track */
.photogallery menu::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
.photogallery menu::-webkit-scrollbar-thumb {
  background: #a83000; 
  border-radius: 10px;
}

/* Handle on hover */
.photogallery menu::-webkit-scrollbar-thumb:hover {
  background: #4e1600; 
}

/* Styly pro tlačítka "Předchozí" a "Další" */
.gallery-controls {
  text-align: center;

}

.gallery-controls button {
  background-color: #4e1600;
  color: #fde4db;
  padding: 8px 16px;
  margin: 0 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;;
}

.gallery-controls button:hover {
  background-color: #24a800;
}


/****** Footer ******/
.footer {
  background-color: #a83000;
  color: #fde4db;
}
.footer-wave-svg {
  background-color: transparent;
  display: block;
  height: px;
  position: relative;
  top: -1px;
  width: 100%;
}
.footer-wave-path {
  fill: #fde4db;
}
.footer-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 1230px;
  padding: 40px 15px 300px;
}
.footer-content-column ul li a {
color: #fde4db;
text-decoration: none;
}
.footer-content-column h2 {
  color: #4e1600;
  font-size: clamp(0.625rem, 0.4432rem + 0.9091vw, 1.125rem);
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 18px;
  margin-bottom: 10px;
  margin-top: 40px;
  text-transform: uppercase;
}
.footer-menu-list {
  list-style: none;
  margin: 0 10px;
  padding-left: 0;
}
.footer-menu-list li {
  margin-top: 10px;
  list-style: none;  
}
.footer-content-column a {
  text-decoration: none;
  margin-bottom: 0;
  margin-top: 10px;
}
.footer-copyright {
  background-color: #4e1600;
  padding: 15px;
  margin-top: 30px;
  text-align: center;
}  
.footer-copyright a {
  color: #fde4db;
  text-decoration: none;
  font-size: clamp(0.625rem, 0.4432rem + 0.9091vw, 1.125rem);
  font-weight: 400;
}
