@font-face {
    font-family: crfont; /* Nom de la police */
    src: url('/src/fonts/bahnschrift.ttf') format('truetype'); /* Chemin vers votre fichier TTF */
    /* Autres attributs de la police (facultatif) */
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: crfont, sans-serif;
    color: var(--text); 
    margin: 0;
}

main {
    font-family: Helvetica, Arial, sans-serif;
    background: var(--background);
    width: 100%;
    margin: 0;
    min-height: 100em;
}

header, footer, nav {
    width: 100%;
    margin: 0;
    background: var(--banner-background);
    display: flex;
}

header, footer {
    justify-content: space-between;
}

input, textarea {
    background-color: var(--buttons);
    color:  var(--text);
    padding: 0.4em 1em;
    margin: 15px 0;
    font-size: 1.2em;
    border: 0;
    border-radius: 10px;
}

input[type='submit'], button {
    color: var(--text);
    border-radius: 10px;
}

input[type='submit']:hover, button:hover {
    box-shadow: 0 0 15px var(--banner-background);
}

img {
    border-radius: 1em;
}

.navitem {
    padding: 0.5em;
    background-color: var(--buttons);
    margin-right: 1em;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

.status {
    color: rgb(199 181 147);
}

.content {
    width: 80%;
    margin:  0 auto;
    padding: 2em 0;
}

.pancontent {
    width: 90%;
    display: flex;
    margin: 0 auto;
}

.athena-container {
    padding: 1em 0;
}

.athena {
    height: 7em;
    border-radius: 3.5em;
}

.athena:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.322);
}

.main-title {
    text-align: right;
    margin-top: 2em;
}

.main-title .title {
    font-size: 3em;
}

.article-preview {
    padding: 2em 0.5em;
    display: flex;
}

.article-preview .article-illustration {
    padding-right: 1em;
}

.article-preview .article-details {
    vertical-align: top;
}

.article-preview .article-link {
    color: var(--text);
}

.article-preview .article-miniature {
    max-width: 15em;
}

.article-preview .article-data {
    font-size: 0.8em;
}

.article-preview .article-titre {
    font: 1.5em crfont, Arial;
    padding: 0.5em 0 0.5em 0;
}

.article-resume-input {
    min-height: 5em;
}

.article-info .article-auteur {
    float: right;
}

.article-info .article-classification {
    padding: 1em 0;
    font-size: 1.3em;
}

.article-info .article-titre {
    font-size: 2em;
}

.article .article-illustration {
    padding: 2em 0;
}

.article .article-miniature {
    margin: 0 auto;
    width: 40%;
}

.article-content img {
    max-height: 10em;
}

.user-main-profile .user-content {
    width: 80%;
    margin: 0 auto;
}

.user-main-profile .user-header {
    background-color: var(--banner-background);
    padding-bottom: 2em;
}

.user-main-profile .user-banner {
    width: 100%;
    height: 12em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.user-main-profile .user-pp-image {
    width: 10em;
    height: 10em;
    border-radius: 10em;
    transform: translate(0, -60%);
    border: 5px solid var(--banner-background);
    background-color: var(--banner-background);
}

.user-main-profile .user-pp {
    height: 6em;
}

.user-main-profile .display-name {
    font-weight: bold;
    display: inline;
}

.user-main-profile .user-role {
    display: inline;
}

.user-main-profile .certification {
    transform: translate(0, +22%);
    width: 1.5em;
}

.user-main-profile .bio {
    padding: 1em 0;
}

.user-main-profile .user-articles {
    margin-top: 5em;
}

.user-main-profile .bio-input {
    max-height: 3em;
    width: 80%;
}

.article-auteur {
    background-color: var(--banner-background);
    display: flex;
    padding: 0.5em 1em 0.5em 0.5em;
    border-radius: 10em;
    width: 15em;
}

.article-auteur .auteur-display-name {
    font-weight: bold;
    display: flex;
}

.article-auteur .auteur-display-name .certification {
    transform: translate(0, -15%);
    width: 1.5em;
    margin-left: 0.5em;
}

.article-auteur .auteur-names {
    margin: auto;
}

.article-auteur .auteur-pp {
    height: 4em;
}

.article-auteur .auteur-pp-image {
    width: 4em;
    height: 4em;
    border-radius: 4em;
}

.row {
    display: inline-block;
    background-color: var(--banner-background);
    border-radius: 10px;
    padding: 2em;
    margin: 2em;
}

.row input {
    font-size: 1em;
}

.button {
    background-color: var(--buttons);
    color: var(--text);
    border-radius: 10px;
    color:  var(--text);
    padding: 0.4em 1em;
    margin: 15px;
    font-size: 1.2em;
    display: inline-block;
}

@media(max-width: 750px) {
    body {
        font-size: 0.8em
    }
    .article-preview {
        display: block;
    }
    .article-preview .article-illustration {
        margin: 0 auto;
        padding: 2em 0;
    }
    .article-preview .article-miniature {
        max-width: 100%;
        margin: 0 auto;
    }

    .article-preview .article-details {
        margin: 0 auto;
    }

    .article-preview .article-data {
        font-size: 1em;
    }
    .article-preview .article-titre {
        font-size: 2em;
    }
    .article-preview .article-resume {
        font-size: 1.2em;
    }
    .article .article-miniature {
        width: 100%;
    }
}