body
{
font-family: 'Ubuntu', Arial, serif;
background-color: #e6e6e6;
}

#page {
width: 95%;
display: flex;
margin: auto;
}


#container {
background-color: #cccccc;
min-width: 90%;
min-height: 800px;
display: flex;
justify-content: space-start;
flex-direction: column;
border-radius: 10px;
}

header {
background-color: #3E3E75;
width: 100%;
min-height: 130px;
display: flex;
flex-direction: row;
justify-content: space-around;
flex-wrap: wrap;
border-radius: 10px;
color: #cccccc;
}

#titre {
width: 80%;
min-width: 200px;
text-align: center;
font-style: italic;
font-size: 1.2em;
}

#photo {
min-width: 83px;
padding: 10px 10px 10px 10px;
}

liens {
min-width=90%;
display: flex;
flex-direction: raw;
justify-content: space-around;
flex-wrap: wrap;
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
}

.intitule {
min-width: 150px;
/* min-height: 300px; */
padding: 10px 10px 10px 10px;
background-color: #ffffff;
border-radius: 10px;
color: #3E3E75;
font-weight: bold;
}

section {
min-width=90%;
display: flex;
flex-direction: raw;
justify-content: space-around;
flex-wrap: wrap;
border-radius: 10px;
margin-top: 10px;
margin-bottom: 10px;
}

.element {
width: 30%;
min-width: 150px;
min-height: 300px;
padding: 20px 10px 20px 10px;
background-color: white;
border-radius: 10px;
}


.element:nth-child(1)
{
/* background-color: orange; */
}

.element:nth-child(2)
{
/* background-color: aqua; */
}

.element:nth-child(3)
{
/* background-color: #ad6; */
}

@media screen and (max-width: 1023px)
{

    #container {
    width: 100%;
    font-size: 2em;
    }
    
    header {
    font-size: 1.4em;
        }

    liens {
    flex-direction: column;
        }
    
    .intitule {
    width: 90%;
    margin: auto;
    min-height: 0px;
    margin-top: 10px;
    font-size: 1.5em;
    }

    section {
    flex-direction: column;
        }
    
    .element {
    width: 90%;
    margin: auto;
    min-height: 0px;
    margin-top: 10px;
    font-size: 1.5em;
    }
}

a {
  text-decoration: none;
  color: #3E3E75;
}

a:hover, a:focus, a:active {
  text-decoration: none;
  color: #F31331;
}

ul {
    list-style-type: none;
    margin: 10px;
    padding: 0;
}
