/* CSS Document */

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Poppins';
}

main {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  margin: 0 auto;
}

.uvod-fotka {
  filter: brightness(0.6);
  position: absolute;
  z-index: -1;
  width: 100%;
  transform: translateY(-150px);
}

.uvod {
  position: absolute;
  width: 100%;
  top: 27%;
  text-align: center;
}
.uvod h1 {
  margin: 0;
  font-size: 160px;
  color: #FFCDDF;
  margin-bottom: 100px;
}
.uvod button {
  font-size: 40px;
  font-family: 'Poppins';
  padding: 20px 70px;
  border-radius: 50px;
  background-color: #FFCDDF;
  color: #ce86a0;
  text-decoration: none;
  transition: background-color 300ms ease-in-out, color 300ms ease-in-out, scale 150ms ease-in-out;
  border: 0;
}
.uvod button:hover {
  background-color: #DFADBF;
  color: #ae6680;
  scale: 0.95;
}

header {
  height: 100px;
  background-color: #B32A34;
  color: white;
  text-align: center;
  line-height: 100px; /* Zabezpe�� vertik�lne zarovnanie textu */
  width: 100%;
}
header h1 {
  margin: 0;
}

.container {
  display: flex;
  flex: 1;
  width: 100%;
}

.photos {
  display: flex;
  gap: 10px;
  max-height: 400px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 40px;
  height: auto;
  justify-content: center;
}
#jazyk-photos {
  margin-bottom: 0;
}
.photos img {
  border: 2px solid #B7AFA3;
  border-radius: 15px;
  overflow: hidden;
  max-height: 400px;
  height: 100%;
  width: auto;
}
.credits-div {
  border-radius: 15px;
  overflow: hidden;
  max-height: 400px;
  width: min-content;
  display: flex;
  flex-direction: column;
  
}
.credits-div img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.credits {
  margin: 0;
  color: white;
  background-color: #B7AFA3;
  font-size: 11px;
  text-align: center;
  padding: 5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.credits a {
  color: rgb(100, 100, 255);
}


nav {
  width: 200px;
  background-color: #3E7765;
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 5px;
  text-align: center;
  font-size: 20px
}
nav a {
  color: white;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 200ms ease-in-out;
}
nav a:hover {
  background-color: #1E5745;
}

section {
  flex: 1;
  background-color: #E7DFD3;
  overflow: auto;
}

article {
  margin: 10px;
  padding: 8px;
  border-radius: 10px;
  background-color: #282262;
  color: #F1F0FA;
  font-size: 18px
}

article h1 {
  font-size: 28px;
  margin: 4px 8px;
}

article ol {
  margin: 6px;
}

footer {
  height: fit-content;
  background-color: #B32A34;
  color: white;
  padding: 20px;
  text-align: center;
  width: 100%;
  font-size: 16px;
}
footer a {
  color: white;
}
footer p {
  margin: 20px 0 0 0;
  font-size: 12px;
  color: #7b1b22;
}

@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%;
  }
}

