﻿@media (min-width: 576px) {

    .modal-dialog {
        max-width: 800px !important;
        margin: 1.75rem auto;
    }   
}

@media (max-width: 908px) {
    #videoDesktop {
        display: none;
    }

    #videoMobile {
        display: block !important;
    }
    .landing-page .content .image img {
        max-width:100%;
    }

    #ContactMobile {
        display: block !important;
    }
    #ContactDesktop {
        display: none;
    }
    #titleone {
        display: block;
    }

    #titletwo {
        display: block;
    }

    #titlefour {
        display: block;
    }

    #spaceB, #spaceBar, #spaceBar1 {
        display: none;
    }

    #ArLandingDesktop {
        display: none;
    }

    #ArLandingMobile {
        display: block !important;
    }

    #GeordieLandingDesktop {
        display: none;
    }

    #LudiLandingDesktop {
        display: none;
    }
    #SegniLandingDesktop {
        display: none;
    }
    #LudiLogoDesktop {
        display: none;
    }
    #LudiLandDesk {
        display: none;
    }
    #ProvaOraLud {
        display: none;
    }
    #ProvaOraSegni {
        display: none;
    }
    
    #LudiLandingMobile {
        display: block !important;
    }
    #GeordieLandingMobile {
        display: block !important;
    }
    #SegniLandingMobile {
        display: block !important;
    }

    #projectButton {
        display:none;
    }

    .titleHome {
        display:block !important;
    }

    .bkgmobile {
        display: block !important;
    }
    .Imgbkgmobile {
       width:100%;
    }

    .three .columns {
        margin-left: 50%;
    }

    #testimonialMobile {
        display: block !important;
    }
    #testimonialDeskTop {
        display: none;
    }
    .GridFooter--1of3 > .GridFooter-cell:first-of-type {
        flex: 0 0 100%;
    }
    .item-5-s {
        display:none;
    }
    .title h1 {
        font-size: 6rem !important;
    }

    .background h1 {
        font-size: 5rem;
    }
}


@media (max-width: 768px) {
    .cookies-banner-container {
        height: 300px;
    }

    .cookies-banner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 1.5rem;
    }

        .cookies-banner .cookies-banner__info-text {
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
        }
}



@media (max-width: 725px) {
    #desktopfooter {
        display: none !important;
    }

    #mobilefooter {
        display: block !important;
        display: flex !important;
    }
}


@media (max-width: 725px) {
    #desktopNav {
        display: none !important;
    }

    #mobileNav {
        display: flex !important;
        align-content: stretch;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        flex-direction: column;
    }
}


/* For devices larger than 400px */
@media (min-width: 400px) {
    .container {
        width: 85%;
        padding: 0;
    }
}

/* For devices larger than 550px */
@media (min-width: 550px) {
    .container {
        width: 80%;
    }

    .column, .columns {
        margin-left: 4%;
    }

        .column:first-child, .columns:first-child {
            margin-left: 0;
        }

    .one.column, .one.columns {
        width: 4.66666666667%;
    }

    .two.columns {
        width: 13.3333333333%;
    }

    .three.columns {
        width: 22%;
    }

    .four.columns {
        width: 30.6666666667%;
    }

    .five.columns {
        width: 39.3333333333%;
    }

    .six.columns {
        width: 48%;
    }

    .seven.columns {
        width: 56.6666666667%;
    }

    .eight.columns {
        width: 65.3333333333%;
    }

    .nine.columns {
        width: 74.0%;
    }

    .ten.columns {
        width: 82.6666666667%;
    }

    .eleven.columns {
        width: 91.3333333333%;
    }

    .twelve.columns {
        width: 100%;
        margin-left: 0;
    }

    .one-third.column {
        width: 30.6666666667%;
    }

    .two-thirds.column {
        width: 65.3333333333%;
    }

    .one-half.column {
        width: 48%;
    }
    /* Offsets */
    .offset-by-one.column, .offset-by-one.columns {
        margin-left: 8.66666666667%;
    }

    .offset-by-two.column, .offset-by-two.columns {
        margin-left: 17.3333333333%;
    }

    .offset-by-three.column, .offset-by-three.columns {
        margin-left: 26%;
    }

    .offset-by-four.column, .offset-by-four.columns {
        margin-left: 34.6666666667%;
    }

    .offset-by-five.column, .offset-by-five.columns {
        margin-left: 43.3333333333%;
    }

    .offset-by-six.column, .offset-by-six.columns {
        margin-left: 52%;
    }

    .offset-by-seven.column, .offset-by-seven.columns {
        margin-left: 60.6666666667%;
    }

    .offset-by-eight.column, .offset-by-eight.columns {
        margin-left: 69.3333333333%;
    }

    .offset-by-nine.column, .offset-by-nine.columns {
        margin-left: 78.0%;
    }

    .offset-by-ten.column, .offset-by-ten.columns {
        margin-left: 86.6666666667%;
    }

    .offset-by-eleven.column, .offset-by-eleven.columns {
        margin-left: 95.3333333333%;
    }

    .offset-by-one-third.column, .offset-by-one-third.columns {
        margin-left: 34.6666666667%;
    }

    .offset-by-two-thirds.column, .offset-by-two-thirds.columns {
        margin-left: 69.3333333333%;
    }

    .offset-by-one-half.column, .offset-by-one-half.columns {
        margin-left: 52%;
    }
}
/* Larger than phablet */
@media (min-width: 550px) {
    h1 {
        font-size: 5.0rem;
    }

    h2 {
        font-size: 4.2rem;
    }

    h3 {
        font-size: 3.6rem;
    }

    h4 {
        font-size: 3.0rem;
    }

    h5 {
        font-size: 2.4rem;
    }

    h6 {
        font-size: 1.5rem;
    }
}

p {
    margin-top: 0;
}



@media only screen and (max-height: 700px) {
    .title h1 {
        font-size: 50px;
    }
    .title h2 {
        font-size: 20px;
    }
}

.title p {
    max-width: 600px;
    margin: 0 auto;
    line-height: 150%;
}

.heading {
    position: fixed;
    top: 50%;
    left: 50%;
}

/* Project layout*/


@media (max-width: 767px) {
    .landing-page .content .container {
        gap: 0;
        min-height: calc(100vh - 101px);
        justify-content: center;
        flex-direction: column-reverse;
    }
}

@media (max-width: 767px) {
    .landing-page .content .info {
       
        text-align: center;
        margin-bottom: 15px;
        margin-top: 40px;
    }
    .landing-page .content .image img {
        max-width: 100%;
    }
}


/* Turn off parallax scrolling for tablets and mobiles */
@media only screen and (max-width: 908px) {
    .background {
        background-attachment: scroll;
    }
    .one, .two, .threeB,.four {
        display:none;
    }   

}

@media (min-width: 1640px) {
    .landing-page .content .image img {
        max-width: 175%;
    }
}



@media (max-width: 667px) {
    .title h1 {
        font-size:60px !important;
    }
    .titleHome {
        font-size: 40px !important;
    }
    .container h1 {
        font-size: 40px !important;
    }
}