@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body{
	font-size: 16px;
	font-family: 'Poppins', sans-serif;
	background-color: #f1f1f1;
}

header  {
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  background-size: cover;
}

nav {
  background-color: #000;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 100px;
  padding: 0;
}

nav li {
  list-style: none;
  padding: 10px;
  margin: 0 5px;
}

nav li a {
  text-decoration: none;
  font-size: 1.8em;
  color: whitesmoke;
  position: relative;
}

nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 3px;
  background-color: #ccc;
  transition: width 0.5s ease;
}

nav li a:hover::after {
  width: 100%;
}

nav li a.current-page::after,
nav li a.current-page:hover::after {
  width: 100%;
  background-color: #ccc;
}

#icone {
  display: none;
}

@media screen and (max-width: 720px) {
  nav {
      top: 60px;
      display: none;
      position: absolute;
      background-color: #000;
  }

  nav ul {
      display: block;
      margin: 0 10px;
      padding: 0;
  }

  #icone {
      display: block;
  }
}

main {
	margin-top: 10px;
}

.membres{
    max-width: 98%;
    margin:0px auto;
    padding:0px;
    display: flex;
    flex-wrap: wrap;
    
}

.avatar img {
  width: 100px;
  height: 100px;
  border-radius: 20px;
}

.avatar a{
    text-decoration: none;
    color:#b18c7e;
}

.avatar:hover {
  border: 1px solid transparent;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.avatar {
    width: 130px;
    height: 130px;
    margin: 20px;
    border-radius: 20px;
    object-fit: cover;
}

@media screen and (max-width: 720px) {

 .avatar {
     width: 100px;
    height: 100px ;
  }
}

