/* ------------------------------------------------------------------------------ //
/* Allgemeine Anpassungen
/* ------------------------------------------------------------------------------ */


/* ------------------------------------------------------------------------------ //
/* Google Font Lato lokal eingebunden
/* ------------------------------------------------------------------------------ */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v14-latin-regular.eot');
  src: local('Lato Regular'), local('Lato-Regular'),
    url('../fonts/lato-v14-latin-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/lato-v14-latin-regular.woff2') format('woff2'),
    url('../fonts/lato-v14-latin-regular.woff') format('woff'),
    url('../fonts/lato-v14-latin-regular.ttf') format('truetype'),
    url('../fonts/lato-v14-latin-regular.svg#Lato') format('svg');
}


a,
h1,
h3,
.content h3,
h5,
h6 {
  color: #cc0033;
}

h2,
h4 {
  color: rgb(122, 122, 122);
  font-style: italic;
}

h1 {
  font-size: 1.8rem;
  text-align: center;
  padding-top: 30px;
}

h2 {
  font-size: 1.2rem;
  text-align: center;
  padding-bottom: 20px;
}

h3 {
  font-size: 100%;
}

h4 {
  font-size: 0.9rem;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

h5 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1em;
}

hr {

  background-color: #cc0033;
  margin: 0.7rem 0;

}

.modal-content {
  width: 60% !important;
}

#word-cloud {
  height: 400px;
  width: 80%;
  margin: 0 auto;
}


/* ------------------------------------------------------------------------------ //
/* Navigation
/* ------------------------------------------------------------------------------ */

.navbar {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  /* background-color: #cc0033dc; */
}

.navbar-burger {
  color: white;
}

/* ------------------------------------------------------------------------------ //
/* Sonstiges
/* ------------------------------------------------------------------------------ */

/* .product-img {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  float: right;
  width: 40%;
  margin-left: 30px;
  margin-bottom: 30px;
} */

.divider {
  display: block;
  padding: 25px;
}

/* ------------------------------------------------------------------------------ //
/* Card-Optimierung 
/* ------------------------------------------------------------------------------ */

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  height: 100%;
}

.card-active {
  transition: 0.3s;
}

.card-active:hover .product-img:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.card-active img,
.product-img img {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.card-active img:hover,
.product-img img:hover {
  opacity: 1.0;
  filter: alpha(opacity=100);
  cursor: pointer;
}

.card-content {
  padding-top: 4px;
  padding-bottom: 4px;
}

.author {
  margin-top: 10px;
  font-style: italic;
  font-size: 0.9rem;
}

/* ------------------------------------------------------------------------------ //
/* Footer
/* ------------------------------------------------------------------------------ */

.footer {
  background-image: url("../images/Footer.jpg");
}

div.block a {
  display: inline-block;
  width: 100%;
}


/* ------------------------------------------------------------------------------ //
/* Parallax Bilder
/* ------------------------------------------------------------------------------ */

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}

.bg-home {
  background-image: url('../images/bg-home.jpg');
}

.bg-produkte {
  background-image: url("../images/bg-produkte.jpg");
}

.bg-branchen {
  background-image: url("../images/bg-branchen.jpg");
}

.bg-kontakt {
  background-image: url("../images/bg-kontakt.jpg");
}

.bg-team {
  background-image: url("../images/bg-team.jpg");
}

.bg-uns {
  background-image: url("../images/bg-uns.jpg");
}

.bg-engagement {
  background-image: url("../images/Prod-ISM.jpg");
}

.bg-recht {
  background-image: url("../images/Prod-eLearning.jpg");
}

.bg-datenschutz {
  background-image: url("../images/bg-datenschutz.jpg");
}

.bg-ds {
  background-image: url("../images/bg-DS.jpg");
}

.bg-hacker {
  background-image: url("../images/bg-hacker.jpg");
}

.bg-infosec {
  background-image: url("../images/bg-infosec.jpg");
}

.bg-isms {
  background-image: url("../images/bg-isms.jpg");
}

.bg-i40 {
  background-image: url("../images/bg-digital.jpg");
}

.bg-forschung {
  background-image: url("../images/bg-forschung.jpg");
}

/* ------------------------------------------------------------------------------ //
/* Anpassungen und Hacks für spezifische Browser und Geräte
/* ------------------------------------------------------------------------------ */

/* Turn off parallax scrolling for tablets and phones */

@media only screen and (min-device-width: 320px) and (max-device-width: 989px) {
  .parallax {
    background-attachment: initial;
  }
}

/* IE10+ specific styles go here */

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
  .parallax {
    background-attachment: scroll;
  }
}

/* ------------------------------------------------------------------------------ //
/* Anpassungen Dark-Mode 
/* ------------------------------------------------------------------------------ */

@media (prefers-color-scheme: dark) {

  html {
    background-color: #272b30
  }

  body,
  h1,
  h3,
  .content h4,
  .content h3,
  h5,
  h6 {
    color: #aaa
  }

  a,
  a:hover {
    color: #fafafa;
  }


  .footer a {
    color: #cc0033
  }

  .card {
    background-color: #2e3236;
    color: #aaa;
    border-color: #aaa;
    border-style: solid;
    border-width: 0.5px;

  }


  .navbar {
    background-color: #3a3f44;
  }

  .navbar .navbar-item,
  .navbar .navbar-link {
    color: rgba(255, 255, 255, .75);
    border-left: 1px solid rgba(255, 255, 255, .1);
    border-right: 1px solid rgba(10, 10, 10, .2);
  }

  .navbar-item.has-dropdown.is-active .navbar-link,
  .navbar-item.has-dropdown:focus .navbar-link,
  .navbar-item.has-dropdown:hover .navbar-link {
    background-color: #2e3236;
  }

  .navbar-item.has-dropdown:hover .navbar-link,
  .navbar-item.has-dropdown.is-active .navbar-link {
    background-color: #acacac;
  }

  .navbar-dropdown a.navbar-item:focus,
  .navbar-dropdown a.navbar-item:hover,
  .navbar.is-transparent .navbar-dropdown a.navbar-item:focus,
  .navbar.is-transparent .navbar-dropdown a.navbar-item:hover {
    background-color: #2e3236;
    color: #fafafa;
  }

  .navbar-dropdown {
    background-color: #3a3f44;
  }

  .navbar-item.has-dropdown:hover .navbar-link {
    background-color: #2e3236;
  }

  a.navbar-item:hover,
  a.navbar-item.is-active,
  a.navbar-link:hover,
  a.navbar-link.is-active {
    background-color: #2e3236;
    color: white;
  }

  @media screen and (max-width: 1023px) {
    .navbar-menu {
      background-color: #2e3236;
      box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
      padding: 0.5rem 0;
    }
  }

}