@charset "UTF-8";

.tag {
  background-color: var(--pico-color);
  color: var(--pico-background-color);
  padding: 0 0.5rem;
  border-radius: 5px;
}

span.date {
  margin-left: 0.5rem;
  font-style: italic;
}

article {
  div.categories {
    float: right;
    margin-right: 1rem;
  }
}

#home {
  text-align: center;
  ul {
    li {
      list-style-type: none;
    }
  }
}

a[target="_blank"] {
  &:after {
    content: " \21B1";
  }
}

p:has(img.centered) {
  text-align: center;
}

section#avatars {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-around; */

  article {
    flex: 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--pico-color);
    margin: 0.5rem;

    header {
      flex: 2;
      display: flex;
      justify-content: space-between;
      min-height: 150px;

      div.avatar {
        flex: 1 75px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0.2rem;

        > span {
          border-bottom: none;
          img {
            border-radius: 5px;
            max-width: 200px;
            max-height: 100px;
            filter: invert(80%);
          }
        }

        span.no-avatar {
          font-size: 300%;
          color: var(--pico-color);
        }
      }
      div.coach-details {
        flex: 3;
        margin: 0.2rem;
        text-align: right;
        color: var(--pico-primary);

        span.club {
        }

        span.email {
          font-size: 150%;
          a {
            text-decoration: none;
          }
        }
      }
    }

    div.coach-resume {
      flex: 10;
    }

    footer {
      flex: 1;
      display: flex;
      /* min-height: 70px; */

      div {
        flex: 1;
        &.spes {
          flex: 3;
          text-align: right;

          span.tag {
          }
        }
      }
    }
  }

}

footer {
  ul {
    text-align: center;
    li {
      display: inline-block;
      margin-right: 2rem;
    }
  }
}

/* Pas encore utilisé */
div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

div.gallery-item {
  margin: 5px;
  border: 1px solid #ccc;
  width: 450px;
}

div.gallery-item:hover {
  border: 1px solid #777;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
}
