
html, body {
  height: 100%;  
  margin: 0;  
  padding: 0;  
  width: auto;  
  overflow-x: auto; 
}
table{
  color : rgb(255, 255, 255);
}

body {
  font-family: Arial, sans-serif; 
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;  
  width: auto;  
  background-image: url(../asset/img/bg.png); 
  background-size: cover; 
  background-position: center;
  background-attachment: fixed;
  color : rgb(255, 255, 255);
  overflow-x: auto;
}

main {
  align-items: center;
  font-weight: bold;
  color: rgb(255, 255, 255);
  width: 70%;  
  flex-grow: 1;
  padding: 2%;
  box-sizing: border-box;
  margin: 0 auto; 
  background-color:#1b01af;
  text-align: center;
  padding: auto;
}
.image-carousel {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

.image-carousel .image-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 1%;
}

.image-carousel img {
  width: 100%;
  height: 100%; 
  background-color: white; 
  object-fit: contain; 
  object-position: center; 
}
.image-carousel button {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 5px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.image-carousel button:hover {
  opacity: 1;
}

.image-carousel #prev {
  left: 10px;
}

.image-carousel #next {
  right: 10px;
}

header {
  width: 100%;
  background-color: #060653;
  font-weight: bold;
  color: rgb(255, 255, 255);
  font-family: Georgia, serif !important;
  display: flex;
}

header img.logo {
  width: 60%; 
  height: auto;
  display: block;
  margin: 0 auto;
}

header h1 {
  font-size: 10rem;
  margin: 0;
}

footer {
  background-color: #060653 !important;
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: auto;
  width: 100%;
}

h1 {
  text-align: center;
}

ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: normal;
  padding-top: 20px;
  padding-bottom: 20px;
  color: rgb(255, 255, 255);
}

li {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  padding: 10px;
  color: rgb(255, 255, 255);
}

table td {
  margin: 10px;
}

.nav {
  border: 1px solid rgb(160, 158, 158);
  background-color: #060653;
  width: 100%;
  

}
li a {
  width: 100%;
  height: 100%;
  color: rgb(255, 255, 255);
  
}
ul{
  margin-bottom: 1px; /* Réduit la marge inférieure */
  padding: 0; /* Supprime le padding par défaut */
  margin-top: 1px;
  border-radius: 0%;
}
.none {
  border: 0px solid transparent;
}

form {
  margin-bottom: 15px;
  text-align: center;
}

form label {
  display: block;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 1px;
}

form input {
  width: 80%;
  padding: 2px;
  font-size: 16px;
  border: 1px solid #007bff;
  border-radius: 4px;
}

form input:focus {
  border-color: #1c1caa;
  outline: none;
}
.msg{
  width: 80%;
  padding: 2px;
  font-size: 16px;
  border: 1px solid #007bff;
  height: 60px;
}
.btn {
  width: 50%;
  padding: 2px;
  background-color: #00004d;
  color: #fff;
  font-size: 16px;
  border: 1px solid #007bff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bolder !important;
}
.background{
  height: 100%;
  width: auto;
  
}
table {
  border: none;
  border-collapse: collapse;
  width: 100%;

}
th, td {
  border: none;
  padding: 8px;
  text-align: center;
}
th {
  background-color: #4CAF50;
  color: white;
  font-weight: bold;
}

.imgAcc {
  border: none;
  max-width: 100%;
  height: auto;
  width: 60%;
  min-width: 25%;
}

.container {
  border: none;
  text-align: center;
}
.section{
  width: 100%;
}
.test {
  width: 100%;
  table-layout: fixed;
}
.formcontact{
    text-align: center;
  align-items: center;
  align-self: center;
  width: 100%;
}
.test td {
  width: 50%;
  vertical-align: top;
}
.acctd{
  width: auto;
  height: auto;
}
.acces{
  width: 20%;
}
.cen{
  text-align: center;
  align-items: center;

}
.right{
  text-align: right;
}
.left{
  text-align: left;
}
.contact{
  text-align: center;
  border-bottom: #f9f9f9;
  height: 50%;
  width:100%;
  align-self: center;
}
.ferme {
  font-weight: bold;
  color: red;
}

.hor {
  font-weight: bold;
  text-align: center !important;
}

.horaire {
  width: 100%;
  border-collapse: collapse;
}

.tddroit {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: right;
}

.horaire th, .horaire td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.horaire tr:nth-child(odd) {
  background-color: #250186;
}

.horaire tr:nth-child(even) {
  background-color: #190453;
}

.horaire th {
  background-color: #4CAF50;
  color: white;
}

table.no-border {
  border: none;
  border-collapse: collapse;
}

table.no-border th, table.no-border td {
  border: none;
}

.contact p {
  display: flex;
  align-items: center;
  margin: 5px 0;
}

.contact .icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

.contact a {
  color: inherit;
  text-decoration: none;
}

footer img {
  width: 80%;
  max-width: 120px; 
  height: auto; 
  margin: 1px; 
  object-fit: contain; 
}
.foot-table td, .foot-table th {
  padding: 2px; 
  font-size: 14px; 
  line-height: 1;
}
.foot-table {
  margin: 0;
}
.image-gallery {
  text-align: center;
  border: 1px solid #ccc;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
}
.mainImage {
  width: 75%;
  height: auto;
  margin-bottom: 20px;
  text-align: center;
}
.thumbnails {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
  background-color: #060653;
  border-color: #ffffff;
  border-style: solid;
  border-radius: 10px;
 

}
.thumbnails img {
  width: auto;
  height: 150px;
  margin: 5px;
  cursor: pointer;
  transition: transform 0.2s;
  flex: 0 0 auto;
}
.mi {
  text-align: center;
  width: 50%;
}
.thumbnails img:hover {
  transform: scale(1.1);
}
.real{
  background-color: #060653;
  border-color: #ffffff;
  border-style: solid;
  border-radius: 10px;
}
.link{
 color:#ffffff;
 text-decoration: underline;
}
.selecthoraire{
  padding: 10px;
  border-radius: 5px;
}
