* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.45;
}

main {
    max-width: 900px;
    margin: 36px auto;
    padding: 28px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(20, 30, 60, 0.2);
}

/* Header */
header {
    background: transparent;
    padding: 18px 24px;
    background-color: #f8fafc;
    border-bottom: 1px solid #3C4CA9;
    color: white;
}

header a {
    text-decoration: unset;
    display: block;
    color: #0b2545;
    position: relative;
    cursor: pointer;
}

header a:has(img)::before {
    display: none;
}

header a::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    display: block;
    background-color: #0b2545;
    transition: all linear 0.2s;
}

header a:hover::before {
    width: 100%;
}

#navigateur {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 20px 0 0;
}

#navigateur img {
    height: 120px;
    width: 120px;
}

nav {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
}

/* Titres */
h1 {
    font-size: 2rem;
    margin: 0 auto 12px;
    padding: 10px;
    width: fit-content;
    border-radius: 5px;
    text-align: center;
    color: #2f0754;
    background: #eef2ff;
}

h2 {
    margin-top: 22px;
    margin-bottom: 12px;
    font-size: 1.15rem;
    text-align: center;
    color: #0b1666;
}

p {
    margin: 12px 0;
    color: #233240;
}

/* Styles */
.align-center {
    text-align: center;
}

.underline-blue {
    background: #8092cb;
    padding: 0 5px;
    border-radius: 2px;
    color: #f8fafc;
}


button {
    background-color: #2f0754;
    color: white;
    border-radius: 5px;
    transition: all linear .2s;
    padding: 11px 14px !important;
    border: 2px #2f0754 solid;
    margin: unset !important;
    cursor: pointer;
}

button:hover {
    background-color: white;
    color: #2f0754;
}

.linkGithub {
    background: #2f0754;
    padding: 3px 5px;
    border-radius: 2px;
    color: #f8fafc;
    text-decoration: underline;
    transition: all linear 0.2s;
}

.linkGithub:hover {
    background: #0b1666;
    padding: 3px 8px;
}

/* Style appliqué qu'au formulaire de la gloire */

#gitGloire {
    color: white;
    background-color: rgba(0, 0, 0, 0.396);
    margin: auto;
    width: fit-content;
}