.slideshow {
    height: 100svh;
    position: relative;
    overflow: hidden;
}

.slideshow .custom {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
}



.slideshow .mod-custom:nth-child(2),
.slideshow .mod-custom:nth-child(2) div {
    height: 100% !important;
    position: absolute !important;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}


.slideshow .custom:first-child {
    z-index: 3;
    text-shadow: 0.2rem 0.2rem 0 rgba(0, 0, 0, .6);
    text-wrap: balance;
}


.slideshow .custom .pagebuilderck > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100svh;

}

.slideshow .custom:last-child {
    z-index: 1;
    padding: 0;
    position: relative;
}

.slideshow .custom:last-child:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

#row_slideshow * {
    color: #fff;
}

.cameraContent video {
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 480px) {
    .slideshow h1 {
        font-size: 7rem;
        line-height: 6rem;
    }
}

@media (min-width: 768px) {
    .slideshow h1 {
        font-size: 8rem;
        line-height: 6.5rem;
    }
}

.slideshow {
    overflow: hidden;
}

.slideshow .animazione {
    position: relative;
    z-index: 1;
}

.slideshow:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: red;
    height: 30rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}

@media (max-width: 767px) {
    .slideshow:before {
        z-index: 4;
    } 
}

@media (min-width: 768px) {
    .slideshow:before {
        z-index: 2;
    } 
}



#materiali:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30rem;
    z-index: 2;
background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 80%);

}

#materiali:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30rem;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 80%);
}

.slideshow .menuright {
    position: absolute;
    right: 20%;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
}




.slideshow .menuright ul {
    width: 30rem;
    font-size: 3rem;
    color: #fff;
    position: relative;
    padding: 0;
    list-style-type: none;
    line-height: 5rem;
}


.slideshow .menuright ul li {
    position: relative;
}

.slideshow .menubottom ul li.due {
    margin-left: 3rem;
}

.slideshow .menubottom ul li.tre {
    margin-left: 6rem;
}

.slideshow .menuright ul li .link1 {
    height: 3.4rem;
}

.slideshow .menuright ul li .link1 {
	background: url("../images/slideshow/link1.png") no-repeat left center;
	display: block;
	height: 5rem;
	left: 32rem;
	top: 0;
	position: absolute;
	width: 500px;
}



.slideshow .menuright ul li a {
    color: #fff;
    font-weight: 300;
}

.slideshow .menuright ul li a:hover,
.slideshow .menuright ul li a:focus {
    color: #dadada;
    text-decoration: none;
}
@media (max-width: 767px) {
    .slideshow .menubottom {
        margin-bottom: 28rem;
    }
}

@media (min-width: 768px) {
    .slideshow .menubottom {
        margin-bottom: 8rem;
    }
}


.slideshow .menubottom ul {
    font-size: 2.4rem;
    color: #fff;
    position: relative;
    list-style-type: none;
    text-align: left;
    line-height: 5rem;
    margin: 0;
}

.slideshow .menubottom ul li {
    position: relative;
}

.slideshow .menubottom ul li.due {
    margin-left: 40px
}

.slideshow .menubottom ul li.tre {
    margin-left: 80px
}

.slideshow .menubottom ul li a {
    color: #fff;
    font-weight: 300;
}

.slideshow .menubottom ul li a:active,
.slideshow .menubottom ul li a:focus,
.slideshow .menubottom ul li a:hover {
    color: #dadada;
    text-decoration: none;
}



.slideshow .logo img {
    position: absolute;
    top: 5%;
    left: 0;
    right: 0;
    width: clamp(35rem, 30.7143rem + 21.4286vw, 50rem);
    z-index: 99999;
    margin: 0 auto;

}

.slideshow::after {
    font-family: "Fontawesome";
	content: '\f107';
	font-size: 5rem;
	position: absolute;
	bottom: 0;
	right: 5rem;
	z-index: 9;
	text-align: center;
	color: var(--color-primary);
	-webkit-animation-name: scroll;
	-webkit-animation-duration: 1.5s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	animation-name: scroll;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}

@-webkit-keyframes scroll {
    from {
        bottom: 5rem;
        opacity: 0;
    }
    to {
        bottom: 2rem;
        opacity: 1;
    }
}
@keyframes scroll {
    from {
        bottom: 5rem;
        opacity: 0;
    }
    to {
        bottom: 2rem;
        opacity: 1;
    }
}
