*{
    box-sizing: border-box;
}

:root{
    --maincolor: white;
    --color2: rgba(232, 230, 230, 0.626);
}

body{
    margin: 0;
    line-height: 1.5;
    font-family: Arial;
    /* max-width: 750px; */
}

iframe{
    width: 100%;
    border: none;
    height: 250px;
}

div.cover{
    height: 330px;
    background: url(cover_overlay2.png) no-repeat center / 100% 100%, url(cover.jpg) no-repeat center / cover;
    position: relative;
}

img.farius{
    height: 150px;
    text-align: center;
    padding: 15px 0 0 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 100%;
}

.center{
    text-align: center;
}

h1.cover{
    font-size: 30px;
    color: var(--maincolor);
    margin-bottom: -5px;
}

p.farius{
    font-size: 15px;
    color: lightgray;
}

span.availability{
    color: darkorange;
}

div.contact {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    border-right: 4px solid lightgray;
}

div.contact a, div.contact p{
    text-decoration: none;
    color: lightgray;
    text-align: right;
    padding-right: 5px;
}

/*div.contact p:first-child{
    margin-bottom: 5px;
}*/

button{
    background-color: #5f6b7990;
    border: 3px solid #5f6b79;
    color: var(--maincolor);
    border-radius: 2px;
    padding: 3px 6px;
}

button:hover{
    background-color: #194d8990;
    border: 3px solid #194d89;
}

button a{
    text-decoration: none;
    color: var(--maincolor);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

div.section1{
    background: url(triangle2white.svg) no-repeat center bottom / 100%;
    background-color: var(--color2);
    padding: 30px 40px 60px 40px;
    /* overflow: auto; */
}

div.section1 div.line{
    background-color: #5f6b79;
    width: 100px;
    height: 2px;
    margin: -10px auto 15px auto;
}

div.section1 p{
    font-size: 18px;
    width: 630px;
    margin: 0 auto 20px auto;
    text-align: justify;
}

div.blanksection{
    padding: 30px 30px 70px 30px ;
    overflow: auto;
}

div.blanksection h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 30px;
}

img.colimg{
    width: 40%;
    margin: 0;
    display: inline-block;
}

div.colpara{
    width: 55%;
    font-size: 17px;
    margin: 0;
    float: right;
    border-left: 4px solid #5f6b79;
    padding-left: 15px;
    height : 50px;
}

div.colpara p{
    margin: 0;
    text-align: justify;
}

div.section2{
    background: url(triangle1white.svg) no-repeat center top / 100%;
    background-color: var(--color2);
    padding: 70px 30px 20px 30px;
}

div.section2 h2 {
    margin-bottom: 0;
    font-size: 32px;
}

div.section3{
    background-color: var(--color2);
    overflow: auto;
    margin-bottom: -5px;
}

div.section3 table.table1{
    width: 62%; 
    display: inline-block; 
    background-color: white;
    margin: 20px 0 0 0;
}

div.section3 table.table2{
    width: 38%; 
    float: right; 
    background-color: white;
    margin: 20px 0 0 0;
}

div.section3 div.barre{
    height: 50px;
    width: 4px;
    background-color: #5f6b79;
}

/* div.section3 p.center{
    font-weight: bold;
} */

div.section3 img.nd_project, div.section3 img.hs_project{
    width: 100%; 
    height: 300px;
    text-align: center;
}    

div.section4{
    background-color: var(--color2);
    padding: 20px 0 50px 0;
}

div.section4 div.foot{
    width: 720px;
    margin: 0 auto 0 auto;
    padding-bottom: 20px;
    box-shadow: 0 0 8px 8px rgba(0, 0, 0, 0.104);
}

div.section4 div.foot:hover{
    border: 3px solid #194d89;
}

div.section4 table{
    padding: 0 2% 0 2%;
}

div.section4 p.center{
    font-size: 32px;
    margin: 0 0 10px 0;
}

div.section4 img.yourproject{
    width: 100%;
    height: 100px;
    border-radius: 100%;
}

div.section4 td.image{
    width: 100px;
}

div.section4 td.contact{
    vertical-align: top;
    font-size: 16px;
    width: 570px;
}

div.section4 td.contact p{
    margin: 0;
}

div.section4 div.barre{
    background-color: white;
    margin: 0;
    border-left: 4px solid #5f6b79;
    padding-left: 10px;
    margin-left: 10px;
    height: 80px;
    width: 100%;
}

div.footer{
background-color: rgba(232, 230, 230, 0.926);
}

/* nd_project.html */

div.header{
    background: url(cover.jpg) no-repeat center bottom / 100%;
    height: 100px;
}

div.header p.header{
    color: var(--maincolor);
    float: left;
    margin: 30px 0 0 20px;
    padding-left: 7px;
    font-size: 24px;
    font-weight: bold;
    border-left: 4px solid #5f6b79;
}

div.header div.button{
    float: right;
    margin: 35px 20px 0 0;
}

div.nd_section1{
    background: url(triangle2white.svg) no-repeat center bottom / 100%;
    background-color: var(--color2);
    padding-top: 20px;
    padding-bottom: 60px;
}

div.nd_section1 a{
    display: inline;
    padding: 0 0 20px 20px;
}

div.nd_section1 div.line{
    background-color: #5f6b79;
    width: 100px;
    height: 2px;
    margin: -12px auto 0 auto;
}

div.nd_section1 h1{
    font-size: 46px;
    margin: 10px 0 0 0;
}

div.nd_section1 h2{
    font-size: 30px;
    font-weight: normal;
    margin: 10px 0 0 0;
}

div.nd_section2{
margin: 20px 10% 50px 10%;
}

