/* Ordinateur - PC */                                   /* https://jpruvost.fr/        https://dribbble.com/shots/4451081--7-Shots-for-Practice    

                                                        https://www.webdesign-inspiration.com/fr/webdesign/style/sombre   https://www.darkmodedesign.com/
                                                        
                                                        https://www.wedoflow.com/fr/post/dark-mode-web-design-enhancing-ux-and-aesthetics   */


html {
    scroll-behavior: smooth;
}

body{
    margin: 0px 0px;
    font-family:  'Montserrat', 'Ubuntu' , sans-serif;
}

.header {
    width: 100%;
    height: 100px;
    background-color: #191D21 /* #111616*/;
    margin: 0px 0px;
}

.logo{
    width: 7%;
    margin: 1% 5%;
    border-radius: 3px;
}

.site-navigation {
    float: right;
    margin: 2% 4% 0% 0%;
}

.site-navigation ul, li {
  margin: 0; 
  padding: 0;
}

.site-navigation li {
  display: inline-block;
  margin: 1em 1em 1em 1em;
}

.fa{
  text-decoration: none;
  color: whitesmoke;
}

.fa:hover{
  color: royalblue;
}

.menu{
    background-color: ;
    width: 28%;
    height: 100%;
    float: right;
    margin-top: 0%;
}

.boutton-contact-header{
    background-color: #111616;
    width: 45px; 
    padding: 10px;
    border-radius: 10px;
    border: none; 
    margin: 4% 10%;
    float: right;
    cursor: pointer;
}

/* Partie 1 - PC */

.Partie1{
    width: 100%;
    height: 800px;
    background-color: #282f3b /*#212227*/ /* #191D21*/;
    margin: 0px 0px;
}

.Partie1 h1{
    color: whitesmoke;
    font-size: 85px;
    position: absolute;
    margin-top: 16%;
    margin-left: 9.7%;
    font-weight: bold;
    letter-spacing: 5px;
}

.Partie1 h2{
    color: rgb(78, 120, 248);
    font-size: 25px;
    position: absolute;
    margin-top: 23%;
    margin-left: 10%;
    font-weight: 500;
}

.Partie1 h3{
    color: #bcbcbc;
    font-size: 25px;
    position: absolute;
    margin-top: 14.5%;
    margin-left: 10%;
    font-weight: 500;
}

.Partie1 img{
    width: 44%;
    position:absolute;
    margin-top: 7%;
    margin-left: 52%;
}

/* Partie 2 - PC */

.Partie2{
    width: 100%;
    height: 550px;
    background-color:#f8f8f8;
    margin: 0px 0px;
    position: inherit;
}

.container_About{
    width: 55%;
    height: 380px;
    margin: 0% auto;
    border-radius: 5px;
    padding: 20px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /* position: absolute; */
}

.Partie2 img{
    width: 45%;
    margin: 8% 0%;
    float: left;
}

.container-right{
    width: 45%;
    float: left;
    margin: 5% 4%;
    background-color:;
}

.text-part2{
    line-height: 22px;
    text-align: justify;
}

.name-part3-2{
    margin: auto;
}

.button-cv{
    width: 15%;
    height: 35px;
    margin: 5% auto;
    border-radius: 6px;
    background-color: royalblue;
    color: #fdfffc;
    font-weight: 550;
    font-size: clamp(.8rem,.8rem + .24vw,1rem);
    border: none;
    cursor: pointer;
}

.button-cv a{
    color: #fdfffc;
    text-decoration:none;
}









/* Partie Certififcations */

.Partie-certif{
    background-color:rgb(255, 255, 255);
    justify-content: center;
    align-items: center;
    height: 120vh;
    margin: 0;
}

.part_title_certif{
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 0;
    margin-top: 20px;
}

.part_title_certif::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #4e78f8;
    margin: 5px auto 0;
    margin-bottom: 60px;
}


/* Wrapper pour afficher les cartes en ligne */
.cards-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* Pour qu'elles se superposent en mobile */
  justify-content: center;
}



.card-container {
  max-width: 600px;
  display: flex;
  flex-wrap: wrap;
  background-color: #364a5d;
  /* border: 1px solid #ccc; */
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 8px;
  overflow: hidden;
}

.card-image {
  
  max-height: 122px;
  max-width: 122px;
  /* background-image: url('https://www.certificat-voltaire.fr/wp-content/uploads/2021/09/Logo_Certificat-Voltaire.png'); */
  /* background-size: cover; */
  background-position: center;
  margin: auto 10px;
}

@media (min-width: 1024px) {
  .card-image {
    width: 192px;
    height: auto;
    border-radius: 8px 0 0 8px;
  }
}

.card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
}

