/* CSS Document */

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

main {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  margin: 0 auto;
}

header {
  height: 50px;
  background-color:#fb6f92;
  color: #ffe5ec;
  text-align: center;
  line-height: 10px; /* Zabezpečí vertikálne zarovnanie textu */
  width: 100%;
}

.container {
  display: flex;
  flex: 1;
  width: 100%;
}

nav {
  width: 200px;
  background-color: #ff8fab;
  color:#ffe5ec;
}

nav a{
  width: 200px;
  background-color: #ff8fab;
  color:#ffe5ec;
  font-size: 20px;
}

section {
  flex: 1;
  background-color:#ffc2d1;
  overflow: auto;
}

article {
  margin: 10px;
  background-color: #ffb3c6;
  
}

footer {
  height: 20px;
  background-color: #fb6f92;
  text-align: center;
  width: 100%;
  color:#ffe5ec;
}

@media screen and (max-width: 1300px) {
  main {
    max-width: 950px;
  }
}

@media screen and (max-width: 800px) {
  main {
    max-width: 600px;
  }
  .container {
    flex-direction: column;
  }
  nav, section {
    width: 100%;
  }
}

