/* le style des element du texte: les liens, la police, la couleur et la taille du texte*/
*, ::before, ::after {box-sizing: border-box; margin: 0;}

body{font-family:  'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana; }

.container {
    display: flex;
    flex-direction: column;
}

.header {
    background-color: white;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header img {
    height: 78px;
}

.menu {
    background-color:  rgba(39, 74, 106);
    color: #fff;
    padding: 10px;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    justify-content:center;
}

.menu li {
    margin-right: 20px;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    
}
.menu a:hover{
    color: rgb(41, 141, 223);
    transition: 0.2s all;
 
 
}

a.curent{color: rgb(223, 192, 18);text-decoration: none;font-size: 1em;}
a.curent:hover{color: rgb(78, 130, 228); transition: 0.2s all;} 


a{color: rgb(125, 169, 252); text-decoration: none;}

.navigation {
    min-height: fit-content;
    height: 1100px; 
    flex-grow: 1;
    padding:  0 5%;
    background-image: url("../img/home/background.jpg");
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
}

.navigation h1 {
    font-size: 1.1em;
    margin: 10px 10px;
    text-align:center;
    
}

div.title {
    
    background-image: linear-gradient(to bottom, rgba(39, 74, 106) 97%,rgba(137, 171, 212, 0.723) 99%);
    border-radius:10px;
    color: white;
    padding: 7px;
    margin: 30px 0px;
    height: fit-content;
}

.navigation p {
    font-size: 0.96em;
    line-height: 1.2;
    padding: 8px;
    text-align:justify;
}
.image-grid-title {
    display: grid;
    width:96% ;
    margin: 0px auto;
    grid-template-columns: 1fr 3fr ; 
    grid-gap: 5%;   
    min-height:10px;
      
}



.image-grid-title p {
    text-align: center;
    color: rgb(9, 36, 124);
    background-color:rgb(101, 176, 241); 
    /* border-radius:2px 30px 2px 30px ; */
    border-radius:5px;
}

.image-subgrid {
    display: grid;
    width:96% ;
    margin: 20px auto;
    grid-template-columns: 1fr 3fr; 
    grid-gap: 5%;  
    
}
.image-grid {
    display: grid;
    width:99% ;
    margin: 20px auto;
    grid-template-columns: repeat(3, 1fr); 
    grid-gap: 5%;  
    height: fit-content;
   
}


.image-grid a {
    display: block;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.574) 76%,rgba(203, 229, 252, 0.678) 96%,rgba(106, 138, 175, 0.826) 99%);
    /* border-radius:2px 40px 2px 40px ; */
    border-radius:20px 20px;
    border: none;
    text-align: center;
    text-decoration: none;
    height: fit-content;
    min-height: 128px;

    
  
}

.image-grid img {
    width: 50%;
    min-height: 80px;
 
}

.image-grid p {font-size: 14px; 
    color: rgb(23, 104, 170);
    text-align: center;
}

.liste-grid{
    width:96% ; 
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2%;      
}

.listes{
    width: 100%; padding: 0 25px;
    /* border-radius:2px 30px 2px 30px ; */
    border-radius:10px;
    background-color:white;
    border: none;          
}

.liste-grid li {
   
    font-size: 1em; 
    color: rgb(52, 160, 248)  ;
    margin:5px    
}


@media only screen and (max-width: 700px) {
    .menu li{font-size: smaller; margin-left:25px;}
    .menu {font-size: smaller;}
    .title {font-size:0.65em ; }
    .title h3{font-size:1em ; }
    .title p{margin-left: 10px; text-align: left;}
    .image-grid p {font-size: 0.6em;}
    .image-grid-title p {font-size: 12px;}
    .image-grid img {width: 80%;min-height: 40px;}
    .image-grid {min-height:29em;}   
    .image-grid a {border-radius:5px;}
     div.title { border-radius:5px;}

}