/*GLOBAL*/
:root{
    --primarycolor:#000ffF;
}
/*HEADER*/
.titre{
    display: inline-flex;
    justify-content: space-evenly;
    align-items: center;
    height: auto;
    background-position: center;
    margin-bottom: 30px;
}
.titre img{
    flex-direction: column;
    width: 50%;
    height: auto%;
    align-items: center;
    margin-right: 10px;
    object-fit: cover;
}
main{
    align-items: center;
    width: 60%;
    height: auto;
}
/*section carrousel*/
.carrousel{
     position: relative;
     overflow: hidden;
}
.carrousel.image{
    display: flex;
    flex-wrap:nowrap ;
    flex-direction: row;
     width: 50%;
    height: auto;
    transition: transform 0.7s ease-in-out;
}
.slider-item{
    width: 100%;
    object-fit: cover;
    flex-shrink: 0;
}
.fleches{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primarycolor);
    cursor: pointer;
    z-index: 1;
}
.fleches-droite{
    left: 10px;
}
.fleches-gauche{
    left: 10px;
}
/*navigation*/
#toggle-btn{
    display: none;
    position: absolute;
    top: 180px;
    right: 20px;
    cursor: pointer;
}
nav ul{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    left: 400px;
    top: 200px;
    width: 100%;
    list-style-type: none;
    opacity: 1;
    transition: opacity 0.55;
}
nav ul li{
    margin: 0 20px;
    background-color: rgba(112, 112, 128, 0.8);
    font-size: 16px;
    min-width: 110px;
    height: 45px;
    line-height: 45px;
    color: white;
    text-align: center;
    box-shadow: 2px 2px 5px #444 ;
    cursor: pointer;
    }
    nav ul li:hover{
        background-color: rgb(86, 86, 86);
    }
    nav ul li:first-child{
        background-color: var(--primarycolor);
    }
    /*ARTICLE*/
    .article{
        display: grid;
        grid-template-columns:1fr 1fr; 
        grid-template-rows:auto ;
        font-size: small;
    }
    .article h3 h4{
        font-size: 16px;
    }
   .un p{
    padding-right: 10px;
   }
   .deux{
    margin-top: 10px;
    padding: 20px;
    background-color: rgb(128, 128, 128);
    border-radius: 0 20px 0 20px;
    height: 500px;
   }
   .boutton{
    background-color: var(--primarycolor);
    color: white;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 30px 15px;
    cursor: pointer;
   }
   /*responsive*/
   @media screen and (max-widht: 900PX){
   #toggle-btn:block
   nav ul{
       opacity: 0;
       flex-direction:column;
       width: 250px;
       padding: 0;
       top: 225px;
       left:calc(50%-125px);
   }
   .un,.deux grid column span 
   }
   @media screen and  (min-widht:901){
    nav ul opacity: 1 !important;
   }

   @media screen and (max-widht:580px) {
   .titre{justify-content: space-between;}
    .titre h3{font-size: 14px;}
    .titre img{width: 220px; ;}
    .card{grid-column: span3;}
   }