#main_bkg {
    position: fixed;
    width: 100%;
    height: 65%;
    background-image: url('/img/services/ServicesBg1.webp');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

* {
    font-family: 'Roboto_Regular';
}

.w_bkg {
    width: 100%;
    position: absolute;
    top: 65%;
    left: 0;
    z-index: 1;
    margin: 0;
    padding: 0;
    background-color: white;
    border-top: 5px solid var(--green_dark);
}

#main_title {
    color: var(--green_dark);
    text-align: center;
    font-family: 'Roboto_Thin';
    font-size: 200%;
}


/* normal div*/

.txtcontainer {
    font-family: 'Roboto_Regular';
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title {
    color: var(--green_mid);
    text-align: left;
    margin: 5px;
}

.text {
    text-align: left;
    margin: 5px;
    font-size: 120%;
}

.lateral {
    text-align: right;
    display: inline-block;
    vertical-align: middle;
    margin: 2.5%;
    padding: 0;
    /*height: 298px;*/
    width: 450px;
    border-radius: 4px;
    box-shadow: 0 0 30px #ccc;
}



.left {
    display: inline-block;
    vertical-align: middle;
    font-family: 'Roboto_Regular';
    width: 35%;
    margin: 2.5%;
    padding: 0;
    height: auto;
}


/*changed div*/

.bigsecond {
    background-image: url('/img/services/ServicesBg2.webp');
    background-size: cover;
    text-align: left;
    margin-top: 2%;
    margin-bottom: 2%;
}

.paul {
    font-family: 'Roboto_Regular';
    display: inline-block;
    width: 25%;
    padding: 2.5%;
    text-align: left;
    background-color: rgba(23, 73, 34, 0.8);
    margin: 0;
    padding-left: 20%;
    padding-top: 6%;
    padding-bottom: 6%;
}

.second_title {
    color: var(--green_light);
    text-align: left;
    margin: 5px;
}

.second_text {
    text-align: left;
    color: white;
    font-weight: normal;
    margin: 5px;
    font-size: 120%;
}


/* last div */

#stunning {
    position: relative;
    text-align: center;
}

.imagebottom {
    width: 100%;
}

#title_pool {
    color: var(--green_mid);
    font-size: 220%;
    margin: 0;
}

#text_pool {
    font-size: 130%;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}

.button {
    display: inline-block;
    padding: 0.8em 2em;
    background-color: white;
    color: var(--green_mid);
    font-weight: bold;
    font-size: 130%;
    border-radius: 5px;
    transition-duration: 300ms;
}

.Foot {
    height: 60px;
}

.button:hover {
    transform: scale(1.1);
    transition-duration: 300ms;
}

@media (orientation:landscape) {
    .centramelo {
        position: absolute;
        top: 16%;
        left: 10%;
        width: 80%;
    }
    .cont_footer {
        width: 100%;
        position: absolute;
        bottom: 20px;
    }
    #one_big_Reverse{
        flex-direction: row-reverse;
    }

   
}

@media (orientation: portrait) {
    /*testi sfondo bianco*/
    .txtcontainer {
        display: flex;
       flex-direction: column;
        align-items: center;
    }
    .lateral {
        width: 75%;
    }
    
    .left {
        width: 75%;
    }
    .title {
        text-align: center;
        font-size: 300%;
    }
    .text {
        font-size: 200%;
        /*text-align: justify;*/
    }
    /*sfondo green*/
    .paul {
        width: 100%;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        background-color: rgba(23, 73, 34, 0.6);
    }
    .second_title {
        width: 75%;
        text-align: center;
        padding: 0;
        margin: auto;
        font-size: 300%;
    }
    .second_text {
        width: 75%;
        /*text-align: justify;*/
        margin: auto;
        padding: 0;
        font-size: 200%;
    }
    #title_pool {
        font-size: 300%;
        width: 75%;
        margin: auto;
        margin-top: 1em;
        color: var(--blue_mid);
        margin-bottom: 0.5em;
    }
    #text_pool {
        font-size: 200%;
        width: 75%;
        margin: auto;
        color: black;
    }
    .button {
        font-size: 200%;
        margin-top: 1em;
        background-color: var(--blue_mid);
        margin-bottom: 2em;
    }
    .imagebottom {
        display: none;
    }
    .button {
        color: white;
    }
    .foot {
        margin-bottom: 30px;
    }
}

@media (min-height: 800px) and (max-width: 400px) {
    #main_bkg {
        height: 45%;
    }
    .w_bkg {
        top: 45%;
    }
}