@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

body {
  font-family: "DM Sans", sans-serif;
  margin: 0;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  margin: 0 100px;
}

h1 {
  color: #901c1c;
  font-weight: normal;
}

.logo {
  height: 50px;
}

.logo:hover {
  filter: brightness(0%);
}

header a:hover {
  background-color: #db8876;
  padding: 10px;
  border-radius: 5px;
}

a:focus-visible {
  background-color: yellow;
  padding: 10px;
  border: solid 3px;
}

.photographer_section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 40px;
  row-gap: 70px;
  margin: 70px 50px;
  justify-content: space-between;
}

.photographer_section article {
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.photographer_section article a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.photographer_section article h2 {
  color: #d3573c;
  font-size: 2.25em;
  font-weight: normal;
  margin: 0;
}

.photographer_section article h2:hover {
  color: #901c1c;
  font-weight: bolder;
}

.photographer_section article p.location {
  color: #901c1c;
  margin: 0;
  font-size: 1.1em;
}

.photographer_section article p.baseline {
  color: #000;
  font-size: 0.85em;
  margin: 3px 0;
}

.photographer_section article p.pricing {
  color: #757575;
  font-size: 0.75em;
  margin: 0;
}

.photographer_section article img {
  height: 200px;
  width: 200px;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.6);
  top: 20px;
  position: relative;
}

.photographer_section article img:hover {
  /* filter: brightness(0.8); Assombrit légèrement l'image au survol */
  filter: sepia(100%) hue-rotate(317deg);
}

.zoom {
  border-radius: 200px;
  overflow: hidden;
  width: 200px;
  height: 200px;
}

.photographer_section article img.custom-zoom-galindo {
  transform: scale(1.2);
  top: 0px;
  left: 20px;
}

.photographer_section article img.custom-zoom-bradford {
  transform: scale(1.2);
}

/* RESPONSIVE */
@media screen and (max-width: 1149px) {
  header {
    flex-direction: column;
  }

  .logo {
    margin-top: 20px;
  }

  .photographer_section {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

@media screen and (max-width: 720px) {
  header {
    flex-direction: column;
  }

  h1 {
    margin-top: 0;
  }

  .photographer_section {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.5em;
  }
}
