/* google-fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300;700&display=swap');

@font-face {
    font-family: 'BlenderPro';
    src: url(font/BlenderPro-Bold.woff);
}
#blurPhoto img{
    filter:blur(50px);
}
body {
    background-color: #F5F5F5;
    font-family: 'Teko', sans-serif;
}

/* header */
/* partie sous menu */
#navbar .menuContentParts li a {
    color: black;
}

#navbar .menuContentEquipement li a {
    color: black;
}

#navbar .menuContentParts li a:hover {
    color: black;
}

#navbar .menuContentEquipement li a:hover {
    color: black;
}

.miniMenuParts:hover .titleMenuParts, .miniMenuEquipement:hover .titleMenuEquipement {
    border-bottom: 2px solid rgb(255 216 0);
}

.miniMenuParts {
    position: relative;
}

.miniMenuParts::before {
    content: '';
    position: absolute;
    width: 159px;
    height: 32px;
    top: -32px;
    bottom: 0;
    left: 0;
}

.miniMenuParts::after {
    content: '';
    position: absolute;
    width: 159px;
    height: 32px;
    top: 27px;
    left: 0;
}

.menuContentParts {
    display: none;
    position: absolute;
    flex-direction: column;
    width: 17rem;
    list-style: none;
}

.miniMenuParts:hover .menuContentParts {
    display: flex;
    margin-top: 2rem;
    z-index: 2;
}

.miniMenuEquipement {
    position: relative;
}

.miniMenuEquipement::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 32px;
    top: -32px;
    bottom: 0;
    left: 0;
}

.miniMenuEquipement::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 32px;
    top: 27px;
    left: 0;
}

.menuContentEquipement {
    display: none;
    position: absolute;
    flex-direction: column;
    width: 17rem;
    list-style: none;
    margin-right: 2rem;
}

.miniMenuEquipement:hover .menuContentEquipement {
    display: flex;
    margin-top: 2rem;
    z-index: 2;
}

/* fin partie sous menu */
/* partie logo */
#logo {
    color: rgb(181, 181, 181);
    font-size: 2.8rem;
    text-decoration: none;
    min-width: 150px;
    padding: 0 5px;
    position: relative;
    color: rgb(255, 255, 255);
}

#logo:hover {

    transition: 0.3s ease-in-out;
    box-shadow: 0px 0px 0px 0px rgb(133 133 133);
    border-radius: 5px;
    background-color: #303030;
    color: rgb(92, 91, 91);
}

.logoSecondPart {
    color: #0091a9;
}

/* partie navbar  */
nav {
    background-color: #303030;
}

#navbar li a {
    color: rgb(186, 185, 185);
    font-size: 1.1rem;
    text-decoration: none;
    font-family: 'BlenderPro';
    font-weight: 700;
    padding: 0rem 0.9rem;
}

#navbar {
    width: 100%;

}

#navbar li a:hover {
    color: #f3f3f3;
    border-bottom: 2px solid rgb(255 216 0);
}

.icon {
    font-size: 1.5rem;
    color: #22edbe;
    margin: 0 5px;
}

.titleEvent {
    position: relative;
}

@media screen and (max-width:990px) {
    .titleMenuEquipement::after {
        content: 'COMMING-SOON';
        color: #4c74ac;
        position: absolute;
        font-size: 10px;
        top: 55%;
        right: none;
    }

    .titleMenuParts::after {
        content: 'COMMING-SOON';
        color: #4c74ac;
        position: absolute;
        font-size: 10px;
        top: 47%;
        right: none;
    }

    .titleEvent::after {

        content: 'COMMING-SOON';
        color: #4c74ac;
        position: absolute;
        font-size: 10px;
        bottom: -3px;
        right: -53px;
    }
}




