@font-face {        /*sert à importer la police d'écriture de Helvetica*/ 
  font-family: helveticafont;
  src: url("../font/helvetica.otf");
}

@font-face {        /*sert à importer la police d'écriture de Helvetica Bold*/ 
  font-family: helveticabold;
  src: url("../font/helveticabold.ttf");
}

@font-face {        /*sert à importer la police d'écriture de Neuton*/ 
  font-family: neuton;
  src: url("../font/neuton.ttf");
}

@font-face {        /*sert à importer la police d'écriture de Work Sans*/ 
  font-family: worksans;
  src: url("../font/worksans.otf");
}

@font-face {        /*sert à importer la police d'écriture de Work Sans*/ 
  font-family: worksansbold;
  src: url("../font/worksansbold.otf");
}

.logotaille {
  max-width: 8%;
}

.typonav {
  font-family: worksansbold;
  text-transform: uppercase;
}

.nav-item > a {
  display: inline-block;
  position: relative;
  font-family: worksansbold;
  font-size: large;
}

.nav-item  > a:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: orange;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out, text-decoration-thickness 0.25s ease-out; 
}

.nav-item > a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.imgfond{
  background-image:url(../image/imgfondheader.png);
}

h1,h3{
  font-family: worksansbold;
  text-transform: uppercase;
}

h2{
  font-family: worksansbold;
  font-style: italic;
} 

h4{
  font-family: worksans;
  font-size:large;
  max-width: 80%;
}
.typo{
  font-family: worksansbold;
}

.textepluspetit{
  font-size:medium;
}

.taillepicto{
  max-width: 3%;
}

.warningbouton{
  text-decoration: none;
  color:#ffc107;
  transition: color 0.3s;
}

.warningbouton:hover{
  color: black;
}

.imgeam{
  max-width: 32%;
}

.custom-btn {
  background-color: #ffc107;
  color: #fff;
  padding: 8px 16px 8px 16px;
  border-radius: 15px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.custom-btn:hover {
  background-color: #ff9800; 
  color: black;
}

.cover{
  object-fit: cover;
}

.card-img-top {
  max-height: 200px; 
  overflow: hidden;
  object-fit: cover;
}

.ecartement {
  margin-left: 1%;
  margin-right:1%;
}

@media (max-width: 991px) {
  
}

@media (max-width: 530px) {
  .logoresponsive {
    display: none !important;
  }

  .ecartementresponsive {
    margin-left: 55px;
  }
}

@media (max-width: 502px) {
  .ecartementresponsive {
    margin-left: 35px;
  }
}

@media (max-width: 481px) {
  .ecartementresponsive {
    margin-left: 15px;
  }
}

@media (max-width: 463px) {
  .ecartementresponsive {
    margin:auto;
  }
}

@media (max-width: 991px) {
  .respcoureuse {
    display: hidden;
    justify-content: start;
  }
  .resppresentation{
    display: flex;
    justify-content: center;
  }
  .tailleevenement{
    max-width: 100%;
  }
  .margeevenement{
    margin-left: 0%;
  }
  .tailleactivite{
    max-width: 32%;
  }
  .navresponsive{
    display: flex;
    justify-content: center;
  }
}

.imgfondcontact{
  background-image:url(../image/athletecontact.jpeg);
  background-position: center top -45%;
  background-size: cover;
}

@media (max-width: 1100px) {
  .imgfondcontact{
    background-position: center top -55%;
  }
}
@media (max-width: 870px) {
  .imgfondcontact{
    background-position: center top -65%;
  }
}

@media (max-width: 750px) {
  .imgfondcontact{
    background-position: center top -78%;
  }
}

@media (max-width: 675px) {
  .imgfondcontact{
    background-position: center top -90%;
  }
}

@media (max-width: 600px) {
  .imgfondcontact{
    background-position: center top -105%;
  }
}

@media (max-width: 552px) {
  .imgfondcontact{
    background-position: center top -120%;
  }
}

@media (max-width: 515px) {
  .imgfondcontact{
    background-position: center ;
  }
}

.tailleevenement{
  max-width: 50%;
}

.margeevenement{
  margin-left: -10%;
}

@media (max-width: 1400px) {
  .tailleevenement{
    max-width: 60%;
  }
  .margeevenement{
    margin-left: -7%;
  }
}

@media (max-width: 1200px) {
  .tailleevenement{
    max-width: 68%;
  }
  .margeevenement{
    margin-left: -5%;
  }
}

@media (max-width: 767px) {
  .tailleevenement{
    max-width:70%;
  }
  .margeevenement{
    margin-left: 0%;
  }
  .tailleactivite{
    max-width: 40%;
  }
  footer{
    text-align: center;
  }
}

.tailleactivite{
  max-width: 25%;
}

.presentationresponsive {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .presentationresponsive {
    text-align: center;
  }

  .presentationresponsive .container {
    padding: 0;
  }

  .presentationresponsive .row {
    flex-direction: column;
    align-items: center;
  }

  .presentationresponsive .col {
    width: 100%;
    text-align: center;
    margin:0;
  }
  .justify-content-end{
    justify-content: center !important;
  }
  .resptext{
    display: grid;
  place-items: center;
  }
}

.textresponsive{
  display: block;
  margin-left: auto;
  margin-right: auto;
}