@font-face {
  font-family: 'moholy';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../webfonts/MoholySans-Regular.eot");
  src: url("../webfonts/MoholySans-Regular.eot?#iefix") format("embedded-opentype"), url("../webfonts/MoholySans-Regular.woff2") format("woff2"), url("../webfonts/MoholySans-Regular.woff") format("woff");
}
@font-face {
  font-family: 'moholy-bold';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../webfonts/MoholySans-Bold.eot");
  src: url("../webfonts/MoholySans-Bold.eot?#iefix") format("embedded-opentype"), url("../webfonts/MoholySans-Bold.woff2") format("woff2"), url("../webfonts/MoholySans-Bold.woff") format("woff");
}
@font-face {
  font-family: 'moholy-light';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../webfonts/MoholySans-Light.eot");
  src: url("../webfonts/MoholySans-Light.eot?#iefix") format("embedded-opentype"), url("../webfonts/MoholySans-Light.woff2") format("woff2"), url("../webfonts/MoholySans-Light.woff") format("woff");
}
html,
body {
  font-family: 'moholy', sans-serif;
  color: white;
}
.dropdown-toggle::after {
  margin-left: -5px;
  position: relative;
  top: 5px;
}
.anchor {
  position: relative;
  top: -60px;
  opacity: 0;
}
header .navbar-brand img {
  height: 60px;
}
header .nav-link {
  font-size: 24px;
  border-right: 1px solid lightgrey;
}
header .nav-link:hover {
  color: white !important;
}
header .nav-item:last-child .nav-link {
  border-right: 0;
}
header .dropdown-menu li:first-child {
  border-bottom: 1px solid lightgrey;
}
header #lang-selector img {
  height: 20px;
  margin: 20px 0 0 10px;
}
body {
  background: url('../resources/images/bg.jpg');
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}
main {
  margin-top: 100vh;
  background: url('../resources/images/bg.blur.jpg');
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}
main h1,
main h2 {
  background-color: white;
  color: #212529;
  margin-bottom: 0;
  text-align: center;
  padding: 32px;
}
main h1 {
  font-family: 'moholy-bold', sans-serif;
}
main h1.fix {
  padding-top: 64px;
}
main h2 {
  padding-bottom: 64px;
  font-size: 24px;
}
main article {
  padding-bottom: 32px;
}
main article h3 {
  padding: 32px;
  font-family: 'moholy-bold', sans-serif;
}
main article p {
  font-size: 20px;
  text-align: justify;
}
main #img-3d-pavilon {
  width: 450px;
  margin: 0 0 18px 18px;
  float: right;
}
main #gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-rows: 300px;
  grid-gap: 12px;
}
main #gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
main #videos {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
}
main #videos video {
  width: 100%;
}
main #iframe-wrapper {
  margin-top: 24px;
  position: relative;
}
main #iframe-wrapper img {
  width: 100%;
}
main #iframe-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
}
main video {
  display: block;
  margin-top: 24px;
  width: 100%;
}
footer {
  background: #212529;
  padding: 32px;
  font-size: 32px;
}
footer span {
  font-family: 'moholy-light', sans-serif;
  font-weight: 100;
}
footer strong {
  font-family: 'moholy-bold', sans-serif;
  font-weight: 900;
}
footer a {
  color: white;
}
footer a:hover {
  color: white;
}
footer img {
  max-height: 200px;
  max-width: 100%;
}
@media (max-width: 1399px) {
  footer {
    font-size: 24px;
  }
}
@media (max-width: 991px) {
  .dropdown-menu {
    background-color: transparent;
    color: white;
  }
  .dropdown-menu .dropdown-item {
    color: lightgray;
  }
  .dropdown-menu li:first-child .dropdown-item {
    color: grey;
  }
  main h1,
  main h2 {
    padding: 16px;
  }
  main h1 {
    font-size: 26px;
  }
  main h1.fix {
    padding-top: 32px;
  }
  main h2 {
    font-size: 20px;
    padding-bottom: 32px;
  }
  main article h3 {
    padding: 16px;
    font-size: 18px;
  }
  main article p {
    font-size: 16px;
  }
  main #gallery {
    grid-auto-rows: 150px;
  }
  footer {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  main #img-3d-pavilon {
    width: 250px;
  }
  main #gallery {
    grid-template-columns: 1fr 1fr;
  }
  main #videos {
    grid-template-columns: 1fr;
  }
  footer {
    font-size: 14px;
  }
}
@media (max-width: 576px) {
  main h1 {
    font-size: 20px;
  }
  main h2 {
    font-size: 16px;
  }
  main article p {
    font-size: 14px;
  }
  main #img-3d-pavilon {
    width: 100%;
    margin: 0 0 12px 0;
  }
}
