* {
    box-sizing: border-box;
}

:root {
    --color1: #D89584;
    --color2: #F4F4F4;
    --color3: #D8958430;
}

b.colorText {
    color: red;
    font-weight: bold;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: Arial;
    line-height: 1.5;
}

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

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

img.cover-profile {
    height: 150px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 20px);
}

h1 {
    color: white;
    text-align: center;
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 0px;
}

div.cover p {
    color: lightgrey;
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
}

div.cover-contact {
    position: absolute;
    top: 20px;
    left: 10px;
    border-left: 4px solid var(--color1);
    padding-left: 8px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 3px 10px 0 rgba(0,0,0,0.19);
}

div.cover-contact p:hover {
    background-color: #1f1c3fab
}

img.cover-contact-img {
    margin-left: -10px; 
    margin-top: -5px;
    position: absolute;
    height: 42px;
}

div.space {
    margin-bottom: 5px;
}

div.cover-contact p {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 4px;
    background-color: var(--color1);
    padding: 5px 10px;
    border-radius: 8px;
    width: 230px;
    text-align: center;
}

img.shadow {
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 0.3);
}

div.cover-contact * {
    display: block;
    color: white;
    font-size: 14px;
    text-decoration: none;
}

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: 18px;
    font-size: 14px;
}

a.contact-button-portfolio {
    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: 30px;
    padding-bottom: 30px;
    overflow: auto;
}

div.section-grise1 {
    background: url(/IMG/triangle2white.svg) no-repeat center bottom -1px/100%;
    background-color: var(--color3);
    padding-bottom: 70px;
}

b.TitreJeuVideo {
    color : black;
    font-size: 20px;
    font-weight: bold;
}

div.section-grise2 {
    background: url(/IMG/triangle1white.svg) no-repeat center top/100%;
    background-color: var(--color3);
    padding-top: 80px;
}

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

div.separator {
    background-color: #979797;
    height: 1px;
    width: 150px;
    position: relative;
    left: 50%;
    margin-left: -75px;
}

.WorkInProgress {
    color: goldenrod;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
}

iframe.WorkInProgress {
    margin-bottom: 0px;
    padding-bottom: 0px;
    height: 120px;
}

img.WorkInProgress {
    height: 100px;
}

div.presentation {
    text-align: center;
}

div.section-grise1 p {
    font-size: 22px;
    color: #656565;
    text-align: center;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

img.col-contenu {
    width: 40%;
    max-width: 640px;
}

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-vertical {
    height: 50px;
    width: 4px;
    background-color: var(--color1);
    margin-right: 8px;
}

.col-portfolio {
    width: 47%;
}

.col-portfolio2 {
    width: 47%;
    padding-bottom: 30px;
}

div.frame {
    margin: 30px 50px;
    padding: 20px 30px;
    background-color: white;
    box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.1);
}

div.frame img {
    width: 100px;
}

p.frame-title {
    font-size: 30px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 20px;
} 

div.addons-title {
    font-size: 15px;
    font-weight: bold;
    position: relative;
    left: 8%;
} 

.display-mobile {
    display: none; 
}

img.cover-flags {
    height: 30px;
    position: relative;
    right: -10px;
    bottom: 10px;
}

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

.portfolio-header-title {
    font-size: 26px;
    font-weight: bold;
    color: white;
    padding-left: 4px; 
    padding-top: 4px;
    display: inline-block;
}

h1.portfolio {
    font-size: 46px;
    color: black;
}

h2.portfolio {
    font-size: 26px;
    color: black;
    font-weight: normal;
    line-height: 1;
    margin-bottom: 0px;
}

a.portfolio-back {
    color: var(--color1);
    margin-left: -10px;
}

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

.heart {
    color: red;
}

div.footer {
    text-align: center; 
    margin-bottom: -10px; 
    font-size: 10px;
    margin: 0px 0px;
    padding: 0px 0px;
    background-color: white;
    height: 20px;
}

.attention {
    color: red;
    font-weight: bold;
    margin-left: 0px;
    margin-right: 10px;
    text-align: center;
}

img.attention {
    height: 45px;
}

