/*
 Theme Name:   Ubn24
 Template:     twentytwentyfive
 Version:      1.0.1
 Author: UBN24.UG
*/

/* ////////////////////// */
/*  ANIMATION */
/* ////////////////////// */
.page .gsap-slide-left,
.page .gsap-rise-scale,
.page .gsap-slide-right {
  opacity: 0;
}

/* ////////////////////// */
/*  ANIMATION */
/* ////////////////////// */

.titel-container {
  overflow: hidden;
}

/* ////////////////////// */
/*  FORMS */
/* ////////////////////// */

input,
textarea {
  border: 0;
  padding: 1rem 0;
  border-bottom: 1px solid #e8e8e8;
}

input[type="submit"] {
  background-color: var(--wp--preset--color--primary);
  border-width: 0;
  color: var(--wp--preset--color--base-white);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--medium);
  line-height: inherit;
  padding-top: 1rem;
  padding-right: 2.25rem;
  padding-bottom: 1rem;
  padding-left: 2.25rem;
  text-decoration: none;
}
input[type="submit"]:hover {
  background-color: var(--wp--preset--color--primary-hover);
  color: var(--wp--preset--color--base-white);
  cursor: pointer;
}
.wpcf7 form .wpcf7-response-output {
  margin-left: 0;
}
/* ////////////////////// */
/*  FORMS */
/* ////////////////////// */

/* ////////////////////// */
/* LOGOS SLIDER ANIMATION */
/* ////////////////////// */

.logos-wrapper {
  position: relative;
  display: flex;
  user-select: none;
  gap: 2rem;
  overflow: hidden;
}

.logos-slide {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  min-width: 100%;
  animation: 30s linear infinite logos_slide;
  -moz-animation: 30s linear infinite logos_slide;
  -webkit-animation: 30s linear infinite logos_slide;
  will-change: transform;
  white-space: nowrap;
}

.logos-slide figure {
  border: 1px solid #e4e4e6;
  padding: 2rem;
}

.logos-wrapper .logos-slide img {
  height: 75px;
  width: auto;
}

@media (max-width: 600px) {
  .logos-slide figure {
    padding: 1.5rem;
  }
  .logos-wrapper .logos-slide img {
    max-height: 50px;
  }
}

@keyframes logos_slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.logos-wrapper figure:hover {
  background: #f9f8fc;
}

.logos-wrapper:hover .logos-slide {
  animation-play-state: paused;
}
.logos-wrapper figure:hover img {
  filter: none;
}
/* ////////////////////// */
/* / LOGOS SLIDER ANIMATION */
/* ////////////////////// */

/* ////////////////////// */
/*  LANGUAGE PLUGIN */
/* ////////////////////// */

.widget_polylang ul {
  padding: 0;
  margin: 0;
}
.widget_polylang li {
  list-style: none;
}

/* ////////////////////// */
/*  LANGUAGE PLUGIN */
/* ////////////////////// */

/* ////////////////////// */
/*  MEDIA-TEXT BLOCK */
/* ////////////////////// */

.has-media-on-the-right.wp-block-media-text > .wp-block-media-text__content {
  padding-left: 0;
}

/* ////////////////////// */
/*  MEDIA-TEXT BLOCK */
/* ////////////////////// */

body .product-block {
  overflow: hidden;
}
.more-link a {
  position: absolute;
  z-index: 1;
  bottom: -100%;
  left: 0;
  right: 0;
  transition: bottom 0.4s ease-in-out;
  display: flex;
  align-items: flex-end;
  height: 100%;
  width: 100%;
  padding: 30px;
}
.product-block:hover .more-link a {
  bottom: 0rem;
}

@media screen and (max-width: 600px) {
  .mobile-hidden {
    display: none;
  }
}

/* ////////////////////// */
/*  SCROLL TO TOP BUTTON  */
/* ////////////////////// */

body .scroll-to-top a.wp-block-button__link {
  position: fixed;
  bottom: 10px;
  left: 10px;
  display: none;
  z-index: 1000;
  transition: 0.4s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  width: auto;
  height: auto;
}
body .scroll-to-top a:hover {
  background-color: rgb(70, 70, 70);
}

/* ////////////////////// */
/*  / SCROLL TO TOP BUTTON  */
/* ////////////////////// */

/* ////////////////////// */
/*  FIXED MENU  */
/* ////////////////////// */

.fixed-menu {
  position: relative;
  width: 100%;
  z-index: 2000;
  background-color: white;
  transition: 1s opacity;
}

.fixed-menu.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fixed-menu.is-fixed.hidden {
  display: none;
  opacity: 0;
}

.fixed-menu-placeholder {
  height: 0;
}

/* Media & Text: "Bild ausfüllend zuschneiden" */
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
  position: relative;
  overflow: hidden;
}

.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* slider */

* {
  box-sizing: border-box;
}

#gsap-gallery .gallery {
  width: 100%;
  /* height: 25rem; */
  position: relative;
  overflow: hidden;
}

#gsap-gallery .gallery .cards {
  position: absolute;
  width: 19rem;
  /* height: 13rem; */
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#gsap-gallery .gallery .cards > div {
  padding: 0;
  margin: 0;
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #222;
  display: flex;
  justify-content: center;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
}

#gsap-gallery .gallery .actions {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.drag-proxy {
  visibility: hidden;
  position: absolute;
}

@media (max-width: 1103px) {
  #root {
    display: none;
  }
}
