@import url('../../fonts/din-next-lt-pro/stylesheet.css');
@import url('../../fonts/InriaSerif/stylesheet.css');
@import url('../../fonts/Montserrat/stylesheet.css');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
    --primary-color: #F80129;
}

html {
    overflow-x: hidden;
}

body {
    background-color: #000;
    font-family: 'Montserrat';
}

p {
    font-family: 'Inria Serif';
    font-size: 18px;
}

.topbar {
    padding: 0;
    background-color: rgba(0, 0, 0, 1);
    font-size: 14px;
    font-weight: 300;
    overflow: hidden;
    height: 37px;
    line-height: 37px;
}

.topbar .nav-link {
    font-size: 14px;
    margin-left: 20px;
    color: #fff;
    font-weight: 300;
}

.topbar .nav-item:last-child .nav-link {
    margin-left: 0;
}

#menutop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

#menutop * {
    transition: all 0.3s ease-in-out;
}

#menutop .logo {
    width: 307px;
}

#header_menu .navbar {
    padding: 10px 0 100px;
    background-color: transparent;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
}

#header_menu .navbar-nav .nav-item .nav-link {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 0 20px;
}

#header_menu .navbar-nav .nav-item:last-child .nav-link {
    padding-right: 0;
}

.topbar .nav-link:hover,
#header_menu .navbar-nav .nav-item .nav-link:hover {
    color: var(--primary-color);
}

#menutop.scrolled #header_menu .navbar {
    padding: 0;
    background-color: rgba(0, 0, 0, 0.85);
}

#menutop.scrolled .topbar {
    height: 0;
}

#menutop.scrolled .logo {
    width: 210px;
}

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

.text_logo {
    text-align: right;
}

.text_logo svg {
    width: 260px;
    height: auto;
}

#menutop.scrolled .text_logo {
    display: none;
}

@media screen and (max-width: 767px) {
    .topbar {
        display: none;
    }

    #header_menu .offcanvas {
        background-color: rgba(0, 0, 0, 0.85);
    }

    #header_menu .navbar-nav {
        height: 100%;
    }

    #menutop .logo {
        height: auto;
        width: 100%;
    }

    .text_logo svg {
        width: 180px;
        height: auto;
    }

    .logo_offcanvas,
    #menutop.scrolled .logo {
        width: 180px;
    }
}

.menu_close,
.menu_hamburger {
    color: #fff;
    font-size: 30px;
    border: none;
}

.menu_close:focus,
.menu_hamburger:focus {
    outline: none;
    box-shadow: none;
}

.hero {
    background-image: url('../img/bg_hero.png');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
}

.text_hero {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding-bottom: 50px;
    padding-top: 150px;
}

@media screen and (max-width: 767px) {
    .hero {
        height: auto;
    }

    .text_hero {
        position: relative;
        padding-top: 250px;
    }
}

.title_hero {
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 72px;
    font-family: 'DIN Next LT Pro';
    font-size: clamp(62px, 10vw, 92px);
}

.subtitle_hero {
    font-weight: 300;
    font-family: 'DIN Next LT Pro';
    margin-bottom: 0;
    font-size: clamp(42px, 10vw, 62px);
}

.btn_red {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 35px;
    margin-top: 30px;
    display: inline-block;
    text-decoration: none;
    border-radius: 40px;
}

.badge_hero {
    width: 200px;
    height: auto;
}

@media screen and (max-width: 767px) {
    .hero .badge_hero {
        width: 100px;
        height: auto;
    }
}

.badge_home {
    width: 100%;
    height: auto;
}

.big_title {
    font-size: clamp(62px, 10vw, 82px);
    font-weight: 500;
    font-family: 'DIN Next LT Pro';
    margin-bottom: 20px;
    line-height: 72px;
}

.big_sub {
    font-size: 54px;
    font-weight: 500;
    font-family: 'DIN Next LT Pro';
    margin-bottom: 0;
    line-height: 52px;
}

@media (min-width: 1024px) {
    .big_sub {
        text-wrap-mode: nowrap;
    }
}

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

.band_badge {
    position: relative;
    margin-top: -55px;
    margin-bottom: -55px;
}

.band_badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(179, 4, 4, 1) 50%, rgba(255, 0, 0, 1) 100%);
    height: 100px;
    z-index: -1;
}

.band_badge span {
    color: #fff;
    font-family: 'DIN Next LT Pro';
    font-size: 32px;
    font-weight: 500;
    text-wrap-mode: nowrap;
}

.cont_product {
    padding-top: 100px;
    background-color: #D6D0BE;
}

.lista_prodotti {
    height: 1000px;
}

.bg_product {
    background-image: url("../img/bg_product.webp");
    background-repeat: no-repeat;
    background-size: cover;
    height: 1000px;
    background-position: top center;
}

@media screen and (max-width: 767px) {
    .bg_product {
        height: 300px;
    }
}

