@font-face {
    /* Ajout de la police de caractère JetBrainsMono */
    font-family: 'JetBrainsMono';
    src:url(fonts/webfonts/JetBrainsMono-Regular.woff2);
}

.placeholder {
    color: rgb(247, 28, 255);
    border: dotted 2px;
}

body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background: rgb(20,20,20);
    color: white;
}


/* Header, menu */

header {
    position: fixed;
    z-index: 20;
    background-color: rgb(30,30,30);
    display: flex;
    align-items: center;
    justify-content: center;
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    border-color:rgba(229, 217, 210, 0.096);
    width: 80%;
    margin: 0 10%;
}

.menu {
    margin: 5px;
    text-align: center;
}

.item-menu {
    margin: 10px 25px;
}


/* Partie principale */

main {
    text-align: center;
    width: 90%;
    margin: 0 5%;
    justify-content: center;
}

.titre {
    align-items: center;
    font-family: 'JetBrainsMono';
    font-size: 3em;
}

#titreprincipal {
    padding-top: 100px;
}

.sous-titre {
    font-size: 2em;
}


/* Sections (présentation, technos, projets, veille, liens */

section {
    margin-top: 100px;
    border-top-style: solid;
    border-top-width: 2px;
    border-image: linear-gradient(to right, rgba(244, 60, 44, 0) , rgba(244, 60, 44, 0.517)) 1;
    /* border-top-color:rgba(244, 60, 44, 0.517); */
}

h2 {
    font-family: 'JetBrainsMono';
    font-size: 2.2em;
    text-align: end;
    margin: 10px 0;
}

.articles {
    align-items: center;

    /* Centre les articles sur l'axe horizontal */
    justify-items: anchor-center;

    margin: 0 5% 5% 5%;

    /* Affichage des articles disposés dans une grile */
    display: grid;

    /* Affiche les cartes sans qu'elles se chevauchent, et adapte
    en fonction de la largeur de la fenêtre */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.carte:hover {
    /* déplacmeent sur l'axe X puis Y */
    transform: translate(0, -2px);
    border-color: rgb(244, 60, 44);
}

.carte {
    box-sizing: border-box;
    border: solid;
    border-width: 2px;
    border-radius: 20px;
    border-color: rgba(229, 217, 210, 0.247);
    background-color: rgb(30,30,30);
    margin: 30px;
    padding: 10px;
    height:200px;
    width: 275px;

    /* Durée de transition lors du passage du curseur */
    transition: 0.5s;
}

.carte h3 {
    color: rgb(244, 60, 44);
}

.description {
    text-align: center;
}

.lien-carte {
    margin: 10px;
}

a:any-link:hover {
    color: rgb(253, 167, 38)
}

a:any-link {
    text-decoration: none;
    color: rgb(252, 226, 182);
    transition: 0.2s;
}

.carteveille {
    align-items: center;
}

.sous-titre-veille {
    font-size: 1.4em;
    margin: 50px;
}

.texte-veille {
    margin-bottom: 25px;
}

.sous-titre-articles {
    font-size: 1.4em;
    margin-top: 50px;
    margin-bottom: 10px;
}