@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  font-size: 112.5%;
}

@media screen and (max-width: 399px) {
  html {
    font-size: 90%;
  }
}

body {
  background-color: #161616;
  color: #fff;
  padding: 0;
  margin: 0;
  line-height: 1.5;
  font-weight: 300;
  font-family: Roboto, sans-serif;
}

a {
  color: white;
  text-decoration: none;
}

.logo-link {
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  color: transparent;
  background-image: url(/media/audiopoli-white.svg) !important;
  height: 2em;
  margin: 1em;
}

/* Sits in the header's top-right corner, level with the logo: `.logo` is
   already the positioned, width-capped box the logo is placed in, so the
   switcher lines up with it at every viewport width. */
.lang-switch {
  position: absolute;
  top: 1em;
  right: 1em;
  display: flex;
  gap: .75em;
  line-height: 2em;
  font-size: .9em;
  letter-spacing: .05em;
}

.lang-switch a {
  opacity: .65;
  transition: opacity .2s;
}

.lang-switch a:hover {
  opacity: 1;
}

.lang-switch a[aria-current] {
  opacity: 1;
  text-decoration: underline;
}

.logo {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

main,
.logo {
  max-width: 800px;
  margin: 0 auto;
}

main {
  padding: 1em;
}

main>p {
  margin-bottom: 1em;
}

main>img {
  width: 100%;
  border-radius: 1em;
  height: 15em;
  object-fit: cover;
}


header {
  position: relative;
  height: 100vw;
  max-height: 50vh;
  display: flex;
  margin-bottom: 1em;
  overflow: hidden;
}

header:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, .6) 0, rgba(255, 0, 0, 0.0) 10em);
  z-index: 1;
  pointer-events: none;
}

header .hero-image {
  position: absolute;
  top: -32%;
  left: 0;
  width: 100%;
  height: 147%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  header .hero-image {
    transform: none !important;
  }
}

nav img {
  width: 100%;
  height: calc(100% + 68px);
  top: -34px;
  position: absolute;
  transition: scale 0.5s;
  scale: 1;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  z-index: 1;
  object-fit: cover;
  opacity: .6;
}

@media (prefers-reduced-motion: reduce) {
  nav img {
    transform: none !important;
  }
}

nav h2,
nav p {
  text-shadow: #000 0 0 10px;
}

h1,
h2 {
  font-weight: 300;
}

nav {
  margin: 4em 0;
}

nav>a h2 {
  margin: 1em;
  font-size: 1.5em;
  z-index: 2;
}

nav>a p {
  margin: 1em;
  margin-top: 0;
  margin-left: 1.5em;
  z-index: 2;
  font-style: italic;
}

nav>a {
  display: flex;
  border-radius: 1em;
  position: relative;
  justify-content: space-between;
  overflow: hidden;
  flex-direction: column;
  margin-bottom: 1em;
}

nav>a:not(.large):not(.medium)>p {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

nav>a.large {
  height: 25em;
  max-height: 50vw;
}

nav>a.medium {
  height: 10em;
}

nav>a:hover img {
  scale: 1.1;
}

.center {
  text-align: center;
}

table td:last-of-type {
  text-align: right;
}

article h1 {
  font-size: 2em;
  margin-top: 1em;
  margin-bottom: .5em;
}

article h2 {
  font-size: 1.5em;
  margin-top: .5em;
}

article h3 {
  font-weight: 400;
  margin-top: .5em;
}

main h2 {
  font-weight: 300;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
}

nav p {
  margin-bottom: 2em;
  margin-top: 1em;
}

footer {
  margin-top: 5em;
  margin-bottom: 2em;
}

footer p {
  margin: 0;
  color: rgb(153, 153, 153);
}

footer a, main > a {
  display: block;
  text-decoration: underline;
}

footer>div {
  margin-bottom: 1.5em;
}

td {
  font-weight: 300;
}

table td:first-child {
  padding-right: 1em;
}

main>a.button {
  display: inline-block;
  border: 1px solid #fff;
  background: transparent;
  border-radius: 0;
  padding: .75em 1.5em;
  text-decoration: none;
  transition: background-color 0.2s;
}

main>a.button:hover {
  background-color: rgba(255, 255, 255, .1);
}

main>h1 {
  font-weight: 300;
  font-size: 1.75em;
  margin-bottom: .5em;
}

article p {
  margin-bottom: 1em;
}

article ol,
article ul {
  list-style: revert;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

article li {
  margin-bottom: .25em;
}

/* Translation disclaimer at the top of a page. */
.notice {
  border-left: 2px solid rgba(255, 255, 255, .3);
  padding-left: 1em;
  color: rgb(180, 180, 180);
  font-style: italic;
}

.notice a {
  text-decoration: underline;
}
