@font-face {
  font-family: kindergarden;
  src: url(../fonts/Kindergarden.ttf);
}

@font-face {
  font-family: opensans;
  src: url(../fonts/OpenSans.ttf);
}

body {
  background-image: url('../img/background1.jpg');
  background-size: 100%;
}

header {
  background-color: #e9ac2e;
  /*gelb: #e9ac2e;
    blau: #81b7b8
    rot: #cf3c2b
    grün: #578f40*/
}

nav a {
  font-family: opensans;
  color: white;
  font-size: 0.9em;
}

nav a:hover {
  color: #cf3c2b;
}

main {
  width: 100%;
  max-width: 1168px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: opensans;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 0.95em;
  border-left: 1px solid #e9ac2e;
  border-right: 1px solid #e9ac2e;
  box-shadow: 0 0 15px #e9ac2e;
}

h3 {
  color: #cf3c2b;
  border-bottom: 1px solid #e9ac2e;
}

.content {
  min-height: 92vh;
  font-size: 0.95em;
}

.active {
  color: #cf3c2b;
}

#title {
  font-family: kindergarden;
  margin-top: 15px;
}

#logo {
  display: flex;
  align-items: center;
}

#title>a {
  text-decoration: none;
  color: black;
}

@media (min-width: 992px) {
  #welcometext,
  #logo,
  #orga {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0px;
  }
}

#welcometext>h3 {
  font-size: 1.5em;
}

#map {
  margin-top: 20px;
  min-height: 300px;
  width: 100%;
}

.intext {
  max-width: 35%;
  height: auto;
  margin: 1em;
}

#orga h3 {
  font-size: 1em;
  font-color: #e9ac2e;
}

.social-icon {
  height: 1.5em;
  text-align: center;
}

.full-height {
  height: 100%;
}

.hyphenate {
  hyphens: auto;
}

.clear-float {
  clear: both;
}

.profile {
  max-height: 300px;
}
@media (max-width: 955px) {
  .nav-link {
    padding: 0.5rem;
    margin: auto;
  }
}

@media (max-width: 992px) {
  #welcometext {
    padding-top: 10px;
  }

  @media (min-width: 768px) {
    .content {
      min-height: 85vh;
    }
  }
}

@media (max-width: 576px) {
  #title {
    font-size: 1.5em;
  }

  #spielzimmer {
    margin-bottom: 10px;
  }

    .intext {
      max-width: 60%;
  }
}

@media (max-width: 450px) {
  .intext {
    max-width: 90vw;
    margin: 10px auto;
  }

    .profile {
      float: none !important;
  }
}

@media (min-width: 640px) {
  .eingewoehung {
    max-height: 20rem;
    width: auto;
  }
}

@media (max-width: 1300px) and (min-width: 768px) {
  .navbar {
    flex: 0 0 100%;
    max-width: 100%
  }
}
