html {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.visuallyhidden {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
}

footer {
  margin-top: auto;
}
main {
  margin-left: 5vw;
  margin-right: 5vw;
}
p {
  text-align: justify;
}
.h1 img {
  width: 85px;
  margin: auto;
  display: block;
}
.h1 {
  text-align: center;
  margin: 0;
}
a {
  text-decoration: none;
}
.kontakt {
  display: flex;
  justify-content: space-around;
  padding: 0.5em;
  max-width: 900px;
  margin: 0 auto;
}
nav a {
  color: var(--white);
}
body > footer {
  background-color: var(--black);
  font-size: 32px;
}
body > header {
  position: sticky;
  top: 0;
  z-index: 999;
}
nav > ul {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}
header nav {
  background-color: var(--menu);
  height: 35px;
}
.menu li {
  list-style: none;
  font-size: 22px;
  font-family: "Eurostile", sans-serif;
}
.menu a {
  display: block;
}
li a {
  color: var(--white);
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
}
nav a:hover {
  color: var(--hover);
}

@media only screen and (min-width: 385px) {
  .menu li {
    font-size: 32px;
  }
  header nav {
    height: 46px;
  }
}

@media only screen and (min-width: 765px) {
  .h1 img {
    width: 125px;
  }
}

@media only screen and (min-width: 1025px) {
  header nav {
    height: 60px;
  }
  .menu li {
    font-size: 44px;
  }
  li a {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media only screen and (min-width: 2000px) {
  .h1 img {
    width: 175px;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ CSS styles go here */
  header nav {
    background-color: rgb(6, 7, 8);
  }
  li a {
    color: white;
  }
  main {
    margin-left: 5vw;
    margin-right: 5vw;
  }
  body > footer {
    background-color: black;
  }
  nav a {
    color: white;
  }
  nav > ul {
    justify-content: space-between;
  }
  nav a:hover {
    color: rgb(194, 194, 194);
  }
}
