* {
    box-sizing: border-box;
}

/*Global*/

ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    
}

a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: black;
}

.container {
    max-width: 1340px;
    margin: 0 auto;
}

img {
    width: 100%;
}

/*Header*/

.containerheader {
    position: fixed;
    z-index: 1000;
    background-color: blanchedalmond;
    width: 100%;
    max-width: 1340px;
    top: 0px;
    padding: 20px;
}

.headercontend {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    width: 150px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

header nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 50px;
}

header nav ul {
    display: flex;
}

header nav ul li {
    padding: 10px;  
}

header nav ul li a {
      color: rgb(65, 5, 121);
    font-size: 18px;
    font-weight: bold;
}

header nav ul li a:hover {
    text-shadow: rgb(199, 48, 151) 2px 2px 3px ;
    cursor: pointer;
    zoom: 103%;
}

/*Main*/

.maincontend {
    padding-top: 100px;
}

.maincontend-img {
    height: 550px;
    object-fit: fill;
}

.titlepres {
    font-size: 30px;
    text-align: center;
} 

.pres {
    margin-top: 25px;
    font-size: 16px;
    text-align: center;
}

.maincontend-pres {
    background-color: white;
    border-top-left-radius: 250px 100px;
    border-top-right-radius: 250px 100px;
    margin-top: -70px;
    position: relative;
    padding-top: 40px;
}

h3 {
    background-color: rgb(93,212,123);
}

/*Animateurs*/
.animglobal {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 80%;
    margin: auto;
   
}

.imganim {
    width: 20%;
    height: 200px;
    border-color: black;
    border-style: solid;
    margin: 10px;
    border-radius: 90px;
    margin-bottom: 50px;
}

.imganim img { 
  object-fit:cover;  
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 90px;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 160px;
  background-color:rgba(255,255,255,0.6);
  opacity: 30;
  color: black;
  text-align: center;
  border-radius: 45px;
  padding: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the element */
  left: 50%;
  margin-left: -80px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.benimg {
    width: 80%;
    margin: auto;
}

.arrow {
    display: flex;
    justify-content: end;
}

/*Bandeau défilant*/
.messagedefilant {
  display: block;
  padding: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 60px;
}
 
.messagedefilant div {
  position: absolute;
  min-width: 100%; /* au minimum la largeur du conteneur */
}
 
.messagedefilant div span, 
.messagedefilant div:after {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  white-space: nowrap;
  top:0;
}
 
.messagedefilant div span {
  animation: defilement 10s infinite linear;
  background: rgb(233, 87, 87);
  color: white;
}
 
.messagedefilant div:after {
  position: absolute;
  top:0; left:0;
  content:attr(data-text);
  animation: defilement2 10s infinite linear;
  background: rgb(233, 87, 87);
  color: white;
}
 
@keyframes defilement {
  0% { margin-left: 0; }
  100% { margin-left: -100%; }
}
 
@keyframes defilement2 {
  0% { margin-left: 100%; }
  100% { margin-left: 0%; }
}


/*Footer*/

.footercontend {
   display: flex;
   justify-content: space-between;
   align-items: center;
   background-color: blanchedalmond;
   text-align: center;
   padding-top: 25px;
   padding-bottom: 25px;
   font-weight: bolder;
   justify-content: space-around;
   margin-top: 60px;
}

#icons {
    cursor: pointer;
    display: none;
}

@media screen and (max-width: 1335px) {
    header nav ul li a {
        font-size: 14px;
    }

    .logo {
        width: 75px;
        height: 25px;
    }

    

    
}

@media screen and (max-width:1008px) {

    #icons {
        display: block;
      
    }

    #icons:before {
        content: "\2630";
        font-size: 25px;
    }

    .logo {
        width: 150px;
    height: 50px;
    }

    nav ul {
        position: fixed;
        right: -100%;
        top:10%;
        flex-direction: column;
        background-color: rgba(255, 235, 205, 0.622);
        width: 50%;
        text-align: center;
        transition: 0.25s;
    }

    nav li {
        padding: 3px 0;
    }

    nav.active ul {
        left:50%;

    }
}

@media screen and (max-width:768px) {
    .animglobal {
        display: flex;
      flex-direction: column;
      
    }

    .imganim {
        width: 180px;
        margin: 0 auto;
        margin-bottom: 45px;
    }

 .maincontend-pres {
    margin-top: 10px;

 }

 .pres {
    margin-top: 10px;
    font-size: 14px;
 }

 .maincontend-img {
    display: none;
 }

 .messagedefilant {
    display: none;
 }

 .footercontend {
    font-size: 10px;
 }

 nav ul {
    top: 13%;
 }

 .arrow {
    font-size: 10px;
 }

 #icons {
    margin-left: 50px;
 }


}


   