/* CSS Document */

#myCarousel .carousel-item {
    position: relative;
}

#myCarousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

div#pnl_slide .carousel-caption.slide a {
    margin-top: 2rem;
}

@media only screen and (max-width: 991px) {
	div#pnl_slide .carousel-caption.slide a {
		width: 100%;
		margin-top: 1.4rem;
	}
}

div#pnl_slide .carousel-caption.slide h1 {
    margin-bottom: 2rem;
	font-size: clamp(3rem, 1rem + 4vw, 6rem) !important;
}

div#pnl_slide .carousel-caption.slide {
    top: 50% !important;
    transform: translateY(-50%);
    margin: 0 auto;
    text-wrap: pretty;
	    right: 1.4rem;
    left: 1.4rem;
}

section.francesco {
    position: relative;
    min-height: 600px; /* Adjust as needed */
    background-color: var(--fb-brand); /* Fallback color */
    overflow: hidden;
}

/* Make the video cover the entire section area */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Recreating your linear-gradient(rgba(0, 0, 0, .3)) overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Ensure content stays on top of video and overlay */
section.francesco .row {
    z-index: 2;
}


.fb-header {
    background: url(https://datacenter-a1.vudoo.org/39000867/images/fb-symbol.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 5rem 0 5rem 0 !important;
}

.filter-bright {
	transition: all .5s ease;

}

.filter-bright:hover {
	filter: brightness(1.2);
	transform: scale(1.04);
}


/* Slider Text Animation */
	
@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateY(2rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


#pnl_slide .carousel-caption.slide h1 {
	animation: slideFromLeft 1s ease forwards;
	font-weight: bold;
}

#pnl_slide .carousel-caption.slide h6,
#pnl_slide .carousel-caption.slide p {
	animation: slideFromLeft 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

#pnl_slide .carousel-caption.slide a {
	animation: slideFromLeft 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

section.social a:hover i {
    color: var(--fb-brand) !important;
}

section.social a:hover {
	text-decoration: none;
}


/* Partner Loghi */

	@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.carousel-aziende {
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
  position: relative;
}

/* GRADEINTS
.carousel-aziende:before,
.carousel-aziende:after {
  position: absolute;
  top: 0;
  width: 25%;
  height: 100%;
  content: "";
  z-index: 2;
}

.carousel-aziende:before {
  left: 0;
      background: linear-gradient(to left, #ffffff00, #ffffff);
}

.carousel-aziende:after {
  right: 0;
  background: linear-gradient(to right, #ffffff00, #ffffff);
}
*/

.carousel-aziende-container {
  display: inline-block;
  animation: 100s slide infinite linear;
}

.carousel-aziende-container.slidetoright {
	animation-direction: reverse;
}

.carousel-aziende-container img {
  height: 180px;
	opacity: .4;
	    margin: 0 1rem;
}

.carousel-aziende-container img:hover {
	opacity: 1;
}