/* @font-face declarations */
@font-face {
    font-family: articulatcf;
    src: url(sources/fonts/ArticulatCF-Normal.otf);
}

@font-face {
    font-family: articulatcfMedium;
    src: url(sources/fonts/ArticulatCF-Medium.otf);
}

@font-face {
    font-family: articulatcfBoldOblique;
    src: url(sources/fonts/ArticulatCF-ExtraBoldOblique.otf);
}

@font-face {
    font-family: articulatcfMedOblique;
    src: url(sources/fonts/ArticulatCF-MediumOblique.otf);
}

@font-face {
    font-family: articulatcfHeavyOblique;
    src: url(sources/fonts/ArticulatCF-HeavyOblique.otf);
}

@font-face {
    font-family: articulatcfHeavy;
    src: url(sources/fonts/ArticulatCF-Heavy.otf);
}

@font-face {
    font-family: articulatcfNormal;
    src: url(sources/fonts/ArticulatCF-Normal.otf);
}

@font-face {
    font-family: articulatcfBold;
    src: url(sources/fonts/ArticulatCF-Bold.otf);
}

@font-face {
    font-family: articulatcfRegular;
    src: url(sources/fonts/ArticulatCF-Regular.otf);
}

@font-face {
    font-family: articulatcfLight;
    src: url(sources/fonts/ArticulatCF-Light.otf);
}

html {
    scroll-behavior: smooth;
}

/* Footer styles */
.footerText {
    white-space: nowrap;
    font-size: 1.5rem;
    color: #42047E;
}

.footerText:hover {
    font-style: italic;
    text-decoration: underline !important;
    color: #42047E !important;
}

#footerCustom {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100px;
    /* Regola questa altezza come necessario */
}

.footerTextDiv {
    bottom: 0;
    position: absolute;
    flex: 1;
    text-align: center;
    margin-top: 11rem;
}

/* Navbar styles */
.navbar-light .navbar-nav .nav-link {
    color: #42047E !important;
    font-size: 1.7rem;
}

.custom-link {
    font-size: 2rem;
    color: #42047E;
    text-decoration: none;
}

.custom-link:hover {
    font-style: italic;
    text-decoration: underline !important;
}

/* Remove border from toggler */
.navbar-toggler {
    border: 0 !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Toggler icon styles */
.toggler-icon {
    width: 3rem;
    height: 5px;
    background-color: #42047E;
    display: block;
    transition: all 0.5s;
}

/* Adds space between the lines */
.middle-bar {
    margin: 5px auto;
}

/* State when navbar is opened */
.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

/* State when navbar is collapsed */
.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}

/* Color of toggler when collapsed */
.navbar-toggler.collapsed .toggler-icon {
    background-color: #42047E;
}

.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    display: block;
    transition: all 0.3s;
}

/* Hero section text */
.heroTextDiv {
    color: #42047E;
}

.heroText {
    font-size: 10rem;
    line-height: 0.9;
    margin-top: 4rem;
}

/* Section styles */
.section {
    min-height: 100vh;
    height: auto;
    display: block;
    justify-content: center;
    align-items: center;
}

.section-0 {
    background-color: white;
    color: #42047E
}

.paddingSec0 {
    padding-top: 20rem;
}

.bigTextSection0 {
    font-size: 7rem;
}

.section-1 {
    background-color: #42047E;
    color: #F7F7F7;
}

.section-2 {
    background-color: #F7F7F7;
    color: #42047e;
}

.section-3 {
    background-color: #07f49e;
    color: #42047E;
}

.section-4 {
    background-color: #ffff;
    color: #07f49e;
}

.section-5 {
    background-color: #e1d9d9;
    color: #42047E;
}

.bigTextSection4 {
    font-size: 5rem;
    color: #07f49e;
}

.paddingSec4 {
    padding-top: 15rem;
    padding-right: 8rem;
    padding-left: 8rem;
}

.fade-in {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
}

.statsDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

.container {
    text-align: left;
    max-width: 900px;
}

.metricsHeader {
    margin-bottom: 15rem;
}

.header {
    font-size: 8rem;
    font-weight: bold;
}

