/* CSS Essone Auto */

/* Général */
html{
    width: 100vw;
    height: 100vh;
}
body, html{
    margin: 0;
    padding: 0;
    font-family: 'Lato';
    display: flex;
    flex-direction: column;
}

header{
    width: 100vw;
    
}

/* Class */


/* Header */
.sidenav{
    list-style: none;
}
.bleu{
    background-color: #003049;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 4vh;
    color: #F9F9F9;
}

.bleu .textheader{
display: flex;
z-index: 3;
width: 100vw;
flex-direction: column;
justify-content: start;
align-items: start;
}

.bleu .textheader h1{
    font-weight: bolder;
    font-size: 3rem;
}
.bleu .textheader h4{
    font-weight:200;
}
.bleu .logo, .bleu .logo1{
    width: 10vw;
}

.screenOrdi{
    height: 7vh;
    background-color: #F9F9F9;

}

.screenOrdi ul{
    height: 100%;
    display: flex; 
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    text-decoration: none;
    transition: ease-in-out 0.3s;

}
.screenOrdi a{
    text-decoration: none;
    color: black;
    font-weight: 400;
    padding-left: 4vh;
    padding-right: 4vh;
    transition: ease-in-out 0.2s;

}
.screenOrdi a:hover{
    color: #669bbc;

}

/* Main */
.carousel{
    position: relative;
    display: block;
    width: 100vw;
  }

  .textcitation{
    margin: 6vh;
    text-align: center;
  }
  .textcitation h4{
    font-family: 'Ephesis';
    font-size: 2rem;
  }
  .textcitation h3{
    font-size: 2rem;
  }



  /* Cards */
  .C_C_card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .cards_content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4vw;

  }


  .card {
    width: 20vw;
    aspect-ratio: 1/0.7;
    border-radius: 0.3vw;
    cursor: pointer;
    position: relative;
    overflow: hidden; 
}

.card .image_box {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.card .image_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 90%;
    border-radius: inherit;
    transition: 0.5s ease-in-out;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid white;
    border-radius: inherit;
    opacity: 0;
    transition: 0.4s ease-in-out;
}

.card:hover img {
    filter: grayscale(1) brightness(0.4);
}

.card:hover::after {
    opacity: 1;
    inset: 20px;
}

.content_p {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    color: white;
}

.card:hover .content_p {
    opacity: 1;
}

  .cont_btn{
    margin-top: 4vh;
  }