.card-tag {
  display: flex;
  align-items: center;
  color: #718096;
  font-size: 14px;
  margin-bottom: 8px;
}

.icon-lock {
  width: 12px;
  height: 12px;
  margin-right: 6px;
  fill: #718096;
}

.card-title {
  font-size: 20px;
  font-weight: bold;
  color: #1a202c;
  margin-bottom: 12px;
}

.card-description {
  color: #4a5568;
  font-size: 16px;
}

.card-author {
  display: flex;
  align-items: center;
  margin-top: 16px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
}

.author-info {
  font-size: 14px;
}

.author-name {
  font-weight: bold;
  color: #1a202c;
}

.author-date {
  color: #718096;
}



.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem; /* équivalent à gap-2.5 */
    margin-bottom: 1.5rem; /* équivalent à mb-6 */
}

.tech-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem; /* py-1.5 px-3 */
    font-size: 0.75rem; /* text-xs */
    font-weight: 600; /* font-semibold */
    border-radius: 9999px; /* rounded-full */
}

.html-tag {
    background-color: #10375e; 
    color: #ffffff; 
}




.read-more-btn {
    width: 140px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    color: white;
    background-color: #1D4ED8; /* bg-blue-700 */
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.read-more-btn:hover {
    background-color: #1E40AF; /* hover:bg-blue-800 */
}

.read-more-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.5); /* focus:ring-blue-300 */
}

.read-more-btn svg {
    width: 14px;
    height: 10px;
    margin-left: 0.5rem;
}

/* SLIDER */
    .slider {
      width: 100%;
      height: 430px;
      max-width: 600px;
      margin: 20px auto;
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .slides {
      display: flex;
      width: 100%;
      transition: transform 0.6s ease;
    }

    .slide {
      width: 100%;
      flex-shrink: 0;
    }

    .slide img {
      width: 100%;
      display: block;
    }

    /* Navigation par radio */
    input[type="radio"] {
      display: none;
    }

    .navigation {
      text-align: center;
      margin-top: 10px;
    }

    .bar {
      display: inline-block;
      width: 12px;
      height: 12px;
      margin: 0 5px;
      background: #bbb;
      border-radius: 50%;
      cursor: pointer;
    }

    #s1:checked ~ .slider .slides {
      transform: translateX(0%);
    }

    #s2:checked ~ .slider .slides {
      transform: translateX(-100%);
    }

    #s3:checked ~ .slider .slides {
      transform: translateX(-200%);
    }

    #s4:checked ~ .slider .slides {
      transform: translateX(-300%);
    }

    #s5:checked ~ .slider .slides {
      transform: translateX(-400%);
    }

    /* Couleur active */
    #s1:checked ~ .navigation label[for="s1"],
    #s2:checked ~ .navigation label[for="s2"],
    #s3:checked ~ .navigation label[for="s3"],
    #s4:checked ~ .navigation label[for="s4"],
    #s5:checked ~ .navigation label[for="s5"] {
      background: #333;
    }

/* FIN SLIDER */

/* Fin Partie Certififcations */
























/* Partie 3 - PC */

.Partie3{
    background-color:#f8f8f8;
    justify-content: center;
    align-items: center;
    height: 70vh;
    margin: 0;
}

.part_title{
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 0;
}

.part_title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #4e78f8;
    margin: 5px auto 0;
}

.b {
    background-color: ;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    margin: 0;
    gap: 70px;
}
.container3 {
    background-color: white;
    width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    position: relative;
}
.badge {
    position: absolute;
    top: -10px;
    left: 15px;
    background-color: rgba(255, 165, 0, 0.2);
    color: #d48806;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 15px;
}
.formation {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}
.formation:last-child {
    border-bottom: none;
}
.formation img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}
.formation-title {
    font-weight: bold;
    color: #2c3e50;
}
.formation-subtitle {
    font-size: 14px;
    color: #7f8c8d;
}




/* Partie 4 - PC ///////////////////////////////////////////////////////*/

.b2 {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 30px;
    text-align: center;
}

.container4 {
    max-width: 1000px;
    margin: 0 auto;
}

.part2_title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
}

.part2_title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #4e78f8;
    margin: 5px auto 0;
}

.blog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 30%;
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 15px;
    text-align: left;
}

.blog-content h3 {
    font-size: 18px;
    margin: 10px 0;
}

.blog-content p {
    font-size: 14px;
    color: #555;
}

@media (max-width: 900px) {
    .blog-card {
        width: 45%;
    }
}

@media (max-width: 600px) {
    .blog-card {
        width: 100%;
    }
}



/* Partie 5 - PC */

@import "compass/css3";