.subheader {
    font-size: 1.5rem;
    margin: 20px 0;
    max-width: 60%;
}

.verticalLine {
    content: '';
    display: block;
    width: 1px;
    height: 8rem;
    /* Adjust the height as needed */
    background-color: #F7F7F7;
    position: relative;
    left: 1px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.content {
    font-size: 1.3rem;
    max-width: 70%;
    margin-top: 20px;
}

.metrics {
    text-align: left;
    padding-left: 10rem;
    margin-top: 8rem;
    line-height: 1;
}

.metric {
    font-size: 9rem;
    font-weight: bold;
    margin-top: 2rem;
    font-family: articulatcfMedOblique;
}

.metric-text {
    font-size: 1.3rem;
    font-family: articulatcfLight;
}

/* FOR SECTION 02 */

.metricsSec2 {
    text-align: left;
    margin-top: 13rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    font-size: 2.4rem;
    color: #4B0082;
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
}

.benefits-list-products-white li {
    color: #F7F7F7;
}

.benefits-list li::before {
    content: '';
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="45" height="45" viewBox="0 0 24 24" stroke-width="2" stroke="%234B0082" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><line x1="7" y1="7" x2="17" y2="17"/><polyline points="17 8 17 17 8 17"/></svg>') no-repeat center center;
    width: 45px;
    height: 45px;
    position: absolute;
    text-decoration: bold;
    left: 0;
    top: 15px;
}

.benefits-list-products-white li::before {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="45" height="45" viewBox="0 0 24 24" stroke-width="2" stroke="%23F7F7F7" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><line x1="7" y1="7" x2="17" y2="17"/><polyline points="17 8 17 17 8 17"/></svg>') no-repeat center center;
}


.pipeImage {
    width: 110%;
    margin-top: 8rem;
    margin-left: -5rem;
    transition: all 0.5s ease;
}

.footerBackSize {
    font-size: 3rem;
    padding-left: 10rem;
    transition: all 0.5s ease;
}

.footerImg {
    width: 11rem;
    transition: all 0.5s ease;
}

.footerTextSize {
    font-size: 1.5rem;
    margin-top: 2rem;
    transition: all 0.5s ease;
}

.footerTitleTextSize {
    font-size: 2.5rem;
    transition: all 0.5s ease;
}

.footerLinkSize {
    font-size: 1.3rem;
    padding: 5rem;
    transition: all 0.5s ease;
}

/* PRODUCTS PAGE */

.heroTextProducts {
    font-size: 6rem;
    margin-top: 29rem;
    position: relative;
    right: 30%;
    white-space: nowrap;
}

.whatYouNeedDiv {
    margin-top: 10rem;
    position: relative;
    right: 30%;
    font-size: 5rem;
}

.peopleMainDiv {
    margin-top: 10rem;
    position: relative;
    right: 30%;
    font-size: 4.5rem;
}



/**************************** MANAGING MEDIA QUERIES *****************************/

@media (max-height: 530px) {
    .heroText {
        font-size: 2rem !important;
        line-height: 0.9;
        margin-top: 0 !important;
    }

    .heroTextProducts {
        font-size: 2rem !important;
        line-height: 0.9;
        margin-top: 0 !important;
    }

}

@media (max-height: 830px) {
    .heroTextProducts {
        margin-top: 15rem !important;
    }

}

@media (max-width: 1480px),
(max-height: 900px) {
    .heroText {
        font-size: 7rem;
        margin-top: 3rem;
    }

    .paddingSec0 {
        padding-top: 8rem;
    }


    /* Handling Section 01 */

    .header {
        font-size: 5rem;
        font-weight: bold;
    }

    .subheader {
        font-size: 1.2rem;
        margin: 20px 0;
        max-width: 80%;
    }

    .verticalLine {
        display: block;
        height: 4rem;
        /* Adjust the height as needed */
    }

    .content {
        font-size: 1.2rem;
        max-width: 80%;
        margin-top: 20px;
    }

    .metric {
        font-size: 6rem;
        margin-top: 2rem;
    }

    .metric-text {
        font-size: 1.2rem;
    }

    /* Handling Section 02 */

    .benefits-list li {
        font-size: 1.8rem;
    }

    .benefits-list li::before {
        top: 8px;
    }

    /* Handling Section 03 */

    .pipeImage {
        width: 100%;
        margin-top: 6rem;
        margin-left: -2rem;
    }

    /* Handling Section 04 */

    .bigTextSection4 {
        font-size: 4rem;
        color: #07f49e;
    }

    .paddingSec4 {
        padding-top: 5rem;
        padding-right: 6rem;
        padding-left: 6rem;
    }

    /* Handling Footer (SECTION 05) */

    .footerBackSize {
        font-size: 3rem;
    }

    .footerTitleTextSize {
        font-size: 2rem;
    }

    .footerTextSize {
        font-size: 1.3rem;
        margin-top: 2rem;
    }

    .footerLinkSize {
        font-size: 1.2rem;
    }

    /* Handling PRODUCTS page */

    .heroTextProducts {
        font-size: 5rem;
        margin-top: 25rem;
        position: relative;
        right: 8%;
        white-space: nowrap;
    }

    .whatYouNeedDiv {
        margin-top: 10rem;
        position: relative;
        right: 8%;
        font-size: 5rem;
    }

    .peopleMainDiv {
        margin-top: 10rem;
        position: relative;
        right: 8%;
        font-size: 4rem;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        text-align: center;
        margin: 0 !important;
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 5rem;
    }

    .nav-item {
        margin: 0.5rem 0;
        /* Spazio verticale tra i link */
    }

    .nav-link {
        font-size: 3rem !important;
        /* Aumenta la dimensione del testo */
    }

    .footerTextDiv {
        margin-top: 7rem;
    }

    .heroText {
        font-size: 6.5rem;
    }


    /* Handling PRODUCTS page */

    .heroTextProducts {
        font-size: 3.5rem;
        margin-top: 25rem;
        position: relative;
        right: 0%;
        white-space: nowrap;
    }

    .whatYouNeedDiv {
        margin-top: 10rem;
        position: relative;
        right: 0%;
        font-size: 3.5rem;
    }

    .peopleMainDiv {
        margin-top: 10rem;
        position: relative;
        right: 0%;
        font-size: 3rem;
    }
}

/* Max width 991px  (MOBILE) */
@media (max-width: 991px),
(max-height: 700px) {

    #companyLogo {
        width: 90%;
    }

    .heroText {
        margin-top: 1rem;
    }

    /* Handling Section 01 */

    .header {
        font-size: 5rem;
        font-weight: bold;
    }

    .subheader {
        font-size: 1.2rem;
        margin: 20px 0;
        max-width: 100%;
    }

    .verticalLine {
        display: block;
        height: 2rem;
        /* Adjust the height as needed */
    }

    .content {
        font-size: 1.2rem;
        max-width: 90%;
        margin-top: 20px;
    }

    .metric {
        font-size: 5rem;
        margin-top: 2rem;
    }

    .metric-text {
        font-size: 1rem;
    }

    /* Handling Section 02 */

    .benefits-list li {
        font-size: 1.5rem;
    }

    .benefits-list li::before {
        top: 3px;
    }

    /* Handling Section 03 */

    .pipeImage {
        width: 100%;
        margin-top: 8rem;
        margin-left: 0;
    }

    /* Handling Section 04 */

    .bigTextSection4 {
        font-size: 3rem;
        color: #07f49e;
    }

    .paddingSec4 {
        padding-top: 10rem;
        padding-right: 6rem;
        padding-left: 6rem;
    }

    /* Handling Footer (SECTION 05) */

    .footerBackSize {
        font-size: 2.5rem;
        padding-left: 0;
    }

    .footerImg {
        width: 9rem;
    }

    .footerTitleTextSize {
        font-size: 2rem;
    }

    .footerTextSize {
        font-size: 1.3rem;
        margin-top: 0.5rem !important;
    }

    .footerLinkSize {
        font-size: 1rem;
    }

}

