#wrapper{
    max-width: var(--max-width);
    margin: auto;
}

div.flex-title-container {
    margin-top: 41px;
    width: 100%;
    /*min-height: 600px;*/
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
}

div.main-title {
    margin-top: 41px;
    width: 100%;
    overflow: hidden;
    /*min-height: 600px;*/
}

div.container-title-left {
    width: 49%;
    float: left;
}
div.container-title-right {
    margin-left: 51%;
    min-width: 100%;
    /*min-height: 700px; /*change height at div.container-title-right object too*/
    -webkit-transform:scale(.75);
    -ms-transform:scale(.75);
    transform:scale(.75);
    -webkit-transform-origin: 0 0; 
    -ms-transform-origin: 0 0; 
    transform-origin: 0 0; 
}
div.container-title-right object {
    width: 100%;
    height: 700px;
}

div.title {
    margin: 100px 0 0 40px;
}
div.title h1{
    font-size: 75px;
}

div.main-description {
    width: 100%;
}

div.text-description {
    text-align: left;
    width: 100%;
    margin: 75px 0 0 40px;
    border: 0;
}
div.text-description p {
    font-size: 18px;
}

div.project-title {
    text-align: center;
    color: var(--main-color);
    background-color: VAR(--last-color);
    padding: 0;
}
div.project-title h1{
    line-height: 1.5;
    margin: 0;
    border: 0;
    padding: 60px;
}
div.project-title h2{
    line-height: 2;
    margin: 0;
    border: 0;
    padding: 40px;
}

div.project-subtitle {
    padding: 40px 40px 0px 40px;
    text-align: center;
    font-size: 20px;
}

div.project-container {
    margin: 70px 100px 70px 100px;
    background-color: var(--last-color);
    color: var(--main-color);
    text-align: center;
}
div.project-container h1{
    padding: 60px 20px 60px 20px;
    font-size: 75px;
    margin: 0;
    letter-spacing: 5px;
}

div.flex-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
}

div.project-description {
    padding: 0px 40px 40px 70px;
    text-align: left;
    width: 45%;
    max-width: 45%;
    height: 100%;
}
div.project-description p.code-lang {
    font-size: 25px;
}
div.project-description p.descr {
    font-size: 20px;
}
div.project-show {
    padding: 0px 40px 40px 0px;
    min-width: 55%;
    max-width: 55%;
    text-align: left;
    max-height: 750px;
}

img.image_link {
    max-width: 95%;
    max-height: 95%;
    transition: 0.3s;
}
img.image_link:hover {
    max-width: 100%;
    max-height: 100%;
    transition: 0.3s;
}

#contatti {
    padding-top: 70px;
    padding-bottom: 70px;
    text-align: center;
    justify-content: center;
}

@media only screen and (max-width: 480px) {
    div.container-title-left {
        width: 100%;
        float: none;
    }
    div.container-title-right {
        margin-left: 0;
        min-width: 100%;
        width: 900px;
        /*min-height: 700px; /*change height at div.container-title-right object too*/
        -webkit-transform:scale(.50);
        -ms-transform:scale(.50);
        transform:scale(.50);
        -webkit-transform-origin: 0 0; 
        -ms-transform-origin: 0 0; 
        transform-origin: 0 0; 
    }
    div.title {
        margin: 40px 30px 0 30px;
    }
    div.project-subtitle {
        padding: 40px 30px 0px 30px;
        text-align: left;
        font-size: 18px;
    }
    div.text-description {
        margin: 75px 30px 0 30px;
        width: auto;
    }
    div.project-title h1{
        line-height: 1.2;
        margin: 0;
        border: 0;
        padding: 30px;
    }
    div.project-title h2{
        line-height: 1.4;
        margin: 0;
        border: 0;
        padding: 20px;
    }

    div.project-container {
        margin: 70px 30px 70px 30px;
    }
    div.project-container h1{
        font-size: 45px;
        letter-spacing: 1px;
    }

    div.flex-container {
        flex-direction: column;
    }
    div.project-description {
        padding: 0px 20px 40px 20px;
        width: auto;
        max-width: 100%;
        height: 100%;
    }
    div.project-description p.code-lang {
        font-size: 20px;
    }
    div.project-description p.descr {
        font-size: 15px;
    }
    div.project-show {
        padding: 20px 10px 10px 10px;
        width: auto;
        min-width: 1%;
        max-width: 100%;
        max-height: 750px;
    }

    #contatti {
        font-size: small;
    }
}