@font-face {
  font-family: "PPMori";
  src: url("../fonts/PPMori-VariableVF.woff2") format("woff2 supports variations");
  src: url("../fonts/PPMori-VariableVF.woff2") format("woff2-variations");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  --font: "PPMori", sans-serif;
  --color-light: hsl(60, 8%, 92%);
  --color-dark: hsl(60, 1%, 15%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-dark: hsl(60, 8%, 92%);
    --color-light: hsl(60, 1%, 5%);
  }
}
:root {
  --gutter: 20px;
}

html {
  font-family: var(--font);
  font-weight: 350;
  color: var(--color-dark);
  background-color: var(--color-light);
}

main {
  margin-inline: auto;
  margin-block: 60px;
  max-width: 1400px;
  padding-inline: 16px;
}
@media (min-width: 500px) {
  main {
    padding-inline: 26px;
  }
}

h1,
h2 {
  font-weight: 500;
  font-size: 1.4rem;
}

a.inline {
  text-decoration: underline 1px dotted;
  text-underline-offset: 3px;
  transition: opacity 150ms;
}
a.inline:hover, a.inline:focus {
  opacity: 0.7;
  text-decoration-style: solid;
}

.button {
  cursor: pointer;
  border-radius: 500px;
  transition-property: color, background-color, border-color;
  transition-duration: 200ms;
  background-color: var(--color-dark);
  color: var(--color-light);
  padding-block: 8px;
  padding-inline: 30px;
  display: inline-block;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 800px) {
  .contact {
    align-items: start;
  }
}

.head {
  display: flex;
  column-gap: 30px;
  row-gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo span {
  mask-image: url("../img/logotype.svg");
  width: 30px;
  aspect-ratio: 1;
  display: block;
  background-color: var(--color-dark);
  mask-repeat: no-repeat;
  mask-position: center;
}

.footer {
  margin-top: 60px;
  display: flex;
  gap: 5px;
  justify-content: center;
  opacity: 0.5;
}

.home {
  display: inline-flex;
  gap: 12px;
  padding: 10px 22px;
  border-radius: 100px;
  transition-property: color, background-color;
  transition-duration: 200ms;
}
.home:hover, .home:focus {
  background-color: var(--color-dark);
  color: var(--color-light);
}
.home:hover .logo, .home:focus .logo {
  background-color: var(--color-light);
}

.grid {
  columns: 3;
  column-gap: var(--gutter);
  margin-block: 30px;
}

.grid-sizer,
.grid-item {
  width: 100%;
}
@media (min-width: 600px) {
  .grid-sizer,
  .grid-item {
    width: calc((100% - var(--gutter)) / 2);
  }
}
@media (min-width: 800px) {
  .grid-sizer,
  .grid-item {
    width: calc((100% - 2 * var(--gutter)) / 3);
  }
}

.grid-item {
  margin-bottom: var(--gutter);
}

.gutter-sizer {
  width: var(--gutter);
}

.responsive {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.thumbnail {
  transition-duration: 300ms;
  transition-property: filter;
}
.thumbnail:hover {
  filter: brightness(0.7) saturate(1.2) hue-rotate(4deg);
}

@media (prefers-reduced-motion: no-preference) {
  .fade {
    opacity: 0;
    animation-name: fade;
    animation-duration: 1200ms;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
  }
  .fade:nth-child(1) {
    animation-delay: 30ms;
  }
  .fade:nth-child(2) {
    animation-delay: 60ms;
  }
  .fade:nth-child(3) {
    animation-delay: 90ms;
  }
  .fade:nth-child(4) {
    animation-delay: 120ms;
  }
  .fade:nth-child(5) {
    animation-delay: 150ms;
  }
  .fade:nth-child(6) {
    animation-delay: 180ms;
  }
  .fade:nth-child(7) {
    animation-delay: 210ms;
  }
  .fade:nth-child(8) {
    animation-delay: 240ms;
  }
  .fade:nth-child(9) {
    animation-delay: 270ms;
  }
  .fade:nth-child(10) {
    animation-delay: 300ms;
  }
  .fade:nth-child(11) {
    animation-delay: 330ms;
  }
  .fade:nth-child(12) {
    animation-delay: 360ms;
  }
  .fade:nth-child(13) {
    animation-delay: 390ms;
  }
  .fade:nth-child(14) {
    animation-delay: 420ms;
  }
  .fade:nth-child(15) {
    animation-delay: 450ms;
  }
  .fade:nth-child(16) {
    animation-delay: 480ms;
  }
  .fade:nth-child(17) {
    animation-delay: 510ms;
  }
  .fade:nth-child(18) {
    animation-delay: 540ms;
  }
  .fade:nth-child(19) {
    animation-delay: 570ms;
  }
  .fade:nth-child(20) {
    animation-delay: 600ms;
  }
}
@keyframes fade {
  from {
    opacity: 0;
    filter: blur(3px);
  }
  to {
    opacity: 1;
    filter: blur(0px);
  }
}

/*# sourceMappingURL=art.css.map */
