/* google-fonts */
/* 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);
}

body {
    background-color: #303030;
    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: box-shadow 0.7s ease-in;
    transition: 0.7s 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: RGBA(27, 27, 27,0%);
}
.titleEvent,.titleMenuEquipement,.titleMenuParts{
    position: relative;
}
.titleEvent::after{
    content: 'COMMING-SOON';
    color: #4c74ac;
    position: absolute;
    bottom: 13px;
    font-size: 10px;
    right: 0rem;
}
 .titleMenuEquipement::after {
    content: 'COMMING-SOON';
    position: absolute;
    top: -10px;
    right: 4%;
    font-size: 10px;
    color: #4c74ac;

}
.titleMenuParts::after{
    content: 'COMMING-SOON';
    position: absolute;
    top: -10px;
    right: 3%;
    font-size: 10px;
    color: #4c74ac;
}

#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;
}
hr{
    background-color: red;
    opacity: 1;
}
/* fin header */


/* section */
section {
    background-color: #303030;
    position: relative;
}

#blocForm {
    padding: 20px 0px;
    background-color: #1b1d1dd4;
    position: relative;
    box-shadow: 0px 1px 15px -5px rgb(0 0 0 / 56%);
}



.searchButton .btn:hover, .announceButton .btn:hover {
    box-shadow: 0px 0px 0px 3px #00697e;
}

section .container {
    font-family: "BlenderPro";

}

.boxPosts {
    border: 1px solid rgb(70 69 69 / 0%);
    border-radius: 5px;
    box-shadow: 0px 1px 15px -5px rgb(0 0 0 / 56%);
}

.boxPosts .card {
    background-color: #ffffff1a;
    border-radius: 0.25rem !important;

}

.imagePost {
        margin: auto;
    display: flex;
        max-width: 413px;
    max-height: 309px;
    object-fit: contain;
}

/* Code for the animation */
@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;
}


/* 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;
}


/* page formulaire balade */
.bgFormRide {
    background-color: #00697e;
}

#blocFormAddRide .row {
    margin: 40px 0;
}

/* page affichage balade */
.imgRides{
width: 400px;

max-height: 500px;
display: grid;
place-items: center;
}
.blocImgRide{
    display: grid;
    place-content: center;
}
.boxRide {
    border: 1px solid rgb(70 69 69 / 0%);
    border-radius: 5px;
    box-shadow: 0px 1px 15px -5px rgb(0 0 0 / 56%);
}

.boxRide .card {
    background-color: #00000052;
    border-radius: 1.25rem !important;

}

/* page formulaire annonces */
.bgFormPost {
    background-color: #00697e;
}

#blocFormAddPosts .row {
    margin: 40px 0;
}

/* page affichage annonces complétes */
.imagePosts {
      max-width: 413px;
    max-height: 309px;
    object-fit: contain;


}

.imagePostsMinimaze {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
}

.background {
    background-color: #333333;
}

.userContact h4, h5 {
    padding: 10px
}

.backgroundDescritption {
    background-color: #00697e;
    max-height: 500px;
}

.bgContact {
    background-color: #007a92;
    box-shadow: 1px 1px 1px 1px #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;
}

.backgroundDescription {
    background-color: #545454;
}

.backgroundContent {
    background-color: #0000000a;
}

@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;
    }
    
}

@media screen and (max-width:1220px) and (min-width:1164px) {
    #navbar ul li a {
        font-size: 0.85rem;
    }
}
@media screen and (max-width:1163px) and (min-width:1061px) {
    #navbar ul li a {
        font-size: 0.70rem;
    }

}
@media screen and (max-width:1060px) and (min-width:990px) {
    #navbar ul li a {
        font-size: 0.60rem;
    }

}