/********NAV*************/

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

nav {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: #818181;
    border-radius: 15px;
    border: 5px solid rgb(190, 36, 36);
    
  }
  
  body {
    font-family: Montserrat, Helvetica, sans-serif;
    
  }

  .hamburger {
    display: none;
  }

  .navlinks-container a {
    margin: 0 10px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    color: white;
    padding: 5px;
    background: #212121;
    display: inline-block;
    position: relative;
    border-radius: 5px;
    border: 2px solid #fd2228;
    
  }

  .navlinks-container a:hover {
    background: #fd2228;
    padding: 3px;
    border-radius: 10px;
    border: 5px solid #212121;
    transition: 0.5s;
    
  }

 

  @media (max-width: 900px) {
    nav {
      padding: 15px 20px;
      position: relative;
    }

    /* Hamburger */
   .hamburger {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: none;
    display: flex;
    background: #818181;
    align-items: center;
    position: relative;
  }
  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s 0.15s ease-out;
  }

  .hamburger span:nth-child(1),
  .hamburger span:nth-child(3) {
    transition: transform 0.3s ease-out;
  }
  .hamburger span:nth-child(1) {
    transform: translateY(7px);
  }
  .hamburger span:nth-child(3) {
    transform: translateY(-7px);
  }
  .hamburger.open span:nth-child(1) {
    transform: translate(0) rotate(135deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transition: opacity 0s ease-out;
  }

  .hamburger.open span:nth-child(3) {
    transform: translate(0) rotate(-135deg);
  }

  .navlinks-container a {
    color: white;
    margin: 20px 0;
  }

  .navlinks-container {
    order: -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    color: black;
    background: white;
    top: 100%;
    left: 0;
    height: 60vh;
    padding: 15px 50px 15px 20px;
    border: 3px solid white;
    transform: translate(-100%);
  }

  .open {
    transform: translate(0%);
  
  }
}

  /***grille***/



th {
  
    border: 2px solid black;
    padding: 10px;
    background: #030303;
}



td {
    text-align: left;
    background: #fff;
    color: #030303;
    padding: 10px;
    border: 2px solid black;
    
}


table {
    border-collapse: collapse;
    background: grey;
    color: #fff;
    letter-spacing: 1px;
    font-family: sans-serif;
    font-size: 1rem;
    margin: 20px;
    
}



/**************Style***********************/



section {
    justify-content: center;
    margin: auto;
    padding: 15px;
}

.texte h1 {
    text-align: center;
    padding: 15px;

}

.contenu {
    text-align: center;
    background: grey;
    height: auto;
    width: 1800px;
    border-radius: 15px;
    border: 5px solid rgb(190, 36, 36);
}


#box {
  
  width:  auto;
  height: auto;
  margin: 10px;
  background-color: #f3f3f3;
  box-shadow:  -10px -25px 15px #aaa inset;
  padding: 10px;
  border-radius: 25px;
  
}

#floating {
  padding: 10px;
  float: right;
}

#floating2 {
  padding: 10px;
  float: left;
}

#ptitre {
  text-align: left;
  margin-left: 3px;
}


  @font-face {
    font-family: "SHOWG";
    font-weight: normal;
    font-style: normal;
    src: url('config/SHOWG.TTF') format('truetype');
    }

    #txtg {
  font-size: 30px;
  font-family: "SHOWG";
}

#surligne {
  background: yellow;
}


/*******************************CARD**********************************/


body {
    display: flexbox;
    height: 100vh; 
    background: #212121;
    margin-top: 30px;
   
}

.container {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    background: #fff;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 15px;
    border-radius: 25px;
    border: 3px solid black;
}

.container p {
    padding: 15px;
    text-align: center;
    
  }

  .container h2 {
    padding: 15px;
    text-align: center;
    
  }

  .card {
    background: white;
    width: 270px;
    margin: 10px;
    border: 3px solid grey;
    border-radius: 15px;
}

.card-image {
    height: 190px;
    background-size: cover;
    background-position: center;
    resize: both;
    border-radius: 15px 15px 0 0;
}

.car-1 {
    background-image: url('./images/croix2.png');
}

.car-2 {
    background-image: url('./images/img2.png');
}

.car-3 {
    margin: 5px;
    background-image: url('./images/img3.png');
}

.car-4 {
    background-image: url('./images/img4.png');
}

.car-5 {
    background-image: url('./images/img5.jpg');
}
.car-6 {
    background-image: url('./images/img6.jpg');
}

.card h2 {
    padding: 10px;
}

.card p {
    padding: 10px;
}

.card a {
    background-color: black;
    color: white;
    padding: 15px 20px;
    display: block;
    text-align: center;
    margin: 20px 50px;
    text-decoration: none;
    font-family: "SHOWG";
    border-radius: 10px;
}

.card:hover {
    background-color: rgb(62, 62, 62);
    color: white;
    cursor: pointer;
    transform: scale(1.03);
    transition: all 1s ease;
}

/*********WAVE*********/



@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    
    min-height: 100vh;
    

}

footer {
    position: relative;
    width: auto;
    background: #fd2228;
    display: flex;
    min-height: 100px;
    padding: 0;
    margin-top: 200px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer .social_icon,
footer .menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

footer .social_icon li,
footer .menu li {
    list-style: none;
}

footer .social_icon li a {
    font-size: 2em;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
}

footer .social_icon li a:hover {
    transform: translateY(-10px);
}

footer .menu li a {
    font-size: 1.2em;
    color: #fff;
    margin: 0 10px;
    
    display: inline-block;
    text-decoration: none;
    opacity: 0.75;
}

footer .menu li a:hover {
    opacity: 1;
}

footer p {
    color: #fff;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.1em;
    font-family: "SHOWG";
}

footer .wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url(images/wave.png);
    background-size: 1000px 100px;


}

footer .wave#wave1 {
    z-index: 1000;
    opacity: 1;
    bottom: 0;
    animation: animateWave 4s linear infinite;
}

footer .wave#wave2 {
    z-index: 999;
    opacity: 0.5;
    bottom: 10px;
    animation: animateWave_02 4s linear infinite;
}

footer .wave#wave3 {
    z-index: 1000;
    opacity: 0.2;
    bottom: 15px;
    animation: animateWave 3s linear infinite;
}

footer .wave#wave4 {
    z-index: 999;
    opacity: 0.7;
    bottom: 20px;
    animation: animateWave_02 3s linear infinite;
}

@keyframes animateWave {
    0%
    {
        background-position-x: 1000px;
    }
    100%
    {
        background-position-x: 0px;
    }
}

@keyframes animateWave_02 {
    0%
    {
        background-position-x: 0px;
    }
    100%
    {
        background-position-x: 1000px;
    }
}
    