/* Réinitialisation des marges par défaut des navigateurs */
* {
    margin: 0;
}

/* On utilise le sélecteur body pour appliquer une police et une taille par défaut pour tous les éléments*/
body {
    font-family: 'Manrope', sans-serif;
    font-size: 1em;
    background-color: #1F2039;
}

/* Définition du style des titres de niveau 1 */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    color: #A5B4FC;
}

/* Définition du style des titres de niveau 2 */
h2 {
    color: #f9f8ff;
}

/* Définition du style des paragraphes et des listes */
p,
li {
    font-size: 1.1em;
    color: #f9f8ff;
}

/* Définition du style des liens */
a {
    text-decoration: none;
    color:#242424;
}

a:hover {
    text-decoration: underline;
}

/* Personnalisation du style du sélecteur em 'emphase', notamment pour annuler l'italique */
em {
    color: #A5B4FC;
    font-style: normal;
}

header,
footer {
    background-color: white;
    padding: 20px 50px;
}

section {
    padding: 80px;
}

.cta {
    display: inline-block;
    background: linear-gradient(#8E86B5,#ACAEED);
    color: white;
    border-radius: 50px;
    padding: 20px 30px;
}

.cta:hover {
    background: linear-gradient(#696484,#8788BA);
    text-decoration: none;
}

.lien-icone {
    margin-left: 30px;
}

.lien-icone:hover {
    opacity: 0.5;
  }

footer,
nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

}

nav a {
    margin-left: 30px;
}

@media screen and (max-width: 996px) {
    h1 {
        font-size: 2em;
    }
    
    section {
        padding: 50px 20px 50px 20px;
    }
    
    header nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    header nav img {
        margin-bottom: 20px;
    }

    header,
    footer {
        padding: 20px 20px;
    }

    nav a {
        margin-left: 10px;
        margin-right: 10px;
    }
}