@font-face {
  font-family: "custom-font";
  src: url("fonts/Pencerio-Hairline.ttf");
}

h1 a {
  text-decoration: none;
  color: rgb(57, 97, 4);
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgb(255, 151, 29);
  padding: 10px;
  border: 5px solid rgb(225, 141, 19);
  width: fit-content;
  font-family: "custom-font", serif;
  background-size: cover;
  background-position: center;
}

.logo {
  height: 1.75em;
  width: auto;
  vertical-align: middle;
  background-size: cover;
  background-position: center;
}

body {
  background-color: rgb(186, 255, 104);
  margin: 0;
  align-content: center;
  display: flex;
  flex-direction: column;
  border: 2px;
  background-size: cover;
  background-position: center;
  }

.Menu {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: flex-start;
  gap: 0px;
  padding: 5px;
  background-color: rgb(171, 240, 89);
  width: fit-content;
  border: 2px solid rgb(161, 230, 79);
  flex-direction: column;
  position: relative;
  text-align: center;
  min-width: 100px;
  box-shadow: 3px 3px 0px rgba(57, 97, 4, 0.2);
  transition: all 0.2s ease;
  background-size: cover;
  background-position: center;
}

.Menu a {
  color: rgb(50, 50, 150);
  text-decoration: none;
  background-size: cover;
  background-position: center;
}

.linktozsnalise {
  text-decoration: none;
  color: rgb(50, 50, 150);
  background-size: cover;
  background-position: center;
}
.nav-bar {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.submenu {
  display: none;
  top: 100%;
  left: -2px;
  padding: 10px;
  min-width: calc(100% + 4px);
  box-sizing: border-box;
  z-index: 100;
  background-color: rgb(166, 235, 84);
  width: fit-content;
  border: 5px solid rgb(161, 230, 79);
  background-size: cover;
  background-position: center;
}

.Menu:hover .submenu {
  display: flex;
  gap: 8px;
  flex-direction: column;
  background-size: cover;
  background-position: center;
}

.submenu a:hover {
  color: rgb(255, 151, 29);
  background-size: cover;
  background-position: center;
}

footer a:hover {
  color: rgb(255, 151, 29);
  background-size: cover;
  background-position: center;
}

.body-main {
  background-color: rgb(186, 255, 104);
  margin: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
}

.body-footer {
  margin: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 2px solid transparent;
  padding: 20px;
  background-color: rgb(186, 255, 104);
  background-size: cover;
  background-position: center;
}

.Menu:hover {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0px rgba(57, 97, 4, 0.3);
  background-color: rgb(181, 250, 99);
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.left-footer {
  color: rgb(176, 174, 172);
  display: flex;
  flex-direction: column;
  padding-bottom: 35px;
  background-color: rgb(186, 255, 104);
  background-size: cover;
  background-position: center;
}

.right-footer {
  color: rgb(176, 174, 172);
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  padding-right: 20px;
  pointer-events: none; /* Zničí funkčnost odkazu */
  background-color: rgb(186, 255, 104);
  background-size: cover;
  background-position: center;
}

.right-footer a:hover {
  cursor:default;
  pointer-events: none; /* Zničí funkčnost odkazu */
  background-size: cover;
  background-position: center;
}

.bottom-footer-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 0 20px 20px 20px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
}

.body-top-menu a {
  text-decoration: none;
  color: rgb(57, 97, 4);
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: rgb(255, 255, 255);
  padding-bottom: 2px;
  padding-left: 5px;
  padding-right: 5px;
  border: 2px solid transparent;
  width: fit-content;
  border-radius: 3px;
  flex-direction: row;
  background-size: cover;
  background-position: center;
}

.body-top-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  box-sizing: border-box;
  background-color: rgb(255, 255, 255);
  width: fit-content;
  padding: 5px;
  gap: 3px;
  background-size: cover;
  background-position: center;
}

.body-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: #fff;
  background-size: cover;
  background-position: center;
}

.body-top-menu a:hover {
  background-color: rgb(255, 255, 255);
  transform: translateY(-2px);
  box-shadow: 3px 3px 0px rgba(57, 97, 4, 0.2);
  background-size: cover;
  background-position: center;
}

.body-top-menu .menu-logo {
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: rgb(57, 97, 4);
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: rgb(255, 255, 255);
  padding-bottom: 2px;
  padding-left: 5px;
  padding-right: 5px;
  border: 2px solid transparent;
  width: fit-content;
  border-radius: 3px;
  flex-direction: row;
  font-family: "custom-font", serif;
}

.body-top-menu .menu-logo:hover {
  background-color: rgb(255, 255, 255);
  transform: translateY(-2px);
  box-shadow: 3px 3px 0px rgba(57, 97, 4, 0.2);
  background-size: cover;
  background-position: center;
}


hr {
  color: black;
  background-color: black;
  border-color: black;
  border-top: 2px solid black;
}
