@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap);
*
{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}

/* ///// Body ///// */
body
{
    background: #000;
    min-height: 200vh;
}

/* ///// Header ///// */
header
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    padding: 40px 100px;
    z-index: 1000000;
}

header.sticky
{
    padding: 5px 100px;
    background: #fff;
}

header.sticky .logo,
header.sticky ul li a 
{
    color: #000;
}

header.sticky .hamburger
{
    color: #000;
}

header .logo
{
    position: relative;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.6s;
}

header ul
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li 
{
    position: relative;
    list-style: none;

}

header ul li a
{
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    color:#fff;
    letter-spacing: 2px;
    font-weight: 500px;
    transition: 0.5s;
}

header ul li a:hover
{
    color: red;
    transition: 0.5s;
}

/* //// Hamburger Header Phone //// */

.hamburger
{
    cursor:pointer;
    display: none;
}

/* //// Image + Titre du Projet //// */

.banner
{
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    box-shadow: 0px 10px 10px #464B46;
}

.Titre_banner
{
    color: #fff;
    font-size: 500%;
    width: 100%;
    height: 100vh;
    align-items: center;
    background-size: cover;
    display: flex;
    text-align: center;
    justify-content: center;
    display: grid;
}

/* //// Slider //// */

.Projet
{
    margin-top: 10%;
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    color: #fff;
    align-items: center;
    justify-content:center;
    font-family: serif;
}

.Slider
{
    width: 50%;
    height: auto;
    text-align: center;
    border-radius: 30px; 
}

.slide-container
{
    width: 100%;
    height: auto;
}

.custom-slider { display: none; }
.slide-container 
{
    position: relative;
    margin: auto;
    height: auto;
}

.prev, .next 
{
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: red;
    font-size: 30px;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.6s ease;
}

.prev{ left: 15px; }
.next { right: 15px; }
.prev:hover, .next:hover 
{
    background-color: rgba(0,0,0,0.5);
}

.slide-index 
{
    color: #000000;
    font-size: 13px;
    padding: 15px;
    position: absolute;
    top: 0;
}