div.nd_section2 div.description{
    border-left: 4px solid #5f6b79;
    padding-left: 10px;
    height : 50px;
    display: inline-block;
}

div.nd_section2 div.description p{
    margin: 0;
}

div.nd_section2 h3{
    margin-bottom: 0;
}

div.nd_section2 img.nd_project{
    margin-top: 20px;
    width: 100%; 
    height: 300px
} 

/* Responsive Design for mobile phones under 600px */

@media only screen and (max-width: 600px) {

h1.cover{
    font-size: 24px;
    margin-bottom: -7px;
}

p.farius{
    font-size: 13px;
    width: 270px;
    margin: 10px auto 10px auto;
    line-height: 2;
}

div.contact {
    top: 5px;
    right: 5px;
    font-size: 10px;
}

div.contact a, div.contact p{
    padding-right: 3px;
    line-height: 1;
}

div.contact p.mail{
    margin-top: 0;
}

div.contact p.tel{
    margin-bottom: 0;
}

button a{
    font-size: 13px;
}

div.section1{
    padding: 30px 20px 30px 20px;
}

div.section1 p{
    width: 350px;
    font-size: 15px;
}

div.blanksection{
    padding: 30px 30px 70px 30px;
}

div.blanksection h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 24px;
}

img.colimg{
    width: 100%;
}

div.colpara{
    width: 100%;
    margin-top: 20px;
    padding-left: 15px;
    height : 50px;
    font-size: 15px;
    margin-bottom: 120px;
}

div.section2{
    padding: 30px 30px 10px 30px;
}

div.section2 h2 {
    font-size: 24px;
}

div.section3 table.table1{
    width: 100%; 
    margin: 20px 0 0 0;
    text-align: center;
}

div.section3 table.table2{
    width: 100%; 
    margin: -20px 0 0 0;
    text-align: center;
}

div.section3 img.nd_project{
    width: 100%; 
    height: 250px;
} 

div.section3 img.hs_project{
    width: 80%; 
    height: 350px
} 

div.section3 div.barre{
    margin-left: 5px;
}

div.section3 p.center{
    margin: 0;
}

div.section3 {
    margin-bottom: 30px;
}

div.section4 div.foot{
    width: 350px;
    height: 190px;
}

div.section4 p.center{
    font-size: 24px;
    margin: 0 0 10px 0;
}

div.section4 img.yourproject{
    height: 70px;
}

div.section4 td.image{
    width: 70px;
}

div.section4 td.contact{
    font-size: 12px;
    width: 190px;
}

div.section4 div.barre{
    padding-left: 10px;
    height: 80px;
    width: 240px;
    margin: 0 0 0 5px;
}

iframe{
    height: 230px;
}

/* ND PROJECT */

div.nd_section2{
margin: 30px 8% 50px 8%;
}

div.nd_section2 img.nd_project{
    margin-top: 30px;
    height: 200px
} 

}

/* Responsive Design for tablets and desktops over 1000px */

@media only screen and (min-width: 1000px) {

div.cover{
    height: 395px;
}

img.farius{
    height: 200px;
    padding: 15px 0 0 0;
}

h1.cover{
    font-size: 35px;
    margin-top: 5px;
    margin-bottom: 0;
}

p.farius{
    font-size: 24px;
    margin-top: 3px;
    margin-bottom: 12px;
}

div.contact {
    font-size: 20px;
}

button{
    border: 3px solid #5f6b79;
    border-radius: 2px;
    padding: 3px 8px;
}

button a{
    font-size: 18px;
}

div.section1{
    padding: 30px 40px 120px 40px;
}

div.section1 p{
    width: 1100px;
    font-size: 26px;
}

div.blanksection{
    top: -5px;
    padding: 30px 80px 50px 80px ;
    overflow: auto;
}

div.blanksection h2 {
    font-size: 35px;
}

div.colpara{
    width: 52%;
    font-size: 29px;
}

div.section2{
    padding: 130px 30px 50px 30px;
}

div.section2 h2 {
    margin-bottom: 0;
    font-size: 50px;
}

div.section3{
    margin-bottom: 0px;
}

div.section3 table.table1{
    float: left;
    width: 65%; 
    background-color: white;
    margin: 20px 0 0 0;
}

div.section3 table.table2{
    float: right; 
    width: 35%; 
    background-color: white;
    margin: 20px 0 0 0;
}

div.section3 div.barre{
    height: 70px;
}

div.section3 img.nd_project, div.section3 img.hs_project{
    height: 500px;
}   

div.section3 p.center{
    font-size: 25px;
}

div.section4 div.foot{
    width: 1200px;
    height: 300px;

}

div.section4 table{
    padding: 0 3% 0 3%;
}

div.section4 p.center{
    font-size: 40px;
    margin: 10px 0 20px 0;
}

div.section4 img.yourproject{
    height: 150px;
}

div.section4 td.image{
    width: 150px;
}

div.section4 td.contact{
    font-size: 24px;
    width: 950px;
}

div.section4 div.barre{
    padding-left: 10px;
    height: 100px;
    width: 100%;
    margin: 0 0 0 20px;
} 

iframe{
    height: 400px;
}

/* ND PROJECT */

div.nd_section1{
    padding-bottom: 120px;
}

div.nd_section2{
margin: 20px 10% 50px 10%;
}

div.nd_section2 img.nd_project{
    margin-top: 30px;
    height: 500px
} 

div.nd_section2 p{
    font-size: 21px;
}

div.nd_section2 h3{
    font-size: 25px;
}

div.nd_section2 ul{
    font-size: 20px;
}

div.nd_section2 p.center{
    font-size: 25px;
}

}