.separateur_cont{
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4vh;
    margin-bottom: 4vh;
}
  .separateur{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: grey;
    height: 0.25vh;
    width: 50vw;
    border-radius: 30vw;
}
.text_card{
    display: none;

}
.cont_btn{
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn_evenement{
    display: flex;
    justify-content: center;
    align-items:center ;
    background-color:transparent;
    color: #780000;
    padding: 3vh;
    border: 2px solid #780000;
    border-radius: 10vw;
    position:  relative;
    font-weight: 600;
    z-index: 1;
    overflow: hidden;
    transition: color 0.5s;
}
.btn_evenement a{
   text-decoration: none;
}
 
.btn_evenement:hover{
color: white;
}
.btn_evenement::before{
    content: "";
    position: absolute;
    top: 100%;
    left: 100%;
    width: 120%;
    height: 220%;
    background-color: #780000;
    border-radius: 50%;
    z-index: -1;
    transition: all 0.6s ease;
}
.btn_evenement:hover::before{
    top:-50%;
    left: -10%;
}
 

.snd_partie{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-right: 7vh;
    margin-left: 7vh;
}

.cards_presentation{
    width: 90vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #669bbc;
    color: white;
    margin: 6vh;
    border-radius: 3vw;
    padding: 4vw;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: ease-in-out 0.3s;

}
.photo {
    display: grid;
    grid: auto-flow / 1fr 1fr 1fr; 
}
.Photo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.photo img{
    margin-right: 4vh;
    margin-left: 4vh;

}
.photo .textP{
    margin: 4vh;
    text-align: center;
}
.photo .textP h3{
    font-size: 1.5rem;

}
.photo .textP h4{
    font-size: 1rem;
}

.cards_presentation:hover{
    box-shadow: rgba(70, 70, 83, 0.5) 0px 7px 50px 0px;
}
.cards_presentation_2:hover{
    box-shadow: rgba(70, 70, 83, 0.5) 0px 7px 50px 0px;
}


.video{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    width: 100vw;
    position: relative;

}
.video video{ 
    object-fit: cover;
    z-index: -1000; 
    height: 100%; 
    width: 100vw;  
    overflow: hidden; 
    position: absolute; 
   
}
.textvideo{
    color: white;
    font-size: 3rem;
    z-index: 999;
    width: 100vw;
    padding: 4vh;
    position: relative;
}  
.textvideo h3{
    font-size: 4rem;
    font-weight: 700;
    text-align: start;
    margin-top: 10vh;
}  
.textvideo h5{
    font-weight: 300;
    margin-top: 30vh;
    text-align: justify;
    margin-top: 20vh;
}  


.col{
    background-color:#669bbc;
    margin: 3vh;
    padding: 3vw;
    border-radius: 3vw;
    width: 50vw;

}

.col ul{
    list-style: none;

}
.col a{
    text-decoration: none;
    color: #F9F9F9;
    transition: 0.2s ease ;
    cursor: pointer;

}
.col a:hover{
    text-decoration:underline;
    padding-left: 1vh;
}
.cont_col{
    display: flex;
    justify-content: start;
    align-items: center;
}


/* Footer */
footer{
    margin-top: 7vh;
    width: 100vw;
    right: 0;
    bottom: 0;
    padding: 3vh;
    display: flex;
    flex-direction: column;
    background-color: #003049; 

}
.footer_cont{

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    color: #F9F9F9;
    
}
.bleu .textfooter h1{
    font-weight: bolder;
}
.bleu .textfooter h4{
    font-weight:200;
}
.footer_ordi{
    color: #F9F9F9;
}

.footer_tel{
    color: #F9F9F9;
}
 

    /*Logos Footer  */
    .resauxcont{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items:center ;
        margin-bottom: 2vh;
    }
    .resaux{
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 1.3rem;
        margin-top:3vh ;
    }

    .logos_réseaux {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
      }
      
      .icon {
        text-decoration: none;
        width: 5.625rem;
        height: 5.625rem;
        border-radius: 14px;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        position: relative;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
          rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
      }
      
      .icon > i {
        color: #003049;
        font-size: 1.5rem;
        transition: all 0.2s;
      }
      
      .icon:hover > i {
        scale: 1.2;
        color: #f1f1f1;
      }
      
      .icon:before {
        background: var(--color);
        content: "";
        position: absolute;
        width: 130%;
        height: 130%;
        left: -110%;
        top: 80%;
        transform: rotate(45deg);
      }
      
      .icon:hover:before {
        animation: slide 1s forwards;
      }
      
      @keyframes slide {
        50% {
          left: 10%;
          top: -40%;
        }
      
        100% {
          left: -15%;
          top: -15%;
        }
      }
      
      .icon:has(.fa-instagram) {
        --color: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
      }
      .icon:has(.fa-linkedin-in) {
        --color: #0077b5;
      }
      .icon:has(.fa-youtube) {
        --color: #ff0000;
      }
      .icon:has(.fa-x-twitter) {
        --color: #1da1f2;
      }
      .icon:has(.fa-github) {
        --color: #333;
      }
   
        .footer_cont .logo{
            width: 10vw;
        }

        .logos_réseaux img{
            width: 20vw;
        }
        img.logos_réseaux{
            width: 4vw;
        }


 .reveal{
    position: relative;
    transform: translateY(5vh);
    opacity: 0;
    transition: all 1.5s ease;
}

.reveal.active{
    transform: translateY(0);
    opacity: 100%;
}

.snd_partie img{
    width: 20vw;
    border-radius: 3vw;
}

.footer_ordi  img {
    height: 6vh;
}

 
/* Burger */
 
.sidenav {
    height: 100%;
    width: 30vh;
    position: fixed;
    z-index: 18;
    top: 0;
    right: -250%;
    background-color: #669bbc;
    padding-top: 5vh;
    transition: right 0.7s ease;
}
  
.sidenav .logo {
   padding-left: 2vh;
   width: 27vw;
  
  }
  
   .sidenav a {
    padding: 2vh 2vh 2vh 4vh;
    text-decoration: none;
    font-size: 1.5em;
    color: #ffffff;
    margin:2vh;
    display: block;
    transition: 0.3s;
    border: 100px;
  
  }
  
  .sidenav a:hover {
    color: #fdf0d5;
  }
  
   .sidenav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 9vh;
  }
  
    .sidenav.active {
    right: 0;
  }
  
   .sidenav .close {
    position: absolute;
    top: 0;
    border-radius: 23%;
    right: 3vh;
    font-size: 2em;
    margin-bottom: 4vh;
    color: white;
  }
  
  
   .burger-icon span {
    display: block;
    width: 4vh;
    height: 0.5vh;
    background-color: white;
    margin-top:0.7vh;
    border-radius: 25vw;
  } 
   .burger .a :hover {
    background-color: white;
    transition:ease-in 0.2s;
  } 

   
  
    
  
/* Media Screen  */
@media (min-width: 1000px) {
    .burger-icon{
     display: none;
    }
    .footer_tel{
     display: none;
    }
     .tel{
        display: none;
     }
   
    
 }  
@media (max-width: 1000px) {
     .ordi{
        display: none;
     }

     .cards_content{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .card {
        width: 60vw;
    }
     .cards_presentation{
        flex-direction: column;
        justify-content: center;

     }
     .cards_presentation_2{
        flex-direction: column;
        justify-content: center;

     }
     .textP{
        text-align: justify;
        width: 80%;
     }
     .screenOrdi{
        display: none;
     }
     .photo {
        grid: auto-flow / 1fr; 
    }
    .bleu .textheader h1{
        font-size:1rem ;
    }
    .btn_evenement{
        width: 40vw;
    }
    .bleu .logo1{
        display: none;
    }
    .snd_partie img{
        width: 40vw;
    }

 }  



  