body {
  --text: white;
  --bkgd: black;
  --inv-text: black;
  --inv-bkgd: white;
  --dark-gray: #333;

  --border-rad: 1em;

  --link: #ccf;
  --active-link: #99f;
  --mm-link: white;
  --mm-active: #ccc;
  --mm-hover: #666;
  --mm-this-link: black;
  --mm-this-link-bkgd: white;

  width: 100%;
  margin: 0 auto;
  min-height: 100vh;

  color: var(--text);
  background-color: var(--bkgd);

  font-family: Tahoma, Arial, Helvetica, sans-serif;
}

a,
a:visited {
  color: var(--link);
}

a:active {
  color: var(--active-link);
}

body > header {
  padding: .5em;
  border-radius: 0 0 var(--border-rad) var(--border-rad);
  display: flex;
  flex-direction: row;
  position: relative;
  align-items: center;
  justify-content: space-between;
}

body > header > #home-link {
  display: block;
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-image: url("/images/logo-text-white.svg");
  height: 60px;
  flex: 0 0 auto;
}

body > header > label {
  flex: 1 0 auto;
  text-align: right;
  font-size: 1.4em;
}

.container {
  max-width: 768px;
  margin: 1rem;
}

menu.dropdown {
  display: none;
  grid-template: 1fr / repeat(3, minmax(0, 1fr));
  gap: .5em;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 10vh;
  padding: 1em;
  border-radius: var(--border-rad);
  background-color: black;
  width: 300px;
  font-size: 2em;
  z-index: 99;
}

menu.dropdown > li {
  grid-column: span 3;
  list-style-type: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

menu.dropdown > li.dropdown-close {
  text-align: left;
}

menu.dropdown > li.social {
  grid-column: span 1;
}

menu.dropdown > li > a {
  display: block;
  text-decoration: none;
  color: var(--mm-link);
  text-transform: uppercase;
  font-weight: bold;
  padding: .5em;
  border-radius: .25em;
}

menu.dropdown > li > .star {
  pointer-events: none;
  display: block;
  position: absolute;
  left: 100%;
  bottom: .125em;
  height: 2em;
  width: auto;
  opacity: .25;
  transition: left .25s, rotate .25s;
}

menu.dropdown > li > a:active {
  color: var(--mm-active);
}

menu.dropdown > li:hover > a,
menu.dropdown > li.this-page > a {
  color: var(--mm-this-link);
  background-color: var(--mm-this-link-bkgd);
  background-position:  bottom -1em center;
}

menu.dropdown > li:hover > .star,
menu.dropdown > li.this-page > .star {
  left: .25em;
  rotate: -360deg;
}

input.dropdown-toggle {
  display: none;
  overflow: hidden;
}

input.dropdown-toggle:checked + menu.dropdown {
  display: grid;
  box-shadow: 0px 0px 5px gray;
  /* right: 0; */
}

input.dropdown-toggle:checked + menu.dropdown > li {
  display: block;
}

.gen-header {
    font-size: 2rem;
    text-align: center;
}

.gen-header > img {
    height: 2rem;
    width: auto;
}

section.people {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
}

section.people > article {
  background-color: var(--inv-bkgd);
  color: var(--inv-text);
  display: flex;
  /* display: grid; */
  /* grid-template-columns: 1fr; */
  /* grid-template-rows: repeat(4, minmax(0, 1fr)); */
  flex-direction: column;
  /* padding: .5em; */
  /* gap: 1em; */
  border-radius: var(--border-rad);
  /* height: 300px; */

  background-repeat: no-repeat;
  background-position: bottom right;
  background-position: bottom 4em right 1em;
  background-size: 40%;
  transition: scale .5s;
}

section.people > article:hover {
  scale: 1.05;
}

section.people article > figure {
  margin: 0 auto;
}

section.people article > figure.dialog-trigger-ready {
  cursor: pointer;
}

section.people article > figure > img {
  height: 300px;
  width: auto;
  display: block;
  margin: 0 auto;
}

section.people article > main {
  padding: 0 1em 1em 1em;
  z-index: 1;
  flex: 1 1 auto;
}

/* section.people article > main {
  padding: .25em;
}*/

section.people article > main > .people-inner {
  background-color: rgba(255,255,255,.8);
  padding: .25em;
}

section.people article h3,
section.people article h4 {
  text-align: center;
}

section.people article div.socials {
  display: flex;
  justify-content: center;
  gap: .5em;
}

section.people article div.socials a {
  display: block;
  background-color: var(--mm-bkgd);
  color: var(--mm-text);
  padding: .5em;
  border-radius: .5em;
  text-decoration: none;
  width: 1em;
  height: 1em;
  line-height: 1em;
  font-size: 2rem;
}

section.people article div.socials a:hover {
  background-color: #ccc;
}

main h1.title {
  font-size: 1.5em;
  text-align: center;
}

main h2.subtitle {
  font-size: 1.3333em;
  text-align: center;
  font-weight: normal;
}

label {
  cursor: pointer;
}

.youtube {
  width: 100%;
  height: auto;
  aspect-ratio: 560/315;
}

a.home-block {
  background-color: var(--inv-bkgd);
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  margin: 1em 0;
  color: var(--text); /* See gradient below */
  text-decoration: none;
  overflow: hidden;
}

.home-block > div {
  background-image: linear-gradient(rgba(0,0,0,0), rgba(0, 0, 0, .5) 25%, rgba(0, 0, 0, .8));
  padding: 3em 1em 1em 1em;
  width: 100%;
}

.home-block h2 {
  text-align: center;
  margin-top: 0;
}

.home-block p {
  margin-bottom: 0;
}

a.home-talents-block {
  background-image: url("/images/talents/group/2026-group-480.jpeg");
  width: 100%;
  aspect-ratio: 3840/2604;
  background-color: transparent;
  height: auto;
  text-align: center;
}

@media (min-width: 481px) {
    a.home-talents-block {
        background-image: url('/images/talents/group/2026-group-640.jpeg');
    }
}

@media (min-width: 641px) {
    a.home-talents-block {
        background-image: url('/images/talents/group/2026-group-720.jpeg');
    }
}

@media (min-width: 721px) {
    a.home-talents-block {
        background-image: url('/images/talents/group/2026-group-1080.jpeg');
    }
}

@media (min-width: 1081px) {
    a.home-talents-block {
        background-image: url('/images/talents/group/2026-group-1280.jpeg');
    }
}

@media (min-width: 1281px) {
    a.home-talents-block {
        background-image: url('/images/talents/group/2026-group-1920.jpeg');
    }
}

@media (min-width: 1921px) {
    a.home-talents-block {
        background-image: url('/images/talents/group/2026-group-2k.jpeg');
    }
}

@media (min-width: 2561px) {
    a.home-talents-block {
        background-image: url('/images/talents/group/2026-group-4k.jpeg');
    }
}

#home-video {
  width: 100%;
  height: auto;
  aspect-ratio: 1920/1080;
}

