* {
    box-sizing: border-box;
}
:root{
    --color1: #00BDD5;
    --color2: #F4F4F4;
    --color3: #FBB61B;
}
body {
    margin: 0;
    font-family: Arial;
    line-height: 1.5;
}
iframe {
    width: 100%;
    border: none;
    height: 350px;
}
div.cover {
    background:url('cover_overlay.png') no-repeat center/100% 100%,url('cover.jpg') no-repeat center/cover;
    height: 360px;
    position: relative;
}
img.cover-profile {
    height: 100px;
    position: relative;
    left: 50%;
    margin-left: -50px;
    margin-top: 50px;
}
h1 {
    color:white;
    text-align: center;
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 0px;

}
div.cover p {
    color: lightgray;
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
}
div.cover-contact {
    position: absolute;
    top: 10px;
    left: 10px;
    border-left: 4px solid var(--color1);
    padding-left: 8px;
}
div.cover-contact p {
    text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
}
div.cover-contact p:first-child {
    margin-bottom: 14px;
}
div.cover-contact * {
    color: white;
    font-size: 14px;
}
a.contact-button {
    color: var(--color1);
    border: 3px solid var(--color1);
    padding: 8px 20px;
    text-decoration: none;
    background-color: #00000040;
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
}
.contact-button-data {
    position: absolute; 
    right: 20px; 
    top: 5px;
}
a.contact-button:hover {
    color: white;
    border: 3px solid white;
}
.section {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 10px;
    padding-bottom: 30px;
    overflow: auto;
}
div.section-grise1 {
    background: url(triangle2white.svg) no-repeat center bottom -1px/100%;
    background-color: var(--color2);
    padding-bottom: 60px;
}
div.section-grise2 {
    background: url(triangle1white.svg) no-repeat center top/100%;
    background-color: var(--color2);
    padding-top: 80px;
}
h2 {
    text-align: center;
    font-size: 34px;
    margin-top: 10px;
}
div.separateur {
    background-color: var(--color3);
    height: 1px;
    width: 150px;
    position: relative;
    left: 50%;
    margin-left: -75px;
}
div.section-grise1 p {
    font-size: 22px;
    color: #656565;
    text-align: center;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.col-contenu {
    width: 40%;
}
div.col-contenu {
    width: 60%;
    padding-left: 16px;
}
.float-right {
    float: right;
}
div.texte-avec-ligne-verticale {
    border-left: 4px solid var(--color1);
    padding-left: 8px;
    height: 50px;
    display: inline-block;
}
div.texte-avec-ligne-verticale p {
    margin-top: 0px;
}
div.barre-verticale {
    height: 50px;
    width: 4px;
    background-color: var(--color1);
}
.col-donnees {
    width: 45%;
}
div.frame {
    margin: 30px 50px;
    padding: 20px 30px;
    background-color: white;
    box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.1);
}
p.frame-title {
    font-size: 25px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 20px;
    text-align: center;
}
div.data-header {
    height: 90px;
    background:url('header.jpg') no-repeat center/cover;
    position: relative;
}
a.data {
    color: var(--color1);
    padding-left: -10px;
}
h1.data {
    color: black;
    font-size: 46px;
    line-height: 1;
    margin-top: 10px;
}
h2.data {
    color: black;
    font-size: 26px;
    font-weight: normal;
    margin-bottom: 0px;
}
.data-header-title {
    color: white;
    font-size: 26px;
    font-weight: bold;
    padding-top: 4px;
    padding-left: 8px;
}
div.frame img {
    width: 100px;
}
.display_mobile {
    display: none;
}

/* Style pour les mobiles */
@media only screen and (max-width: 767px) {
    img.cover-profile {
        height: 80px;
        margin-top: 75px;
    }
    iframe {
        width: 100%;
        border: none;
    }
    h1 {
        font-size: 36px;
        margin-top: 6px;
        margin-bottom: 0px;
    
    }
    div.cover p {
        margin-top: 2px;
        font-size: 13px;
    }
    .section {
        padding-left: 20px;
        padding-right: 20px;
    }
    div.section-grise1 {
        padding-bottom: 40px;
    }
    h2 {
        font-size: 30px;
    }
    img.col-contenu {
        width: 100%;
    }
    div.col-contenu {
        width: 100%;
        padding-left: 0px;
        margin-top: 20px;
    }
    .col-donnees {
        width: 100%;
        margin-bottom: 20px;
    }
    div.frame {
        margin: 0px 0px;
        padding: 0px 0px;
        box-shadow: none;
    }
    div.frame img {
        width: 70px;
    }
    a.contact-button {
        color: var(--color1);
        border: 3px solid var(--color1);
        padding: 8px 20px;
        text-decoration: none;
        background-color: #00000040;
        display: inline-block;
        margin-top: 15px;
        font-size: 14px;
    }
    a.contact-button:hover {
        color: white;
        border: 3px solid white;
    }

    /*  DATA MOBILE */
    .data-header-title {
        font-size: 20px;
        padding-top: 8px;
        padding-left: 8px;
    }
    a.contact-button {
        padding: 7px 15px;
        margin-top: 15px;
        font-size: 14px;
    }
    .contact-button-data {
        right: 8px; 
    }
    h1.data {
        font-size: 40px;
    }
    h2.data {
        font-size: 22px;
    }
    .display_mobile {
        display: block;
    }
}