
html {
  font-size: 18px;
  --pg-color-base: #2fc492;
  --pg-color-highlight: var(--pg-color-base);
  --pg-color-background: color-mix(in hsl, white 50%, var(--pg-color-base) 50%);
  --pg-color-dark: color-mix(in hsl, black 50%, var(--pg-color-base) 50%);
}

.betriebsurlaub {
    display: inline-block;
    background-color: var(--pg-color-background);
    transform: rotate(-2deg);
    color: var(--pg-color-dark);
    width: auto;
    padding: 0 20px;
}

body {
  color: #8f8f8f;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
a {
  transition: all 0.3s ease;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: none;
}

a:focus {
  outline: none;
}


.pg-text-primary {
  color: var(--pg-color-highlight);
}

.pg-font-big {
  font-size: 1.25rem;
}

section {
  padding-top: 100px;
}

/* Navbar */

.pg-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
}

.pg-navbar.scroll {
  background-color: white;
  border-bottom: 1px solid #e9ecef;
  flex-direction: row;
}

.container-fluid {
  flex-direction: row-reverse;
}

.pg-navbar.scroll .container-fluid {
  flex-direction: row;
}

.navbar-brand {
  display: none;
  color: white;
  font-size: 1rem;
  font-weight: bold;
}

.pg-navbar.scroll .navbar-brand {
  display: inline-block;
}

.navbar-brand__name {
  margin-left: 10px;
}

.navbar-brand:hover,
.pg-navbar.scroll .navbar-brand:hover {
  color: var(--pg-color-highlight);
}

.pg-navbar.scroll .navbar-brand {
  color: #8f8f8f;
}

.nav-item {
  list-style: none;
}

.pg-nav-link {
  color: white;
}

.pg-navbar.scroll .pg-nav-link {
  color: #8f8f8f;
}

.pg-navbar.scroll .pg-nav-link:hover,
.pg-navbar.scroll .pg-nav-link.current,
.pg-nav-link:hover {
  color: var(--pg-color-highlight);
}

.navbar-toggler {
  border: 1px solid white;
  padding-left: 10px;
  padding-right: 10px;
  background-color: rgba(0, 0, 0, 0.2);
}

.navbar-toggler-icon {
  padding-top: 6px;
}

.pg-navbar.scroll .navbar-toggler {
  border: 1px solid #8f8f8f;
  background-color: transparent;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Title */

#title {
  background-image: url(../img/titel.jpg);
  background-repeat: no-repeat;
  background-size: auto calc(100vh + 350px);
  background-position: center -180px;
  height: 80vh;
  min-height: 375px;
  position: relative;  
  padding-top: 0;
}

@media (min-height: 830px) {
  #title {
    background-position: center -300px;
  }
}

@media (min-height: 680px) and (max-height: 829px) {
  #title {
    background-position: center -210;
  }
}

@media (min-height: 500px) and (max-height: 679px) {
  #title {
    background-position: center -200px;
  }
}


.pg-title-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.pg-title-text-container-inner {
  margin-top: -90px;
}

.pg-title-headline {
  font-size: 3.5rem;
  text-shadow: 2px 2px 2px #333;
}

.pg-title-subheadline {
  margin-bottom: 360px;
}


@media (max-height: 480px) {
  .pg-title-text-container-inner {
    margin-top: -40px;
  }

}



.pg-logo-guther {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 150px;
  height: 150px;
  padding: 10px;
  box-sizing: content-box;
  background-color: white;
  border-radius: 10%;
}

/* Introduction */

.pg-section-title {
  font-size: 2.6rem;
  font-weight: normal;
}

.pg-split-text-container__text {
  font-size: 1.2rem;
  line-height: 1.4;
}

/* Description */

.ah-itemcard-description {
  max-width: 650px;
  width: 100%;
  font-size: 0.9rem;
}

section#ueber_uns {
  padding-top: 70px;
}

#ueber_uns .row {
  align-items: center;
}

/* Tilted images */
.pg-tilted-image-container {
  background-color: var(--pg-color-background);
  padding: 0px;
}

.pg-tilted-image-container img {
  transform: rotate(var(--tilt-deg));
}

#ueber_uns .pg-tilted-image-container {
  height: 100%;
}

/* Gallery / Pferde */

.slick-list {
  margin-left: 0.5rem;
}

.slick-dots {
  bottom: auto;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: var(--pg-color-highlight);
}

.slick-dots li button:before {
  font-size: 12px;
}

/* position must be adjusted to new size and margin */

.slick-prev {
  display: flex;
  justify-content: flex-end;
}

.slick-next {
  right: calc(-25px + .5rem);
}

.slick-prev:before, .slick-next:before {
  color: var(--pg-color-highlight);
  opacity: 1;
  font-size: 30px;
}

/* hide arrows on mobile devices */

@media (max-width: 576px) {
  .slick-arrow {
    display: none !important;
  }
}


/*-------------------------------*/
/***** Figure Caption Effect *****/
/*-------------------------------*/

figure.pg-horses {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
}

figure.pg-horses img {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  -webkit-transition: transform 0.35s;
  transition: transform 0.35s;
}

figure.pg-horses:hover img {
  transform: scale(1.1);
}


figure.pg-horses figcaption {  
  color: var(--pg-color-dark);
  text-transform: uppercase;
  position: absolute;
  bottom: 10px;
  left: -5px;
  width: 90%;
  text-align: center;
  font-weight: 800;
  font-size: 2rem;
  background-color: rgba(255, 255, 255, 0.6);
  transform: rotate(-2deg);
  transition: background-color 0.35s ease;
  -webkit-transition: background-color 0.35s;
}

figure.pg-horses:hover figcaption {  
  background-color: rgba(255, 255, 255, 1);
}


/* Contact */

#contact {
  color: white;
  background-color: var(--pg-color-dark);
  min-height: 850px;
  position: relative;
  padding-top: 160px;
}

.pg-main-contact {
  font-size: 1.5rem;
}

.pg-underline {
  border-top: 2px solid white;
  height: 8px;
  width: 100%;
}

.pg-contact-item-link span {
  color: white;
  transition: all 0.3s ease;
}

.pg-contact-item-link:hover span {
  color: var(--pg-color-highlight);
}


.legal {
    padding-top: 0;
    font-size: 0.9rem;
    line-height: 1.2rem;
    padding-bottom: 40px;
}


p {
  line-height: 1.9;
}



.pg-split-image::after {
  content: '';
  background-color: red;
  width: 110%;
  height: 110%;
}

@media (min-width: 768px) {
  .pg-split-text-container {
    padding-left: 65px;
  }
}


@media (min-width: 991px) {
}

@media (min-width: 1200px) {
  .container {
    max-width: 1275px;
  }

  .pg-container-gallery {
    max-width: 1290px;
  }

  .pg-container-contact {
    max-width: 1063px;
  }
  
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 767px) and (max-width: 991px) {  
  .navbar {
    font-size: 1rem;
  }
}

@media (max-width: 991px) {

  .pg-split-text-container {
    padding-left: 15px;
    padding-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .pg-split-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .navbar-nav {
    max-width: 200px;
    text-align: right;
  }

  .navbar-collapse {
    background-color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 3px;
  }

  .navbar-collapse .nav-link {
    color: #8f8f8f;
  }
}

@media (max-width: 480px) {
  .pg--gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .slick-dots li {
    margin: 0 8px;
  }

  .pg--gallery-item {
    margin: 0;
  }
}

