/* Base*/
:root {
    --color-body: #3f3f3f;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}


body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-body);
    margin: 0;
}


.add-button {
    
    background-color: #03409a;
    border-radius: 100%;
    position: fixed;
    bottom: 100px;
    right: 40px;
    height: 70px;
    width: 70px;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
    border: none;
    z-index: 2;
  
  }


  .add-button:hover {
    
    background-color:#696969;
    border: none;
  }
  


h1, h2, h3, h4 {
    font-family: 'Istok Web', sans-serif;
    color:rgb(44, 44, 44);
    line-height: 1;
    
}

h1, 
.h1 {
   font-size: 2.5rem; 
}

h2, 
.h2 {
   font-size: 2rem; 
   text-transform: uppercase;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.list-unstyled {
    list-style: none;
    margin: 0;
    padding: 0;
}


.category{
    margin: 0 0 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    color:rgb(31, 31, 31);
}


.container {
    padding: 1rem 2rem;
}

.d-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grid {
    display: flex;
    flex-wrap: wrap;
}

.grid__item {
    flex-grow: 1;
    flex-shrink: 0;
    width: 100%;
    padding: 1rem;
}

@media screen and (min-width: 750px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }
    .grid__item {
        max-width: 50%;
      }
}

/*Section*/

section {  
    padding: 5.5rem 0;
  }
  
  .section-title { 
    margin-top: 0;
    font-size: 3rem;  
  }
  
  .section-header {
    text-align: center;
  }
  
  @media screen and (min-width:750px) {
    .section-title {    
      font-size: 3.8rem;  
    }
    
  }
  
  
  header {
    background-color: #033f9af4;
    font-family: 'Istok Web', sans-serif;
    font-weight: 400;
    font-size: 2rem;
    height: 90px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.header  li {
    display: inline-flex;
    align-items: center;
    padding: 0 1rem;
}

.header .logo {
    display: flex;
}

.header a {
    color: aliceblue;   
}

 
.header a:hover {
    color: rgb(148, 148, 148);
}


.header .annexe {
    display: flex;
    align-items: center;
}

  .social {
    display: flex;
}

.social li {
    margin-bottom: 0;
}

.social a {
    padding: 0 2px;
}

.social .icon {
    height: 25px;
}
  
  .bar-menu {
    background:none;
    border:none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    position: relative;
    margin-left: 1rem;
  }
  
  .bar-menu .bar {
    display: block;
    width: 22px;
    height: 3px;
    background:  #f5f5f5;
  }
  
  .bar-menu .bar::before, .bar-menu .bar::after {
    display: block;
    content:"";
    width: 22px;
    height: 3px;
    background:  #f5f5f5;
    position: absolute;
  }
  
  .bar-menu .bar::before {
    transform: translateY(-8px);
  }
  
  .bar-menu .bar::after {
    transform: translateY(8px);
  }
  
  @media screen and (max-width:749px) {
    nav {
      display: flex;
      justify-content: center;
      align-items:center;
      flex-direction: column;
      position: fixed;
      top:55px;
      left:110%;
      width: 0;
      overflow: hidden;
      opacity: 0;
      height: calc(100vh - 55px);
      background: #696969;  
      transition: all .4s ease-out;  
    }
    nav .menu li {
      display: flex;
      justify-content: center;
    }
    
    nav .menu a {
      display: block;
      font-size: 2rem;
      padding:2rem;
      transition: all .4s;
    }
    .show-nav nav {
      opacity: 1;
      width: 100%;
      left:0;
      z-index: 2;
    }
    
    .show-nav nav li a:hover {
      transform: scale(1.1);
      text-decoration: none;
    }
    
    .show-nav .bar-menu .bar {
      width:0;
    }
    .bar-menu .bar::before,
    .bar-menu .bar::after  {
      transition: all .2s ease-out;
    }
    .show-nav .bar-menu .bar::before {
      transform:rotate(-45deg);
    }
    .show-nav .bar-menu .bar::after {
      transform:rotate(45deg);
    }
  }
  
  @media screen and (min-width:750px) {
    .navbar {
      display: flex;
    }
  
    .bar-menu {
      display: none;
    } 
  }

/*menu fin*/

.contact p {
   font-size: 1.6rem;
   font-weight: 700;
   text-align: center;
   color: #696969;
  /* padding: 0 100px 0 150px;*/
   
}

@media screen and (max-width: 749px) {

.contact p {
    text-align: center;
 }

}

.form {
    max-width: 600px;
    margin: 4rem auto 0 auto;
    
}

.form input, .form textarea {
    display: block;
    width: 100% ;
    padding: 1rem;
    margin-bottom: 2rem;

}

.form textarea {
    min-height: 200px;
}


.form .btn {
    border: none;
    background: #03409a;
    color: #FFF;
    border-radius: 5px;
    width: auto;
    min-width: 160px;
    font-size: 2rem;
    margin: auto;
    text-transform: uppercase;
    transition: all .4s;

    
}



.form .btn:hover {
   cursor: pointer;
   background:#696969;
}


/*footer*/

footer {
    background: #272727;
    color: #FFF;
    /*text-align: center;*/
    font-size: 1.4rem;
}

footer .social .icon {
    height: auto;
}


footer .social {
    justify-content: center;
    text-align: center;
}

footer p {
    margin: 0;
}

footer .grid {
    align-items: center;
}

footer .social li {
    padding: 0.5rem;
  
 }
 

footer .social a {
   color: #FFF;
   border: 1px solid #FFF;
   border-radius: 50%;
   padding: 1rem;
   width: 42px;
   height: 42px;
   display: flex;
   justify-content: center;
   transition: all .4s;
}

footer .social a:hover {
    background: #FFF;
    color: #272727;
  
 }
 

@media screen and (min-width: 750px) {
    footer {
        text-align: left;
    }
    footer .grid__item{
        max-width: 33.3333%;
    }
}

@keyframes slideInleft {
   from {
    transform: translateX(-110%);
   } 
   to{
    transform: translateX(0%);
   }
}














/*Ancien code

section {
    padding: 5.5rem 0;
}

.section-title {
    margin-top: 0;
    font-family: 'Istok Web', sans-serif;
    font-size: 2rem;

}

.section-header {
    text-align: center;
}
header {
    background-color: #033f9af4;
    font-family: 'Istok Web', sans-serif;
    font-weight: 400;
    height: 90px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.header li {
    display: inline-flex;
    align-items: center;
    padding: 0 5px;
}

.header a {
    color: aliceblue;   
}

.header .annexe {
    display: flex;
    align-items: center;
}

.social {
    display: flex;
}

.social li {
    margin-bottom: 0;
}

.social a {
    padding: 0 2px;
}

.social .icon {
    height: 25px;
}




.dots {
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    color: aliceblue;
    position: relative;
    margin-left: 1rem;  
}

.dots .bar {
    display: block;
    width: 22px;
    height: 3px;
    background-color: black;
}



.dots .bar::before, .dots .bar::after {
    display: block;
    content: "";
    width: 22px;
    height: 3px;
    background-color: black;
    position: absolute;
    
}

.dots .bar::before {
    transform: translateY(-8px);
}

.dots .bar::after {
    transform: translateY(-8px);
}

@media screen and (max-width: 749px) {
    .nav {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: fixed;
        top: 55px;
        left:110%;
        overflow: hidden;
        opacity: 0;
        width: 0%;
        height: calc(100vh - 55px);
        background-color: #f5f5f5;
        transition: all .4s ease-out;
    }
    nav .menu li {
        display: flex;
        justify-content: center;
    }
    nav .menu a {
        display: block;
        font-size: 2rem;
        padding: 2rem;
        transition: all .4s;
    }

    .show-nav nav {
        opacity: 1;
        width: 100%;
        left: 0;
        z-index: 2;
    }
    .show-nav nav li a:hover {
        transform: scale(1.1);
        text-decoration: none;
      }
      .show-nav .dots .bar {
        width:0;
      }
      .dots.bar::before,
      .dots .bar::after  {
    transition: all .2s ease-out;
  }
  .show-nav .dots .bar::before {
    transform:rotate(-45deg);
  }
  .show-nav .dots .bar::after {
    transform:rotate(45deg);
  }
}

@media screen and (min-width: 750px) {
    .navbar {
        display: flex;
    }
    .dots {
        display: 
        none; 
    }
}
card

.card {
    border-radius: 10px;
    /*background-color: #f5f5f5;
    text-transform: uppercase;
    position: relative;
    box-shadow: 0 0 7px rgba(255, 255, 255, 0.1);
}
/*
.card__inner {
    padding: 2rem;
}

.card__title{
    margin: 1rem 0 1rem;
    font-size: 1.6rem;

}

.card__overlay {
    
    background: rgba(0, 0, 0, 0.8) ;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: none;
}

.card__overlay a {
    display: none;
    font-size: 4.5rem;
    color: #FFF;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.card__image {
    border-radius: 10px;
}







*/