/*Ecriture*/  
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap'); 
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@500&display=swap'); 

 
body{ 
    margin: 0;
    background-color: rgba(191, 154, 130, 0.3);
}

/* Mobile-first*/ 
@media screen and (max-width:767.98px) { 
    .navbar_links { 
        display: flex; 
        flex-direction: column; 
        width:0;
        height: calc(100vh - 35px); 
        position: absolute; 
        top:65px; 
        right:0; 
        background: var(--navbar-bg-color); 
    }
    .show-nav .navbar_links { 
        width: 100%
    }
    .navbar_link > a { 
        display: block; 
        padding:1rem; 
        font-size: 1.3rem; 
        transition: all .3s ease-in-out; 
    }

    .navbar_link > a:hover { 
        padding-left:2.5rem; 
        letter-spacing:5px; 
    }
    
    /* toggle menu */  
    .burger { 
        display: block; 
        position:fixed; 
        width:45px; 
        height:45px; 
        border: none; 
        background: transparent; 
        cursor: pointer; 
    }
    .bar { 
        display: block; 
        width: 45px; 
        height: 4px; 
        background: var(--navbar-color); 
        border-radius:3px; 
    }
    .bar::before, .bar::after{ 
        content:"";
        display: block; 
        width: 45px; 
        height: 4px; 
        position:sticky; 
        left:0;
        background: var(--navbar-color); 
        border-radius:3px; 
    }

    .bar::before { 
        transform:translateY(-12px); 
    }
    .bar::after { 
        transform:translateY(12px); 
    }

} 

/* Navbar */ 
.navbar { 
    outline: none; 
    box-sizing: border-box; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 35px; 
    padding: 10px; 
    color:var(--navbar-color); 
    background:var(--navbar-bg-color); 

}

.navbar_links{ 
    display: flex;
}

.navbar_link { 
    padding: 0 20px;
    font-size: 20px; 
    justify-content: space-between; 

}

.navbar_link > a { 
    font-family: 'Playfair Display', serif;
    text-decoration: none; 
    color:var(--navbar-color); 

} 

.navbar_logo img{ 
    height: 140px; 
    margin:  15px 15px 15px 40px; 
}

.burger {
    display: none; 
}

@media screen and (min-width:768px) {
    
    .navbar{ 
        height: 150px;
    }

    .navbar_link > a::after{ 
        display: block; 
        content:"";
        width: 0; 
        height: 1px; 
        background:var(--navbar-color); 
        transition:width .4s; 
    }
    .navbar_link:hover > a::after { 
        width: 100%; 

    } 

}

.light-mode{ 
    --navbar-color: rgb(239, 94, 6); 
    --navbar-bg-color: rgba(139, 39, 0, 0.9);
}


ul{ 
    list-style: none; 
}

.imageaccueil{
    margin: 40px;
}

.imageaccueil img{
    max-width: 100%;
}

/*Description de l'association sur la page d'accueil*/ 
.lassociation {
    margin: 30px;
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    color: #8b2700;
}

.nomassociation p:first-child {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    font-size: 35px;
}

.nomassociation { 
    text-align: center;
    margin-bottom: 50px;
}

.descriptionassociation {
    column-count: 2;
    text-align: justify; 
    column-gap: 40px; 
  }
  .descriptionassociation p {
    padding: 40px;
  }
  

.conteneur-images {
    display: flex;
    margin: 40px 30px 40px 30px; 
  }
  
.conteneur-images img {
    flex: 1;
    margin-right: 10px;
    width: 30%; 
    height: 30%; 
  
  }


.groupeimages img:nth-child(2) { /* Pour que l'image du milieu soit plus petite */    
    max-width: 30%; 
    margin-top: 25px;
  } 

/*Footer*/ 
footer {
  background-color: rgba(139, 39, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.footer-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.footer-flex a {
  text-decoration: none;
  text-align: center;
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  text-transform: uppercase;
  color: #BF9A82;
  background-color: rgba(244, 137, 6, 0.5);
  border-radius: 30px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  transition: transform 0.3s ease-out;
  cursor: pointer;
  margin: 15px;
  max-width: 300px;
}

.footer-flex:hover {
  transform: scale(1.05);
}

.footer-flex:active {
  transform: scale(0.95);
}

.footer-grid {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, auto);
  row-gap: 30px;
  column-gap: 60px;
  grid-template-areas:
      "adr mail"
      "infoadr infomail"
      "tel inst"
      "infotel infoinst"
      "cop cop";
  padding: 0 50px;
  justify-items: center;
  align-items: flex-start;
}

.footer-grid img {
  width: 20px;
  height: 20px;
}

.adr {
  grid-area: adr;
}

.mail {
  grid-area: mail;
}

.infoadr {
  grid-area: infoadr;
}

.infomail {
  grid-area: infomail;
}

.tel {
  grid-area: tel;
}

.inst {
  grid-area: inst;
}

.infotel {
  grid-area: infotel;
}

.infoinst {
  grid-area: infoinst;
}

.cop {
  grid-area: cop;
}
