*,
*::after,
*::before {
    box-sizing: border-box;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url(../img/background.webp);
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: -1;
}

body {
    margin: 0;
    font-family: "Jaro", sans-serif;
    color: white;
    background-color: #000000;
}

ul li:nth-child(2) a {
    color: #ED0D11;
}

li a {
    color: #ffffff;
    text-decoration: none;
}

/*Stylisé la barre de navigation, j'ai mis une propriété sticky mais je ne crois pas qu'elle fonctionne [à vérifier]*/
nav {
    font-size: 2.5rem;
    margin-top: -20px;
}

nav .nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 2vw;
}

/*Faire le style à chaque éléments de la liste de la nav barre*/
.nav-list li {
    list-style-type: none;
    color: #ED0D11;
    padding: 20px;
    position: relative;
}

/*Pour faire en sorte que les 2 derniers éléments de la nav barre aille à droite*/
.nav-list li:nth-child(2) {
    margin-left: auto;
}

/*Styliser la barre de recherche*/
.search-bar {
    display: inline-flex;
    align-items: center;
    border: 1px solid;
    border-radius: 20px;
    background-color: #312A2A;
    color: white;
    height: 44px;
    width: 240px;
    padding-right: 40px;
    /*Pour faire en sorte que l'écriture dans la barre de recherche n'aille pas derrière l'image de la loupe*/
}

/*Dimensionner tout le bouton de recherche*/
button {
    position: absolute;
    right: 8%;
    top: 63%;
    transform: translateY(-50%);
    background: transparent;
    cursor: pointer;
    border: none;
}

/*Dimensionner la loupe*/
button img {
    width: 44px;
    height: 44px;
    padding: 5px;
    margin-bottom: 6px;
}

/*Enlever la croix à la fin de la barre de recherche qui apparait automatiquement*/
.search-bar::-webkit-search-cancel-button {
    display: none;
}

h1 {
    text-align: center;
    padding-top: 20px;
}

h2 {
    margin-bottom: 10px;
    color: #ED0D11;
}

p {
    margin: 0;
}

a {
    color: white;
}

.edit {
    margin-block: 5vh;
    margin-inline: 2vw;
}

.host {
    margin-block: 5vh;
    margin-inline: 2vw;
}

.data {
    margin-block: 5vh;
    margin-inline: 2vw;
}

.cookies {
    margin-block: 5vh;
    margin-inline: 2vw;
}

.property {
    margin-block: 5vh;
    margin-inline: 2vw;
}

.sources {
    margin-block: 5vh;
    margin-inline: 2vw;
}

footer {
    height: 10vh;
    margin-top: 50px;
    margin-left: 82%;
}

footer a {
    color: white;
    font-size: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-decoration: none;
}