/* CSS Document */

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

main {
  height: 100%;
  width: 100%;
  margin: 0 auto;
}

header {
  height: 250px;
  color: rgb(204,102,0);
  text-align: center;
  line-height: 10px; /* Zabezpe�� vertik�lne zarovnanie textu */
  width: 100%;
  background-image: url(obrazky/84ccd8c1-1795-4273-a372-caf0d233d323.jpeg);
  background-size: 120em;
  background-position-y: center;
  background-position-x: center;
}

h1 {
  font-size: 3.5em;
  margin: 0;
}

h3 {
  font-size: 1.5em;
}

.container {
  display: flex;
  flex: 1;
  width: 100%;
}

nav {
  width: 200px;
  background-color: #f4a261;
  padding: 15px;
  position: sticky;
  top: 0;
}

nav a {
  padding: 15px;
  text-decoration: none;
  display: block;
  color: #264653;
  border-radius: 0.4cap;
}
nav a:hover {
  background-color: #e76f51;
}

section {
  flex: 1;
  background-color: #e9c46a;
  overflow: auto;
}

article {
  margin: 10px;
  background-color: #e76f51;
  border-radius: 0.5cap;
}

footer {
  height: 100px;
  background-color: #f4a261;
  text-align: center;
  width: 100%;
}

footer p {
  position: relative;
  top: 20px;
}

h1, h2, h3 {
  line-height: normal;
  padding: 5px;
}

p {
  padding: 5px;
  padding-bottom: 20px;
}

.mapa {
  margin: 5px;
}

iframe {
  border-radius: 1cap;
  width: 100%;
}

img {
  border-radius: 0.3cap;
}

img.nasirku {
  width: calc(100% - 10px);
  margin: 5px;
}

img.navysku {
  width: calc((100% /2) - 13px);
  margin: 5px;
}

table, td, th {
  padding: 5px;
  padding-right: 30px;
}

th {
  text-align: left;
  font-size: larger;
}

@media screen and (max-width: 1300px) {
  main {
    max-width: 950px;
  }

  nav a {
    display: block;
  }

  header {
    background-size: 60em;
    background-position-y: center;
  }

}

a {
  text-decoration: none;
  color: #264653;
}

@media screen and (max-width: 800px) {
  main {
    max-width: 600px;
  }
  .container {
    flex-direction: column;
  }
  nav, section {
    width: 100%;
  }

  nav {
    width: 95.1%;
  }

  nav a {
    display: inline;
  }

  header {
    background-size: 70em;
    background-position-y: center;
    background-position-x: center;
  }
}