@import url(https://fonts.googleapis.com/css?family=Merriweather);

*, 
*:before, 
*:after {
   box-sizing:(border-box); 
}

.part5 {
  background: #f1f1f1;
  font-family: 'Merriweather', sans-serif;
  padding: 3em;
}

h1 {
   text-align: center;
   color: #a8a8a8;
   text-shadow:(1px 1px 0 rgba(white, 1));
}

form {
   max-width: 600px;
   text-align: center;
   margin: 20px auto;
  
  input, textarea {
     border:0; outline:0;
     padding: 1em;
     border-radius:(8px);
     display: block;
     width: 95%;
     margin-top: 1em;
     font-family: 'Merriweather', sans-serif;
     box-shadow:(0 1px 1px rgba(black, 0.1));
     resize: none;
    
    &:focus {
        box-shadow:(0 0px 2px rgba(#282f3b, 1));
    }
  }
  
  #input-submit {
     color: white; 
     background: #282f3b;
     cursor: pointer;
     width: 103%;
    
    &:hover {
       box-shadow:(0 1px 1px 1px rgba(#aaa, 0.6)); 
    }
  }
  
  textarea {
      height: 126px;
  }
}


.half {
  float: left;
  width: 48%;
  margin-bottom: 1em;
}

.right { width: 48%; }

.left {
    margin-right: 4%;
}


@media (max-width: 480px) {
  .half {
     width: 100%; 
     float: none;
     margin-bottom: 0; 
  }
}


/* Clearfix */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}


/*
.Partie5{
    width: 100%;
    height: 700px;
    background-color:  #0e0f19;
    margin: 0px 0px;
}

.container-part5-1{
    width: 40%;
    height: 600px;
    background-color: ;
    float: left;
    margin:0% 1% 1% 9%;
}

.container-part5-2{
    width: 40%;
    height: 600px;
    background-color: ;
    float: left;
    margin:0% 9% 1% 1%;
}

.titre-part5{
    font-size: clamp(2rem,2rem + 1.4vw,4rem);
    width: 20%;
    color: whitesmoke;
    padding: 20px 0px 0px 0px;
    margin: 0% 12%;
}

form{
    text-align: center;
    margin: 10% auto;
}

input{
    width: 80%;
    height: 40px;
    margin: 2%;
    border-radius: 12px;
    outline: 0;
    background-color: rgba(253,255,252,.08);
    color: #fdfffc;
    font-weight: 500;
    font-size: clamp(.8rem,.8rem + .24vw,1rem);
    border: 2px solid rgba(253,255,252,.16);
    transition: border .24s ease;
}

textarea{
    width: 80%;
    height: 150px;
    margin: 2%;
    border-radius: 12px;
    outline: 0;
    background-color: rgba(253,255,252,.08);
    color: #fdfffc;
    font-weight: 500;
    font-size: clamp(.8rem,.8rem + .24vw,1rem);
    border: 2px solid rgba(253,255,252,.16);
    transition: border .24s ease;
    resize : vertical;
}

.button{
    width: 80%;
    height: 50px;
    margin: 2%;
    border-radius: 12px;
    outline: 0;
    background-color: royalblue;
    color: #fdfffc;
    font-weight: 500;
    font-size: clamp(.8rem,.8rem + .24vw,1rem);
    border: none;
    cursor: pointer;
}

.rectangle{
    width: 80%;
    height: 80px;
    margin: 14% auto;
    border-radius: 12px;
    background-color: #262840;
    color: #fdfffc;
}

.logo-contact{
    width: 10%;
    float: left;
    margin: 3% 5%;
}

.nom-lien-contact{
    width: 50%;
    float: left;
    margin: 5% 0%;
}*/











/*/////////////////////////////////////////////////
///////////  Responsive ///////////////////////*/

@media screen and (max-width: 1024px) {

    .menu{
        width: 20%;
        height: 100%;
        float: right;
        margin-top: 0%;
    }

    /* Partie 1 - Home */

    .Partie1 h1{
        color: whitesmoke;
        font-size: 85px;
        position: absolute;
        margin-top: 20%;
        margin-left: 9.7%;
        font-weight: bold;
        letter-spacing: 5px;
    }
    
    .Partie1 h2{
        color: rgb(78, 120, 248);
        font-size: 25px;
        position: absolute;
        margin-top: 30%;
        margin-left: 10%;
        font-weight: 500;
    }
    
    .Partie1 h3{
        color: #bcbcbc;
        font-size: 25px;
        position: absolute;
        margin-top: 18%;
        margin-left: 10%;
        font-weight: 500;
    }
    
    .Partie1 img{
        width: 44%;
        position:absolute;
        margin-top: 7%;
        margin-left: 52%;
    }


    /*Partie 2 - About*/

    .container_About{
        width: 65%;
        height: 400px;
        margin: 5% auto;
        border-radius: 5px;
        padding: 20px;
        background-color: white;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }
}