@import url('fonts.css');
@import url('bootstrap-icons.min.css');

:root {
  --bs-primary: #143F76;
  --bs-secondary: #B81C28; 
  --bs-tertiary: #222222;
}

html, body {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--bs-tertiary);
  background-color: #eee;
  height: 100%;
  background-image: url('../img/bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* TYPOGRAPHY */
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  font-family: 'Russo One', 'Poppins', sans-serif;
  font-weight: 300;
  color: var(--bs-tertiary);
  margin: 30px 0 30px 0;
  line-height: 1.5;
}
h1, .h1 {
  margin-top: 0;
  font-size: 45px;
}
h2, .h2 {
  font-size: 40px;
}
h3, .h3 {
  font-size: 35px;
}
h4, .h4 {
  font-size: 30px;
} 
h5, .h5 {
  font-size: 25px;
} 
h6, .h6 {
  font-size: 20px;
}

h1 small, .h1 small, 
h2 small, .h2 small, 
h3 small, .h3 small, 
h4 small, .h4 small, 
h5 small, .h5 small, 
h6 small, .h6 small {
  letter-spacing: 0;
  font-weight: 300;
  margin-left: 30px;
  font-family: 'Poppins', sans-serif;
}

p {
  margin: 15px 0;
  text-align: justify;
  -moz-hyphens: auto; 
  -o-hyphens: auto; 
  -webkit-hyphens: auto; 
  -ms-hyphens: auto; 
  hyphens: auto;
}

a {
  color: var(--bs-primary);
  text-decoration: none;
}
a:hover {
  color: var(--bs-secondary);
  text-decoration: none;
}

small {
  font-size: 65%;
  display: block;
  font-weight: 300;
}

strong,
.fw-bold {
  font-weight: 600;
}

hr {
  display: block;
  margin: 30px 0;
}

.divider {
  display: block;
  position: relative;
  width: 280px;
  height: 1px;
  background-color: var(--bs-secondary);
  margin-bottom: 30px;
}
.ul {
  list-style-image: url('../img/ul.png');
  padding-left: 25px;
  margin-bottom: 0;
}
.ul li {
  margin-bottom: 10px;
}
.ul li:last-child {
  margin-bottom: 0;
}

/* BUTTON */
.btn {
  border-radius: 0;
  border: none;
  transition: all .25s;
  padding: 10px 15px;
}
.btn-sm {
  font-size: 14px;
}

.btn-primary {
  background-color: var(--bs-primary) !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--bs-secondary) !important;
}

/* MAIN */
.main {
  display: block;
  position: relative;
  background-color: var(--bs-white);
  overflow: hidden;
  margin: 30px 0;
}

/* INFOLINE */
.infoline {
  display: block;
  position: relative;
  background-color: var(--bs-primary);
  color: var(--bs-white);
  padding: 15px 45px;
}
.infoline-info {
  font-size: 16px;
  margin: 0;
}
.infoline-info a {
  color: var(--bs-white);
  margin-right: 15px;
  transition: all .25s;
}
.infoline-info a:hover {
  opacity: .75;
}
.infoline-info a:last-child {
  margin-right: 0;
}
.infoline-info a i {
  display: inline-block;
  vertical-align: top;
  width: 22px;
  color: var(--bs-white);
}

/* HEADER */
.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  position: relative;
  padding: 30px;
  background-color: #eee;
  min-height: 400px;
  overflow: hidden;
  background-position: center top -50px;
  background-repeat: no-repeat;
  background-size: cover;
}
.header .header-content {
  display: block;
  position: relative;
  z-index: 2;
  margin: 0 auto 0 0;
  text-align: center;
  color: var(--bs-white);
  width: 50%;
}
.header .header-logo {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
  margin: 0 auto;
  z-index: 2;
}
.header .header-title {
  font-weight: 600;
  font-size: 22px;
  margin-top: 15px;
}

/* NAVBAR */
.navbar {
  background-color: var(--bs-white) !important;
  padding: 0;
}
.navbar .container-fluid {
  padding: 0;
}
.navbar-nav {
  width: 100%;
}
.nav-item {
  width: 100%;
  text-align: center;
}
.nav-link {
  font-size: 20px;
  font-weight: 400;
  color: var(--bs-tertiary);
  padding: 20px 15px;
  transition: all .25s;
  line-height: 1.2;
}
.nav-link i {
  display: block;
  font-size: 28px;
  transition: all .25s;
}
.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--bs-secondary) !important;
}

.navbar-brand {
  padding: 15px 15px 15px 45px;
  margin: 0;
}
.navbar-logo {
  max-width: 170px;
  transition: all .25s;
}
.navbar-caption {
  display: block;
  font-weight: 600;
  font-size: 12px;
  transition: all .25s;
}


.navbar.fixed-top {
  position: fixed;
  top: 0;
  margin: 0 auto;
  z-index: 1000;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.25);
}
.navbar.fixed-top .navbar-logo {
  max-width: 100px;
}
.navbar.fixed-top .navbar-caption {
  opacity: 0;
}

/* SECTION */
.section {
  display: block;
  position: relative;
  padding: 45px;
}
.section-bg {
  background-image: url('../img/content.png');
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: auto;
}

/* FOOTER */
.footer {
  display: block;
  position: relative;
  background-color: var(--bs-tertiary);
  color: var(--bs-white);
  padding: 30px;
  font-size: 16px;
  text-align: center;
  background-image: url('../img/content2.png');
  background-position: bottom right 45px;
  background-repeat: no-repeat;
  background-size: auto;
}
.footer a {
  color: var(--bs-white);
}
.footer a:hover {
  color: var(--bs-white);
  opacity: .5;
}
.footer .btn:hover {
  opacity: 1;
}

