header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 18vh;
  width: 100vw;
  background: url("../pictures/background.jpg") no-repeat;
  background-position: 50% 50%;
  position: fixed;
}

header .logo {
  position: absolute;
  left: 0px;
  top: 0px;
}

header .logo .logoPic {
  width: 42%;
}

@media screen and (max-width: 750px) {
  header .logo .logoPic {
    display: block;
  }
}

@media screen and (max-width: 706px) {
  header .logo .logoPic {
    width: 35%;
  }
}

@media screen and (max-width: 546px) {
  header .logo .logoPic {
    width: 25%;
  }
}

header .logo p {
  font-size: 22px;
  color: #fff;
}

@media screen and (max-width: 450px) {
  header .logo p {
    font-size: 18px;
  }
}

header .mainNav {
  width: inherit;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-left: 100px;
}

@media screen and (max-width: 750px) {
  header .mainNav {
    display: none;
  }
}

header .mainNav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

@media screen and (max-width: 665px) {
  header .mainNav ul {
    width: 70%;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

header .mainNav ul a {
  color: #eee;
  text-decoration: none;
  font-size: 22px;
  background-color: rgba(6, 22, 36, 0.6);
  padding: 5px 10px;
  border-radius: 15px;
  margin-right: 80px;
}

@media screen and (max-width: 1400px) {
  header .mainNav ul a {
    font-size: 19px;
    margin-right: 50px;
  }
}

@media screen and (max-width: 450px) {
  header .mainNav ul a {
    font-size: 18px;
  }
}

header .mainNav ul a:hover {
  color: #fff;
  background-color: rgba(65, 128, 179, 0.95);
}

header .mainNav ul a li {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (max-width: 665px) {
  header .mainNav ul a li {
    margin-top: 10px;
  }
}

@media screen and (max-width: 395px) {
  header .mainNav ul a li {
    margin-left: 20px;
  }
}

header .german, header .brit {
  display: block;
  position: absolute;
  top: 20px;
  cursor: pointer;
  z-index: 99;
}

header .german {
  top: 16%;
  right: 165px;
}

@media screen and (max-width: 800px) {
  header .german {
    top: 24%;
    right: 50px;
  }
}

@media screen and (max-width: 450px) {
  header .german {
    top: 75%;
    left: 50px;
    width: 40px;
  }
}

header .brit {
  top: 60%;
  right: 165px;
}

@media screen and (max-width: 800px) {
  header .brit {
    top: 55%;
    right: 55px;
  }
}

@media screen and (max-width: 450px) {
  header .brit {
    top: 75%;
    right: 50px;
    width: 40px;
  }
}

header .flags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  padding-top: 50px;
  padding-bottom: 50px;
  z-index: 100;
}

header .flags .nemetOldal {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100vw;
  padding-left: 8px;
  padding-bottom: 50px;
}

@media screen and (max-width: 600px) {
  header .flags .nemetOldal {
    width: 95%;
    top: -20px;
  }
}

header .flags .angol, header .flags .nemetOldal {
  display: none;
  padding-top: 50px;
  padding-bottom: 50px;
  font-size: 19px;
  background-color: #2d8eb4;
  color: #eee;
  width: auto;
  height: auto;
}

header .flags .angol a, header .flags .nemetOldal a {
  color: #111;
}

header .flags .angol {
  position: absolute;
  left: 0px;
  top: 0px;
}