/* Max width 767px */
@media (max-width: 767px),
(max-height: 600px) {
    #companyLogo {
        width: 80%;
    }

    .heroText {
        font-size: 4.5rem;
        line-height: 1.3;
    }

    .bigTextSection0 {
        font-size: 3rem;
        margin-top: 2rem;
    }

    /* Handling Section 01 */
    .metricsHeader {
        margin-bottom: 1rem;
    }

    .header {
        font-size: 4rem;
        font-weight: bold;
    }

    .subheader {
        font-size: 1rem;
        margin: 20px 0;
        max-width: 100%;
    }

    .verticalLine {
        display: block;
        height: 1rem;
        /* Adjust the height as needed */
    }

    .content {
        font-size: 1rem;
        max-width: 90%;
    }

    .metrics {
        text-align: left;
        padding-left: 1rem;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 1;
    }

    .metric {
        font-size: 4rem;
        margin-top: 1.5rem;
    }

    .metric-text {
        font-size: 1rem;
    }

    /* Handling Section 02 */

    .metricsSec2 {
        text-align: left;
        margin-top: 3rem;
    }

    .benefits-list li {
        padding-left: 0;
        font-size: 1.3rem;

    }

    .benefits-list li::before {
        left: -45px;
        top: 0;
    }

    .benefits-list-products li {
        padding-left: 40px;
        font-size: 1.5rem;
    }

    .benefits-list-products li::before {
        width: 45px;
        height: 45px;
        left: 0;
        top: 0;
    }

    /* Handling Section 03 */

    .pipeImage {
        width: 80%;
        margin-top: 2rem;
        margin-left: 0;
    }

    /* Handling Section 04 */

    .bigTextSection4 {
        font-size: 2.5rem;
        color: #07f49e;
    }

    .paddingSec4 {
        padding-top: 10rem;
        padding-right: 4rem;
        padding-left: 4rem;
    }


    /* Handling Footer (SECTION 05) */

    .footerBackSize {
        font-size: 2.5rem;
        padding-left: 0;
    }

    .footerImg {
        width: 9rem;
    }

    .footerTitleTextSize {
        font-size: 2rem;
    }

    .footerTextSize {
        font-size: 1.3rem;
        margin-top: 2rem;
        text-align: center !important;
    }

    .footerLinkSize {
        font-size: 1rem;
        padding: 0px;
    }

}

