/*
Theme Name: Polarforschung Modern
Theme URI: https://polarforschung.de
Author: Your Name
Author URI: https://yourwebsite.com
Description: A modern, accessible WordPress theme for Polarforschung using Bootstrap
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: polarforschung-modern
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --bs-primary: #5087af;
  --bs-primary-rgb: 80, 135, 175;
  --bs-secondary: #9e0000;
  --bs-secondary-rgb: 158, 0, 0;
}

.zoom-effect {
  overflow: hidden;
}

.zoom-effect img {
  transition: transform 0.3s ease;
}

.zoom-effect:hover img {
  transform: scale(1.1);
}

.hover-shadow {
  transition: box-shadow 0.3s ease-in-out;
}

.hover-shadow:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.transition-all {
  transition: all 0.3s ease-in-out;
}

.wp-block-group {
  margin-bottom: 50px;
}


/*
latest posts
 */
h2.wp-block-heading {
  font-size: 2rem;
  margin-top: 1rem;
}


h2.wp-block-post-title {
  font-size: 1.5rem;
}

h2.wp-block-post-title a {
  color: #000;
}

.wp-block-post-date {
  font-size: 0.8rem;
  color: #666;
}

.wp-block-group.cta {
  background: url(./images/schnee.jpg);
  background-size: cover;
  padding: 100px 40px;
  position: relative;
}

.wp-block-group.cta .wp-block-group__inner-container {
  position: relative;
  z-index: 2;
}

.wp-block-group.cta:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
}

hr {
  max-width: 50px;
  margin: 0 auto;
}

.max-800 {
  max-width: 800px;
  margin: 0 auto;
}

.active>.page-link, .page-link.active {
  background-color: #9e0000;
  color: #fff;
}

main {
  margin-top: -10px;
}

/*
footer
 */
#footer {
  background: #b8c5d1 !important;
  padding: 2rem 0;
  position: relative;
}

#footer::after {
  display: block;
  position: absolute;
  top: -40px;
  content: '';
  width: 100%;
  height: 50px;
  background-color: transparent !important;
  background-image: url(./assets/images/bg-footer.svg);
  background-repeat: no-repeat;
  background-position: center top;
}

.dgp-site-title {
  background: url(./images/schnee.jpg);
  min-height: 200px;
  position: relative;
}

.hero {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(0,0,0,.75);
  -webkit-transform: translate3d(-50%,-50%,0);
  -moz-transform: translate3d(-50%,-50%,0);
  -ms-transform: translate3d(-50%,-50%,0);
  -o-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);
}
.hero h1 {
  font-size: 6em;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.hero {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(0,0,0,.75);
  -webkit-transform: translate3d(-50%,-50%,0);
  -moz-transform: translate3d(-50%,-50%,0);
  -ms-transform: translate3d(-50%,-50%,0);
  -o-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  padding: 0;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #080d15;
  opacity: .7;
}

#header {
  z-index: 5;
}

.masthead {
  position: relative;
  height: 100vh;
  min-height: 500px;
  background-image: url('https://source.unsplash.com/BtbjCFUvBXs/1920x1080');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


#metaslider-id-2300 {
  position: absolute;
  left: 0;
  top: 0;
  height: 100vh !important;
  background: #fff;
}
#metaslider_container_2300 img {
  object-fit: cover;
  height: 100vh;
}