* {
    box-sizing: border-box;
}

:root{
    --colorgold: #997515;
    --colorgrey: #666666;
    --color2: #f4f4f4;
}
body {
    margin: 0;
    background-color: #8BA1BB;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}
div.corps{
    background-color: white;
    max-width: 1000px;
    margin: 40px 8 40px 8px;
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.2);
    overflow: visible;
}
.display-mobile{
    display: none;
}
iframe{
    width: 100%;
    height: 350px;
    border: none;
}
div.cover{
    background: url(images/cover_overlay.png) no-repeat center/100% 100%, url(images/cover.jpg) no-repeat center/cover;
    height: 360px;

}

img.cover-profile{
    position: relative;                 
    height: 120px;
    left: 50%;
    margin-left: -50px;
    margin-top: 30px;
}

h1{
    position: relative;
    text-align: center;
    font-size: 40px;
    top: -18px;
}

p.title{
    margin-top: -45px;
    color: lightgray;
    text-align: center;
}

table.cover-contact{
    position: relative;
    top: -330px;
    left: 10px;
    border-left: 3px solid var(--colorgold);
}

table.cover-contact *{
    color: white;
    font-size: 12px;
    text-decoration: none;
    margin-bottom: 0px;
}

a.contact-button {
    color: white;            
    border: 3px solid var(--colorgold);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    background-color: #00000040;
    display: inline-block;
    margin-top: 40px;
}
a.contact-button:hover {
    color: lightgray;            
    border: 3px solid var(--colorgrey);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    background-color: #00000040;
    display: inline-block;
    margin-top: 40px;
}

.section {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 30px;
    padding-bottom: 30px;
    overflow: auto;
}

div.separator{
    height: 2px;
    background-color: var(--colorgold);
    width: 150px;
    margin-left: auto;
    margin-right: auto;
}
        
div.grey-section1 {
    background: url(images/triangle2white.svg) no-repeat center bottom -1px/100%;
    background-color: var(--color2);            
    padding-bottom: 70px;
}
div.grey-section1 p{
    text-align: center;
    font-size:22px;
    color: var(--colorgold);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;

}

h2{
    text-align: center;
    font-size: 34px;
    margin-top: -10px;
}

img.col-content{
    width: 40%;

}

div.col-content{
    width: 60%;
    padding-left: 16px;
    margin-bottom: 30px;    
}

.float-right {
    float: right;
}
.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
}
div.text_with_side_line{
    margin-top: 0px;
    border-left: 3px solid var(--colorgold);
    padding-left: 8px;
    height: 50px;
    display: inline-block;
    font-size: 16px;
}

div.grey-section2 {
    background: url(images/triangle1white.svg) no-repeat center top/100%;
    background-color: var(--color2);            
    padding-top: 80px;
}
div.side_bar{
    height: 50px;
    width: 3px;
    background-color: var(--colorgold);
    margin-right: 8px;
}
.col-portfolio{
    width: 48%;
}

/* FRAME */
div.frame {
    margin: 30px 50px;    
    padding: 20px 30px;
    font-size: 14px;
    background-color: white;
    box-shadow: 0px 0px 8px 8px rgba(0,0,0,0.1);
}
img.frame{
    width: 100px;
}
h3{
    text-align: center;
    font-size: 30px;
    margin-top: 5px;
    margin-bottom: 20px;
}

/* PORTFOLIO */
.portfolio-header{
    height: 90px;
    background: url(images/header.jpg) no-repeat center/cover;
    position: relative;
}

a.portfolio-contact-button {
    margin-top: 25px;
    margin-right: 20px;
}
a.portfolio-contact-button:hover {
    margin-top: 25px;
    margin-right: 20px;
}
div.portfolio-header-title{
    padding: 10px;
    margin-top: 25px;
    margin-left: 8px;
    height: 40px;
}

h4{
    margin-top: -9px; 
    text-align: left; 
    font-size: 26px; 
    font-weight: bold;
}
div.portfolio-back{
    margin-top: -30px;
    margin-left: -30px;
    color: var(--colorgrey)
}
p.portfolio{
    margin-top: -30px;
    margin-bottom: 0px;
    color: var(--colorgold)
}

img.portfolio{
    width: 70%;
    min-width: 450px;
    max-width: 550px;
}


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

    img.cover-profile{            
        height: 100px;
        margin-top: 75px;
    }

    img.icon-contact{
    display: none;  
    }  
    h1{
        font-size: 32px;
        top: -18px;
    }
    
    p.title{
        margin-top: -40px;
        font-size: 14px;
    }
    .section {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 0px;
    }
    div.grey-section1 {          
        padding-bottom: 20px;
    }
    h2{
        font-size: 30px;
    }
    .float-right {
        float: none;
    }
    img.col-content{
        width:100%;
    }
    div.text_with_side_line{
        font-size: 13px;
    }
    div.col-content{
        width: 100%;
        padding-left: 8px;
        margin-top: 20px;
        margin-bottom: 50px;
    }
    .col-portfolio{
        width: 100%;
        margin-top: 20px;
    }
    /* FRAME */

    div.frame {
        margin: 0px 0px;    
        padding: 0px 0px 0px 0px;
        font-size: 12px;
        box-shadow: none;
    }
    img.frame{
        width: 80px;
    }
    h3{
        font-size: 22px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    /* PORTFOLIO */
.portfolio-header{
    height: 120px;
    background: url(images/header.jpg) no-repeat center/cover;
    position: relative;
}

div.portfolio-contact-button{
    display: block;
    text-align: center;
}
a.portfolio-contact-button {
    margin-top: 5px;

}
a.portfolio-contact-button:hover {
    margin-top: 5px

}
div.portfolio-header-title{
    padding: 10px;
    margin-top: 25px;
    margin-left: 8px;
    height: 40px;
}
h2.portfolio{
    font-size: 28px;
}
div.portfolio-back{
    font-size: 14px;
    margin-top: 0px;
    margin-left: 0px;
}
p.portfolio{
    margin-top: -30px;
    margin-bottom: 15px;
}
div.portfolio-content{
    font-size: 14px;
}
img.portfolio{
    width: 100%;
    max-width: 450px;
    min-width: 250px;
    margin-left: -14px;
}
.display-mobile{
    display: block;
}

}


