/* Tag styles and bootstrap adjustements */

* {
  box-sizing: border-box;
}

a {
     color: #ccc;
}

html,
body {
     margin: 0;
  width: 100%;
  height: 100%;
  font-weight: 300;
  font-size: 18px;
}

.cssvhunit .carousel-home > div {
    height: 100vh;
}

section {
  width: 100%;
  padding: 0 0;
  display: table;
  margin: 0;
  max-width: none;
  height: 100vh;

  &:nth-of-type(2n) {
    background-color: #FE4B74;
  }
}

.carousel .carousel-control-icon {
     color: #333;
         background-color: transparent;
}

.carousel .carousel-control-icon:before {
  border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    width: 1.5em;
    height: 1.5em;
}

.carousel-text-inner {
     display: none;
}

.gallery-row {
     padding: 40px 0;
}

.frame {
     padding: 0;
}

.page2 {
     background-color: #fff !important;
     height: 100%;
     padding-top: 40px;
}

.intro {
}


h1 {
  margin-top: 0;
}

#logo {
     z-index: 1000;
     position: absolute;
    margin: 110px 0 0 0;
    display: none;
}

#address {
     font-size: 20px;
     color: #666;
     margin-top: 40px;
}

.arrowDown {
     margin-left: calc(50% - 4rem);
     margin-right: calc(50% - 4rem);
}

.arrowDown:after{
     content: "";
    width: 3rem;
    height: 3rem;
    margin-top: -120px;
    position: absolute;
    border: 0 solid transparent;
    border-right: .5rem solid #fff;
    border-bottom: .5rem solid #fff;
    transform: rotate(45deg);
    z-index: 1000;
}

/* Carousel item */

.carousel-home {
  position: relative;
  z-index: 101;
}

.carousel-home,
.carousel-home > div,
.carousel-home .carousel,
.carousel-home .carousel-inner,
.carousel-home .carousel-inner > .item {
  height: 100%;
}

.carousel-home .carousel {
  z-index: 100;
}

.carousel-home .frame.default {
  margin: 0;
}

.carousel-indicators {
  display: none;
}

/* Background Overlay for the navigation */

#mobile-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -1;
    transition: background 300ms ease-in-out;
}

/* Mobile Button */

#mobile-btn {
    cursor: pointer;
    display: none;
    position: absolute;
    right: 2%;
    top: 35px;
    width: 54px;
    height: 54px;
    padding: 10px 0 10px 20px;
    z-index: 1000;
}

.inner {
    width: 100%;
    height: 100%;
    position: relative;
}

#mobile-btn .icon-bar {
    width: 34px;
    height: 2px;
    background: #0070ac;
    position: absolute;
    left: 0;
    transition: all 400ms ease;
}

.icon-bar1 {
    top: 4px;
    transform-origin: left top;
}

#mobile-btn.open .icon-bar1 {
    transform: rotate(45deg);
    left: 5px;
}

.icon-bar2 {
    top: 16px;
    opacity: 1;
}

.open .icon-bar2 {
    opacity: 0;
}

.icon-bar3 {
    bottom: 4px;
    transform-origin: left bottom;
}

#mobile-btn.open .icon-bar3 {
    transform: rotate(-45deg);
    left: 5px;
}

/* Grid gallery */

.grid-gallery {
  float: left;
  width: 100%;
}

.grid-gallery .row {
  margin-left: -2px;
  margin-right: -2px;
}

.grid-gallery .row > div {
  padding: 0 2px;
}

.grid-gallery .image {
  margin-bottom: 0;
}

.grid-gallery .image .caption {
  padding: 2px;
}

@keyframes rotate {
  0%   {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

.grid-gallery .glyphicon-repeat {
  animation-name: rotate;
  animation-duration: 0.8s;
  animation-iteration-count: infinite;
  font-size: 2em;
  left: 50%;
  position: relative;
  margin-left: -0.5em;
}

@media screen AND (max-width: 1025px) {

  #mobile-btn {
    display: block;
  }

}

@media screen AND (max-width: 900px) {

  .gallery-item {
    width: 100%;
  }

}


@media screen AND (max-width: 414px) {
     .arrowDown {
          margin-left: calc(60% - 4rem);
          margin-right: calc(50% - 4rem);
     }

     #logo {
          margin: 0;
     }
     #logo img {
              width: 100%;
    }
}

/* TYPO3 14 / bootstrap_package 16: Carousel steckt in zusätzlichen Frame-Wrappern
   (.frame-group-container > ... > .frame-inner) -> feste Höhe statt 100%-Kette */
.carousel-home .carousel,
.carousel-home .carousel-inner,
.carousel-home .carousel-inner > .item {
  height: 100vh;
}
.carousel-home .frame-group-inner,
.carousel-home .frame-container,
.carousel-home .frame-inner {
  margin: 0;
  padding: 0;
  max-width: none;
}

/* Footer mit Pixelwerk-Logo (wie musterwechsel) */
.pixelwerk-footer {
  background: #fff;
  padding: 24px 0;
}
.pixelwerk-footer-copyright {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  color: #212121;
  opacity: .6;
}
.pixelwerk-footer-logo {
  display: inline-flex;
  align-items: center;
  padding-right: 6px;
  border-right: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
}
.pixelwerk-footer-logo:hover {
  color: inherit;
  opacity: .8;
}
.pixelwerk-footer-logo svg {
  width: 1em;
  height: 1em;
}