@media screen and (min-width:991px) {
    .titleMenuEquipement::after, .titleMenuParts::after {
        content: 'COMMING-SOON';
        position: absolute;
        top: -20%;
        right: 4%;
        font-size: 10px;
        color: #4c74ac;
    }
    .titleEvent::after {
        content: 'COMMING-SOON';
        color: #4c74ac;
        position: absolute;
        font-size: 10px;
        bottom: 12px;
        left: 57px;
        width: 68px;
    }
}




/* fin header */
/* section */
section {
    background-color: #F5F5F5;
}

.bgGrey {
    background-color: #373737;
}

.blocEvent {
    position: relative;

}

.commingSoon {
    width: 200px;
    height: 200px;
    bottom: 0;
    position: absolute;
}

/* partie contenu home*/
/*background image et les deux titres */
#home {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background-image: url(../../assets/img/v1.jpg);
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    background-repeat: no-repeat;
}

.blocHome h1 {
    color: rgba(251, 251, 251, 0.62);
    font-weight: 900;
    font-size: 5.8rem;
}

.blocHome h2 {
    color: #41b3bf;
}

/* partie fonctionnalité du site */

.textAboutUs {
    font-family: 'Raleway', sans-serif;
    color: black;
}

.aboutUsContent {
    display: grid;
    place-content: center;
    color: #225468;
    font-size: x-large;
}

.backgroundLight {
    background-color: #ffffffcf;
}

/* titre des blocs de la section */
.titleSection {
    font-family: 'BlenderPro', sans-serif;
    position: relative;
    color: #00a9a9;
}

.titleSection::after {
    content: '';
    position: absolute;
    background-color: rgb(148, 148, 148);
    height: 0.1rem;
    width: 95%;
    bottom: 0;
    left: 0;
}



/* partie vehicules neufs */
.ktmLogo {
    transform: rotate(90deg);
}

.yamahaLogo {
    transform: rotate(90deg);
}

.hoverImage {
    transform: scale(0.9);
    transition: .5s ease-in-out;
}

.hoverImage:hover {
    transform: scale(1);
}

/* responsive */
@media screen and (max-width:767px) {

    .ktmLogo, .yamahaLogo {
        height: 210px;
        width: 300px;
        transform: rotate(0deg);
    }

    .ktmLogo {
        margin: 25px 0px;
    }
}

/* fin partie moto neuve */

/* partie évènement */
.eventOne {
    height: 700px;
    width: 500px;
}

.eventTwo, .eventThree {
    height: 700px;
}





/* fin partie evenement */

/* partie annonces */
.card {
    background-color: #c1c3c7;
    /* couleur d'arriére plan des carte annonces */
}

/* fin partie annonces */
/* fin partie section */

/* footer */
footer {
    background-color: RGB(27, 27, 27);
    padding: 0;
    border-top: 1px solid #4d4d4d;

}

footer a {
    text-decoration: none;
    color: #ebe7e7;
}

footer ul {
    list-style: none;
    font-size: 1.2rem;
}

footer ul li {
    margin: 5px 0px;
}

#copyrightText {
    color: #8b8b8b;
}

/* reseaux sociaux logo */
.réseauxSociaux img {
    width: 2em;
}

/* fin partie footer */


/* partie responsive */
/* reduction de la taille des titres et l\'adaptation du bloc home avec la photo   */
@media screen and (max-width:1350px) and (min-width:1164px) {
    #navbar i {
        font-size: 1.2rem;
    }

}

@media screen and (max-width:1163px) and (min-width:990px) {
    #navbar i {
        font-size: 1rem;
    }

}

@media screen and (max-width:1350px) and (min-width:1221px) {
    #navbar ul li a {
        font-size: 0.9rem;
    }

    .titleEvent::after {
        content: 'COMMING-SOON';
        color: #4c74ac;
        position: absolute;
        
        bottom: 9px;
        left: 40px;
        width: 68px;
    }
}

@media screen and (max-width:1220px) and (min-width:1164px) {
    #navbar ul li a {
        font-size: 0.85rem;
    }
    .titleEvent::after {
        content: 'COMMING-SOON';
        color: #4c74ac;
        position: absolute;
       
        bottom: 8px;
        left: 40px;
        width: 68px;
    }
}

