*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-image: image-set("bg.jpg" 1x, "bg2.jpg" 2x);
  background-position: center;
  font-family: Arial, Helvetica, sans-serif;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  text-align: center;
  max-width: 1000px;
  padding: 1em;
  /*background: rgba(255, 255, 255, 0.5);*/
  background-color: hsla(0, 0%, 0%, 0.4);
  background-blend-mode: multiply;
  border-radius: 1em;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}
.lang-block {
  margin: 1em 0;
  padding: 1em;
  border-top: 1px solid #808080;
}
h1 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
  color: #ffffff;
}
p {
  font-size: 1em;
  color: #e0e0e0;
  margin: 0;
}
a {
    color: #ffffff;
    text-decoration: none;
}
a:hover {
    color: #cccccc;
}
.flag {
  font-size: 0.5em;
  margin-right: 0.5em;
}
@media (min-width: 900px) {
  .languages {
    display: flex;
    justify-content: space-between;
    gap: 2em;
  }
  .lang-block {
    flex: 1;
    border-top: none;
    border-left: 1px solid #808080;
  }
  .lang-block:first-child {
    border-left: none;
  }
}
@media (max-width: 576px) {
  .container {
    max-width: 90%;
  }
  h1 {
    font-size: 1.2em;
    margin-bottom: 0.3em;
  }
  p {
    font-size: 0.9em;
  }
}