.section_cta {
    padding: 150px 0;
    background-image: url("../img/bg_black.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.cta_title {
    font-family: 'DIN Next LT Pro';
    font-size: 58px;
    line-height: 52px;
}

.section_cta .btn_red {
    padding: 10px 25px;
}

.section_features {
    padding: 260px 0 0;
    background-image: url("../img/bg_black.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.section_features h2 {
    font-family: 'DIN Next LT Pro';
    font-size: clamp(52px, 10vw, 72px);
    line-height: 62px;
    color: #fff;
    text-align: center;
    z-index: 3;
    position: relative;
}

.band_features_sx,
.band_features_dx {
    position: absolute;
    top: 108px;
    left: -77px;
    z-index: 1;
    transform: rotateZ(-30deg);
    text-align: center;
    color: #000;
    width: 500px;
}

.band_features_sx::before,
.band_features_dx::before {
    content: " ";
    background-color: #D2BD99;
    width: 700px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
}

.band_features_sx img,
.band_features_dx img {
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%) rotateZ(25deg);
    z-index: 2;
}

.band_features_sx span,
.band_features_dx span {
    position: relative;
    z-index: 3;
    font-family: 'DIN Next LT Pro';
    font-size: 22px;
}

.band_features_dx {
    top: auto;
    left: auto;
    bottom: 48px;
    right: -87px;
}

.pomodori {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

.container_section_features {
    position: relative;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 200px;
}

.image_pala_pizza {
    display: inline-block;
    width: 55%;
    height: auto;
}


/* Timeline */
/*===============*/

/*Combined*/
.timeline-container {
    text-align: center;
}

.timeline-container,
.timeline-container li {
    position: relative;
}

.timeline-container:after,
.timeline-container li:before,
.timeline-container li>div:before,
.timeline-container li:first-child div:after,
.timeline-container li:last-child div:after {
    content: '';
    position: absolute;
}

/* color */
.timeline-container li>div,
.timeline-container li:before,
.timeline-container li>div:before {
    background-color: #fff;
}

.timeline-container:after,
.timeline-container li:first-child div:after,
.timeline-container li:last-child div:after {
    left: 50%;
    transform: translateX(-50%);
}


.timeline-container ul {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 90%;
    list-style: none;
}

.timeline-container li:after {
    clear: both;
    content: '';
    display: table;
}

.timeline-container li {
    margin: 0;
    width: 50%;
}

.timeline-container li p {
    margin: 0;
    padding: 0;
    font-family: 'DIN Next LT Pro';
    font-size: 22px;
}

.timeline-container li:first-child {
    margin-top: 0;
}

.timeline-container li:last-child {
    margin-bottom: 0;
}

/*timeline content*/
.timeline-container li>div {
    width: 190px;
    height: 190px;
    color: #fff;
    padding: 15px 25px;
    border-radius: 100%;
    border: 2px solid #fff;
    background-color: transparent;
    display: flex;
    align-items: center;
    text-align: center;
}

.timeline-container li:nth-child(odd)>div {
    float: left;
}

.timeline-container li:nth-child(even)>div {
    float: right;
}

.rotate-15 {
    transform: rotateZ(15deg);
}

.rotate-15 p {
    transform: rotateZ(-15deg);
}

.rotate--15 {
    transform: rotateZ(-15deg);
}

.rotate--15 p {
    transform: rotateZ(15deg);
}

/* Main vertical line middile */
.timeline-container:after {
    width: 2px;
    height: 100%;
    top: 0;
    bottom: 0;
}

/* Horizontal line */
.timeline-container li>div:before {
    height: 2px;
    left: 190px;
    width: 150px;
    top: 95px;
}

.timeline-container li:nth-child(even) div:before {
    left: auto;
    right: 190px;
}


.timeline-container li:last-child div:after {
    top: auto;
    bottom: 0;
}


/* Responsive CSS */
@media screen and (max-width: 767px) {

    /* .image_pala_pizza {
        display: inline-block;
        position: sticky;
        top: 200px;
        width: 600px;
        height: auto;
        transform: translateX(50%);
    } */
    .image_pala_pizza {
        display: none;
    }

    .container_section_features {
        width: 100%;
    }

    .container_section_features::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0%;
        height: 100%;
        background-image: url(../img/pala_pizza.webp);
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: contain;
        background-position: center 60px;
        width: 100%;
        margin: 0 10px;
    }

    .timeline-container {
        padding: 100px 20px;
    }

    .timeline-container ul {
        display: block;
        position: relative;
    }

    .timeline-container li div:before {
        display: none;
    }

    .timeline-container li {
        margin: 0;
        width: 100%;
    }

    .timeline-container li>div {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 600px) {
    .feature {
        width: 80px;
        font-size: 0.8rem;
        padding: 5px;
    }
}

.bg_manipizza {
    background-image: url(../img/manipizza.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
    height: 1000px;
}

.section-green {
    background-color: #013927;
    background: linear-gradient(0deg, rgba(0,27,19,1) 0%, rgba(1,57,39,1) 50%);
    padding: 150px 0;
    position: relative;
}

.container_text_scroll{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
}
.section-green .pala_pizza {
    position: relative;
    max-width: 450px;
    width: 100%;
}
.text_scroll{
    overflow: hidden;
    position: relative;
}
.stage_animation {
    /* overflow: hidden; */
    white-space: nowrap;
    display: inline-block;
    animation: stage_animation 130s linear infinite;
    margin-top: 0;
}

.stage_animation span {
    display: inline-block;
    font-size: clamp(62px, 10vw, 82px);
    font-weight: 500;
    font-family: 'DIN Next LT Pro Condensed';
    margin: 0;
    line-height: clamp(55px, 10vw, 72px);
}
.l2r {
    animation: stage_animation_l2r 130s linear infinite;
}
.section-green .logo{
    width: 250px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* .text_scroll .stage_animation:last-child,
.text_scroll .stage_animation:first-child {
    filter: blur(4em);
} */

@keyframes stage_animation {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}
@keyframes stage_animation_l2r {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.section-pizze{
    background-image: url(../img/sfondo_pizze.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    padding-top: 100px;
}
.sfondo_mezzapala{
    background-image: url(../img/mezza_pala.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    padding: 190px 85px 0;
    text-align: center;
}

@media (max-width: 600px) {
    .sfondo_mezzapala{
        padding: 190px 10px 0;
    }
}

@media (max-width: 1024px) {}

@media (max-width: 600px) {}

@media (max-width: 768px) {}