@media (max-height: 650px) {
    .heroTextProducts {
        margin-top: 10rem !important;
    }

}

@media (max-height: 600px) {
    .heroTextProducts {
        font-size: 2rem !important;
        margin-top: 8rem !important;
    }

}

/* Max width 492px  (IPHONE X) */
@media (max-width: 492px),
(max-height: 400px) {
    .heroText {
        font-size: 3rem;
    }

    .heroTextDiv {
        margin-top: 6rem;
    }

    #companyLogo {
        width: 65%;
    }

    .footerText {
        font-size: 1rem;
    }

    .metric {
        font-size: 2.5rem;
        margin-top: 1.2rem;
    }

    .metric-text {
        font-size: 1rem;
    }


    /* Handling Section 02 */

    .benefits-list li {
        padding-left: 0;
        font-size: 1.1rem;

    }

    .benefits-list li::before {
        left: -45px;
        top: -5px;
    }

    /* Handling Section 03 */

    .pipeImage {
        width: 90%;
        margin-top: 2rem;
        margin-left: 0;
    }


    /* Handling Section 04 */

    .bigTextSection4 {
        font-size: 2rem;
    }

    .paddingSec4 {
        padding-top: 15rem;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    /* Handling PRODUCTS page */

    .heroTextProducts {
        font-size: 2.5rem;
        margin-top: 25rem;
        position: relative;
        right: 0%;
        white-space: nowrap;
    }

    .whatYouNeedDiv {
        margin-top: 10rem;
        position: relative;
        right: 0%;
        font-size: 2.5rem;
    }

    .benefits-list-products li {
        padding-left: 40px;
        font-size: 1.5rem;
    }

    .benefits-list-products li::before {
        width: 45px;
        height: 45px;
        left: 0;
        top: 0;
    }
}