/*!
 * Start Bootstrap - Scrolling Nav (https://startbootstrap.com/template-overviews/scrolling-nav)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-scrolling-nav/blob/master/LICENSE)
 * adapted by
 * Dominique Maier
 * dominique-maier@hotmail.com
 */

 /* header */
header {
  padding: 200px 0 250px;
  /* background-image: url("../img/marion-maier.jpg"); */
  background-image: url("../img/header-brainkicking.jpg");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header h1 {
  line-height: 2.5rem;
  margin: 0;
  font-size: 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
}

@media (min-width: 992px) {
  header {
    padding: 150px 0 500px;
  }
  header h1 {
    font-size: 3.5rem;
    line-height: 3.5rem;
  }
}

header.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.navbar {
  border-bottom: .05rem solid rgba(0, 0, 0, 0.2);
}

/* headings*/
h2 {
  line-height: 1.5rem;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  h2 {
    line-height: 2rem;
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
  }
}

h3 {
  line-height: 1.25rem;
  margin: 0;
  padding-bottom: 10px;
  padding-top: 20px;
  font-size: 1.25rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  h3 {
    line-height: 1.5rem;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
  }
}



hr.botm-line {
  height: 3px;
  width: 60px;
  background: #016734;
  position: relative;
  border: 0;
  text-align: left;
  margin: 20px 0 20px 0;
}



/* blockquote for quotes - one for each section*/
.blockquote {
  padding: .5rem 1rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-style: italic;
  border-left: .3rem solid #016734;
}

.blockquote-reverse {
  padding-right: 1rem;
  padding-left: 0;
  text-align: right;
  border-right: .3rem solid #016734;
  border-left: 0;
}

/* highlight box with green borders (inbetween standard text) */
.blockquote-lead {
  padding: 1rem 2rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-style: italic;
  border-left: .15rem solid #016734;
  border-bottom: .15rem solid #016734;
  border-right: .3rem solid #016734;
  border-top: .15rem solid #016734;
}

.resp-image {
  max-width: 100%;
  width: 100%;
  height: auto;
}

/* general */
.lead {
  font-weight: 400;
}

a:active {
  color: #212529;
}

a:link {
  color: #212529;
}

a:visited {
  color: #212529;
}

a:hover {
  color: grey;
}

a:active {
  color: #212529;
}

.icon-link {
  text-decoration: none !important;
  transition: all 0.5s ease-in-out;
}

.icon-link:hover,
.icon-link:focus {
  font-size: 2.3rem;
}

/* to avoid boxes in firefox around nav-entries*/
a:focus, button:focus, input:focus, textarea:focus {
  outline: none;
}

.icon-link-container {
  display: flex;
  justify-content: center;
}

.icon-link {
  font-size: 2rem;
  border: 1px solid black;
  border-radius: 50%;

  width: 100%;
  display: inline-block;
  width: 4rem;
  height: 4rem;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
}

/* card box for special information*/
.card {
  border: 3px solid #016734;
}

.card-title {
  margin-top: 20px;
  margin-bottom: 20px;
}

.card-block {
  margin: 30px;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: #016734;
  border-bottom: 3px solid #016734;
}

/* impresum section padding (extra site)*/
#impressum {
  padding: 96px 0 50px 0;
}

@media (min-width: 768px) {
  #impressum {
    padding: 156px 0 100px 0;
  }
}


/* signature img as background*/
.signature {
  height: 86px;
  width: 248px;
  background-image: url("../img/unterschrift_transparent.png");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


/* section */
section {
  padding: 50px 0;
}

@media (min-width: 768px) {
  section {
    padding: 100px 0;
  }
}

/* image sections 100% width (between sections) */
.image-section {
  padding: 0 0;
}


.image-container-lernbegleitung {
  height: 400px;
  padding-top: 0px;
  padding-bottom: auto;
  background-image: url("../img/lindau.jpg");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (min-width: 768px) {
  .image-container-lernbegleitung {
    height: 600px;
  }
}

.image-container-erfolg {
  height: 400px;
  padding-top: 0px;
  padding-bottom: auto;
  background-image: url("../img/boedele.jpg");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (min-width: 768px) {
  .image-container-erfolg {
    height: 600px;
  }
}

.image-container-ueber {
  height: 400px;
  padding-top: 0px;
  padding-bottom: auto;
  background-image: url("../img/ostsee.jpg");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (min-width: 768px) {
  .image-container-ueber {
    height: 600px;
  }
}

.image-container-aktuelles {
  height: 300px;
  padding-top: 0px;
  padding-bottom: auto;
  background-image: url("../img/bank.jpg");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (min-width: 768px) {
  .image-container-aktuelles {
    height: 600px;
  }
}

.image-container-impressum {
  height: 300px;
  padding-top: 0px;
  padding-bottom: auto;
  background-image: url("../img/dornbirn.jpg");
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (min-width: 768px) {
  .image-container-impressum {
    height: 600px;
  }
}


/* icons for contact information*/
.info i {
  font-size: 32px;
  color: #990000;
  float: left;
}

.info p {
  padding: 0 0 10px 50px;
  line-height: 24px;
}


/* footer */
footer .info i {
  font-size: 32px;
  color: white;
  float: left;
}

@media (min-width: 768px) {
  footer .info i {
    float: right;
  }
}

footer .info p {
  padding: 0 0 10px 50px;
  line-height: 24px;
}


footer a:link {
  color: white;
}

footer a:visited {
  color: white;
}

footer a:hover {
  color: grey;
}

.fa-facebook-square:hover {
  color: grey;
}

@media (max-width: 768px) {
  .desk-br {
    display: none;
  }
}

.headline-fadein {
  display: block;
}

.headline-fadein:nth-of-type(1) {
  animation: fadein-1 3s ease-in-out 1;
}

.headline-fadein:nth-of-type(2) {
  animation: fadein-2 3s ease-in-out 1;
}

.headline-fadein:nth-of-type(3) {
  animation: fadein-3 3s ease-in-out 1;
}

.headline-fadein:nth-of-type(4) {
  animation: fadein-4 3s ease-in-out 1;
}

@keyframes fadein-1 {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  20% {
    opacity: 0;
    transform: translateX(-20px);
  }

  40% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadein-2 {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  40% {
    opacity: 0;
    transform: translateX(-20px);
  }

  60% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadein-3 {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  60% {
    opacity: 0;
    transform: translateX(-20px);
  }

  80% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadein-4 {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  80% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}


.card-header:first-child {
  border-radius: unset;
}