@charset "utf-8";

/* Fonts */
@font-face {
    font-family: 'Adwaita Sans Regular';
    src: url(./fonts/adwaitasansregular.ttf);
}
@font-face {
    font-family: 'Noto Sans Mono';
    src: url(./fonts/notosansmono.ttf);
}

/* Reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Default */
html, body {
  height: 100%;
  background-color: #c9c9c9;
  color: black;
  font-weight: normal;
  font-size: 100%;
  font-family: 'Adwaita Sans Regular', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1 {
  font-size: 2.5em;
}

h3 {
  font-size: 1.563em;
}

a {
  color: #293952;
  text-decoration: none;
  font-size: 1.250em;
}

p {
  font-size: 1.250em;
  margin-bottom: 20px;
}

p a {
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
}

img {
  max-width: 100%;
}

hr {
  margin: 0 0 20px 0;
}

.button-small {
  font-family: 'Noto Sans Mono', sans-serif;
  padding: 10px 20px;
  background: #293952;
  color: white;
}

/* Wrapper */
.wrapper {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Navbar */
#nav {
  background-color: #293952;
  height: 160px;
  padding: 20px 0 25px 0;
  position: relative;
}

.logo {
    display: block;
    margin: 0 auto 12px auto;
    width: 253px;
    position: relative;
    z-index: 10;
}

.nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav > li {
  position: relative;
}

.nav a {
  font-family: 'Noto Sans Mono', sans-serif;
  padding: 8px 12px;
  display: block;
  color: white;
}

.dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #293952;
  border: 1px solid white;
  display: none;
  z-index: 10000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding: 8px 12px;
  white-space: nowrap;
}

/* Bereiche */
#schiesssport-header {
  position: relative;
  height: 400px;
  width: 100%;
  background: url(../img/schiesssport-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 0 75px 0;
}

#schiesssport-header h1,
#castingsport-header h1,
#minigolf-header h1,
#ueberuns-header h1,
#ankuendigungen-header h1, 
#impressum-header h1 {
  position: absolute;
  bottom: 20px;
  padding: 25px 40px;
  color: white;
  background-color: #293952;
  font-family: 'Noto Sans Mono', sans-serif;
}

#castingsport-header {
  position: relative;
  height: 400px;
  width: 100%;
  background: url(../img/castingsport-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 75px 0 75px 0;
}

#minigolf-header {
  position: relative;
  height: 400px;
  width: 100%;
  background: url(../img/minigolf-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 75px 0 75px 0;
}

#ueberuns-header {
  position: relative;
  height: 400px;
  width: 100%;
  background: url(../img/ueberuns-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 75px 0 75px 0;
}

#ankuendigungen-header {
  position: relative;
  height: 400px;
  width: 100%;
  background: url(../img/ankuendigungen-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 0 75px 0;
}

#impressum-header {
  position: relative;
  height: 400px;
  width: 100%;
  background: url(../img/impressum-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 0 75px 0;
}

/* Footer */
#footer {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 200px;
  background-color: #293952;
  margin: 200px 0 0 0;
}

#footer h3 {
  color: white;
  padding: 60px 0 20px 0;
  font-family: 'Noto Sans Mono', sans-serif;
}

#footer a {
  color: #8f8f8f;
}

/* Responsive */

@media only screen and (max-width: 1200px) {
  .wrapper {
    padding: 0 20px;
  }
  .nav {
    gap: 12px;
  }
  .nav a {
    padding: 0;
  }
}
