@font-face {
    font-family: 'Cantarell';
    src: url('Cantarell-Regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Cantarell-Regular-webfont.woff') format('woff'),
    font-weight: normal;
    font-style: normal;
}
.w3-main{
    padding-left:20px;
    margin-bottom:200px;
}
#crowdfunding {
width: 50%;
    border-radius: 5px;
  display: block;
  padding: 20px;
  background: #FFD320;
  margin-left: 10%;
  margin-top:120px;
  position: absolute;
  z-index: 49;
  font-size:1.8em;
  text-align: center;
  font-weight: bold;
      text-decoration: none !important;

}
#crowdfunding:hover{
    cursor: pointer;
    background: #227720 ;
    text-color:#FFF;
}
#crowdfunding a{
    text-decoration: none !important;
}
#crowdfunding a:hover{
    text-color:#FFFFFF !important;
    text-decoration: none !important;
}
#btn_reserver{
  position: fixed;
  bottom:-10px;
  width:400px;
  right:10px;
  font-size: 1.2em;
  font-weight: bold;
  z-index: 990;
  border:3px solid white;
  background-color: #D24 !important;
}

h1 {
    font-family: 'Cantarell' !important;
    font-weight: 500;
    font-style: normal;    margin: 0;
}

body {
    font-family: 'Cantarell';
    font-weight: 500;
    font-style: normal;    margin: 0;
    padding: 0;
    display: flex;
    background: #f4f4f4;
}

.w3-green {
    background-color : #69A470 !important;
}
.w3-button {
    text-decoration: none;
    border-radius: 10px;
}
.car #logo{
    display: none;
}

#accueil{
    padding:0;
    z-index:3;
}
.w3-container h2 {
    display:none;
}
.w3-top {
    width:auto;
}
.illustration {
    border : 0px solid red;
    display : block;
    width:30%;
    float:left;
    margin-right:10px ;
}
.illustration img{
    width:100%;
    display: block;
}
.car {
    position: relative;
    width: 150%;
    max-width: 900px;
    max-height:550px;
    overflow: hidden;
}
.img-wrap {
    display: flex;
    transition: transform 0.5s ease;
}
.img-wrap img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    margin-top:-30% !important;
}
.btn {
    display: block;
    position: relative;
    top: -30px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
}

.btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 33%;
}

.next {
    right: -33%;
}
h2 {
    font-size: 18px !important;
    font-weight: bold;
}
#mySidebar {
    margin-left:10px;
    margin-top:20px;
    border-radius: 10px 10px 0 0 ;
    z-index:10;
    width:300px;
    font-weight:bold;
}

#projet .w3-container {
  overflow: hidden;
  text-overflow: ellipsis; 
  height:350px;
  height:350px;
}
#accueil img{
    aspect-ratio: 1;
    margin-top:-10px;
    z-index:99;
}   
#activites #liste{
 display: block;
  clear: left;
  float: right;
  width: 100%;
}


ul {
    list-style-type: none; /* Remove default bullets */
    padding: 0; /* Remove padding */
}
li {
    font-weight: bold;
    background: #f0f0f0; /* Light gray background */
    margin: 5px 0; /* Space between items */
    padding: 10px; /* Padding inside items */
    border-radius: 5px; /* Rounded corners */
}
li span{
    font-weight: normal;
}
li span:nth-child(2){
    border : 0px solid black;
    border-radius: 4px;
    padding:3px;
    background: #FFF;
}

li::befor {
    content: 'o'; /* Custom marker */
    color: green; /* Marker color */
    font-size: 20px; /* Marker size */
    margin-right: 10px; /* Space between marker and text */
}
li .infos
{
    display: block;
    width: 100%;
    clear: both;
}

.groupe{
    width:50%;
    display: block;
    float: left;
}
.groupe>b {

    padding:4px;
    font-size: 1.2em;
    text-decoration: underline;
}
@media (max-width: 700px) {
    .car{
        width:100%;
        height:800px;
    }
    .car #logo{
        display: block;
        width:200px;
        height:150px;
        background: #FFF8;
        padding:20px;
        border-radius: 10px;
        display: block;
        left:20%;
        top:40%;
        position: absolute;
    }

    .img-wrap{
        width:100%;
        height:800px;
    }
    .img-wrap img{
     margin-top:0;
     aspect-ratio: 1;
 }
 header img{
    display: block;
}
header a{
    text-decoration: none;
}
#accueil h1{
    display: none;
}

#projet img{
    float:left;
    height:50px !important;
    width:50px !important;
    margin-left: 10px;   
    clear:both;
    display: inline;
}

#projet .w3-container h3{
    margin-left: 50px;
    margin-top: -40px;
    position: relative;
}

#projet>div>div {
    background-color: #fff !important;
}
.w3-main>div {
  padding-top: 60px;
  margin-top: -60px;
}
#mySidebar img{
    display: none;
}
#mySidebar {
    width:100%;
    margin:0;
}
#btn_reserver{
    width: 85%;
    margin-right:7%;
    margin-left:auto;
}
.groupe{
    width:100%;
}
#crowdfunding {
font-size: 0.9em;
margin-left: 18%;
width:70%;
height:auto;
padding: 10px !important;
margin-top:-50px;
top:60px;
}
}
