body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
}

nav {
    width: 100%;
    height: 10vh; /* La nav occupe 10% de la hauteur de l'écran */
    background: #E4CD6F;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    z-index: 99;
}

nav a.retour {
    color: #fff;
    font-size: 2rem;
}

nav i {
    margin: 20px;
}

nav .links a {
    color: #000;
    margin: 0 10px;
}

/* Section cover avec l'image qui occupe tout l'espace restant */
.cover {
    width: 100%;
    height: 100vh; /* 100vh moins la hauteur de la navigation */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Empêche le débordement de l'image */
}

.cover .filtre {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.6); /* Utilisation de rgba pour l'opacité */
}

.cover .fond {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    background: url("../img/fond.jpg") no-repeat center center; /* L'image ne se répète pas */
    background-size: cover; /* L'image couvre tout l'espace disponible */
}

.cover .text {
    width: 50%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cover .text p {
    width: 80%;
}

.cover .text p#titre {
    font-family: 'Myriad Pro', sans-serif;
}

.cover .text p span {
    color: #E4CD6F;
    font-size: 1.3rem;
    text-transform: capitalize;
    font-family: 'Myriad Pro', sans-serif;
}

.cover .text p:nth-child(1) {
    text-transform: uppercase;
    font-size: 5rem;
    margin-bottom: 0;
    color: #E4CD6F;
}

.cover .text p:nth-child(2) {
    margin-top: 5px;
    margin-bottom: 20px;
    color: #E4CD6F;
    font-family: 'Myriad Pro', sans-serif;
}

.cover .text p:nth-child(3) {
    margin: 0;
    font-style: italic;
}

.cover .logo__illustration {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover .text a {
    width: 80%;
    padding: 10px;
    color: #fff;
    box-sizing: border-box;
    background: #3C8DAD;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.5s;
}

.cover .text a.laureat {
    background: #ee881c;
}

.cover .text a.media {
    background: #e51111;
}

.cover .logo__illustration img {
    width: 100%;
    height: auto; /* L'image conserve son ratio tout en s'adaptant à la largeur */
    object-fit: contain;
}