@media screen and (max-width:1163px) and (min-width:1061px) {
    #navbar ul li a {
        font-size: 0.70rem;
    }

    .titleEvent::after {
        content: 'COMMING-SOON';
        color: #4c74ac;
        position: absolute;
       
        bottom: 7px;
        left: 25px;
        width: 68px;
    }
}

@media screen and (max-width:1060px) and (min-width:990px) {
    #navbar ul li a {
        font-size: 0.60rem;
    }
    .titleEvent::after {
        content: 'COMMING-SOON';
        color: #4c74ac;
        position: absolute;
      
        bottom: 7px;
        left: 25px;
        width: 68px;
    }
}


@media screen and (max-width:3800px) and (min-width:951px) {
    .titleSection {
        font-size: 5rem;
    }
}

@media screen and (max-width:950px) {
    .titleSection {
        font-size: 4rem;
    }
}

@media screen and (max-width:650px) and (min-width:400px) {
    .titleSection {
        font-size: 3rem;
    }
}

@media screen and (max-width:399px) {
    .titleSection {
        font-size: 2rem;
    }
}

@media screen and (max-width:3800px) and (min-width:951px) {
    #home .blocHome h1 {
        font-size: 5rem;
    }

    #home .blocHome h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width:950px) and (min-width:651px) {
    #home .blocHome h1 {
        font-size: 4rem;
    }

    #home .blocHome h2 {
        font-size: 1rem;
    }
}

@media screen and (max-width:650px) and (min-width:400px) {
    #home .blocHome h1 {
        font-size: 3rem;
    }

    #home .blocHome h2 {
        font-size: 1rem;
    }
}

@media screen and (max-width:399px) {
    #home .blocHome h1 {
        font-size: 2rem;
    }

    #home .blocHome h2 {
        font-size: 1rem;
    }

    .textAboutUs {
        font-size: 0.5rem;
    }
}

@media screen and (max-width:950px) and (min-width:100px) {
    #home {
        min-height: 30vh;
    }
}

/* partie evenement  */
section {

    background-color: #303030;

}

.numberOfPicture {
    position: absolute;

    color: rgb(255, 255, 255);
    bottom: 0;
    left: 0;
    font-size: 1.5rem;
    padding: 0 10px;
    margin: 0;
    cursor: default;

}

.position {
    position: relative;
    max-width: 413px;
    max-height: 309px;
    
}

.boxPosts {
    border: 1px solid rgb(70 69 69 / 0%);
    border-radius: 5px;
    box-shadow: 0px 1px 15px -5px rgb(0 0 0 / 56%);
    font-family: "blenderPro";
}

.boxPosts .card {
    background-color: #ffffff1a;
    border-radius: 0.25rem !important;

}

.imagePost {
       margin: auto;
    display: flex;
    max-width: 413px;
    max-height: 309px;
    object-fit: contain;
}

/* .form-img{
    height: 555px;
} */
.form-contact {
    background-color: #242425;
}

.bloc-img {
    max-height: 578px;
    position: relative;
}

.btnForm {
    border-radius: 30px;
    border: none;
    padding: 10px 50px;
    background: linear-gradient(-135deg, #810e0e, #000000, #000000, #000000);
}

.contactInfo {
    position: absolute;


    color: #b4b3b3;
    text-align: center;
    bottom: 0;

    padding: 10px 5px 5px 5px;
    font-family: 'BlenderPro';
    text-transform: uppercase;
}

.titleContact {
    position: relative;
}

.titleContact::after {
    content: '';
    background-color: white;
    bottom: 0;
    left: 0;
    position: absolute;
    height: 1px;
    width: 400px;
}

@keyframes learn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* The div element for the animation */
.successMessage {
    opacity: 0;
    position: absolute;
    animation: learn 8s;
    width: 400px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    margin-top: 1rem;
}