@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
    --dark-1-color: #1a1a1a;
    --dark-2-color: #262626;
    --dark-3-color: #404040;
    --dark-4-color: #949494;
    --light-color: #e5e5e5;
    --accent-1-color: #8968ff;
    --accent-2-color: #B7A7F2;
    --accent-3-color: #c6bbee;
}

* {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

strong {
    color: var(--accent-1-color);
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2em;
    padding-bottom: 16px;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.4em;
}

h5 {
    font-size: 1.3em;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: var(--dark-1-color);
    color: var(--light-color);
    width: 80%;
    margin: auto;
    font-size: 1.1em;
}

header,
main,
footer {
    padding: 16px;
}

header {
    background: linear-gradient(var(--dark-1-color) 0%, 95%, #00000000 100%);
    display: flex;
    align-items: stretch;
    position: sticky;
    gap: 64px;
    top: 0;
}

header > a {
    font-size: 2.4em;
    font-weight: bold;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -4px;
}

header a {
    transition: all 0.5s;
}

header a:hover {
    color: var(--accent-2-color);
}

header > nav {
    font-size: 1.2em;
    display: flex;
    gap: 32px;
    flex: 1;
}

header > nav > a {
    display: flex;
    align-items: center;
}

main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}


footer {
  text-align: center;
  color: var(--dark-4-color);
}


/* Présentation */

.presentation {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Carte projet */

.project,
.project-links > a {
    border: 2px solid var(--dark-3-color);
    border-radius: 12px;
}

.project {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-links {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.project-links > a {
    padding: 8px;
    transition: all 0.5s;
    display: flex;
    align-items: center;
}

.project-links > a:hover {
    border-color: var(--accent-1-color);
}

.project-links > a > img {
    height: 24px;
}