body .v-vlite {
  --vlite-colorPrimary: white;
}

body > footer {
  font-size: small;
  text-align: center;
}

dialog.person-portrait {
  border-radius: var(--border-rad);
  padding: 1em;
  overflow: auto;
  outline: none;
}

dialog.person-portrait::backdrop {
  background-color: rgba(0, 0, 0, .5);
}

dialog.person-portrait .icon-cancel-circle {
  z-index: 1;
  position: absolute;
  font-size: 2em;
  cursor: pointer;
}

dialog.person-portrait img {
  max-width: 100%;
  height: auto;
}

section.people article > main > .people-inner > .people-desc > p:first-child {
  margin-top: 0;
}

section.people article > main > .people-inner > .people-desc > p:last-child {
  margin-bottom: 0;
}

dl > dt {
  margin-top: 1em;
  font-style: italic;
}

dl > dd {
  color: lightgray;
}

img.pull-right {
  clear: both;
  display: block;
  margin: 0 auto 1em auto;
  max-width: 100%;
  height: auto;
}

a.centered-button,
a.centerted-button:visited {
  color: black;
  display: block;
  margin: 1em auto;
  padding: .5em 1em;
  background-color: white;
  border-radius: var(--border-rad);
  text-decoration: none;
  font-size: x-large;
  width: fit-content;
  font-weight: bold;
}

#svp-game {
  width: 100%;
  height: auto;
  aspect-ratio: 1280/740;
}

@media (min-width: 480px) {
  section.people article {
    flex-direction: row;
    background-size: contain;
    background-position: center right;
    align-items: stretch;
    height: 300px;
  }

  section.people article > figure {
    flex: 0 0 210px;
    position: relative;
    margin: 0 auto;
    text-align: center;
  }

  section.people article > figure > img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    width: auto;
    transition: height .25s;
  }

  section.people article:hover > figure > img {
    height: 350px;
    width: auto;
    /* z-index: 2; */
  }

  section.people article > main {
    padding: 1em;
  }

  section.people article > main > .people-inner {
    flex-direction: column;
    display: flex;
    padding: 0;
    height: 100%;
    padding: .25em;
  }

  section.people article > main > .people-inner > h3 {
    margin-bottom: 0;
  }


  section.people article > main > .people-inner > .people-desc {
    flex: 1 1 auto;
    overflow: auto;
  }
}

@media (min-width: 788px) {
  body > header > label {
    display: none;
  }

  body > header > #home-link {
    height: 100px;
  }

  menu.dropdown {
    display: grid;
    flex: 0 1 auto;
    gap: 0 .7em;
    grid-template: repeat(3, minmax(0, 1fr)) / min-content;
    grid-auto-flow: column;
    align-items: center;
    position: initial;
    transform: none;
    padding: 0;
    margin: 0;
    width: auto;
    font-size: 1em;
    border-radius: 0;
  }

  menu.dropdown > li {
    grid-column: initial;
    grid-row: span 3;
  }

  menu.dropdown > li.dropdown-close {
    display: none;
  }

  menu.dropdown > li.social {
    grid-row: span 1;
    grid-column: initial;
  }

  menu.dropdown > li.social > a {
    padding: .125em .5em;
  }

  main h1.title {
    font-size: 2em;
  }

  main h2.subtitle {
    font-size: 1.5em;
  }

  section.people article > figure {
    flex: 0 0 220px;
  }

  .container {
    margin: 1em auto;
  }


  img.pull-right {
    float: right;
    margin: 0 0 1em 1em;
  }
}

@media (min-width: 1220px) {
  .container {
    max-width: 1200px;
  }

  menu.dropdown {
    gap: 0 1em;
    font-size: 1.1em;
  }

  section.people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
