*{
  cursor: url('../images/cursor2.png'), auto;
 }

body {
    text-align: center;
    margin: 0 auto;
    padding: 60px;
    background-color: #84E88E;
    color: black;
    font-family: 'Outfit', sans-serif;
    width: 1080px;} 

footer {
  display: flex;
  position: fixed;
  width: 100%;
  bottom: 0px;
  height: 50px;
  background-color: #539f5a;
  left: 0%;
  align-items: center;
  justify-content: center, space-between;
}

nav {
        display: flex;
        font-family: 'Dela Gothic One', sans-serif;
        text-decoration: none;
        position: absolute;
        width: 100%;
        top: 0px;
        height: 50px;
        background-color: #539f5a;
        left: 0%;
        align-items: center;
        justify-content: center, space-between;
    }
    
nav ul {
        display: flex;
        list-style: none;
        padding: 10px;
        font-variation-settings: "wght" 311;
        text-decoration: none;
       }
    
nav ul li {
        margin: 0 10px;
        transition: 700ms ease;
        text-decoration: none;
          }

nav ul li a.active {
        border-radius: 7px;
        padding: 4px;
        animation: colorChange 4s infinite;
        }
        
        @keyframes colorChange {
           50% {
                background-color: rgb(255, 255, 255);
            }
        }

a:link {
    color: #0a376a;
    transition: 700ms ease;
    text-decoration: none;
  } 

a:visited {
    color: #0a376a;
    transition: 700ms ease;
    text-decoration: none;
                    } 
        
nav ul li a:visited {
    color: #0a376a;
    transition: 700ms ease;
    text-decoration: none;
                    }
        
nav ul li a:hover {
    font-weight: bold;
    color: #007F0E;
    text-decoration: none;
    font-variation-settings: "wght" 582; 
    letter-spacing: 1px;
    transition: 700ms ease;
                  }

a:active {
       color: #007F0E;
         }

a:hover {
        color: #7700FF;
        text-decoration: wavy underline;
        font-variation-settings: "wght" 550; 
        letter-spacing: 1px;
        transition: 700ms ease;
                          }

.row {
    display: flex;
     }

.column {
    flex: auto;
    padding: 5px;
    border-top: auto;
    margin: auto;
        }

.contact {
        width: 360px;
        height: 450px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #0e5e0f85;
        box-shadow: 0 0 20px 0 #1a301b;
        border-radius: 10px;
        margin: auto;
          }

.msgbox {
        width: 310px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
          }

.bouton {
        width: 250px;
        margin-top: 10px;
        background-color: black;
        color: white;
        box-sizing: border-box;
          }

.bouton:hover {
        transition: 2s;
        background-color: #007F0E;
        color: white;
        cursor: pointer;
        border: none;
          }

#email,
#message {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 10px;
          }

#en-tete {
        display: flex;
        justify-content: space-evenly;
        box-sizing: border-box;
          }

input {
        height: 30px;
        width: 95%;
        border-radius: 8px;
        box-sizing: border-box;
          }

textarea {
        border-radius: 8px;
        height: 80px;
        width: 100%;
        box-sizing: border-box;
          }

.gallery {
  margin: 5px;
  display: flex;
  justify-content: space-between; 
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px; 
  transition: filter 0.3s; 
  margin-top: 20px;
  filter: grayscale(100%);
}

.gallery :hover {
  filter: grayscale(0%) brightness(80%) contrast(100%);
}

.gallery img:hover {
  filter: grayscale(0%) brightness(80%) contrast(100%);
}

.row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -4px;
}

.bordronds {
  overflow: hidden;
  display: inline-block;
}

.borders{
  height: auto;
  transition: border-radius 0.10s ease-in-out;
}

.borders:hover {
  border-radius: 40px;
  filter: contrast(200%);
}

.imagemidd{
  width: 300px;
  margin: 0 auto;
  padding: 20px;
  background: #0e5e0f85;
  box-shadow: 0 0 20px 0 #1a301b;
  border-radius: 10px;
}

.text1 {
       align-items: right;
       justify-content: right;
}

.grayscale {
  filter: grayscale(300%);
  transition: filter 1.2s ease;
}

.grayscale:hover {
  filter: grayscale(25%);
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  justify-content: center;
  align-items: center;
}

.img__wrap {
  position: relative;
  height: 100%;
  width: 100%;
}

.img__description1 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffff007f;
  color: #000000;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s, visibility .2s;
}

.img__description2 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #44079481;
  color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s, visibility .2s;
}

.img__description3 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f1c40f7e;
  color: #000000;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s, visibility .2s;
}

.img__wrap:hover .img__description1 {
  visibility: visible;
  opacity: 1;
}

.img__wrap:hover .img__description2 {
  visibility: visible;
  opacity: 1;
}

.img__wrap:hover .img__description3 {
  visibility: visible;
  opacity: 1;
}


/* code pour l'envoi de mails*/
label>span{
  color: rgb(255, 0, 0);
}

#demande>div {
  display: flex;
  align-items: center;
}

#demande label {
  margin-left: 4px;
  cursor: pointer;
}

#demande input[type="radio"] {
  margin-top: 4px;
  width: 20px;
}

/* Partenaires */
#partenaires{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 40px;
  width: 620px;
  margin: 0 auto;
}

#partenaires>section{
  width: 300px;
  margin-top: 10px;
  padding-bottom: 20px;
  margin-bottom: 10px;
  box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
  border-radius: 12px;
}

#partenaires>section>div{
  width: 100%;
  position: relative;
}

#partenaires>section>div>img{
  width: 100%;
  height: 80%;
  box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
  border-radius: 12px 12px 0px 0px;
  display: block;
}

#partenaires>section>div>p{
  position: absolute;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column-reverse;
  bottom: 0;
  width: 260px;
  height: 335px;
  padding: 20px;
  text-align: justify;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 12px 12px 0px 0px;
  color: white;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

#partenaires>section>div:hover>p{
  opacity: 1;
}

#partenaires>section>p {
  text-align: center;
  margin-top: 20px;
}

#partenaires>section>p>a{
  padding: 10px;
}