/**********
•⁠  ⁠MARK: Body
**********/

/* bron background repeat: https://developer.m
ozilla.org/en-US/docs/Web/CSS/Guides/Backgrounds_and_borders */
body {
  font-family: "fraunces", tahoma, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: var(--whitespace-l);
  background-image: var(--background-image);
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

h1 {
  font-family: "impacted", tahoma, sans-serif;
  font-size: 5.5em;
  color: var(--text-color);
  text-shadow: 0.02em 0.02em var(--text-shadow-h-home);
  margin: var(--whitespace-s);
  margin-bottom: 1em;
}

/* bron font:  https://www.dafont.com/impacted-hr.font?back=theme  */

@keyframes --the-animation {
  0% {
    translate: 0 0;
    font-weight: 400;
  }

  100% {
    translate: 1em 0;
    font-weight: 700;
  }
}

/* bronfont frances: https://fonts.google.com/specimen/Fraunces?preview.script=Latn  */

h2 {
  font-family: "fraunces";
  font-size: 2.05em;
  font-weight: 400;
  color: var(--text-color);
  text-shadow: 0.03em 0.04em var(--text-shadow-h-home);
  margin: var(--whitespace-s);

  @media (prefers-reduced-motion: no-preference) {
    animation-name: --the-animation;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
  }
}

p {
  font-size: 1.05em;
}

/**********
•⁠  ⁠MARK: UL
**********/

ul {
  margin-bottom: 17em;
  padding: 0;
  list-style-type: "";
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-row: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 3em;
}

li {
  width: 6em;
  height: 6em;
  padding: 0;
  text-align: center;
  margin: auto;
  font-weight: bold;
}

li img {
  width: 6em;
  height: 6em;
  object-fit: cover;
  clip-path: circle(50%);
  border-radius: 50%;
  border: 0.2em solid var(--li-border-color);
}
/* - bron circle clippath:

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/clip-path

- bron object fit: https://www.google.com/search?q=foto+niet+misvormen+code&oq=
foto+niet+misvormen+code+&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigAd
IBCDYwMzhqMGo0qAIAsAIB&sourceid=chrome&source=chrome.ob&ie=UTF-8

Google gemini^ */

li a:hover img {
  border-color: var(--a-extra-color);
}

li:nth-of-type(1) {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row: 1;
}

li:nth-of-type(1) img {
  width: 9em;
  height: 9em;
}
/* ariana^ */

li:nth-of-type(2) {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row: 2;
}

li:nth-of-type(2) img {
  width: 8em;
  height: 8em;
}
/* billie^ */

li:nth-of-type(3) {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row: 3;
}

li:nth-of-type(3) img {
  width: 10em;
  height: 10em;
}
/* harry^ */

li:nth-of-type(4) {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row: 4;
}

li:nth-of-type(4) img {
  width: 6em;
  height: 6em;
}
/* bruno^ */

li:nth-of-type(5) {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row: 5;
}

li:nth-of-type(5) img {
  width: 8em;
  height: 8em;
}
/* gracie^ */

li:nth-of-type(6) {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row: 6;
}

li:nth-of-type(6) img {
  width: 7em;
  height: 7em;
}
/* sabrina^ */

li:nth-of-type(7) {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row: 7;
}

li:nth-of-type(7) img {
  width: 6em;
  height: 6em;
}
/* oliviaD^ */

li:nth-of-type(8) {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row: 8;
}

li:nth-of-type(8) img {
  width: 5em;
  height: 5em;
}
/* taylorS^ */

/**********
•⁠  ⁠MARK: Cookies
**********/

dialog {
  background-color: var(--dialog-backgroundcolor);
  color: var(--dialog-text);
  border: 0.5em solid var(--dialog-border);
  border-radius: 10%;
  position: fixed;
  z-index: 10;
  width: 18em;
  max-width: 23em;
  padding: 3em;
  margin: auto;
  text-align: center;
  font-weight: 500;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

dialog:focus {
  color: var(--a-extra-color);
  outline: 0.2em dashed var(--a-extra-color);
}

dialog::backdrop {
  background-color: rgb(0 0 0 / 50%);
  backdrop-filter: blur(2px);
}

body:has(dialog[open])::before {
  content: "";
  position: fixed;
  background-color: rgb(0 0 0 / 50%);
  backdrop-filter: blur(2px);
  z-index: 9;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

button {
  font-family: "fraunces", tahoma, sans-serif;
  font-weight: 500;
  background-color: var(--button-background);
  color: var(--buttonmenu-text);
  border: 0.3em solid var(--dialog-border);
  border-radius: 1em;
  padding: 0.5em 1em;
  cursor: pointer;
  margin: var(--whitespace-xs);
  font-size: 0.85em;

  &:hover {
    background-color: var(--dialog-backgroundcolor);
    color: var(--a-extra-color);
    transition: 1s;
  }

  &:focus {
    color: var(--a-extra-color);
    outline: 0.2em dashed var(--a-extra-color);
  }
}

summary {
  background-color: var(--button-background);
  color: var(--buttonmenu-text);
  border: 0.3em solid var(--dialog-border);
  border-radius: 1em;
  padding: 0.5em 1em;
  cursor: pointer;
  font-weight: 500;
  display: inline-block;
  list-style: none;
  font-size: 0.85em;

  &:hover {
    background-color: var(--dialog-backgroundcolor);
    color: var(--a-extra-color);
    transition: 1s;
  }

  &:focus {
    color: var(--a-extra-color);
    outline: 0.2em dashed var(--a-extra-color);
  }

  & span:last-child {
    display: none;
  }
}

details {
  display: inline-block;
}

details[open] summary span:first-child {
  display: none;
}

details[open] summary span:last-child {
  display: inline;
}

form:has(details[open]) .cookie-text {
  display: none;
}

a {
  color: var(--a-text-color);
  font-weight: 500;

  &:visited {
    color: var(--a-text-color);
  }

  &:hover {
    color: var(--a-extra-color);
    transition: 1s;
  }

  &:focus {
    color: var(--a-extra-color);
    outline: 0.2em dashed var(--a-extra-color);
  }
}

dialog a {
  color: var(--button-background);

  &:visited {
    color: var(--button-background);
  }

  &:hover {
    color: var(--a-extra-color);
    transition: 1s;
  }

  &:focus {
    color: var(--a-extra-color);
  }
}

main {
  a {
    font-size: 1.5em;
    font-weight: 400;
    text-transform: uppercase;
    font-family: "fraunces", tahoma, sans-serif;
    transition: 2s;
    display: inline-block;
    margin-bottom: 4em;

    &:hover {
      font-weight: 500;
      letter-spacing: 0.3em;
    }
  }
}

/**********
•⁠  ⁠MARK: UL >60em
**********/

@media (width > 60rem) {
  h1 {
    font-size: 8em;
  }

  h2 {
    font-size: 2.5em;
  }

  p {
    font-size: 1.2em;
  }
  ul {
    margin-bottom: 17em;
    padding: 0;
    list-style-type: "";
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 2;
  }

  li {
    width: 8em;
    height: 8em;
    padding: 0;
    text-align: center;
    margin: auto;
    font-weight: bold;
  }

  li img {
    width: 8em;
    height: 8em;
    object-fit: cover;
    clip-path: circle(50%);
    border-radius: 50%;
    border: 0.2em solid var(--li-border-color);
  }
  /* - bron circle clippath:

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/clip-path

- bron object fit: https://www.google.com/search?q=foto+niet+misvormen+code&oq=
foto+niet+misvormen+code+&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigAd
IBCDYwMzhqMGo0qAIAsAIB&sourceid=chrome&source=chrome.ob&ie=UTF-8

Google gemini^ */

  li a:hover img {
    border-color: var(--a-extra-color);
  }

  li:nth-of-type(1) {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row: 1;
    width: 9em;
    height: 9em;
  }

  li:nth-of-type(1) img {
    width: 10em;
    height: 10em;
  }
  /* ariana^ */

  li:nth-of-type(2) {
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row: 1;
  }
  li:nth-of-type(2) img {
    width: 8em;
    height: 8em;
  }
  /* billie^ */

  li:nth-of-type(3) {
    grid-column-start: 6;
    grid-column-end: 7;
    grid-row: 1;
  }
  li:nth-of-type(3) img {
    width: 12em;
    height: 12em;
  }

  /* harry^ */

  li:nth-of-type(4) {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row: 3;
  }

  li:nth-of-type(4) img {
    width: 8em;
    height: 8em;
  }
  /* bruno^ */

  li:nth-of-type(5) {
    grid-column-start: 5;
    grid-column-end: 6;
    grid-row: 3;
  }

  li:nth-of-type(5) img {
    width: 10em;
    height: 10em;
  }

  /* gracie^ */

  li:nth-of-type(6) {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row: 5;
  }

  li:nth-of-type(6) img {
    width: 9em;
    height: 9em;
  }
  /* sabrina^ */

  li:nth-of-type(7) {
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row: 5;
  }

  li:nth-of-type(7) img {
    width: 8em;
    height: 8em;
  }
  /* oliviaD^ */

  li:nth-of-type(8) {
    grid-column-start: 6;
    grid-column-end: 7;
    grid-row: 5;
  }
  li:nth-of-type(8) img {
    width: 6em;
    height: 6em;
  }
  /* taylorS^ */

  /**********
•⁠  ⁠MARK: P & Footer
**********/
  p {
    margin: var(--whitespace-m);
  }

  footer {
    margin-top: 10em;
  }

  /**********
•⁠  ⁠MARK: Cookies >60em
**********/

  dialog {
    width: 20em;
    height: 20em;
    padding: 4em;
  }
}

main {
  a {
    font-size: 2em;
  }
}

/* bron toevoegen en hier annoteren met commans sles */
