html
{
    display: flex;
    align-items: center;
    
    justify-content: center;
}

header
{ 
     
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

 #connection
{
    min-width: 600px;
}

.entete
{
    background-color: #f7f7f7;
    height: 45px;
    width: 100%;
    border-bottom: 1px solid #e89e09;
    padding: 0px;
    margin: 0px;
}

section
{
   /*  background-color: white;
       background-image: url(images/font_header.png);*/
    min-height: 512px;
    display: flex;
    flex-direction: column;
    align-items: center;
     width: 1800px; 
}





.bouuton a
{
     
    margin: 10px;
    padding: 5px;
    text-decoration: none;
    color: white;;
    width: auto;
    font-size: 1.1em;
    font-weight: bold;
}
.bande_noir
{
    width: 100%;
    background-color: lightgray;
    height: 40px;
    text-align: center;
    font-size: 0.9em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0px;
        
}

.presentation
{
        font-size: 1.2em;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    font-family: Tajawal;

}

.slide1
{
font-size: 1.2em;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    font-family: Tajawal;
    background-image: url(images/slide3.jpg);
    color: white;
 
}

.slide2
{
font-size: 1.2em;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    font-family: Tajawal;
    background-image: url(images/slide4.jpg);
    color: white;
 
}

.slide-in 

{
  transform: translateX(-100%);
  animation: slideIn 1s forwards;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
  }
}

.centred
{
    width: 500px;
 
}

.righted
{
    display: flex;
    align-items: center;
}

.num
{
    margin: 0;
    color: #f4b084;
}

.ens
{
    width: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 480px;
    padding: 5px;
    font-size: 1.3em;
     border: 5px solid white;
     background-color: #93b6b2; 
     border: 5px solid #93b6b2; 
    font-family: Tajawal;
   
    
}

.ens:hover
{
    background-color: white;
    border: 5px solid #8a2b63;
    color: #8a2b63;
}

.ens img, .ens2 img, .ens3 img
{
    opacity: 1;
}

.ens img:hover 
{
    opacity: 1;}

.ens a, .ens2 a, .ens3 a
{
    text-decoration: none;
    color: black;
    min-height: 200px;
   /* padding-top: 35px; */
}


 .carrem 

{
    height: 160px;
    width: 160px;
    background: white;
    /* border-bottom: 5px solid #8a2b63; */
    /* border-right: 5px solid #8a2b63; */
    /* border-left: 1px solid #8a2b63; */
    /* border-top: 1px solid #8a2b63; 
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);*/
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid gray;
    border-right: 3px solid gray;
    border-top: 1px solid gray;
    border-left: 1px solid gray;

}

 .carrem:hover

{
   /* height: 160px;
    width: 160px;
    background: white;
    border-bottom: 1px solid #8a2b63;
    border-right: 1px solid #8a2b63;
    border-left: 5px solid #8a2b63;
    border-top : 5px solid #8a2b63;
    -ms-transform: rotate(45deg);    
    -webkit-transform: rotate(45deg);  
    -o-transform: rotate(45deg);   */
}

.carrep 

{
    height: 160px;
    width: 160px;
    background: white;
    border-bottom: 3px solid gray;
    border-right: 3px solid gray;
    border-top: 1px solid gray;
    border-left: 1px solid gray;
}

.ens3
{
width: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 480px;
    padding: 5px;
    font-size: 1.3em;
    border: 5px solid white;
    background-color: #93b6b2;
    border: 5px solid #93b6b2;
    font-family: Tajawal;
   
    
}

.numbers_title 

{
    color: #87255f;
    font-size: 1.5625rem;
    font-weight: 500;
    text-align: center;
     font-family: Tajawal;
}

.carrep p
{
   /* -ms-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg); */
    padding: 10px;
    width: 85px;
    text-align: center;
    font-family: Garamond;
   font-weight: bold;
    color : black;
}

.carrem p
{
  /*  -ms-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg); */
    padding: 10px;
    width: 85px;
    text-align: center;
    font-family: Garamond;
   font-weight: bold;
    color: black;
}

.carrej 

{
  height: 160px;
    width: 160px;
    background: white;
    border-bottom: 3px solid gray;
    border-right: 3px solid gray;
    border-top: 1px solid gray;
    border-left: 1px solid gray;
   /* -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg); */
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf15
{
    border-bottom: 5px solid black;
    text-align: start;
}

.carrej p
{
   /* -ms-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg); */
    padding: 10px;
    width: 85px;
    text-align: center;
    font-family: Garamond;
   font-weight: bold;
    color: black;
}

.ens2
{
width: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 480px;
    padding: 5px;
    font-size: 1.3em;
    border: 5px solid #93b6b2;
    /* background-color: #dcbfd0; */
    /* border: 5px solid #dcbfd0; */
    font-family: Tajawal;
   
    
}

.ens2:hover
{
    background-color: white;
    border: 5px solid #e17795;
    color: #e17795 ;   
    
   
}

.numbers__block {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    font-family: Tajawal;
}

     .box {
      position: relative;
      border: 2px solid #333;
      width: 960px;
      padding: 40px 20px 20px 20px;
      margin: 60px auto;
      border-radius: 10px;
      background-color: #f9f9f9;
      box-sizing: border-box;
         text-align: center;
    }

    /* Logo en haut à gauche */
    .logo-corner {
      position: absolute;
    top: -35px;
    left: -35px;
    width: 70px;
    height: 70px;
    background-color: white;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    }

    .logo-corner img {
      width: 100%;
      height: auto;
    }

    /* Titre dans le coin supérieur droit */
    .title-corner {
          color: white;
    position: absolute;
    top: -25px;
    right: -20px;
    background-color: #16284c;
    padding: 5px 10px;
    font-weight: bold;
    border: 2px solid #333;
    border-radius: 5px;
    font-size: 1.2em;
    }