:root {
  --default-font: sans-serif;
}

body {
  display: grid;
  grid-template-columns: 10vw 2fr 1fr 10vw;
  column-gap: 1rem;
  font-family: var(--default-font);
}

body > header {
  grid-column: 2/3;
  grid-row: 1;
}

body > nav {
  grid-column: 3/4;
  grid-row: 2/3;
  background-color: black;
  inline-size: fit-content;
}

body > nav ul {
  padding: 0;
  margin: 0;
}

body > nav li {
  margin-inline: 0;
  padding-inline: 0;
  color: white;
  list-style-type: none;
}

body > nav li a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding-inline: 1rem;
  padding-block: 0.5rem;
}

body > nav li a:hover {
  background-color: white;
  color: black;
}

@media (max-width: 600px) {
  body {
    grid-template-columns: 2fr 1fr;
  }

  body > header {
    grid-column: 1/2;
  }

  body > nav {
    grid-column: 2/3;
    inline-size: auto;
  }

  body > main {
    grid-column: 1/2;
  }
}

main {
  grid-column: 2/3;
  grid-row-start: 2;
  container-type: inline-size;
}

#intro {
  line-height: 1.5;
}

main:has(article:target) #intro {
  display: none;
}

article {
  display: none;
}

article:target {
  display: block;
}

article h2 {
  font-size: 2.5em;
}

#Aoife-Mooney {
  font-family: BioRhyme;
}

#Aoife-Mooney header {
  font-weight: 400;
}

#Aoife-Mooney p {
  font-weight: 200;
}

#Alexandra-Korolkova {
  font-family: Golos Text;
}

#Alexandra-Korolkova header {
  font-weight: 600;
}

#Alexandra-Korolkova p {
  line-height: 1.5;
  font-weight: 400;
}

#Ana-Paula-Megda {
  font-family: Lusitana;
}

#Ana-Paula-Megda header {
  font-weight: 700;
}

#Ana-Paula-Megda p {
  font-weight: 400;
  font-size: 1.2em;
}

#Anna-Giedryś {
  font-family: Signika;
}

#Anna-Giedryś header {
  font-weight: 600;
}

#Anna-Giedryś p {
  font-weight: 400;
  font-size: 1.1em;
}

#Bonnie-Shaver-Troup {
  font-family: Lexend;
}

#Bonnie-Shaver-Troup header {
  font-weight: 600;
}

#Bonnie-Shaver-Troup p {
  font-weight: 400;
  line-height: 1.5;
}

#Brenda-Gallo {
  font-family: Bubbler One;
}

#Brenda-Gallo p {
  line-height: 1.5;
  font-size: 1.2em;
}

#Elena-Albertoni {
  font-family: Spinnaker;
}

#Elena-Albertoni p {
  line-height: 1.5;
}

#Julia-Petretta {
  font-family: Kreon;
}

#Julia Petretta header {
  font-weight: 600;
}

#Julia-Petretta p {
  line-height: 1.3;
  font-weight: 300;
  font-size: 1.2em;
}

#Julieta-Ulanovsky {
  font-family: Montserrat;
}

#Julieta-Ulanovsky header {
  font-family: Montserrat Subrayada;
  font-weight: 700;
}

#Julieta-Ulanovsky p {
  line-height: 1.5;
  font-weight: 300;
}

#Karolina-Lach {
  font-family: Pompiere;
}

#Karolina-Lach p {
  font-size: 1.3em;
  line-height: 1.5;
}

#Mariela-Muk-Monsalve {
  font-family: Asul;
}

#Mariela-Muk-Monsalve header {
  font-weight: 700;
}

#Mariela-Muk-Monsalve p {
  font-weight: 400;
  line-height: 1.4;
}

#Mariya-Lish {
  font-family: Solway;
}

#Mariya-Lish header {
  font-weight: 700;
}

#Mariya-Lish p {
  font-weight: 400;
  line-height: 1.5;
}

#Nicole-Fally {
  font-family: Oldenburg;
}

#Veronika-Burian {
  font-family: Bree Serif;
}

#Viktoriya-Grabowska {
  font-family: Armata;
}

#Yvonne-Schüttler {
  font-family: Krona One;
}

#Yvonne-Schüttler p {
  line-height: 1.5;
}

dl {
  --info-color: #333;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 1rem;
  column-gap: 1rem;
  padding: 0.5rem;
  margin-block: 0 0.5rem;
  background-color: #ccc;
  color: var(--info-color);
  font-family: var(--default-font);
}

@container (min-width: 600px) {
  dl {
    float: right;
    inline-size: 50%;
    margin-inline-start: 1em;
  }
}

dt {
  grid-column: 1/2;
  font-weight: bold;
}

dd {
  grid-column: 2/3;
  margin-inline: 0;
}

dd a {
  color: var(--info-color);
}
