@import url("https://fonts.cdnfonts.com/css/bohemian-typewriter");
*, *::before, *::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  line-height: 1.6;
  font-family: system-ui, sans-serif;
}

body {
  display: flex;
  height: 100dvh;
  flex-direction: column;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-family: "Bohemian Typewriter", sans-serif;
  font-size: 2rem;
}

@media (width < 800px) {
  h1, h2, h3, h4 * {
    font-size: 1.5rem;
  }
}
header {
  flex-shrink: 0;
  background-color: #FE6A00;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4em 0.8em;
  gap: 5rem;
}

header, header * {
  font-size: 2rem;
}

@media (width < 800px) {
  header, header * {
    font-size: 1.5rem;
  }
}
#info-ikonka {
  background-color: transparent;
  border: none;
  margin: 0;
  padding: 0;
  text-align: inherit;
  font: inherit;
  border-radius: 0;
  appearance: none;
  cursor: pointer;
  transition: 0.6s ease;
}

#info-ikonka:hover {
  color: white;
}

#info-ikonka i {
  font-size: 3rem;
}

@media (width < 800px) {
  #info-ikonka i {
    font-size: 2rem;
  }
}
#map {
  flex-grow: 1;
}

.marker-pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: rgb(224, 193, 20);
  position: absolute;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin: -15px 0 0 -15px;
}

.marker-pin::after {
  content: "";
  width: 24px;
  height: 24px;
  margin: 3px 0 0 3px;
  background: #fff;
  position: absolute;
  border-radius: 50%;
}

.custom-div-icon i {
  position: absolute;
  width: 22px;
  font-size: 22px;
  left: 0;
  right: 0;
  margin: 4px auto;
  text-align: center;
}

.popup-content > h2 {
  font-size: 1.5rem;
  margin-bottom: 0.2em;
}

.popup-content > p {
  margin: 0;
}

#info {
  height: 100%;
  width: 100%;
  background-color: #FFCC99;
  overflow-y: scroll;
  padding-block: 2rem;
  font-size: 1rem;
}

#info > * {
  margin-inline: auto;
  max-width: 700px;
  padding-inline: 0.8rem;
  margin-bottom: 0.8em;
}

#info > h2 {
  margin-bottom: 0.4em;
  margin-top: 1em;
}

#osa {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1rem;
  row-gap: 0.25rem;
}

.osa-znacka {
  grid-column: 1/2;
  border-bottom: 5px solid black;
  transform: translateY(-35%);
}

.osa-popisek {
  grid-column: 2/4;
  font-weight: bold;
}

#info nav ul li {
  list-style-type: none;
  margin-bottom: 0.2em;
  font-weight: bold;
}

#info nav ul li a:hover {
  transition: 0.4s ease;
}

#info nav ul li a:hover {
  color: red;
}