/* IMAGE DIVIDER */
.image-divider {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  position: relative;
  min-height: 400px;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  padding: 45px;
}
.image-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,.25);
  z-index: -1;
}
.image-divider-title {
  font-size: 32px;
  font-family: 'Russo One', 'Poppins', sans-serif;
  margin-bottom: 15px;
  color: var(--bs-white);
  text-shadow: 0 0 10px rgba(0,0,0,.25);
}
.image-divider-text {
  width: 100%;
  max-width: 50%;
  margin-bottom: 15px;
  color: var(--bs-white);
  text-shadow: 0 0 10px rgba(0,0,0,.25);
  font-size: 16px;
}
.image-divider-text i {
  display: inline-block;
  width: 25px;
}
.image-divider-text span {
  display: block;
  padding-left: 30px;
}

/* CARD */
.card {
  border-radius: 0;
  overflow: hidden;
  border-color: var(--bs-tertiary);
  margin-bottom: 15px;
}
.card-body {
  padding: 30px;
}
.card-title {
  font-size: 22px;
  margin: 0;
  margin-bottom: 15px;
}
.card-img {
  border-radius: 0;
  transition: all .25s;
}
.card-img-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,.25);
  border-radius: 0;
}
.card-img-overlay .card-title {
  margin: 0;
  line-height: 1;
  transition: all .25s;
  font-size: 26px;
}
.card-img-top {
  border-radius: 0;
}

a.card:hover .card-img {
  transform: scale(1.05);
  border-radius: 0;
}
a.card:hover .card-title {
  letter-spacing: 5px;
}


/* FORM */
.form-label {
	font-weight: 600;
}
.form-group {
	margin-bottom: 15px;
}
.form-control,
.form-select {
	border-radius: 0;
}
.form-control:focus,
.form-select:focus {
	box-shadow: none;
	border-color: var(--bs-tertiary);
}

.input-group-text {
	border-radius: 0;
	background-color: var(--bs-secondary);
	border-color: var(--bs-secondary);
	color: var(--bs-white);
}

.has-error .form-control,
.has-error .form-select {
	border-color: var(--bs-danger);
}
.has-error .form-label,
.has-error .form-check-label,
.has-error .help-block {
	color: var(--bs-danger);
}

#danke {
	display: none;
}

/* MOBIL */
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1420px;
  }
}
@media (max-width: 1399.98px) {}
@media (max-width: 1199.99px) {
  /* HEADER */
  .header {
    min-height: 320px;
    background-position: center;
  }

  .image-divider-text {
    max-width: 100%;
  }
}
@media (max-width: 991.98px) {
  /* TYPOGRAPHY */
  h1, .h1 {
    font-size: 35px;
  }
  h2, .h2 {
    font-size: 30px;
  }
  h3, .h3 {
    font-size: 25px;
  }
  h4, .h4 {
    font-size: 20px;
  } 
  h5, .h5 {
    font-size: 18px;
  } 
  h6, .h6 {
    font-size: 18px;
  }

  /* INFOLINE */
  .infoline-info {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
  }
  .infoline-info a {
    margin-right: 10px;
  }
  .infoline-info a i {
    font-size: 22px;
    width: auto;
    vertical-align: middle;
  }
  .infoline-info a span {
    margin-left: 5px;
    vertical-align: middle;
  }

  /* HEADER */
  .header {
    min-height: 200px;
  }
  .header .header-logo {
    max-width: 250px;
  }
  .header .header-title {
    font-size: 16px;
  }

  /* NAV */
  .navbar {
    padding: 0 30px;
  }
  .navbar-toggler {
    margin-left: auto;
    border-radius: 0;
    border: none;
    box-shadow: none !important;
    padding: 15px;
  }
  .nav-item {
    text-align: start;
  }
  .nav-link {
    font-size: 18px;
    padding: 10px 15px;
  }
  .nav-link i {
    display: inline-block;
    font-size: 18px;
    width: 25px;
  }
  .navbar-brand {
    padding: 15px;
  }
  .navbar-brand img {
    max-width: 100px;
  }

  /* CARD */
  .card {
    margin-bottom: 15px;
  }
}
@media (max-width: 767.98px) {
  /* HEADER */
  .header { 
    min-height:180px; 
  }

  /* INFOLINE */
  .infoline {
    padding: 10px 30px;
  }

  /* SECTION */
  .section {
    padding: 30px;
  }

  /* IMAGE DIVIDER */
  .image-divider {
    padding: 30px;
  }

  /* NAV */
  .navbar {
    padding: 0 15px;
  }

  /* FOOTER */
  .footer {
    padding: 30px;
  }
}
@media (max-width: 575.98px) {
  /* HEADER */
  .header { 
    min-height: 130px; 
  }
  
  /* TYPOGRAPHY */
  h1, .h1 {
    font-size: 30px;
  }
  h2, .h2 {
    font-size: 25px;
  }
  h3, .h3 {
    font-size: 20px;
  }
  h4, .h4 {
    font-size: 18px;
  } 
  h5, .h5 {
    font-size: 18px;
  } 
  h6, .h6 {
    font-size: 18px;
  }

  h1 small, .h1 small, 
  h2 small, .h2 small, 
  h3 small, .h3 small, 
  h4 small, .h4 small, 
  h5 small, .h5 small, 
  h6 small, .h6 small {
    margin-left: 0;
  }
}