main{
    display: flex;
    flex-direction: column;
    margin-bottom:5%;
}


.perso{
    margin-left:10%;
}

.presentation{
    margin-left:48%;
    margin-top:6%;
    margin-right:15%;
    margin-bottom:9%;
} 

#profil{
    font-family: 'Roboto-Black';
    font-size: 25px;
    text-decoration: underline;
    text-underline-offset: 5px; /* Décale le soulignement vers le bas */
}

.moi{
    font-family: 'Roboto-Regular';
    font-size: 19px;
    padding-top:25px;
    line-height: 23px;
}


#etoile_contour, #etoile_pleine{
    position: absolute;
    top:20%;
    animation: scintillement 2.5s infinite; /* Animation continue avec un délai de 1.5 secondes */
}
 
#etoile_pleine {
    left:10%;
    animation-delay: 0s; /* Début immédiat */

}

#etoile_contour{
    left:8.7%;
    animation-delay: 0.7s; /* Début immédiat */

}

#etoile_contour2, #etoile_pleine2{
    position: absolute;
    top:75%;
    animation: scintillement 2.5s infinite; /* Animation continue avec un délai de 1.5 secondes */
}

#etoile_contour2{
    right:8.7%;
    animation-delay: 0.7s; /* Début immédiat */

}
#etoile_pleine2{
    right:10%;
    animation-delay: 0s; /* Début immédiat */

}


::-webkit-scrollbar {
    width: 12px; /* Largeur de la barre verticale */
    height: 12px; /* Hauteur de la barre horizontale */
  }

  /* Couleur de fond de la piste de défilement */
  ::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
  }

  /* Couleur et style de la poignée (le thumb) */
  ::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 3px solid #f1f1f1; /* pour un effet d'espace autour du thumb */
  }

  /* Style au survol de la poignée */
  ::-webkit-scrollbar-thumb:hover {
    background-color: #555;
  }


  #moi{
    position: absolute;
    height:450px;
    top:8%;
    left:21%;
  }

  .moi1{
    position: absolute;
    top:16%;
    height:70px;
    left:24%;
  }

  .hidden {
    display: none;
}

#cv{
    color: #C6AEBC;
    font-weight: bold ;
}


@keyframes scintillement {
    0% {
        opacity: 1; /* Pleine visibilité au début */
    }
    50% {
        opacity: 0; /* Disparaît à 50% */
    }
    100% {
        opacity: 1; /* Réapparaît à 100% */
    }
}

/* Styles pour les grands écrans (ordinateurs) */
@media screen and (min-width: 1024px) {
    main {
        display: flex;
        flex-direction: column;
        margin-bottom: 5%;
    }

    .perso {
        margin-left: 10%;
    }

    .presentation {
        margin-left: 48%;
        margin-top: 6%;
        margin-right: 15%;
        margin-bottom: 9%;
    }
}

/* Styles pour les tablettes */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .perso {
        display: none;
    }

    #moi {
        height: 300px;
    }

    .presentation {
        width: 90%;
        margin-top: 5%;
        text-align: justify;
    }

    .moi1 {
        height: 50px;
    }
    #etoile_contour, #etoile_pleine, #etoile_contour2, #etoile_pleine2 {
        display: none;
    }
}

/* Styles pour les petits écrans (mobiles) */
@media screen and (max-width: 767px) {
    main {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 5%;
    }

    .perso {
        display: none;
    }

    .presentation {
        width: 100%;
        text-align: justify;
    }

    #profil {
        font-size: 20px;
        margin-top:5%;
    }

    .moi {
        margin-top:3%;
        font-size: 14px;
        line-height: 20px;
        margin-right:5%;
    }

    #etoile_contour, #etoile_pleine, #etoile_contour2, #etoile_pleine2 {
        display: none;
    }
}