iframe.attention {
    margin-bottom: 0px;
    padding-bottom: 0px;
    height: 80px;
}

.flags {
    position: relative;
    top: -10px;
    text-align: right;
    padding-right: 30px;
}

.button-inside {
    background-color: var(--color1);
    border: none;
    color: white;
    padding: 5px 14px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 10px;
    position: relative;
    top: -22px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 3px 10px 0 rgba(0,0,0,0.19);
  }

a.button {
    text-decoration: none;
}

a.button-link {
    position: absolute;
    transform: translate(-50%, 0);
}

.button-link-retour {
    position: absolute;
    margin-left: -20px;
    margin-top: 20px;
}

.button-inside:hover {
    background-color: #1f1c3fab
}

.button-inside:active {
    background-color: #1f1c3fab;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

/* for mobile phone */
@media only screen and (max-width: 767px) {
    img.cover-profile {
        height: 90px;
        margin-top: 75px;
    }

    h1 {
        font-size: 38px;
        
    }
    
    div.cover p {
        margin-top: 2px;
        font-size: 13px;
    }

    img.cover-contact-img {
        margin-left: -10px; 
        margin-top: -5px;
        position: absolute;
        height: 32px;
    }
    
    div.space {
        margin-bottom: 5px;
    }
    
    div.cover-contact p {
        padding: 4px 8px;
        border-radius: 5px;
        width: 130px;
        text-align: center;
    }
    
    div.cover-contact * {
        font-size: 8px;
    }

    .section {
        padding-left: 10px;
        padding-right: 20px;
    }
    
    div.section-grise1 {
        padding-bottom: 40px;
    }

    img.col-contenu {
        width: 100%;
    }
    
    div.col-contenu {
        width: 100%;
        padding-left: 0px;
        margin-top: 20px;
    }

    .col-portfolio {
        width: 100%;
        margin-bottom: 20px;
    }

    .col-portfolio2 {
        width: 100%;
    }

    .phone_center {
        margin-left: 50%;
        transform: translateX(-50%);
    }

    div.frame {
        margin: 0px 0px;
        padding: 0px 40px;
        box-shadow: none;
    }
    
    p.frame-title {
        font-size: 25px;
        text-align: center;
    } 

    div.frame img {
        width: 70px;
    }

    .portfolio-header-title {
        font-size: 19px;
        padding-top: 10px;
        padding-left: 4px;
    }

    a.contact-button {
        padding: 7px 12px;
        margin-top: 22px;
        font-size: 12px;
    }

    a.contact-button-portfolio {
        right: 8px; 
    }

    h1.portfolio {
        font-size: 30px;
    }
    
    h2.portfolio {
        font-size: 14px;
    }

    img.portfolio {
        width: 100%; 
    }

    .display-mobile {
        display: block;
    }

    a.portfolio-back {
        margin-left: 0px;
    }

    .button {
        font-size: 10px;
        border-radius: 8px;
        padding-right: 0px;
        padding-left: 2px;
      }

    .flags {
        top: -2px;
        padding-right: 20px;
    }
    
    .button-inside {
        font-size: 10px;
        border-radius: 8px;
      }

    div.footer {
        position: absolute;
        margin-left: 50%;
        transform: translateX(-50%);
    }

    .button-link-retour {
        position: absolute;
        margin-left: 0px;
        margin-top: -10px;
    }

    .WorkInProgress {
        font-size: 14px;
    }
    
    iframe.WorkInProgress {
        height: 80px;
    }
    
    img.WorkInProgress {
        height: 50px;
    }

    iframe.attention {
        height: 120px;
    }

    div.addons-title {
        font-size: 13px;
        left: 10%;
    } 
}

@media only screen and (max-width: 334px) {
    .button {
        font-size: 8px;
        border-radius: 7px;
        padding-right: 0px;
        padding-left: 1px;
        display: block;
        margin-top: -25px;
        padding-bottom: 30px;
      }

    .flags {
        top: -15px;
        padding-right: 20px;
    }
    
    .button-inside {
        font-size: 8px;
        border-radius: 7px;
      }
}