.slide-img
{
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.slide-dot{ text-align: center; }
.dot 
{
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #999999;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover { background-color: red;}
.fade 
{
    animation-name: fade;
    animation-duration: 0.5s;
}

@keyframes fade 
{
    from {opacity: 0}
    to {opacity: 1}
}

/* //// Contenue du Projet //// */
.Contenu
{
    margin-top: 5%;
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    color: #fff;
    align-items: top;
    justify-content:center;
    font-family: serif;
}

.card 
{
    width: 50%;
    border-radius: 30px;
    background: #000;  
    align-items: center; 
}

.sous_card 
{
    display: flex; /* Utilisation de flexbox pour aligner les div */
    flex-wrap: wrap; /* Les div vont s'afficher en colonne */
    align-items: center; /* Alignement vertical des éléments au centre */
    width: 100%;
    margin-bottom: 4%;
}

.Box 
{
    width: 25%;
    display: block;
    font-size: 11px;
    font-family: sans-serif;
    letter-spacing: .1rem;
}

.Box span
{
    display: block;
    padding: 0 15px;
}

.Petit_titre
{
    font-size: 14px;
    font-family: "Roboto Mono", monospace;
    text-transform: uppercase;
    color: red;
}

.Petit_contenu
{
    font-size: 18px;
    font-family: "Roboto Mono", monospace;
    font-weight: 900;
}

.Petit_contenu a
{
    font-size: 18px;
    font-family: "Roboto Mono", monospace;
    font-weight: 900;
    color: white;
    text-decoration:none;
}

.Petit_contenu a:hover
{
    color: red;
}


.Box2 
{
    width: 50%;
    display: block;
    font-size: 16px;
    font-family: sans-serif;
    letter-spacing: .1rem;
    padding: 0 15px;
    margin-bottom: 5%;
}

/*///// Compétences /////*/

.competence
{
    width: 33%;
    padding: 10px;
}

.Titre_skil
{
    font-family: "Raleway", sans-serif;
    font-weight: 900;
}

.div_icons
{
    width: 100%;
    height: auto;
    font-size: 2rem;
}

.Circle
{
    width: 25px;
    height: 25px ;
    border-radius: 50%;
    background-color: red;
    z-index: -1;
    margin-top: -30px;
    margin-left: 11px;
}

.icon
{
    position: relative;
    width: 100%;
}

.icon:before
{
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
/*--adjust as necessary--*/
    color: #fff;
    padding-right: 0.5em;
}

.competence h1
{
    font-family: sans-serif;
    font-family: "Roboto Mono", monospace;
    font-size: 1.3rem;
}

.competence p
{
    opacity: 0.7;
    font-size: 1rem;
}

/*///// Skills /////*/

.card2
{
    width: 50%;
    border-radius: 30px;
    background: #000;  
    align-items: center; 
}

.canva
{
    width: 25%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.Titre_skil
{  
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-family: sans-serif;
    font-family: "Roboto Mono", monospace;
}

@keyframes progress 
{
    0% { --percentage: 0; }
    100% { --percentage: var(--value); }
}
  
@property --percentage 
{
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}
  
[role="progressbar"] 
{
    margin-top:5%;
    --percentage: var(--value);
    --primary: red;
    --secondary: #D3D2CF;
    --size: 40%;
    font-size: 2rem;
    animation: progress 2s 0.5s forwards;
    width: var(--size);
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}
  
[role="progressbar"]::before 
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(var(--primary) calc(var(--percentage) * 1%), var(--secondary) 0);
    mask: radial-gradient(white 100%, transparent 0);
    mask-mode: alpha;
    -webkit-mask: radial-gradient(#0000 65%, #000 0);
    -webkit-mask-mode: alpha;
}
  
[role="progressbar"]::after 
{
    counter-reset: percentage var(--value);
    content: counter(percentage) '%';
    font-family: "Roboto Mono", monospace;
    color: white;
}

.texte_bar
{
    padding: 15px;
    width: 100%;
    height: auto;
    text-align: center;
    font-family: "Roboto Mono", monospace;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
}

/* //// Footer //// */

.footer
{
    margin-top: 10%;
    background:#000;
    padding:30px 0px;
    font-family: 'Play', sans-serif;
    text-align:center;
}


    
.footer .row
{
    width:100%;
    margin:1% 0%;
    padding:0.6% 0%;
    color:gray;
    font-size:0.8em;
}
    
.footer .row a
{
    text-decoration:none;
    color:gray;
    transition:0.5s;
}
    
.footer .row a:hover
{
    color:#fff;
}
    
.footer .row ul
{
    width:100%;
}
    
.footer .row ul li
{
    display:inline-block;
    margin:0px 30px;
 }
    
.footer .row a i
{
    font-size:2em;
    margin:0% 1%;
}
  


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

    .card, .card2 ,.Slider
    {
        width: 70%;
    }

}


@media screen and (max-width: 1400px) {
    
    .card, .card2, .Slider
    {
        width: 70%;
    }

    .card2 
    {
        width: 90%;
    }

    .Titre_banner
    {
        font-size: 350%;
    }
}

@media screen and (max-width: 1200px) {
    .Photo img
    {
        width: 80%;
        margin-left: 15%;
    }
    .card, .card2, .Slider 
    {
        width: 70%;
    }

    .Titre_banner
    {
        font-size: 300%;
    }

}

@media screen and (max-width:1050px){
    header {
        padding: 50px;
    }

    header ul {
        margin-top: 12%;
        position: fixed;
        left: -100%;
        top: 5.1%;
        text-decoration: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.25s;
    }

    header.activeHeader ul 
    {
        left: 0;
    }

    header.sticky
    {   
        padding: 5px 50px;
        background: #fff;
    }

    header.sticky ul  
    {
        margin-top:4%;
        background-color: #000;
    }

    header.sticky ul li a
    {
        color: #fff;
    }
    
    header ul li a:hover
    {
    color: red;
    transition: 0.5s;
    }

    header ul li 
    {
        padding: 10px 0;
    }

    .hamburger 
    {
        display: block;
        color: #fff;
        font-size: 40px;
    }

    .hamburger:before 
    {
        content: "\2630";
    }

    .active .hamburger:before 
    {
        content: "\2715";
    }

    .card, .card2 
    {
        width: 90%;
    }

     .prev, .next 
    {
        width:40px;
        height: 40px;
        font-size: 20px;
    }

    .Titre_banner
    {
        font-size: 300%;
    }
    .canva
    {
        width: 50%;
    }

    [role="progressbar"] 
    {
        --size: 30%;
        width: var(--size);
    }

    .Titre_skil
    {  
        font-size: 1.1rem;
    }
    .texte_bar
    {
        font-size: 1.1rem;
    }

    .competence
    {
        width: 50%;
        padding: 10px;
    }

    .footer
    {
    text-align:left;
    padding:5%;
    }

    .footer .row ul li
    {
    display:block;
    margin:10px 0px;
    text-align:left;
    }

    .footer .row a i
    {
    margin:0% 3%;
    }

}

@media only screen and (max-width: 750px) {
    header ul {
        top: 7%;
    }

    .card, .card2, .Slider 
    {
        width: 90%;
    }

    .slide-text 
    {
        font-size: 15px; 
    }

    .prev, .next 
    {
        width:30px;
        height: 30px;
        font-size: 17px;
    }

    .Box 
    {
        width: 50%;
    }

    .Box2 
    {
        width: 100%;
    }

    .Titre_banner
    {
        font-size: 300%;
    }

}

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

    .canva
    {
        width: 100%;
    }

    .competence
    {
        width: 100%;
        padding: 10px;
    }

}

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

    .Box 
    {
        width: 100%;
    }


    .Titre_banner
    {
        font-size: 250%;
    }
}


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

    header ul 
    {
        top: 7%;
    }

    .card, .card2, .Slider 
    {
        width: 90%;
    }
    
    .prev, .next 
    {
        width:30px;
        height: 30px;
        font-size: 14px;
    }

    .Titre_banner
    {
        font-size: 200%;
    }
}

