body {
  position: relative;
  margin: 0;
  min-height: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: black;
}
::-webkit-scrollbar {
  width: 0.3em;
  background-color: transparent;
}

/* Styliser le bouton de défilement */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #aaa;
}

/* Styliser la piste de défilement */
::-webkit-scrollbar-track {
  background-color: transparent;
}
.accueil{
  background-image: url("../images/tt.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  width: auto;
  margin: 0 auto;
  height: 1000px;
  max-width: 1200px;
  margin: 0 auto;
}
#aheader{
  color: #000;
}
a,td,form,h2,#text {
  color: #ffff;
}
h2{
  display: flex;
  justify-content: center;
}

h1{
  display: flex;
  justify-content: center;
  color: white;
  box-shadow: #000;
  backdrop-filter: blur(10px);
  font-size: 30px;
  margin-left: 10%;
  margin-right: 10%;
  z-index: 2;
}
p{
  margin-left: 30px;
}
/* header */
.espace{
  width: 100%;
  height: 58.4px;
}
.header {
  background-color: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  text-decoration: none;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float:right;
  top: 0;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

img.clap{
  width: 100%;
  margin-top: 5px;
}
img.clap:hover{
  transform: scale(1.1);
    transition: 0.5s;
}
.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

@media (min-width: 480px) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
}
  @media (max-width: 480px){
    main{
      background-image: url("../images/tt2.jpg");
      background-repeat: repeat;
      
    }
    #index{
      margin-left:5px ;
      margin-right:5px ;
      
    }
    .gallery {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
    }
  }
  

.logo{
    width: 50px;
  }

  html {
    height: 100%;
    box-sizing: border-box;
  }
  
  *,
  *:before,
  *:after {
    box-sizing: inherit;
  }
  
  /**
   * Footer Styles
   */
  
  .footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    background-color: #f4f4f4;
    text-align: center;
  }
  .footer p{
    color: #000;
  }


  
  li{
    color: white;
    list-style-type: none;
    left: 0;
  }
form{
  display: flex;
  justify-content: center;
  align-items: center;
}
  label{
    color: white;
  }
  p{
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
  }
 #search{
  color:red;
 }
 /* Tableau */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #333;
}

thead {
  background-color: #f8f9fa;
  font-weight: bold;
}

tr {
  border-bottom: 1px solid #ccc;
}

#l1, th {
  padding: 0.75rem;
  text-align: left;
  color: #f4f4f4;
}
td{
  padding: 0.75rem;
  text-align: left;
  color: #000;
}
td:first-child {
  width: 5rem;
}

td:last-child {
  width: 5rem;
  text-align: center;
}

td:last-child a {
  display: block;
  padding: 0.25rem 0.5rem;
  background-color: #dc3545;
  color: #fff;
  border-radius: 0.25rem;
  text-decoration: none;
  font-size: 0.8rem;
}

td:last-child a:hover {
  background-color: #c82333;
}

#add{
  display: flex;
  justify-content: center;
  text-decoration: none;
}

#add:hover{
  display: flex;
  justify-content: center;
  text-decoration: none;
  color: orangered;
  transition: 0.5s;
}
