/*=======================GENERALITES=========================*/

/* ----------------------Style global------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  overflow-x: hidden;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #7fb2c5;
  color: #0d0c0d;
  overflow-x: hidden;
  font-size: 16px;
}

h1, h3 {color: #000000;}

/* -------------------------En-tête------------------------- */
header {
  background-color: #007099;
  padding: 1.5%;
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  border-bottom: 3px solid #000000;
  border-top: 3px solid #000000;
  border-radius: 2cap;
  overflow: hidden;
}

header .logo h1 {
  font-weight: bold;
  font-family: monospace;
  color: #191719;
  text-align: left;
  align-content: center;
  word-break: keep-all;
  font-size: 1.8em;
  letter-spacing: 1px;
}

header .logo-img {
  width: 100px;
  padding-right: 3%;
}

/* ------------------------Logo et en-tête----------------------- */
header .logo {
  display: flex;
  border: 2px solid black;
  border-radius: 1cap;
  padding: 0.3% 2%;
  background-color: #fafafa20;
}

/* -----------------------Menu de navigation--------------------- */
nav {margin-right: 2%;}

nav ul {
  list-style: none;
  display: flex;
  width: 150%;
}

nav ul li {
  position: relative;
  padding-left: 5px;
}

nav ul li a {
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  font-weight: bold;
  color: #000000;
  font-size: 16px;
  font-family: 'Arial', sans-serif;
  transition: color 0.3s ease;
}

nav ul li a:hover {color: #ff0b0b; }

.navmenu {
  border-radius: 1cap;
  border: 2px solid black;
  background-color: #a52626;
}

.navmenu:hover {
  background-color: #000a0e;
}
/* -------------------------pied de page---------------------------- */
footer {
  background-color: #140b0b;
  color: #573030;
  text-align: center;
  padding: 20px;
}

footer p {font-size: 14px;}

/*===========================BASE==============================*/

/* ---------------------------Intro HDP--------------------------- */
.intro {
  text-align: center;
  padding: 3%;
  font-size: x-large;
}

.intro h2 {
  margin-bottom: 1%;
  font-family: 'Arial', sans-serif;
  
}

.intro p {font-size: 1.3em;}

/*---------------------Section Pourquoi M2L-------------------------*/
.whyus {
  background-color: #3c95bb;
  border-bottom: 3px solid #000000;
  padding: 2% 4%;
  border-top: 2px solid #000000;
  border-radius: 2cap;
}

.whyus h2 {
  margin-bottom: 2.5%;
  text-align: center;
}

.whyus ul {
  margin-bottom: 2%;
  margin-left: 11%;
}

.whyus li {padding-bottom: 1%;}

.whyus p {
  margin-left: 0.5%;
  text-align: center;
}

/*============================SECTIONS=============================*/

/* ------------------------Section sports------------------------ */
.sports {
  padding: 40px 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.sports h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

/*---------------------------Items Sports-----------------------------*/

.sport-item1, .sport-item2 {
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  display: flex;
  background-color: #335a6e;
  width: 95%;
  margin: 0 auto 20px auto;
  height: 6em;
  filter: contrast();
  transition: transform 0.3s ease, filter 0.3s ease;
  overflow: hidden;
  border: 2px solid black;
}

.sport-item1 h3, .sport-item1 p, .sport-item2 h3, .sport-item2 p, .btn {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 0px 2px 4px rgba(129, 70, 8, 0.6);
}

.sport-item1 h3, .sport-item2 h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  text-align: center;
}

.sport-item1 p, .sport-item2 p {
  font-size: 1.1em;
  color: white;
  text-align: center;
}

.sport-item1:hover, .sport-item2:hover {transform: scale(1.01);}

/* -----------------------Style boutons--------------------------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #dd3333;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  
}

.btn:hover {
  background-color: #06171d;
  transform: scale(1.05);
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px #d4af3780;
}

/*-------------------------Section mission---------------------------*/
.mission {
  padding: 4%;
  padding-bottom: 1%;
  font-family: 'Arial', sans-serif;
  border-bottom: 3px solid #000000;
  background-image: url('img/mission.jpg');
  color: white;
  border: 3px solid #ffffff;
  border-radius: 3cap;
  margin: 0% 1%;
  padding-bottom: 5%;
  text-shadow: 0 2px 3px black;
}

.mission h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 2.5%;
}

.mission h3 {
  margin-top: 2%;
  margin-bottom: 1%;
  color: white;
}

.mission ul {
  margin-bottom: 2%;
  margin-left: 1.5%;
}

.mission li {padding-bottom: 1%;}

.mission p {
  text-align: left;
  margin-bottom: 2%;
}

.mission-text {text-align: center;}

.mission-vlb {margin-bottom: 2%;}

.mission-vlb, .mission-esc {
  border: 2px solid rgb(255, 255, 255);
  border-radius: 1em;
  padding: 2%;
  backdrop-filter: blur(30px);
}

/*------------------------financement------------------------------*/


.funding {
  padding: 4% 5%;
  padding-bottom: 1%;
  font-family: 'Arial', sans-serif;
  border-bottom: 3px solid #000000;
  border-radius: 2cap;
}

.funding h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 2.5%;
}

.funding h3 {
  margin-top: 2%;
  margin-bottom: 1%;
}

.funding ul {
  margin-bottom: 2%;
  margin-left: 1.5%;
}

.funding li {padding-bottom: 1%;}

.funding p {
  text-align: left;
  margin-bottom: 2%;
}

.funding-sponso, .funding-subs {margin-bottom: 2%;}

.funding-sponso, .funding-subs, .funding-membership {
  border: 2px solid black;
  border-radius: 1em;
  padding: 2%;
  background-color: #3c95bb;
}

/*-----------------------services--------------------------*/

.services {
  padding: 4% 5%;
  padding-bottom: 1%;
  font-family: 'Arial', sans-serif;
  border-bottom: 3px solid #000000;
  border-radius: 2cap;
  border-top: 3px solid #000000;
  margin: 0.2% 0%;
}

.services h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 2.5%;
}

.services h3 {
  margin-top: 2%;
  margin-bottom: 1%;
}

.services ul {
  margin-bottom: 2%;
  margin-left: 1.5%;
}

.services li {padding-bottom: 1%;}

.services p {
  text-align: left;
  margin-bottom: 2%;
}

.services-zones, .services-train, .services-events, .services-certif, .services-wellbe, .services-com {
  border: 2px solid black;
  border-radius: 1em;
  padding: 2%;
  background-color: #3c95bb;
}

.services-zones, .services-train, .services-events, .services-certif, .services-wellbe {margin-bottom: 2%;}

/*---------------batiments-----------------*/
.bata {
  margin: 20px auto;
  max-width: 60%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  border: 2px solid;
}
th, td {
  padding: 8px;
  text-align: center;
  border: 1px solid #000000;
}
th {
  background-color: #335a6e;
  color: #fff;
}
td {
  background-color: #3c95bb;
  color: #000000;
}

.bata h2 {
  text-align: center;
  padding: 2%;
}

/*----------------contact------------------*/
.contact {
  padding: 1% 30%;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.contact p {
  background-color: #3c95bb;
  border: 2px solid black;
  border-radius: 2cap;
  padding: 2% 0%;
}