@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Orbitron:wght@400..900&family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&family=Kufam:ital,wght@0,400..900;1,400..900&display=swap');
 
*{
    font-family: "lato", sans-serif;
}
 
.container {
    width: 90%; /* Définit la largeur du conteneur à 90% de son parent */
    height: 130%;
    margin: auto; /* Centre le conteneur horizontalement */
    padding-top: 5px;
}
 
header{
    background-color: #f55026; /* Définit la couleur de fond de l'en-tête */
    color: #fff; /* Définit la couleur du texte dans l'en-tête */
    width: 100%; /* Définit la largeur de l'en-tête à 100% de la fenêtre */
    top: 0; /* Positionne l'en-tête en haut de la fenêtre */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
 
header h1 {
    text-align: center; /* Centre le texte du titre */
    justify-content: center;
    font-size: 20px;
    margin-bottom: 0.5rem; /* Ajoute un espacement en bas du titre */
}
header p{
    color: black;
    font-size: 25px;
    text-align: center;
}
 
nav ul {
    display: flex; /* Utilise Flexbox pour la mise en page */
    justify-content: center; /* Centre les éléments de la liste horizontalement */
    list-style: none; /* Supprime les puces de la liste */
    justify-content: end;
 
}
 
nav ul li {
    margin: 0 1rem; /* Ajoute un espacement horizontal entre les éléments de la liste */
}
 
nav ul li a {
    color:black; /* Définit la couleur du texte des liens */
    text-decoration: none; /* Supprime le soulignement des liens */
    font-size: large; /* Définit la taille de la police des liens */
    font-family: "exo", sans-serif; 
}
 
.white{
    color: white;
}
 
hr{
    color: black;
    border:1px solid;
    inline-size: 30%;
}

.container p , footer h3{
font-family: "exo", sans-serif; 
}

main{
    background: url(../img/cyber-3400789_1920.jpg) no-repeat;
    height: 1100px;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}
 
.portrait{
    border: 0.3em solid #0A4F70;
    margin-top: 110px;
    margin-left: 180px;
    width: 18em;
    height: 18em;
    border-radius: 100%;
}
 
.text{
    margin-top: -80px;
    padding-top: 20px;
    padding-left: 600px;
    background-color:#e6eff0;
    height: 280px;
    border: 2px solid #0A4F70;
    padding-bottom: 35px;
}
 
h1, h2{
   font-size: xx-large;
}
 
h2{
    font-family: "exo", sans-serif;
    color: #f55026;
}
.size{
    font-size: x-large;
    margin-right: 20px;
}
 
.bottom{
    background-color: #f55026;
    margin-top:-100px;
    padding-top: 50px;
    height: 150px;
}
 
 
.bloc{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
 
.padding{
    color: white;
    padding-top: 22px;
    font-size: small;
}


@media screen and (max-width: 500px){

    nav ul li {
    margin: 0 2rem; /* Ajoute un espacement horizontal entre les éléments de la liste */
    margin-top: 20px;
    }

    main section{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    }

   
    .portrait, .text{
        display: flex;
        flex-direction: column;
        text-wrap: wrap;
        justify-content: space-around;
    }
    

    .portrait{
        width: 12em;
        height: 12em;
        margin-left: 5px;
    }

    .text{
        margin-top: 30px;
        padding-top: 0px;
        padding-left: 180px;
        height: 400px;
        padding-bottom: 0px; 
        background-size: cover;
    }

    h2{
        font-size: large;
        margin-left: -100px;
        margin-right: 40px;
    }

    .size{
        font-size: large;
        margin-top: -100px;
        margin-left: -100px;
        margin-right: 35px;
    }

    .bottom{
        padding-top:30px;
        height: 250px;
    }

    .bloc{
        display: flex;
        flex-direction: column;
        text-wrap: wrap;
        justify-content: space-around;
    }

    .bloc p{
        padding-left: 30px;  
    }

    h3{
        font-size: small;
        width: 50%;
        padding-left: 30px;
    }

    .padding{
        font-size: small;
        width: 50%;
        padding-left: 30px;
    }

    }
