@font-face {
    font-family: "font-1";
    src: url("assets/RobotoCondensed-Regular.ttf");
   }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "font-1";
}

body {
    background: #f1f1f1;
    width: 100wh;
    min-height: 100vh;
}

header {
    margin: 5rem 1rem;
}
header h1 {
    font-size: 45px;
    letter-spacing: 0.1rem;
    text-align: center;
}
header h2:nth-child(2) {
    font-weight: 100;
    text-align:center;
}
header h2:nth-child(1) {
    font-size: 40px;
    line-height: 50px;
}
header h3 {
    font-weight: 100;
}

section {
    margin-bottom: 5rem;
}

.container {
    width: 90%;
    margin: 0 auto
}

.header-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
}
.img-header {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid black;
    background: rgb(100, 103, 96);
    
}
.pos-img {
    width: 100%;
    text-align:center;
    display:block;
}

.section-grid {
    display: grid;
    grid-template-columns: 35% 55%;
    justify-content: space-around;
    justify-items: center;
    gap: 10px;
}

.bloc-1, .bloc-2 {
    width: 100%;
}

footer {
    margin-bottom: 5rem;
}
.box-formations, .box-langues {
    width: 100%;
}
.box-formations h2, .box-langues h2 {
    font-size: 2rem;
}

.box-formations li, .box-langues li {
    font-size: 1rem;
    margin-left: 15%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    justify-items: center;
}

.gras-souligne {
    font-weight: bold;
    text-decoration: underline;
}

/* -------------- COMPETENCES ------------------ */

.range-cont {
    position: relative;
}

.grille-skill {
    padding: 10px;
    width: 100%;
}

.barre-skill {
    height: 15px;
    background: rgb(167, 146, 243);
    border-radius: 5px;
    position: absolute;
    left: 0;
    bottom: 0;
}
.number-skill {
    height: 40px;
}

.barre-grises {
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 90%;
    height: 15px;
    background: rgb(216, 216, 216);
    border-radius: 5px;
}

.b1 {
    width: 80%;
}

.b2 {
    width: 70%;
    background: rgb(243, 237, 146);
}

.b3 {
    width: 70%;
    background: rgb(243, 237, 146);
}

.b4 {
    width: 45%;
}

.b5 {
    width: 25%;
}

.b6 {
    width: 0%;
    background: rgb(243, 237, 146);
}

.b7 {
    width: 5%;
    background: rgb(243, 237, 146);
}

.b8 {
    width: 5%;
}

.b9 {
    width: 0%;
}

.b10 {
    width: 30%;
    background: rgb(243, 237, 146);
}

.b11 {
    width: 10%;
    background: rgb(243, 237, 146);
}

.b12 {
    width: 0%;
}

.b13 {
    width: 10%;
}

.label-skill {
    font-size: 1.2rem;
}

.bloc-2 h3 {
    font-size: 1.8rem;
}
.bloc-2 p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.bloc-2 li {
    font-size: 1.3rem;
    margin-left: 3rem;
    margin-bottom: 1.2rem;
}
.exp-pro {
    margin-left: 30%;
    font-size: 3rem;
    margin-bottom: 1rem;
}
.competences {
    font-size: 2rem;
    letter-spacing: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: underline;
}

/* MEDIA SCREEN */
@media screen and (max-width: 1024px) {
    .exp-pro {
        margin-left: 15%;
    }

    header h1 {
        font-size: 40px;
    }

    header h2:nth-child(1) {
        font-size: 35px;
    }

    header h2:nth-child(2) {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .img-header {
        width: 150px;
        height: 150px;
    }

    header h1 {
        font-size: 35px;
    }

    header h2 {
        font-size: 1.2rem;
    }

    header h2:nth-child(1) {
        font-size: 2rem;
        margin-left: 10%;
    }

    header h3 {
        font-size: 1rem;
        margin-left: 10%;
    }

    .linkedin {
        margin-left: 10%;
    }

    .exp-pro {
        font-size: 2rem;
    }

    .competences {
        font-size: 1.2rem;
    }

    .bloc-2 h3 {
        font-size: 1.5rem;
    }
    .bloc-2 p {
        font-size: 1.2rem;
    }

    .bloc-2 li {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 425px) {
    header {
        margin: 2rem;
    }
    header h1 {
        font-size: 1.2rem;
    }

    header h2:nth-child(1) {
        font-size: 0.8rem;
        margin: 0;
        line-height: 25px;
    }
    header h2:nth-child(2) {
        font-size: 0.8rem;
    }
    .header-grid {
        display: grid;
        grid-template-columns: 25% 75%;
        justify-items: start;
    }
    .coordonnees {
        display: none;
    }
    
    .img-header {
        width: 75px;
        height: 75px;
        text-align: left;
    } 
    
    .coordonneesBis {
        width: 100%;
        font-size: 0.8rem;
        display: inline-block;
    }

    .section-grid {
        grid-template-columns: 1fr;
    }
    .bloc-2 {
        order: 1;
    }
    .bloc-2 h3 {
        margin-top: 10px;
    }
    .bloc-1 {
        order: 2;
    }
    h2.exp-proBis {
        text-decoration: underline;
    }
    .box-formations h2, .box-langues h2 {
        font-size: 1.5rem;
    }
}